skysight-inc/HackerNews huggingface dataset:
Starting with the most general: Nodejs suffers in the same way that other async systems do -- the lack of preemption means that certain async threads can starve other async threads. You can see this on GUI desktop apps when the GUI freezes because it wasn't written in a way to take that into account.

In other words, the runtime feature that Nodejs is the most proud of and markets to the world as its main advantage does not scale well in a reliable way.

The BEAM runtime has preemption and will degrade in performance much more gracefully. In most situations, because of preemption (and hot code reloading) you still have a chance for attaching a REPL to the live runtime while under load. That allows someone to understand the live environment and maybe even hot patch the live code until a the real fix can run through the continuous delivery system.

I'm not going to go into the bad Javascript syntax bloopers that still haunts us, and only partially mitigated by Typescript. That is documented in "Javascript: The Good Parts". Or how the "async" keyword colors function calls, forcing everything in a call chain to also be async, or forcing you to use the older callbacks. Most people I talk to who love Typescript don't consider those as issues.

The _main_ problems are:

1. Async threads can easily get orphaned in Nodejs. This doesn't happen when using OTP on BEAM because you typically start a gen_server (or a gen_*) under a supervisor. Even processes that are not supervised can be tracked. Because pids (identifiers to processes) are first-class primitives, you can always access the scheduler which will tell you _all_ of the running processes. If you were to attach a Nodejs REPL, you can't really tell. This is because there is no encapsulation of the process, no way to track when something went async, no way to send control messages to those async processes.

2. Because async threads are easily orphaned, errors that get thrown gets easily lost. The response I get from people who love Typescript on Nodejs tells me that is what the linter is for. That is, we're going to use an external tool to enforce all errors gets handled, rather than having the design of the language and the runtime handle the error. In the BEAM runtime, unhandled errors within the process crashes the process, without crashing anything else; processes that are monitoring that process that crashed gets notified by the runtime that it has crashed. The engineer can then define the logic for handling that crash (retry? restart? throw an error?).

3. The gen_server behavior in OTP defines ways to send control messages. This allows more nuanced approaches to managing subsystems than just restarting when things crash.

I'm pretty much at the point where I would not really want to work on deploying Nodejs on the backend. I don't see how something like Deno would fix anything. Typescript is incapable of fixing this, because these are design flaws in the runtime itself.
>though this may change in the future and in some areas is already in progress (and I welcome that! They need competition to push them)

A big part of how they keep their relevance is people using those 'educational discounts' so that they are the tools that everyone learns to use in school, building up a moat against any alternative.
For MP4s the metadata is at the end annoyingly enough.
Googlewhacking: The Search for 'The One' (2002)
congrats on the launch! excited to try it out!
Prime is a whole different beast. That's about maximizing their ecommerce profit through market manipulation.
The millions are for vintage/antique watches with an interesting provenance/history.

I'd guess this model is somewhere in the $250k to $500k range.
The dual income norm since 1971 is just a backdoor way the top 1% have stolen from the rest of the country.
That's the price, but as someone ignorant of this area, I don't know enough to even guess margins from that. How expensive are the parts? I would assume that grade of mechanical components aren't cheap. And we should probably price in the labor.
Enterprise-level budgets.
You say that like Germany as a country isn't doing well. I swear, people just stop thinking when it comes to things like this.
Does Google (or whoever is making these decisions) think that layoffs are in the long-term best interest of the company? If so, are they correct?

Or is it related to the possibility that Google may have to divest itself of Chrome due to anti-trust enforcement?
Richard Mille watches, priced at $500,000 or more per piece, are primarily used by wealthy individuals, elite athletes, and Hollywood stars.
As a lay-person who likes to read about bugs, I've come to expect the qualifier "true" to connote something special about bug's "mouth parts".
> A dedicated company should have a X-ray device that can determine if there is lead that has been painted over.

Isn't the risk of lead paint only relevant if it's exposed? So you should test any visible layer and any layer that later becomes visible, but deeply nested layers don't matter so much.
Just one more ministry bro, I beg you, just one more ministry and we solve European growth, a couple more bureaucrats, c'mon
I'm sure curiousity will get the better of me eventually, but as it stands I'm still unconvinced. Over the years I've ingrained a strong sense that just fixing things myself is easier than clearly explaining in text what needs to be done.
> If only my software were valued by number of complications...

Amateur radio software would win:

https://sv1cal.com/wp-content/uploads/2022/11/image.png
WebTransport is great but it's not in safari yet.
It's so dense.
The purpose is to get shit done.
I haven't heard about this game until today, but literally 10 mins before reading this on HN I was reading this Polygon article about it https://www.polygon.com/awards/557285/blue-prince-game-of-th...

So it seems it's quite popular.
This is my pet theory, but I suspect that dev tools also get in the way of opportunities for promotion for engineers. Sure, buying an A/B testing tool will solve the problem of needing that tool, but it will add nothing to the resume of half a dozen people trying to get a promotion or an impressive project on their resume that they can then shop around at other firms. Dev tools go against resume-driven-development at larger firms, so in some sense they're doomed to fail. They make a lot of sense at earlier stages of companies where everybody's incentives are aligned around making the company win, and that might be the only opportunity the dev tool has to capture a logo and grow with them upmarket.
I was referring specifically to boilerplate within the code itself. But sure, I can imagine some uses.
In Defense of Science - David Kipping [video]
I'm biased, because I worked at WhatsApp, but it may be one of the most famous users of Erlang... and from its start until when I left (late 2019) I think we only hired three people with Erlang experience. Everyone else who worked in Erlang learned on the job.

We seemed to do pretty well, although some of our code/setup wasn't very idiomatic (for example, I'm pretty sure we didn't use the Erlang release feature properly at all)
This. You can't just throw it into a folder and have to stream. The web server has to support it and then there is encoding and formats.
An annual subscription to the whole suite is less than a weeks pay for someone that would be using it in the US, so no need for the Enterprise-level.
I enjoy both of their writing. I'm not surprised PKD went to paranoid delusions, but I wonder if he also wrote to the Vatican about John Boyd and James Blish? Because on the same grounds their writings were anti-papacy.

I'm guessing Drugs, Valis or the green laser told Dick to do it.
Hades is fun because there is some skill involved with the button mashing to go with the RNG, but it feels like too many games are just dressed up gambling mechanics these days. Balatro is too naked and bare with being clever gambling, plus all the ding ding ding slot machine dopamine special effects.
Yes, that's also a fine way to describe it IMO.
Would an Apple iPhone 16 Pro be considered a very expensive wristwatch and would the number of transistors break a record?
I love the idea of datastar, but wonder how does one test it without using e2e testing?
Also, I think it would be amazing and so much simpler if instead of using SSE, it just included all the events in a response. Maybe with SSE as an option for those who need true server pushes? I feel like most apps don't require server push, and instead just need a list of events/things to update from an action.
The actual data about food insecurity from the USDA tells quite a different story:

https://www.ers.usda.gov/publications/pub-details?pubid=1098...

In 2023...13.5 percent (18.0 million households) were food insecure. Food-insecure households (those with low and very low food security) had difficulty at some time during the year providing enough food for all their members because of a lack of resources...5.1 percent of U.S. households (6.8 million households) had very low food security...

Coincidentally, the collection of such detailed and useful data is at risk from the indiscriminate USDA firings.
"Overregulation" as a word inherently means something negative. "Unionization" doesn't mean anything negative by default.
SSE doesn't support binary data without encoding to something base64 first. These days I'd recommend a fetch stream with TLV messages first, followed by WebSocket.
If you made it to the end of the thread, the author (a menswear/garment industry expert) explained that he was responding to comments along the lines of 'Nike pays $2 to make shoes in Asia and sells them at $150, earning a $148 profit, we should bring some of that money to American workers'. I did not get the impression that the writer was characterizing Asian industry in general, he just happens to be knowledgeable about this particular industry.

I have been having similar discussions over the last week with people about synthesizers/pro audio gear (a topic I happen to be expert on), and the market dynamics are roughly the same. The goods themselves have a much smaller market and a much higher median cost than shoes, obviously. But components, assembly, and a significant amount of technical (PCB) design originates in China.
>Having an army of private lawyers vigorously prowling for contaminants in products is a pillar of Prop 65's success. You couldn't achieve what Prop 65 has with centralized regulation, not without creating tremendous (i.e. costly in time if not money) bureaucratic hurdles to creating and selling products in the market.

What makes cancer and reproductive risks unique such that labelling for them cannot be enforced by the government, and needs to be done by private enforcers motivated by profit? Why could the same type of law not simply be enforced, in a largely similar way, by a government agency?

I would generally agree that Prop 65 has had benefits, and that such labelling, in principle, could be a good thing (even if I'd really prefer if there were some requirement to actually give at least some explanation when putting a label). But the private enforcement has never made sense to me, unless one takes the view that the state actually opposes labelling and can't be trusted to enforce it.
Long polling is great for most things that don't need a realtime push. It just gets to be a strain on a server if you've got to set up and tear down lots of those connections from lots of users. Keeping a socket alive is a lot less resource intensive. Maybe it sounds stupid, but I've even converted PHP code that responded to long polling to handle the same polling over a socket to save resources. Most of my apps that need some kind of lazy updates actually work this way, and fall back to REST polling the same services if the socket is down.
Uhhh, maybe I am missing something here, but: why not?
It depends on the maker, not all quartz watches are equal. However, quartz is typically very stable as an oscillator over the conditions that humans can survive in. That’s why we use it in watches after all.

That said, I have used a quartz watch (mid level Citizen) for actual celestial navigation at sea. It is, for all intents and purposes always going to be more accurate than mechanical (mine typically is good for ~1 second per month, and always in the same direction) Certified mechanical watches typically vary more than that in a day, I believe the standard is 2 seconds per day. I don’t know what a proper marine chronometer is certified to, but it is worth pointing out that a marine chronometer is typically not exposed to the conditions you describe at sea. The official ships chronometer is always kept down below, protected in what is effectively a gimballed humidor. For the purposes of navigational measurements, you use your wrist watch at the time of sighting on deck and add or subtract the difference between your watch and the chronometer. To add on to all that, if a ship is rolling and pitching like you describe your chances of an accurate sight are very low. Even in perfect conditions, it is hard to call the exact moment of alignment to within a second.

If I placed my quartz watch in the box with the official chronometer, I am perfectly willing to argue that if there is a discrepancy in the times shown, the quartz watch should be trusted.
Plenty of distros/skins get it 99% of the way there for a similar looking screenshot but only 25% of the way there for the actual user interface experience. ReactOS is probably the closest (in terms of going down a holistic user interface approach) but saying it's 25% the way there to being a finished solution would be generous.
How much in Federal income taxes does someone making $26,000 a year pay?

Single, no child, no subsidized savings...around $1,000.

1 Child...negative several thousands dollars.

That's assuming all income is being reported.
You can get a watch that's more accurate and more complex than one of these for under $1000 in an Apple watch or a Casio.

For me, this feels like one of the less harmful things rich people do. Ultimately you're paying a bunch of skilled labor in a developed state to maintain an artistic craft that uses very little energy and material, for a device that has worse functionality than one under $100. The only issue is where you got your money I suppose, and whether that money would have been better spent elsewhere.
> Daycare is suboptimal. Parents have a duty to and should have the freedom to take care if their kids.

Why should parents be the sole caretakers of young children? This is not the norm and never has been.

> A single income household is ideal over a dual income household with hired childcare.

Why should people have to choose between work and raising kids? Why not work less and do both?
Excuse me Tom, please stop with ad hominem and attack the topic not the poster.
I'm not surprised but disheartened that people have so little going on in their life they thing trying to boycott a bsky corporate account is a good use of their time.
You’re selling your point short.

In my time in management, I found that the commonplace psychological descriptors we use failed to adequately describe what I was seeing. Two employees may both be “detail-oriented,” but there are subcategories within that depending on where the motivation comes from and those subcategories behave differently. Some people want that A+, some people like their squares square and their circles round (and it gives them anxiety when they’re not). Those groups are different, and I don’t know what to call them.

At bottom, there are ‘simple machines’ of psychology that, in combination with each other, produce behavioral traits at the top level. We don’t really have words for them, or at least not words I can think of for the ones I see.
Reminds me of the joke "hey, check out the website I just made: localhost:8080"
It can be shock to discover how little the company as an entity, and its upper management in particular, actually values you (or any other employee.) Employees are indeed cogs in a megacorp, and the relationship is transactional. The company demands loyalty because it can and because it is profitable, not because it will be reciprocated.
Your leader should think of that, not you. It's _their job_.

They should pair you, the speedster, with an accurate careful reviewer that doesn't code very fast. Pronto, that combination makes both 'weaknesses' disappear.

That's because they are not weaknesses. Humans fail, all of us. Teams exist for that.

Making a team work in harmony is your leader's responsibility. Do not let them slack on this. They are paid good money for this expectation. You are not, you earn as a bottom feeder. Why do his job?

He should also hire the right persons, looking to complement the team. If some skill is missing (like QA or review experienced engineers), that's their fault, not yours.
>Just to give an example, someone made an April's Fools joke about Elon Musk sponsoring NixOS and they got their post muted and (almost?) caught a suspension.

This can't be real. Are you sure it was something innocuous and not something bigoted?
I kinda disagree? mostly I see people use roguelite to refer to roguelikes with progression and roguelike for those without. But I suppose both are also called roguelike as a gloss.
> That said, John Harrison didn't have access to Solidworks and 6-axis CNC machines like today's high horology brands do.

When you get into some of these luxury brands they pride themselves on not using CNC machines. See for example "Machining a 0.6 mm Screw":

* https://www.youtube.com/watch?v=wKVqLTzh_z4
Oof, what a headline to be top of hn the day after you implement websockets into a project.
You are supposed to vote for the best choices you have, or write someone in if you want. It isn't reasonable to vote for the worst choice and expect better results. Also, never let perfect be the enemy of "not as bad as the other choice", unless you want to see the country/economy/world burn.
It's like 95% of the way there for me—there are a few little workflow niggles that keep me from fully switching over, like the inability to do a full export-close cycle without saving, without having to use my mouse (moving the hand to the trackpad/mouse is annoying when it's not necessary).

In Photoshop, likely because it's been used by pros for decades, little conveniences are all over the place, like the ability to press 'd' for 'Don't Save' in a save dialog box.

That said, the past few versions of Photoshop, which moved away from fully-native apps to some sort of web UI engine... they are getting worse and worse. On one of my Macs, every few weeks it gets stuck on the 'Hand' tool, no matter what (even surviving a preferences nuke + restart), until I reboot the entire computer.
BBR Congestion Control (2018)
Panerai is a good example to estimate margins. When they were unknown, watches costed $1-2k. This was in the mid 90s. Same models now, distributed by a big luxury conglomerate, cost 5-10x more. Quality and components on comparable models are virtually the same.

Likewise, long ago, Rolex was a toolwatch brand and their products were relatively affordable. They are still great, but prices are insane. Vacheron Constantin is on a different class, though, as they sell lots of watches in the high horology category. Insanely complex and difficult to produce. Some similar brands have had financial issues or gone bankrupt.
Dick was self aware to a degree, he lightly mocked his own conspiracy theories in characters that questioned why ten speed bikes only had seven gear wheels, two at the front and five at the back.

He lived in that void along with the three missing gears.
You can buy beer in halfs, but people more usually buy a pint.
MP4 allows the header at the start or the end.

It’s usually written to the end since it’s its not a fixed size and it’s a pain for recording and processing tools to rewrite the whole file on completion just to move the header to the start. You should always re-encode to move the header to the start for web though.

It’s something you see too much of online once you know about it but mp4 can absolutely have the header at the start.
Getting Android up on the hardware is easy - you just grab the unmaintainable kernel fork provided by the vendor and you're 90% there.

I'm not interested in Android though, so I just wouldn't buy such phone no matter how cheap would it be. I'm not interested in upgrading every year either. Librem 5 is great, but unfortunately I'll need something to upgrade to in a few years anyway, as the Web has a tendency to only get heavier with time.
Pixelmator Pro is very close... but Mac only, still. Image editing on Linux is rough.
So a more experienced engineer with a relatively rare skillset is less expensive? I think i'm missing something.
You are assuming that generative AI has self-awareness.
> primarily used by wealthy individuals, elite athletes, and Hollywood stars

I'm assuming the two latter categories are sponsored to get the first category to buy?

I just know these brands from F1 where the drivers are sponsored, which is very obvious from the way they wear them.
I'm pretty sure Russia still preaches a lot of admirable things that it doesn't actually practice. Talk is cheap yet people will put stock in it anyway.
You can `-movflags faststart` when encoding to place it at the beginning.
I loved Windows 2000 so much. I was a beta tester back then and they sent me a copy in the end. Was very cool for me as a broke high school student.
The relevance of search is obvious. Replies are used to work around length limits, clarify, correct, and update. Replies and parents are invisible if not logged in. This is not hypothetical.[1][2]

[1] https://x.com/SocialSecurity/status/1909710597324964065

[2] https://xcancel.com/SocialSecurity/status/190971059732496406...
A question about erlang:

Haskell taught me a lot about programming, things that I still use now, even though I only write Python.

Does learning erlang teach you a new way of thinking? Or does it just make you wish you had erlang language features and libraries when not writing erlang?
Does it work on modern hardware running modern OS? Specifically, wondering if this was a Mac version. I could see WinX versions still running, but the Mac arch has changed significantly: 32bit -> 64bit, mactel -> AppleSI
> Software also has a (unique?) "win more" mechanic where a popular tool tends to get more popular.

I don't think this is unique at all to software tools and is a general principle.

Rosen had a paper in 1981 talking about "The Economics of Superstars" [0]. I don't claim to have deep knowledge but the idea is that if an individual has limited resources (money, attention, etc.) and wants to ensure the maximum gain from their expenditure, then allocating resources to the superstar is a safer bet. This means that superstars get proportionally larger resources than what they might be valued at.

For example, if 120 consumer has $5 to spend on a song ($600 total), each consumer on an individual level might allocate their $5 on the known good superstar song. The superstar song might only be 2x better than the next best thing, so one might expect that the superstar song might, at most, get $400 of the total, but because of the superstar effect, the superstar song gets all $600.

I just watched an interview with Torvalds about Git. There were a lot of reasons why Git was so quickly adopted, not the least of which was functionality and how it leveraged a changing technology landscape, but a major factor was almost surely Torvalds celebrity status and blessing.

[0] https://pdodds.w3.uvm.edu/files/papers/others/1981/rosen1981...
Updatecli Continuously – Update Everything
Yea, I don't buy that line at all.

AWS is "just dev tools" and it's one of the most profitable businesses in the world.
Why would the browser send byte range requests for video tags if it expects to play the file back linearly from beginning to end anyway? Wouldn't that be additional overhead/round-trips?