skysight-inc/HackerNews huggingface dataset:
Ask HN: How will it impact after Elon's 'hardcore'
Elon just announced the 'hardcore' on Twitter. I want to know what you think about it and what impact it will have on developers who worked in the US.
Actually, as a China developer, it's pretty familiar to us, and Huawei had something similar to this a long time ago, and Alibaba also has 996 which is almost the same thing as it.
In China a lot of companies have the same things and even worse, why do these companies do things like that? because Huawei and Alibaba these kinds of big companies do it so they learn from it, and unfortunately these big company actually have also been very successful in their industries,
So I wonder if the US will become the next China if Twitter gets more efficient and successful after this 'hardcore' thing.

And the day before another day I post an ask on HN, and talk about 996 in China too, someone replays me that the reason people got 996 jobs in China is that they are low-level developers, and after twitter announce the 'hardcore', I don't know will this change his mind
This is pretty close to the joke blog post I wrote last April Fool's Day. Your thoughts are stored automatically in the cloud so you can share them with loved ones. https://deumbra.com/2022/04/introducing-thoughtlog-the-free-...
The public API is substantially different from the internal API so we can provide a better developer experience with more understandable and consistent interfaces that match product concepts, rather than exposing incidental implementation details. We only build public APIs needed to enable a set of use-cases; right now "develop an alternative editor" is not one of the use-cases we intend to support - so there's no active work toward things like realtime collaboration APIs. If your client decides to use the internal APIs, it may be blocked as part of our anti-abuse countermeasures.
You're correct that it doesn't cause new people to be created, but there's still the opportunity cost because the person is shoveling snow rather than doing something else productive.
And it's free. Supported by advertising. A few times a day you receive "sponsored thoughts."
have you considered that the manager may rightly have bad things to say? or that is just never warranted.
It cant "detect that fmin never gets changed from its initial value".

The standard:

"C11 § 6.7.3 Type qualifiers ¶ 7 An object that has volatile-qualified type may be modified in ways unknown to the implementation or have other unknown side effects."

Just a note but http://eel.is/c++draft/dcl.type.cv#6:

"volatile is a hint to the implementation to avoid aggressive optimization involving the object because the value of the object might be changed by means undetectable by an implementation."

So it doesn't matter if it can prove nothing in the code could modify the variable. volatile tells it has no way of knowing what the value is because something external to the program may change it aka "undetectable/unknown by an implementation".

It is true that it can optimize away calculations using a volatile variable while keeping the accesses if the result is not used. But it cannot fully optimize away calculations using volatile variables if the result is used because it cannot assume the volatile value doesn't change.

You can see this in practice with the following code on a modern compiler like clang with O3

#include <cfenv>

#include <iostream>

#include <limits>

inline bool rounds_nearest() {

volatile static float fmin = std::numeric_limits<float>::min();

auto a = fmin + 2.0f;

return (fmin + 1.0f == 1.0f - fmin);

}

int main() {

std::cout << rounds_nearest() << std::endl;

}

https://godbolt.org/z/TPKWGa3sM

(fmin + 2.0f) never gets calculated because a never gets used but an extra movss gets added to preserve the access of the volatile variable. If the compiler can prove you never use the result of a calculation using a volatile it could optimize the calculation away. But if you use the result it will not get optimized away. If you remove cout but still call the rounds_nearest function then you will see all calculations get removed but the accesses will remain.
I believe the confusion is merely your own. The context is clear here.
Speaking of commit history, bad merges can leave comments and code together that shouldn’t be. And it will pass tests.
Sucks that AMD cpus aren’t available, i think my sister would like it but Intel only is a deal breaker.
Ask HN: What are your favorite sub stacks?
Maybe so, so long as we disagree with the notion that that the most senior engineers, the ones who are having "discussions" and making technical decisions, should not have to be active in the code, work with the development teams, and have a deep technical understanding about it works today.

They don't have to have the highest commit counts, but if they're not the ones the rest of the development team look to for help solving critical bugs and advice about new features and designs etc., then they have no business evaluating technical concerns.
I would love to have some plutonium under my driveway.
It's still important to test a bit on Firefox and Safari, or you'll have the occasional UI bug. I found one earlier today where Firefox behaved differently than the other two and needed a quick fix. I'd say this happens once every few months

Times have changed in that you won't have layers and layers of branching logic to work around browsers that aggressively disagree with each other. But Chrome tends to fudge the web standards in some of their dark corners, Firefox tends to stick to the letter of the web standards rather than the spirit, and Safari tends to have random little gaps and quirks

Your UI will probably be usable without cross-browser testing (assuming you're not doing anything exotic), but it will probably have little things here and there that aren't quite right
It is unlikely that there is a way to avoid obsession and addiction Supply an ipad with a reliable high bandwidth "works anywhere" network connection, lots of memory, lots of processor performance, and Minecraft. Sign her/him up for home schooling. Stockpile food and drink that can be consumed while working on Minecraft. Setup sleeping bag and mattress near the Minecraft site.
Cut a deal with the child that they will check-in once a week and set them free.
I feel an engineer is incomplete without knowing their daily tools more than the basics.
I find it frustrating to work with people who don't make the effort to learn git. Urging them to relax and take some time to read up or go through guides. They are fine spending time learning new languages or frameworks on their spare time, that they then want to bring into work. But spending a weekend reading some blogs about git or the short manuals is somehow tedious. Many times they can't write a proper commit message, and when they get a merge conflict they kick and scream, and you have to solve it for them. It's not that hard to go from a beginner to an intermediate user of git. And the trade-off can be quite significant with the confidence in managing around git. Learn from the CLI first, then jump onto tools that fit you (shout-out to magit!)
Interesting, it runs so fast I thought it was a simple string match
Statistically, there would be some 'Montessori' level(whatever that means) kids in the random student population. It's just they'd been beaten down by the public education system long before OP arrived.
indeed you should use your hips instead of head/shoulders to weight the board, but it doesn't actually move more weight to the back (think about it, to go forward, the board needs to feel more weight on the front, for which it compensates by accelerating = increase speed + levels the board)

the weight distribution doesn't change, but your body had much more control over the distribution.
I'm curious... Are these not things virtually everyone struggles with to some degree? There are no end to time management books and people who wish they would spend less time on their phones/playing video games/etc.
> Venture Capitalists are free to invest in whatever they want.

That is clearly and demonstrably false. Just because you have investments in Lockheed Martin doesn't mean you are free to invest in Al Qaeda to increase the chances of conflict.
And to think they manage so many critical infrastructure projects (tax, passports, etc) in India and abroad.
Can you tell a little more about this situation? Because it sounds like you were the interviewer who expected this... Having conducted interviews at big tech companies, I can attest there is variance between interviewer expectations, despite leadership's best efforts to make it objective. So I have to wonder if you've seen it, doesn't that mean you were creating that environment?
Of course not.

Because a journalist has personal relationships with their friends, not a professional relationship. Their friends are not of journalistic interest.

But a journalist has professional relationships with people they cover. And yes everybody understands that anything you say to a professional journalist is on the record, unless otherwise mutually agreed to.

Thinking a journalist is your friend is as idiotic as thinking a cop is your friend and joking about that crime you committed.
Fortunately, a combination of algorithms put together in a specified way is, in of itself, an algorithm. Most are various forms of addition ;-)
Sparse array destructuring in JavaScript
> But there's much less $$$ in targeting users outside of the walled garden.

That's due entirely to Google's aggressive anti-competitive business practices. Legislation that "allows third party stores" would also need to include rules preventing Google from, for example, blocking non-Google app installations unless users flip a switch buried in the settings app (which looks different on every phone), and then plastering the screen with scary technobabble about security vulnerabilities to scare the average consumer away.
The US Gov. hates crypto so don't wait for bailouts....
The Commonwealth City
People are idiots, but the cops and everyone else in the justice system had a legal requirement to actually know the law, and letting their kid walk half a mile straight up isn't child endangerment. These people had thier lives turned completely upside down, over the dumbest shit I've heard all year.

It was extremely shitty what the neighbor did, but the neighbor had no authority or control beyond making an unfounded complaint. The cops and everyone involved after that point she be ashamed at just how much they screwed over the lives of everyone in that family. Most people don't know this, but just being arrested, even if no charges were filed will show up on your credit score and background check forever. Those parents aren't stuck with a couple of shitty weeks they can move past, they'll be explaining that arrest to every potential employer and loan officer for the rest of thier lives. That assumes they even get asked to explain it, rather than a generic rejection letter they can only assume is due to one unbelievably unqualified cop making an insane decision.
My grandfather was born in Waco, had a paper route when he was 7 and hauled ice to factory workers when he was 11. All of which he did by himself.

My dad was also born in Waco and spent his latchkey days roaming the neighborhood and nearby pastures, complete with BB gun and pocket knife.

Amazing how society can evolve in a few generations.
Habits are not needs
> This is especially true with stimulant medications.

Hard to see how this is "especially true" with stimulants, given they're the rare case of psychiatric meds you can get on and off safely at any time, and the bulk of the effects appear in hours to days after starting the treatment (and disappear just as fast after cessation). Contrast with e.g. depression treatment, where it takes a month or more before it's clear if the drug even works on you, and which of the bad side effects have a chance of eventually going away.

"Long-term positive" is impossible to know in individual, non-statistical sense, whether it's about stimulant medication, SSRIs, moving to another city, marrying, or starting a family - any of those is going to have cascading impacts on your entire life, and even if you think they're positive after a month/year, who knows, maybe few weeks from now you'll think they were negative. That (otherwise stupid) "Farmer's Son" story has a point here.
That's totally plausible, I would just add that I attended private middle and high school.

But still I can see that parents that place kids in Montessori schools are a different population than those that place them in private schools.
being the middle man is fun tho. other people do the hard stuff and then you get to combine it into something actually useful!
Real heuristics, of course, are not arbitrary, they are the result of trial and error processes where societies and people with differing moral systems compete with each other, proving the fitness of their heuristic by surviving while less fit heuristics fail.

I'll go with the results of trial and error over long time horizons rather than blank slate theoretical calculations any day.
CRDTs, and Yjs specifically, are lowering the bar on this. I can't name any products I know are using them, though.
I think the aritcle is pretty good (I have a strong disiagreement with one of the 50 terms, but otherwise I think they did a good job).

I'm relatively new here at HN, but as a psychologist (who also dabbles in hacking) some of the reactions do support, sadly, the stereoytype that computer/engineer-types suffer anoagnosia (the lack of knowledge of what you do not know).

Some engineers do not understand that the world of human behavior is far more complex than the world of atoms, molecules, components, chips, software, etc.

Behavioral and social scientists are, you may be surprised to learn, aware of this fact, and actually lead in scientific investigation of the difficulty, specifically: dealing with constructs, and figure out how to define and measure them.

"Soft sciences" actually are much harder than "hard sciences" in many ways.
at that point it seems simpler to install heating
Now we just need a way to encrypt our brain waves lol. I’m reminded of the book by Haruki Murakami: Hard boiled wonderland and the end of the world and the Keanu Reeves film, Johnny Mnemonic
better than cars crashing into a closed gate. this happen so much that during the winter they simply removed the underground gate at my complex
The Calgary method, why plow the streets when it’ll melt in a few days?
A life cycle of 1000 is very short, and I don't think it's reasonable to expect that for currently installed batteries. I understand current utility scale batteries are shooting for an eight year lifespan (3000 cycles) with the hope of getting to 10-15 years (but data is lacking to justify that.) Longer cycle life should be proved by the time any nuclear thermochemical hydrogen system could be up and running.
Yeah - clearly they have some dimensionality reduced classifier for what's in the underlying mri data, but using stable diffusion to project it just seems odd.

"The MRI of your brain tells us you're looking at a building with a tower of some sort, so here's an artist's impression of a building with a tower"
I know the types of companies that are Microsoft shops come with their own problems, but my quality of life via tooling at two Microsoft shops has been great.
If the context window is finite, then LLMs actually are Markov chains. It's just that they're a much more efficient way of representing transition probabilities than storing them all in a giant lookup table.
For big container ships, that's a good question. I think it comes down to: low quality diesel fuel is cheap enough, and the regulatory hurdles would (presumably) be immense.

(Something else worth noting is that about half of all ocean shipping is just moving fossil fuels around. If we could just stop using fossil fuels, that by itself could cut ship traffic in half.)

I've wondered about the viability of battery-electric ships. Crossing the Pacific on a single charge isn't realistic given current battery technology as far as I know, but it seems like it might be possible to have transcontinental undersea power lines on heavily-used routes, and buoys at regular intervals with charging ports. So you'd have a ship travel for a day, then stop a few hours at a buoy to charge. The ships would probably have a small backup diesel just in case.

With nuclear, you could also imagine ship convoys. You have one small-ish ship with mostly just the nuclear reactor that trails electrical cables that other ships attach to. No need for every ship to have nuclear reactor.

One could even imagine a government operating the power-plant ships. For instance, let's say the U.S. Navy were to operate a dozen power-plant ships that travel a fixed route across the Pacific. Any ship could, for a fee, connect to the power-plant ship and be supplied power as it makes its way to its destination, and then switch over to batteries or diesel if the convoy route doesn't go all the way there. It seems plausibly feasible.
More interview questions about git rather than silly fizzbuzz puzzles.
This is exactly it. The person who resents me most for my disability is my wife. I don’t blame her, and I do my best to reign in my disability, but it’s not possible for me to function the way she wishes I could.

I put everything I’ve got into a) making sure I don’t get fired because I earn about 4x more than her, b) pour all the energy I can into my kids because I see how fast they’re growing up, and by that point, I’ve already disappointed her too much to repair things.

I’ve tried countless strategies to get around this, but the unfortunate truth is that I’m a nice person yet an awful partner. I have serious limitations that I wish I was aware of before I “trapped” her in this.

Rule one of ADHD: you probably lack a lot of self awareness and it can be genuinely awful for people you live with.
I would hope those regulating the financial system would have enough sense without having to first witness real people losing billions in savings.
Somewhere Larry Wall is laughing (and/or crying.)
I spent 10 years at Google (left in April) and I do think it's much better than how Amazon is described in this thread. Not perfect, but really still quite good.
Blizzard to suspend game services in China as NetEase licences end
It depends.

Ziberuan dialect = hard mode.

Labort dialect = easy-medium mode to understand Batua.

Also, if a Batua speaker it's used to speak the Western subdialect (Biscaian) and unadvertedly introduce "jargon" into Batua, it would be difficult because that dialect has lots of Latin/Castillians borrowings.

Spanish has similar issues too. Pick up a Chilean/Argentinian "chav" and partner it with a Murcian teen guy. If they mainly speak in their subdialects, either guys will have a hard time, even if both speak Spanish.

OFC if they keep a conversation on "semi-standard" Spanish they'll understand the 99%, 100% if both are speaking about academic terms or just a random serious article/news in a newspaper/web site.

Still, the RAE dictionary in Spain is huge, it covers ALL the manerism/idioms/jargon of Spanish all over the world, so any speaker from Mexico to the Patagonia or Iberia can easily query the online RAE dictionary for local terms such as molar, rentar, pasada, chévere, chido, tío (not in familiar terms), bacán and so on.
It's a weirdly designed funnel. I somehow ended up going through part of it twice (second time in the app). I have email scolding me for attempting to sign up with an address that already had an account.

Not the craziest designed-by-marketing thing I've seen, but up there. But hey, it's not like I'm looking to them for UX advice.
Yup. This is actually why I dropped Evernote so many years ago -- the distance from "thought" to "blank screen to start writing in" was too much. I just use Google Keep. It has some weaknesses, but it's good enough for my use case and is snappy.
Yeah this story originates from E. T. Bell, who I'm now fairly convinced just… made it up. (Possibly based on a kernel of truth about the conference presentation involving a lot of calculation, and ending in applause.) He is known for doing that sort of thing.

(And Mersenne's list was already known to be inaccurate because of missing M_61 which is prime, and this number M_67 had been independently declared composite by Fauqembergue in 1894 and by Lucas, so was already believed to be composite.)
> There have been at least four reported deaths between 2019 and 2021

If it were invented today the bicycle would be illegal.
I wrote assembler code for the 9900 when I worked at TI. I freaking loved that architecture: There was only one real register and it was a pointer to memory where the actual registers for the current thread were stored. This meant that a context switch only required the single master register to change. It was an absolutely glorious idea for writing multithreaded code.

And also slow as frozen dog crap because every register access was a RAM access. Sigh.
> But the reality of human fallibility leads to terminal ressentiment in the end for anyone fixed in that philosophy. It is a total dead end.

Could you elaborate a little bit? If you're going to disregard his thought with a broad stroke, you might as well
I addressed this in the following way:

- i read things and set reminders. I might get back to those messages later.

- prioritize, sometimes if it is important enough, they'll poke

- know who the key players are. those people you respond to. otherwise don't respond to them right away.

BASICALLY set boundaries. I had to learn and do that in order to stay sane. It was overwhelming me to extremes. You cannot answer everyone, and not every message is critical. You might just respond with "how critical is this". Work with your manager to make a ticketing system. Project managers can act as a literal buffer to protect you from this, pointing you in the direction of things that are important.
Sun burns are a lot nicer than ADHD. I can manage my day with a sunburn. I can prevent sun burns. I can’t apply lotion to stop ADHD.
Also it depends which dialect. Xiberutarra would be hell for either parties, kinda like Irish for an American.
They do start to care when it stops working or it takes forever to change due to it being a mess. This is the natural state most projects end up at unless the devs are putting in a ton of extra effort to keep it clean, organized and maintained. Devs that are thinking about keeping things beautiful, succinct and performant are much more likely to do that.
Don’t leave me hanging. What is the constraint that is unlikely to be solved?
From what I heard, and this was years ago, it is a very resource intensive service to actually run. Given how little I have personally used my Alexa to make or inform actual purchases, I suspect it unfortunately doesnt actually earn much.
The only language I've experienced so much churn with is Swift (which loves to break things, vs. the relative stability of Objective-C.) But Apple has already outsourced yearly iOS compatibility updates onto every developer, and now they have even decided to remove apps that haven't been updated recently from the app store. A stable game/app development platform it is not.

I am still shocked though by the Python project deciding to break billions of lines of legacy code. What other platforms demonstrate that kind of contempt for their developers?

Removing the print statement seems like a particularly negative trade-off: breaking code in the name of syntactic purity, instead of simply deprecating the print statement and letting it live on compatibly with the print() function.

Since then a bunch of new syntax (not all of which is bad) has of course been added.

It's also weird that until now they seem to have largely ignored performance and focused on adding random new features.