skysight-inc/HackerNews huggingface dataset:
So, I can speak to some of that authoritatively. I work in enterprise process automation and date a nurse.

From what I see, any deterministic back-office job that can be documented is gone by 2024 in leading enterprise companies (various tech). With first-order analysis jobs following in another 5 years (basic feedback ml).

In critical professions, there's a labor-vs-capital struggle. There's a critical shortage of workers (e.g. a nurse can get a job anywhere, tomorrow), but they're seen as cost-centers by the for-profit companies that are managing most of the employers (i.e. hospitals). So you get sluggish wage growth and chronical overwork / shortages as the management companies optimize for financials by delivering just enough service.
You have to love the journey, otherwise it isn’t worth the pain. The joy of entrepreneurism isn’t the huge check; if you want that, just become a doctor or dentist or corporate lawyer.
Much of this reads like the author wants JavaScript to be something it isn't. The requests for compare-by-value data structures, immutability, and true concurrency are huge paradigm shifts from the heart of the language whose implementation would no doubt come with significant complexity overhead.
Those are great if you can wear stilts, which I can't (well, I did when I was a kid but I don't have great balance). What I'd like is just something small that makes my step bounce: kids get to have those little roller balls in their sneakers. Why can't I have a pair that just lets me jump a little bit with my step? It would make running and playing so much fun.
After seeing your comment here, it’s not clear why some sentences were broken. But I never realized that it was an auto-translated text. Incredible.

Very nice article. Thanks for posting.
Total fantasy. As is the combination of words "AI" -what people really mean is "a data scientist coded up a classifier."
Medium-Feed: A small utility to get articles from Medium
It is for me as well. I like the chronological order, and it lets me be sure I’ve read all the “interesting stuff”. I read HM a lot, though, and for people who pop in only once a day or even a few times each week, the default view makes much more sense.
Oil Fail
You need to have Apple-sized leverage to successfully take on knock-off manufacturers in China. He has no leverage.
Yes. For many codebases, the primary purpose of the source code is being read by humans with the goal of understanding its actual behavior. When I'm reading through a codebase obfuscated by single-use helper functions, the first thing I do is inline them all. Bugs often result from the software doing something different from what its author intended, so the human-authored function name is not a substitute for reading its implementation.
Big water heater stay at a decent temp for 24hr+. So if they switch it off here or there for an hour you don't notice.
Then we can complain about anti-cyclist algorithmic bias when autonomous delivery vehicles still park in bike lanes.
I'm curious if the FPGA tools support the system verilog syntax that this is using. I'm an FPGA designer, but have not switched to system verilog.
I am not sure, I also have a storage heater on the same circuit. Probably I need to speak to the power company if I want to connect a power bank of some sorts, like charging a car.

The tariff is called Economy9 for reference. It's not widespread outside London.
Well, several are open source. I know that they have vast and complex code bases and are extremely hard to understand or modify but it is possible and diverse communities are working on them.

For me the centralisation is at the search engine and the content generation; both have narrowed and narrowed and narrowed.
I agree with you, but most business do not, specially for internal applications.

So if I get to choose between mobile Web, and the likes of React Native, Ionic or Cordova, then I rather bet on mobile Web and let the browser do its work, instead of dealing with FFI and tooling integration issues.

Also PWAs are actually native apps on some OSes, like ChromeOS and Windows.
The sieve of Eratosthenes
It'd be like writing a post saying "all that C++ still needs are fully-dynamic data structures and garbage collection"

Well, uh, okay
It can be if we have the correct infrastructure. If we highlight thousands of ppl dying every year in dui, accidents ect. If we highlight this problem same way media highlights mass shootings. Mobilise ppl to buildout infrastructure that would save thousands of lives. But ofcourse nytimes and co doesn't care about that because its not left vs right clickbait.
It would be great if excess electricity could be used for carbon scrubbing out of the air, or desalination or similar.
This is a lesson in opportunity cost.
It's very common in government work (and there are millions of government employees at local, state, and federal levels).

I'm at a Big 4 and it's pretty common amongst everyone I know to work 40 hour weeks.
Literate programming is ALL ABOUT abstraction! Every named section represents an abstraction. E.g. look at section 53 in the code you link to:

begin l←id_loc−id_ﬁrst; { compute the length }
<Compute the hash code h 54>;
<Compute the name location p 55>;
if (p = name_ptr)∨(t = normal) then
<Update the tables and check for possible errors 57>;
id_lookup←p;
end;

What are the references to 54, 55, and 57, if not abstractions?

I agree that Knuth style literate programming uses a quite different abstraction style than programmers are used to, and it's difficult to adopt and do well. But it IS using abstractions, and very extensively so.
The Soviets dumped all their resources into war economy output. The Chinese, consumer goods for the world pay for their war machine, which is basically the strategy the US used to have.
As answered on another thread, PWAs are native apps on some OSes, like ChromeOS and Windows.
Itch is great. Their search by tags system is broken, but everything else is wonderful.

Full disclosure: I publish on itch. Https://failrate.itch.io
Introduction to Hacking PostgreSQL
I know Goolgle had an internal experiment in one of the offices to try to stop people to work more than 40 hours, and productivity went down, so they reverted the experiment.
For me I just decided that I won't overwork even if it means that I don't get promoted.
I'be built a DDOS protection reverse proxy using it a few years back. It's still in use and serves thousand of domains with quite a bit a traffic.
A 2nd amendment for “weaponized” AI?

“The right of the people, to code, maintain, and develop weaponized artificial intelligence shall not be infringed.”
Data driven hypothesis have always been central to science, but the trick is that they are used to generate a theory which produces a prediction that's not seen in the data (so far) that can then be tested with statistical methods.
I considered it, but didn't agree. Apparently, the admin agrees. Guess it should be mandated, or at least cleared up, when exactly should the year be included in the headline.
Why did he fly to China when he must have known that he will get arrested (as mentioned in the article, he was arrested previously and only got out via international pressure, under non disclosed arrangements)?
It's hard to find jobs in many industries (although maybe not ours). It's common for people to lose their jobs to be unemployed for months before finding another. And forgoing a single paycheck can be catastrophic if you don't have anything saved up, which is true of ~40-50% of Americans.

In these circumstances, you work harder when asked to upon pain of potentially losing your job, because the alternative is much worse.
Unfortunately accessibility affordances usually come after documentation and unit tests, so most projects only care about them when deploying into government regulated scenarios.
We'd appreciate it if you'd start posting substantively.

https://news.ycombinator.com/newsguidelines.html
"The grid has a lot of inertia"

Where does the inertia come from? I understood inertia in the grid to come from turbines and motors spinning up and down, which seems to be different from what you're suggesting?

Capacitance in the wires?
Compared to the most other RV32 soft core implementations, this one is far from being teeny tiny!
You could use the same technique as asm.js for acquiring and handling integers. Unary `+` always produces a Number or an exception. Bitwise operators treat their operands as a sequence of 32 bits, so a bitwise OR with 0 will cast the value to a 32-bit integer:

+value|0

There's also TypedArray [0]. I think you'll be interested in the BigInt proposal [1] [2], which is stage 3. It's already available in Chrome, and behind a flag in Firefox. Now that it's possible to accurately represent 64-bit values, we're getting BigInt64Array and BigUint64Array.

[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[1] https://github.com/tc39/proposal-bigint

[2] http://2ality.com/2017/03/es-integer.html
I didn't say it didn't. Politics is often relevant to the HN discussion in ways it wasn't on my forums. Chinese manufacturing, Russian information campaigns, Israeli intelligence, US patent cases, etc.
Object literals to allow `-` in identifiers, so these are valid constructs:

var style = {
font-size: 10px,
border-width: 1em
}

New built-in value types: Length, Duration, Angle, Color. So these are valid constructs:

this.timer(200ms, function() {...});

element.style.width = 1em;

var c = rgb(128,128,0);
assert c.r == 128;
var (h,s,v) = c.toHSV();

Float and Integer are distinct types as these are different entities indeed.
Running a desalination plant intermittently would only make sense if the capital cost of building a plant is low compared to the electrical costs of operating it. My guess is they want to run those things 24 hours a day and store the water.

Making smarter use of existing hot water heaters on the other hand is in some cases just a software upgrade or the installation of a smart controller.
He knows about the manufacturing process, set up a kickstarter get orders of 10 make those 10 sell them, stream line your manufacturing process within the United states think 3d printing. Put out the next order of 100 hit the hundred then take it from there. Get the first 10 to make viral videos for you. Put made in the US on the outside.
The switch example seems odd to me, since in that case getting rid of the `do` expression and using returns turns out to be shorter than futzing around with breaks.

const value = (() => {
switch (someString) {
case 'Monday':
return 0;
case 'Tuesday':
return 1;
...
}
})();
Yeah. Generally, I don't use LinkedIn, because it has an even more toxic culture than Facebook. I've also found that if there's a repulsion to adding someone on FB, that's a major flag in working with them.

Also FB acts as my blog and personal marketing - about 80% of job offers and contracts come from there.

I find it's a better source for tech things than HN too. HN provides perspective from the more senior group, while FB has the younger 20s group. HN's is a little more cynical and FB is a bit more open minded but arrogant.
The same demographic that runs around Google imitating Sergey Brin in those toe sneakers perhaps?
> I often post things about potentially controversial topics (Rust advocacy, undefined behavior, the suitability of Electron for UI), but I am always very careful to avoid provocative statements.

I tend to do the same, but my interests are strongly aligned with my politics. Personally, I'm a strong advocate for gun rights and reducing the size of government in all areas. When I post on HN I always try to stay as fact-based as possible, to minimize the "emotional power" of the words I use, and generally to be as respectful as possible. For me, it's more like corresponding in an academic setting than a social one.

I'll also add that this approach has resulted in many excellent discussions with people I wouldn't have encountered on the other sites I frequent.

When I do post my own opinions - because sometimes, the opinion itself is the reason that I'm compelled to post at all - I make sure that I explicitly recognize that it is in fact my opinion instead of presenting it as fact.

> All of the digital content business is relentlessly optimizing for clicks and engagement

This is what makes HN special to me. HN isn't trying to directly monetize the content. It's beneficial to YC because it builds a community, and it's beneficial to members of that community because of the professional connections that are created and maintained here -- but no one is making any more or less money based on how long people spend reading or writing comments.
It'd be useful for me on mountain descents as well. I really love steep descents on snowshoes because the landing is so soft. Ice/rock descents hurt. Having a little spring at the bottom of your stride would go a long way to saving the knees.
That is my experience with colleagues from the US. They say Japan is overworking itself to death, but it feels similarly crazy from the US side. I really wonder why the US doesn't have much more burnout than the folks in Europe (or maybe it does, I just haven't noticed).
Yes gas is cheaper measured in btu/$. An electric heat pump could be more efficient, but that's not normal for domestic hot water heating.

It can be big deal for the environment. Compare "green" solar to heat water is much better than fracking your groundwater and creating greenhouses gases. If the electricity comes from coal burning, gas could be less worse.
The market is so huge that it's worth it even if it takes decades of R&D costing billions a year. Some numbers:

~100M cars are made a year

If 10% of those are self driving, and if they have $1,000 in gross margin due to self driving features, that's $10B a year to cover past R&D. Over 20 years this adds up to $200B. Optimistically, if the tech eventually reaches 80% of new cars and $3,000 margin, then we're talking $4,800 BILLION in profit over 20 years to cover R&D. Waymo is probably spending like $1-$2B/yr right now. Their engineering headcount is not huge, it's like under 1,000 based on a LinkedIn search I did last year.

Really the potential market is so huge that it can justify many many billions spent on R&D. I am relatively bearish on the technology, and doubt it will be commercialized in 10 years, but I still think the investment is justified.

Apologies for the poor writing - typed from my phone. I have more thoughts here: http://www.tedsanders.com/on-self-driving-cars/
I don't have any personal recommendations, but next time you are looking at purchasing an indie game, you might consider checking if it's available on Itch first. That's how I got into it anyway. The developers I've talked to prefer that I buy on there as well because they take much less of a cut than others stores.
I don't know. There's many people that do practically nothing in that regard and become mega hits overnight. Happens all the time in software. How many sales people were marketing facebook back in the day?
Before turning is the law. e.g. Maryland Code "(d) Where signals to be given.- When required, a signal of intention to turn right or left shall be given continuously during at least the last 100 feet traveled by the vehicle before turning; except that a bicyclist may interrupt the turning signal to maintain control of the bicycle."

There are actually many states where using the turn signals to change lanes isn't even legally required though, so things are more mixed when it comes to changing lanes vs. making turns.
It’s far less useful in the general case, but substantially cheaper and more efficient in a special case that consumes a substantial chunk of the primary energy used. It’s not as if battery storage is lossless. Currently, heat generation is often done using primary energy, but that too, needs to be reduced if we want to tackle CO2 production levels.

You can also use the same principle to store cold in summer: Cool down a vat of coolant (though water likely won’t do) at times when you have electricity surplus and use it later.

Certainly, that not solving all problems, but it can kill battery usage for some cases.
> Imo, Scala is the most advanced language on the jvm, far outclassing Kotlin, Clojure, and Java in terms of expressiveness.

Exactly why I don’t want any new scala code on my team. We don’t need engineers spending three days arguing about pedantic differences in the language because something can be done 8 different ways. And who wants to maintain something in scala that they didn’t write? It’s a nightmare.
I think specifically the success he was looking for which is finding an investing/manufacturing/sales partner and he just does the invention is dead without a patent.
I imagine those paid hourly (wages, contractors, construction, accountants, lawyers, etc.) track their work time very closely and have very precise definitions for not work, paid work and unpaid work. It’s not everyone but it should be a significant portion of the work force and I imagine some kind of conclusion can be drawn from it.
It does seem that he could sell probably 10-20 a month. I bet the Chinese knockoffs probably are poorly made, he could be on the high end of his product.
Cautionary tale: https://news.ycombinator.com/item?id=18832382
You can become rich with 0 work. The harder you work, the more preparation you do, the more you minimize the luck factor.
> > it would seem Waymo programmed its autonomous vehicles to treat turn signals as an indicator that the car is about to execute a turn or merge, not an indicator that it is looking for the opportunity to do so.

> Well, here's one, if not the issue... I do not know the precise wording of trafic Laws in each state, but in many if not all, turn signals should _not_ be used as "an indicator of opportunity".

Certainly not true in NJ.

> A signal of intention to turn right or left when required shall be given continuously during not less than the last 100 feet traveled by the vehicle before turning.

https://law.justia.com/codes/new-jersey/2013/title-39/sectio...
How many do you know? What percentage is that compared to how many projects are launched with 10 visits to the website after months of work..?
And if you've got an office full of sensitive material, you will and do pay a significant premium over what you'd pay to clean an office full of of help-desk employees.
What’s your end result? If you are focused on career based learning, there are a lot more jobs out there for pure Java development and Kotlin is picking up serious steam especially when it comes to Android development.

Besides if you already a .Net developer, you’re probably already using JetBrains R#. They are behind Kotlin and the best IDE for it.

I’m also not a Java fan for a lot of reasons but the syntax of Java is not that far from C# that I could see liking one and hating the other.
I'm not sure what this has to do with abstractions. What I call abstraction is a cognitive pattern that allows me to model a specific entity with a semantic that foregoes any implementation specific details.

Example of abstraction: file descriptors. I can open()/read()/write()/close() [to/from] a file descriptor and I can model and understand the semantics of it without knowing what's "behind" the file descriptor. Is it a pipe? Is it a network socket? Is it a file on the drive? a partition? a whole drive? a logical volume across many drives? perhaps encrypted? I don't care! That's what the abstraction brings to me: not needing to care.

Not needing to care reduces the cognitive load on me, which means it reduces complexity. Since our propensity to make mistakes increases very quickly with complexity, keeping it low is key to success.

What the article describes instead is breaking down code into individual functions, and the common trap associated with imaginary requirements ("You can imagine a case where someone would like to call it from elsewhere").
I don't vote very often, but when I do it's usually based on tone more than anything else. I'm much more likely to upvote a comment with which I strongly disagree that's well-presented than I am a comment in agreement.
Forex Scalping is a viable trading strategy
Thompson Aerospace in NI make front-of-cabin seats and they charter freighter aircraft to deliver them rather than relying on shipping companies
For interesting short games, check out past game jam entrants from something like ludum dare (https://ldjam.com) or the game jam tag on itch. They're usually free, short, and interesting. It reminds me a lot of old newgrounds, where you could find an interesting new game to play for 1/2 hour.
Seems like the failure is in paper editing and review... why are these "findings" getting published at all?
In DS2 they released the PC version at 60fps, and consoles at 30. The equipment degradation was based on the number of frames a weapon's hitbox spent overlapping another model (walls, enemies, etc). They patched this pretty quick.
I agree, but in my own experience at a dozen different shops, insufficient abstraction is a mistake that a first-year developer makes, and excessive abstraction is a mistake made by nearly every developer with more than a year of experience. Thus, the team leaders and senior developers can find and catch many of the errors due to insufficient abstraction, but the errors of excessive abstraction tend to accumulate.
Well the article mentions that a thread with more comments than upvotes is ranked lower. In this case it was the top thread for an hour or so before being thrown to #26. This is interesting and I personally never upvote or downvote individual threads, but maybe I'll start.
what is the benefit of "composing" queries via this library instead of just running them separately in a single connection? The "composed" queries are completely opaque to each other and are independent - they are not "composed", just "batched".