skysight-inc/HackerNews huggingface dataset:
While there are some good ideas brought up in this post, in my opinion, author misses the main point about JS and, JS fatigue, which leads to the vague advice like "solve problems".

The point is, as Fred Brooks put it, in software there are two kinds of complexity – essential and accidental complexity. First one – is exactly those "problems" author talks about – it's the complexity of the real-world problems we try to solve with software. Second one – accidental complexity – is the complexity we bring into the process by using our tools, frameworks and languages. And JS ecosystem is largely revolves around accidental complexity.

Let's be clear – JS is a historical accident that, by unpredicted twist of events, became the only language in the unexpectedly dominant platform – web. We, developers, did not have choice – if we need to reach users/customers via web – we were forced to use JS. Language, poorly designed under the pressure in 2 weeks, coupled with incredibly sloppy and constantly changing technologies like DOM and CSS, accidentally became the only way your business can reach users.

Of course, people started to solve those problems of the JS/DOM/CSS poor design, by creating more tools, more frameworks, more solutions – bringing more accidental complexity, which required new hacks, tools and solutions to solve that. The process then repeats itself, as web world was changing and growing.

Accidental complexity in JS world is astronomical. But the worst thing is that newcomers, unable to see perils of that through the prism of experience, accept it as a normal state of things. They embrace this madness and happy to write more hacks and tools, for solving problems, created by other tools.

The whole JS ecosystem thus is a huge mess of hacks on top of hacks. Most of developers' time is spent in not "solving the problems", but dealing with tooling and accidental complexity.

And that's exactly what software engineering should fight with. But it's really hard and challenging task.

As Edsger Wybe Dijkstra said in 1984:
“Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better.”

So, I think JS fatigue is exactly what happens when you find yourself inundated in accidental complexity and ugly designed tools and frameworks.
Aoc and omar are successful because they have denounced competency in the name of identity politics
Yes, not being critical at all. Just amazed at the dancing bear :)
That's one of the main goals of https://ubports.com/ True 'convergence'.

Work in progress though.
Yes, that might work. Maybe an even better approach is to use chromium-chromedriver.

I just got it working like this:

apt install chromium-chromedriver
chromedriver

This seems to create a service that listens on port 9515 for standardized commands to remote control a chromium instance. The commands seem to be specified by the W3C:

https://www.w3.org/TR/webdriver/

I got it to open a browser with this curl command:

curl -d '{ "desiredCapabilities": { "caps": { "nativeEvents": false, "browserName": "chrome", "version": "", "platform": "ANY" } } }' http://localhost:9515/session

I have not yet figured out how to send javascript commands though.
Re: abstraction. You need to understand interface, but "not understanding implementation" IS the point.

You gave an example of HTTP, so let's discuss that. Understanding of HTTP concepts is useful for web programming. Details of HTTP implementation mostly aren't. Studying HTTP/2's header compression or HTTP/3's forward error correction IS NOT necessary.
How do you send dev console commands to that port?
> You are not paid to write code [...] The only thing that somebody cares about is how much does your software cost and how much revenue it generates.

I have a real trouble with this sentiment, and it is repeated often here on HackerNews due to this site's entrepreneurial focus.

As a developer and a professional, where does my responsibility end? I'm a developer, not a manger, and not a shareholder of the company.

Would you say it's a pilot's responsibility to point out and act in ways that reduces the cost of running the airline business or that increases its revenue? How about a surgeon or a medical doctor? At the end of the day most professionals work for a private company, a private company exists to generate profit.

Why must software developers have an entrepreneurial mindset while other professionals do not? Can someone help me understand?
Algorithms have already taken over human decision making
It was not true yet you stated it with certainty as fact.

Not interested in your snarky "apology".
I made it pretty clear that I agree they're overrepresented, but quoting the wrong base rate makes it look like a much bigger deal than it is. I work at a NY-based rather than CA-based company, and while the same is true there, we see a lot fewer Asian people in tech than the nearly 50% that West-coast firms claim.
The author is probably one of those science journalist that has a at best shaky grasp of the material--these people have to write appealing articles (they're basically advertising the university) for a whole lot of different disciplines, so it's not going to be easy.

And I think the point is that this blocks out only certain frequencies, without being a massive structure (you can easily make a serpentine acoustic notch filter but it's gonna be huge)
Some art is treated like an investment, it is speculated that the price of a piece is only going to go upwards. That is a reasonable assumption if the artist is famous, especially if the piece of art reflects a certain style or creative period. Usually it is very hard to copy the work/style of an artist. That said, I don't know how these pictures are going to hold to that assumption, since 'generative art' is by default reproductible and should be easy to copy...
"software is not poetry"

Yes it is. You did not saw yet how you can write the same piece of code like hundreds of different ways, some of them which are "more beautiful", some of them are "really bad code".

The more experience I have, the more code I saw, the more I think software development is more of an art then actual science. Obviously there are mathematical formulas you can't alter, but you can still introduce very good or very bad abstractions to solve those either.

Making software is a creative process, not something immediately everyone can do. Even if two developers have the same amount of experience (in terms of years), there can be huge differences how they solve the same problem.
I haven't touched python in years. Can anyone link to a list of examples? I remember hearing about optional typing, which is always my favorite addition.
Work out the kenetic energy of a 0.0001 gram strike at 4.5% c.
Ignoring relativity it’s 9 x 10 ^6 J. By comparison, one kg of tnt is 4.184×10^6 J so that’s over 2.1 kg of TNT. Now reolize it’s much worse than that much TNT as it’s penetrating into your shield before releasing that energy. Even atom sized impacts are an issue at those speeds https://en.m.wikipedia.org/wiki/Sputtering

As to your sanity check, Alpha Centauri our closest star, if we are sending multiple probes then you need to targets much further out. Especially if we are trying to get somewhere approaching a straight line in 3D space. The 20th closest star system is 12 light years from earth and on the order of distances we need. Though this gets worse if you need specific kinds of star systems.

That’s pushing 3+ grams under your estimate and your 30 ton payload would need truly massive shielding. Or, you can have a 30 ton shield being activly maintained in front of a postage stamp sized cargo and possibly survive the trip.

As to that billion tons of cargo, it’s almost unimaginably better than current tech could do. We are talking either self sustaining habitats for hundreds of people or safe replicating near full AI on million year timescales. It’s got to gather energy and resources, build CPU’s, engines, etc to gather even more resources. It’s got to travel hundreds of years meaning redundancy and self repair on all critical systems etc etc the list just keeps going.

In terms of engendering from ancient Egypt to now the tallest structure is just under 6x as tall. Some things have improved vastly more and others even less. We simply can’t assume magic even on 10,000 year time scales.
Today in zero accountability for parents

Parents refuse to move to cheaper areas
and refuse to have ONE parent at home all the time to take care of the kids
When Google dropped that first batch of Deep dream images, those were compelling. The images bore an uncanny resemblance to things you see while hallucinating on psychedelics, and the images make you wonder about just how similar the processes going on inside a CNN to processes going on in our own minds. Those deep dream images were new, they invoked a strange sense of frisson, you had to bear witness to whatever it was.

But the images shown in this article just look like somebody was fucking around with random filters in photoshop. It's not interesting. It doesn't leave a lasting impression, and that's really the only metric that is universally cross-comparable when judging art.
Shopify vs. Woocommerce Market Share – Comparison 2019
US citizens will need a visa to visit Europe starting in 2021
It is "the" problem, as it makes it impossible to tell what is natural and what is intentionally created by advanced civilizations, making it impossible to know if the paradox even exists at all, since we may be looking at "obvious" signs of alien activity, yet be completely incapable of recognizing them as such.
My idea is we are not alone, never have been and never will be. We are the extraterrestrial big brains that have developed intelligence over millions of years. We long for the others that continued to travel while our ancestors chose to stay and inhabit this planet and in doing so in time forgot about the others and our chosen mission.
Evidence for the Continental Axis Hypothesis
I love Termux, it has gotten me out of a tight situation more than once. I lets me ssh into my machines while in the pub or someplace where I'm not bringing my laptop.
“No, we’re telling everyone we are using Java”
Bullying bosses negatively impact employee performance and behavior
TensorFlow Eager
American here. I would like to point out that places with amazing health and vacation benefits exist. I work at one in academia. Amazing health insurance, amazing sick leave and vacation (that you are actually allowed to use, guilt free). Paternity and maternity leave, six months (so a total of a year for one couple). If you have a family or value those things, it pays to quit looking solely at that salary field and look for culture and benefits.
A skilled carpenter has the tools that are necessary for the job, their price doesn’t matter.

In a couple of industries I have worked in there is a tier of expensive tools that are basically ways of extracting free money from professionals (when someone else is paying) and rich amateurs who want to feel superior to their friends
But I don't want the overhead of pupeteer

I don't understand this objection. Puppeteer is the client library that you want, and it's not particularly massive. It's the plumbing to handle all of the stuff around starting and connecting to browsers, providing a tidy API to abstract the stuff that's annoying to use directly.

In fact, you can do almost anything you want to using the existing interface that Chrome has built in:

chromium --remote-debugging-port=9222

You can connect to it using e.g. the WS command line tool using the URL it spits out:

ws ws://127.0.0.1:9222/devtools/browser/81b9b178-ece0-4953-8ea0-bce6ac31d89c

Then you can make it do things:

{"id": 1, "method": "Target.createTarget", "params": {"url": "http://www.google.com"}}

It does what you want, over a web socket interface rather than HTTP.
Does anyone out there use this as their primary operating system? Curious to hear how it is working - does it live up to the vision?
you can always use something like proxycrawl to scrape javascript without using Electron. And it's compatible with scrapy
This is a very bad meme that's been propagated so much across the internet.

1. The latency is active noise cancelling systems is very low; much less than the frequency of most sounds.

2. Noise cancelling is ineffective at higher frequencies because the space between the speaker driver and the ear becomes large enough that the destructive interference becomes imperfect.

3. The feedback has to come from somewhere, and once the frequencies become high enough, the phase shift caused by the physical distance between the driver and microphone start to affect the feedback loop.

4. Because of these issues at higher frequencies, they just lower the feedback gain at higher frequencies. This effectively makes the active noise cancellation system be not sensitive to higher frequencies.

5. This is very much akin to frequency compensation in other topics like buck converters and op amps--the additional phase shift in the feedforward path that often increases as frequency goes up becomes problematic to compensate, so they just make the feedback loop insensitive to that region.

-----

the quick way to debunk this is two tests:

1. Play some bandlimited noise (https://www.youtube.com/watch?v=5qV5j9wD5e8) really loudly and I guarantee you any shitty ANC headphone will cancel this out just fine. Noise by definition is non-repetitive.

2. Play a high frequency sinusoid (https://www.youtube.com/watch?v=TRKB5kWs7KE) really loudly and it will go straight through any ANC headphone. A sinusoid is as repetitive as it gets.
A lot of pollution is 'out of site, out of mind'.

I've had two run-ins with basic runoff pollution, swimming in the ocean Brazil and Sri Lanka. In both cases I swam out a few meters and into a mass of garbage: diapers, plastic bags, crisp bags etc.

I remember thinking if it's happening here, it's happening everywhere.
Theranos – Silicon Valley’s Greatest Disaster
> like for exemple navigating on facebook.

What would you want to scrape there which is not against their ToS and a violation of user privacy in general?
Introduction to Kaggle Kernels
Nix tackles the problem, but (my impression) requires a complete buy-in and is not really a gradual step. I have also heard bad experiences with mac os.
Mm you should spend some time with in a flatearther fb group. Thats when i learnt the true sentence "dont wrestle with pigs, you get dirty and the pig likes it" ><
It uses the devtools protocol, see here https://chromedevtools.github.io/devtools-protocol/

Looks like it's a REST protocol.

You have to connect to a tab and then call e.g.

Runtime.evaluate {expression: "console.log('test')"}
I get this. I am a food enthusiast (I maintain my own cooking web app Cookingspace.com) but there are two meals that I eat very often, find the food soothing, and never get tired of them: Ramen soup with a ton of vegetables and some extra seaweed, and whole wheat pita filled with beans, humus, and chopped Romain lettuce. For some reason those two meals are ‘comfort foods’ for me that I keep eating many times a week.
Why not test open source against a cheap 5505 from eBay or something?
I simply refuse to believe that treatments that cost the same as a brand new luxury car are down to labour + materials cost of some pills.

There are absurdly massive inefficiencies if as you say they aren't making profits.
How is it horrible?
Why do we bother going all that way to go and see therapists in person when we could just send them a text message?
Also, you can apparently connect the puppeteer client to a running chrome instance [1]. That way you can use the nice and statically typed puppeteer api and you should have pretty much zero overhead.

[1] https://github.com/GoogleChrome/puppeteer/issues/238
x% of y = y% of x
Ignoring that they are just tools to create a person who can regurgitate answers from Cracking the Coding Interview.

I recently took a first stage coding interview on HackerRank and something I like from it was the ability the company had to make the hackerrank environment work for what they were trying to do. This particular exam, instead of me having to balance a tree or traverse a graph, both skills in which most engineers don't need, Gave me a set of integration tests, an API spec, and the way they needed a server started in order for the integration tests to run. I thought this was actually a pretty cool way of having it setup on HackerRank's part, as it was a coding test that actually quantified my ability at a skill that you would need in the role I was applying for.
They claimed 95% correctness 50 years ago.

When am I going to wake up and be able to dictate into my phone and make corrections with my voice? We must be close.

I don’t mind the mistakes made when dictating but having to pull up the keyboard takes away from the “magic“.
I'd say this mindset makes it easier to drink the kool-aid when management asks you to do something unprofessional/unethical, by justifying it on the grounds that it generates revenue.

"This codebase is a ticking time bomb, but it's ok because we're moving fast!"

"No, I'm not writing a spambot, I'm building a growth hacking tool!"

"The code I'm writing might intentionally cripple the user experience, but it's driving engagement!"
> what about other industries who also need foreign talents

They need to raise wages, obviously.

> Even in tech, how do you expect small start-ups or small businesses to compete with giants like FAANG who can just throw money at the problem?

How do you expect a small pizza chain to compete against Pizza Hut? Niche market, customer service, quality product.

> Also, what about the cost of living factor

I agree. $200k is not high enough. Should be $400k. Let big corporations put their money where their mouths are, we'll see just how much of that 'top talent' is really coming here, and how much is just low-wage immigration labor.
Three syllables versus two. This must be one of the reasons Microsoft went with Bing.
It is likely there is confusion amongst the managers because software is a young industry. Take accounting as a reference. The job of an accountant is well understood, and the skills an accountant has are well understood. Analysts and managers (as a profession) have come to understand over the centuries how to estimate the magnitude of a businesses accounting problems and how many accountants they need to deal with them.

Compare that to software, where I doubt there has been time for a solid understanding to develop. Especially since the underlying hardware economics keep changing. There are scant business lore stories that I've heard of saying "you need to have X many developers maintaining your code base or you will suffer catastrophic consequence Y like suchandsuch megacorp did".

As the software and electronics industries move from discovery and change to more maintenance oriented tasks it seems likely that software engineers will professionalise like all the other engineering disciplines.
> If there is any species-oriented preferences outside of taste and availability, it's purely out of a symbiotic relationship that they benefit from.

Isn’t that how humans operate as well? People keep pets that they get satisfaction from but we don’t eat our pets.

Then you have the debate of whether true altruism exists or whether people do even our most selfless acts because of the endorphin rush we get from helping others.
The point of personalizing a framework is that most developers shouldn't be thinking about logging, authentication, etc.

Again, my experience is that the personalization layer is very easy to get by a senior developer, maybe there is some unconscious architectural decision that is biasing it, but I've never seen one have problem taking my code. Junior developers by their turn just can't grasp it, what I consider a feature, they are better just using the functionality until they get some experience.
My comment in relation to the comment that stated GAAP earnings are more sane. I think using GAAP as a standard for valuing an investment fund is a little asinine. Unrealized losses/gains yes, but GAAP doesn’t save you from mark to market. There’s a reason PE returns are smoother than public equities. Public PE firms wrote down assets way less than the decline in public equities in Q4. My problem with the new GAAP rules is that it distorts operating earnings and investment earnings. For example, when Stripe goes public, Amex will have fluctuating security in its earnings statement, or Booking and Ctrip, etc.
Yes, I am also against "native" flexbox implementation. Yoga showed it's entirely possible to implement in "user level".
But then they use the same interview questions for somebody who finished school 10 years ago and hasn't touched DP since then.
I would love it too- I would like to carry an old bb with just contacts and emails synced. I'm not an App guy.
Forgive the tangent, but could quantum entanglement one day provide consensus with trivial (if expensive) complexity? E.g., nodes maintain a supply of preentangled particles, observing them at predetermined timestamps, and using that known shared randomness to make decisions?

Edit: ok after that sat there for a while I realized that generating shared pseudorandom bits would be just as effective.
A step-by-step guide to online “journalism” in 2019
Oh yeah, just putting it out there in case people wanted to know.
>> The money that arrives from the EU is significantly dissolved in nonsense projects (notorious hyper-expensive bicycle paths from-nowhere to-nowhere)

Why do you think this is nonsense? I was born in one of the poorer regions in Germany. When I was back on holiday I was positively suprised that one of those EU-funded bicycle lanes has been built there. It mostly connects villages (nowhere-to-nowhere so to speak) and the road has been a death-trap for cyclists for as long as I can think of. Since this lane was established the number of car-bicycle accidents has been reduced significantly.

From the outside these kinds of investment can seem like nonsense, but they are usually granted with close cooperation on the municipal level. For the people living in that region, it can be very beneficial...
My company has a ton of legacy (significant parts of our site are in ColdFusion, for example), and jQuery is on the way out here. So... It's gotta be on the way out. :-)
On the converse... I'm an American whom lives in Indiana. Let me share my experiences.

I worked at Starbucks for 5 years. When I got sick, I showed up to work. I know I worked while having the flu, and making drinks for people. If we didn't show up, our hours for next week would be messed up badly and intentionally. We would go from 35 hours to 15 hours, or we'd be scheduled "clopens" - close at midnight, and open at 4:45a the next morning. If you wanted your job, you showed up and vomited on the floor.

I also worked at wal-mart. I was a 3rd shift stocker. I was fired for getting injured on the job by a faulty pallet jack falling on my foot, and "costing the company money" (exact quote). I even have my discharge paper stating that. Needed x-rays and a tetanus shot. And with someone at the time who had little money, lawsuits are out of the question, especially for a corp like Walmart.

I'll take some of that 'commie socialistic European perspective', if you don't mind :)