MurphyA/hacker-news huggingface dataset:
by Spivak | 2025-07-27 02:37:38+00:00
> You can't always control what the thread is doing, like what code is being executed.

If this is the case then you can't use threads for this workload. If you're calling into some external code that could be doing whatever then one of the things it could be doing is holding locks. If you want a unit of execution you can murder with prejudice then you need the operating system's help which means a process.

On both Linux and Windows the situations where you can safely kill a thread is when you have complete control and knowledge of what's running in it, the very opposite of when people want to be able to kill threads.
by pugworthy | 2025-07-27 02:39:59+00:00
63, no history of heart disease, all my numbers in the "normal" range, fit, don't smoke, not overweight, good diet, etc. I was building a greenhouse in the back yard and went from feeling kind of "shitty" to classic left chest and back of arm pain.

It's amazing how fast you get into the ER when you come in like that. I got an angiogram within 45 minutes and also had 2 stents in the LAD with 90-95% blockage.
by dlubarov | 2025-07-27 02:40:00+00:00
If we assume GHM's data is accurate, Gaza's overall population slightly declined during the first several months of war, but increased since. Casualties have been around ~20k/yr (fighters included), compared to something like ~50k/yr births.

How can it be a "slow, sneaky genocide" if the population is increasing? Has any other group faced serious genocide accusations in relation to an increasing population?
by parsimo2010 | 2025-07-27 02:40:22+00:00
Crap, forgot that sport pilots couldn’t fly within a mode C ring. Well someone will probably do it anyway.

You could always get endorsements as a sport pilot, but complex and high performance didn’t make sense because there were no LSAs that qualified. But tons of people got tailwheel endorsements as sport pilots in the past. Now a bunch of sport pilots are going to get complex and high performance endorsements too.
by SamPatt | 2025-07-27 02:41:02+00:00
I've been where you're at, and speaking frankly, if you don't make some changes, it'll only get worse. It sounds like you're tinkering at the edges but that can only get you so far.

Ramen, bacon, beer, cola, weed...

Maybe cut back or eliminate those for a few weeks and see how you feel? It's obviously way easier said than done but I can almost guarantee that cleaner living will bring back some of the lost energy, and once you've got more energy it gets a lot easier to get (and stay) on track again.

Best of luck.
by kccqzy | 2025-07-27 02:41:47+00:00
The Chinese 996 work schedule is indeed hard work but it doesn't mean working 72 hours according to how westerners calculate working hours. For one, tech workers arrive at the office at 9am, not that they start working at 9am: once they arrive they simply head to the office cafeteria to have breakfast between 9am and 10am. And it's really common to spend one hour each for breakfast, lunch, and dinner. Unlike westerners who'd be happy eating some cold sandwiches for lunch, the Chinese are rather picky about their food being hot and served with soup. Second, the Chinese have a weird culture of napping at the office after lunch. Not just some nap pods here and there, but institutionalized naps with day beds for all. So right off the bat, you deduct up to four hours of non-working time from twelve hours of in-office time. Finally, the Chinese also have a culture of not leaving before their bosses leave the office. This means even if a worker has finished all assigned tasks, the worker simply kills time and waits for their boss to leave. It might be reading internal documentation, or it might be something less productive.

996 refers to time in office, not time worked. The actual hours worked is closer to 48 hours per week than 72 hours.
by gus_massa | 2025-07-27 02:42:35+00:00
The article sounds interesting, but the press coverage is bad and the title horrible.

They didn't reveal the origin of life. Just a few organic molecules in the gas arround the star, but this is not unexpected. Titan is full of organic molecules, but they are locally produced, not collected from the gas around the star.

Form https://arxiv.org/abs/2504.06005

> We identified 26 molecules, including 14 COMs and 12 other molecules, with first detection in this source of the molecules: CH₃OD, H₂C¹⁷O, and H₂C¹³O. We searched for multiple nitrogen-bearing COMs, as CH₃CN had been the only nitrogen-bearing COM that has been identified so far in this source. We also detected CH₃CN, and tentatively detect CH₃CH₂CN, CH₂CHCN, CH₃OCN, CH₃NCO, and NH₂CHO.

So they detected molecules with 5-10 atoms. Sugar has like 40 atoms and is one of the simplest molecules in a cell. A typical fat like a hundred. A human chromosome has like 1E11 atoms. Again: The article sounds interesting, but the press coverage is bad and the title horrible.
by ziml77 | 2025-07-27 02:42:47+00:00
Meanwhile I despise driving in Cyberpunk. It feels like the devs were expecting me to be driving with a sim setup rather than WASD. Very much tainted my experience with the game to have cars that are constantly sliding and spinning on me because I wasn't slowing down to a realistic turning speed. Especially because sliding into a pedestrian gives wanted rating and the only way to get rid of that is to hide from view of cops.
Show HN: The Aria Programming Language
by egranata_aria | 2025-07-27 02:43:33+00:00
Aria is a modern, dynamic scripting language. It is meant to be a "sweet spot" language, easy to pick-up and enjoyable to use.

It comes with a familiar C-style syntax, and draws inspiration from a variety of languages. It has a small but usable standard library and strives to be a low-ceremony-get-stuff-done kind of language.

It is currently at version 0.9 and I would love feedback as I work towards getting it to 1.0.
by smeej | 2025-07-27 02:44:23+00:00
Are you genuinely not already aware of the biological difference between a (haploid) gamete and a (diploid) organism? This is like 7th grade science stuff, so I want to understand if you're questioning whether there is a difference or whether the difference matters.

Zygote, embryo, fetus, infant, toddler, adolescent, and adult are all different stages of the life cycle of a human organism. Gametes are not. Before fertilization, there are gametes. Unless fertilization happens, no organism comes into being. But once it does, it is the same organism from then all the way until its death. This is a biological reality, not a philosophical one.
by yieldcrv | 2025-07-27 02:44:28+00:00
okay.

let me clarify: penthouses and top floor rooms are the best rooms now because they can be kept cool, and have views.

in the past the top floor rooms were the worst rooms because couldnt be kept cool, while also having views.

in older estates, its interesting to see that the lowest ranked personnel were living in areas that are now coveted for the highest ranked personnel. due to their current ability to be kept cool.
by pitched | 2025-07-27 02:44:53+00:00
Burnout is: exhaustion, inefficacy and depersonalization. The crash happens when inefficacy kicks because that’s very market-dependent and not really something anyone can control. The easiest of those to control is exhaustion but it’s also nigh-impossible to measure. So I think our best bet is to keep a close eye on depersonalization and shift gears immediately if that ever happens.
by pansa2 | 2025-07-27 02:45:25+00:00
> I don't feel calling modern Match/Case syntax a "du-jour" feature is plausible

I do. To be clear: I'm not saying that (well-designed versions of) pattern-matching will become less useful over time, but that they will become less fashionable.

Python will then, no doubt, add another language construct to appeal to those who choose languages solely based on a checklist of features.
by nozzlegear | 2025-07-27 02:46:08+00:00
> US is [selectively] choosing conflicts to be involved in just to deter China from invading China, while claiming moral superiority until you notice all the conflicts the US isn’t involved in

A geopolitical power playing geopolitics is hardly surprising. It'd be more surprising if the US didn't try to counter its only rival.

> China from invading China

Taiwan
by pugworthy | 2025-07-27 02:46:21+00:00
What I was told in the ER is that troponin basically only shows up when there's been heart muscle damage so is a pretty clear sign. It doesn't show up immediately though - typically a rise within a few hours of the heart attack.

RE: EKGs. There are clear signs in the more detailed 12 lead EKG that can show irregularities in the electrical patterns and specifically help pinpoint the location of the active problem.
by karmakurtisaani | 2025-07-27 02:47:15+00:00
But would you be OK with the fact that your boss is making millions off your passion?

As an ex-academic, I know where you're coming from. In academia it's easier to justify working all thr time, since at least no one is making money. It's just for the love of pursuing knowledge. I cannot imagine breaking my back smiling just to make someone else rich.
by parsimo2010 | 2025-07-27 02:48:39+00:00
On the maintenance side, MOSAIC rules are actually allowing people with a repairman certificate to do a condition inspection on an experimental or light sport aircraft. So there will be a bunch more mechanics available with a shorter training course.

Hopefully those mechanics only take jobs they are proficient in, but this is going to create a bunch of new mechanics. And maybe a trickle down effect of giving those people enough experience to upgrade to a full A&P / IA license over time. But it will be the owner/operator’s job to make sure that only a proficient repairman works on their plane.
by scarier | 2025-07-27 02:48:49+00:00
>far safer than a certified aircraft than the statistics will tell you

I share your frustration with the technological stagnation of general aviation, but this is completely damning. Cirrus added all of the features you mention, at great expense and in a fully certified aircraft, and took decades to show any kind of clear safety advantage over clapped-out Cessnas (as I understand it, the vast majority of improvement came from intensive training in when to deploy the parachute, which was wildly less intuitive than anyone originally realized and likely remains so for pilots without specialized training). Digital instruments, weather displays, and automation have significant benefits for many use cases, but it's unclear that they're inherently safer than legacy systems for amateur aviators.
by 999900000999 | 2025-07-27 02:49:02+00:00
Not everyone is going to become a Staff Engineer at Google.

Python can help a bartender write a small application to track her stock for example. In fact with a bit of computer vision this can work very well.

I originally just wanted to make small games, I was hacking together sloppy JavaScript. I don't like gate keeping.

The future is probably even a higher level language than Python. Maybe an embedded llm that sorta decides what to do at runtime.
by Buttons840 | 2025-07-27 02:49:41+00:00
In contrast, I had a high LDL of 190, largely genetic, and panicked and switched to a vegan diet. I had my LDL tested again 10 days later and it was 120. I couldn't keep up with the strict diet, but learned some good habits and to avoid saturated fat. My doctor hasn't recommended statins... yet.
by coredog64 | 2025-07-27 02:51:49+00:00
Some anecdotal data points from a guy who lived in the Bay Area when poor people could afford Redwood City and just returned from a family event.

1. The neighborhood I grew up in in San Jose has 3, 4, or even 5 cars in front of every house. My working thesis is that despite being small, these are multi-generational homes, probably with the notional homeowners being the ones that were living there back in the mid-80s.

2. My aunt lives in a much nicer part of San Jose in the house that her husband inherited from his parents. Many of the other neighborhood homeowners are in the same situation, although there has been some flipping going on.

3. Three more boomers at the family event are all living in inherited houses, including one couple that has a pair of houses that they each inherited from their respective parents. They're not renting out the surplus, but instead have turned both into animal rescue sites.

All of these folks are grandfathered in to extremely low Prop 13 property taxes.
by Buttons840 | 2025-07-27 02:52:19+00:00
It is expected to be 0 if you're under 45 years old or so, I think. When I did a CAC test, the results came with charts showing where I was compared to the expected value for my age.

Also, taking a statin can increase the CAC score because statins cause fat build ups to calcify faster which makes them less likely to break free and cause big problems.
by qchris | 2025-07-27 02:52:53+00:00
I haven't heard anyone mention this rule, which I think is useful:

Cars, dogs, and water.

These are the big three common things that children interact with regularly that can, and will, cause irreparable harm or death with functionally no warning and virtually instantaneously. Kids also don't have the experience or the intuition to figure out if a situation is dangerous; cars move too fast, dogs are too hard to read, and water danger is hard to grasp even for adults (the number of people, including grown adults, I've seen panic and had to get pulled out after gleefully jumping into water where it turns out they can't reliably touch the bottom is fairly high).

The first two require some strictness (i.e. being very clear about rules like never going near a road without an adult, and never hitting a dog or pulling it's ears), but water basically requires regular swimming lessons from qualified instructors. It's something I wish happened earlier, and that more families had easy access to.
by PaulHoule | 2025-07-27 02:53:07+00:00
I'd say "pick out a random sample of users and check their karma" but the problem is "what's a random sample of users?" You could pull all the submissions and comments from users that were made in the last week from the API pretty easily and pick out 1000 of those users (not 1000 random comments!)

Any sample of users who actually post is going to have higher karma than the universe of HN users, many of whom haven't logged in for years.

Somewhere between the time I had karma 35,000 and 60,000 I had a script that I ran sort-of-daily which captured the top 100 users including the ones who don't have a number posted on that list. I was planning to make a chart of how top user's karma was growing over time but I guess I was never competitive enough to actually make the chart.
by neilv | 2025-07-27 02:53:17+00:00
I have worked hours like that, for years. Over time, i learned that it's mainly good if you don't know what you're doing, and you want to waste lots of time, and not be at your sharpest. While also often feeling like crap.

The next time I'm leading a team, I'm leaning towards 40 solid hours/wk being the official way to go.

Up to around 60 hours/wk of mixed-solidity work is also sustainable long-term for most people, without ill health effects iff some of that will be much lower-productivity time and the people don't have daily family obligations and the overall stress isn't too high.

But if some people wanted to try 50-60 hours and a mix of pace themselves, I'd probably have them structure it so that they appeared to 40-hour colleagues as if they were also doing 40 hours. Which means no slacking off in front of them, nobody getting disturbed on off hours with messages or pull request reviews, etc.
by johncolanduoni | 2025-07-27 02:53:36+00:00
For beginner-to-intermediate raster use cases where you want to direct the GPU yourself, WebGPU will cover most of what you're looking for with reasonably low cognitive overhead. It's at a roughly DX11/Metal level of abstraction, but with some crucial modernizations that reduce friction between WebGPU and the underlying APIs (pipeline layouts being the biggest one).

The main things it's missing for more advanced raster use cases aren't really GPU features as such, but low-level control over the driver. Unlike Vulkan/DX12, it does not permit (or require) you to manage allocations of individual resources in GPU memory, or perform your own CPU/GPU and GPU/GPU synchronization. The rationale (as I recall from some of the people working on the standard talking on GitHub issues or somewhere similar) was that the computational overhead of verifying that you've done these things correctly erases the gains from giving the user this level of control. For the web platform, verification that you're not going to corrupt memory or expose undefined driver behavior is non-negotiable. This explanation makes sense to me, and I haven't really heard anyone put forward a generalizable scheme that allows you Vulkan levels of control with efficient verification.
by qingcharles | 2025-07-27 02:54:34+00:00
There was an algo change a couple of weeks back. I saw a few accounts with hundreds of thousands of followers saying they were getting only dozens of likes on their posts. (mostly accounts that had dissed Musk, so factor that possibility in)

I checked Mayer's account and it's not under any sort of shadowban that's detectible with the regular tools, which are usually very accurate.
by gruez | 2025-07-27 02:55:19+00:00
I think OP's point isn't that he'd accept taking a job at [insert tech company here] and have them pay him $50k, when the going rate is $300k or whatever, it's that in a hypothetical scenario where programming isn't prestigious and the pay was only $50k, he'd still take that job (as opposed to finding another line of work like finance or whatever).
by princevegeta89 | 2025-07-27 02:57:20+00:00
By bullshitting to employees that what they're building is the next big thing. AI has created a very bad culture and these startups have become very good at grabbing new grads or junior engineers that have a lot of energy and time and by saying they're going to be doing amazing things by working these 996 schedules...

The reality is the vast majority of these companies will be hit hard by a burst of the AI bubble. It won't be a surprise the so called millions they're looking for end up being a 0.
by analog31 | 2025-07-27 02:57:25+00:00
As a grad student in 1986, I was a TA for freshman physics lab, and an obligatory rite of passage was the notorious "oscilloscope lab." The other TA, and the professor, were both theoreticians. I was the only grad student with any electronics experience, because it was my hobby. Still is.

We had a large lab room full of about 30 scopes and signal generators, most of which had flaky controls. No explanation was given beforehand (that any of the students read, at least), and there wasn't time to explain things like how or why the scope shows a stable display of a time-varying waveform.

And because of the behavior of the controls, no explanation was believable.

It was a debacle.

As for phosphor-like digital displays, I wonder how many patents Tektronix has on the concept. Many of them are probably expired by now.
by pansa2 | 2025-07-27 02:57:49+00:00
> I recently chased down a bug where something was accidentally made a class variable because a type hint was left off it by accident

That's the reverse situation to one I've come across - a novice accidentally wrote `a : 4` instead of `a = 4` and was surprised that `a` was still undefined. There was no error because the `4` was interpreted as a type hint.
by anal_reactor | 2025-07-27 02:58:03+00:00
The problem with any project is that at some point it's essentially complete, and all we need is small maintenance to keep it going. Google used to have an algorithm that pretty much solved web search. Tinder solved dating. Spotify solved music delivery. The problem is, you're sitting with a hundred managers and a thousand engineers and all these people expect growth. So you have to keep going, even if the only direction is down, because if you don't, you'll be forced out of organization and replaced by someone who does. So you do go down. And then everyone's surprised and playing the blame game.
by gruez | 2025-07-27 02:58:11+00:00
Same reason why "starving artists" (eg. actors, musicians, and game developers) don't become bus drivers and do their art over the weekend. They like the job so much they'd rather take the pay cut and poor working conditions just to work in the job. It's a well-known concept in economics: https://en.wikipedia.org/wiki/Compensating_differential
by jongjong | 2025-07-27 02:59:07+00:00
I wonder how much macroeconomics and politics had to do with Yahoo's situation.

During this period, the US had been exporting large amounts of dollars to foreign investors (US going into deficit) and these foreign investors didn't know what to do with all those dollars so they dumped them onto the US stock market. This has been going on for decades. It was the premise of the Japan carry trade.

US companies like Google or Facebook would have had access to plenty of capital during this time and maybe it allowed them to be picky.
by ofalkaed | 2025-07-27 02:59:07+00:00
What would this offer me over more established scripting languages? Main thing I want to know when I see a new offering. On a quick look I find the almost but not quite C syntax more difficult to read, like the lack of parenthesis on the if statement's test and this is my biggest issue with C like languages, they change things just enough that I have to think about it and I don't see what the change offers beyond those used to C syntax having to stop and think.
by SaltNHash | 2025-07-27 03:00:24+00:00
Hi HN,

Keycloak is a popular open‑source Identity & Access Management (IAM) server, but like most IAMs it lets any admin make instant, irreversible changes. In regulated or high-security setups that "god mode" is a nightmare.

We built Keycloak-IGA, a fork that bakes a light weight approval workflow into the server, which must be cleared before high stakes changes can go live:

Features include: - Draft → Pending → Approved states for user, role, client & realm changes - Quorum engine (default "70%" of admins) - four-eyes control enforced by code - Zero overhead unless you switch it on - Emits audit events aligned with PCI-DSS, SOX, ISO 27001, HIPAA, NIST 800‑53

Try it in a few mins git clone https://github.com/tide-foundation/keycloak-IGA cd keycloak-IGA docker compose up # spins a demo realm with IGA extensions pre-wired

Walkthrough video(4min): https://www.youtube.com/watch?v=BrTBgFM7Lq0

Looking for feedback on: - Does the built‑in model beat the usual "proxy + ticket + webhook" approach? - Is 70% quorum sane? Would you prefer fixed reviewers, AD groups, etc.? - What's missing before you'd trust this in prod?

Background & design notes: https://github.com/keycloak/keycloak/discussions/41350

MIT licensed, so fork away, and tell us what you think.

Thanks!
by BeetleB | 2025-07-27 03:00:52+00:00
> Calling them "lab-grown" is part of the propaganda against them.

Indeed: Even the article perpetuates this:

"Whereas a two-carat real diamond engagement ring might cost $35,000, Oymakas says a two-carat lab-grown diamond with the same clarity and colour could only be about $3,500."

Sorry - they're both real diamonds.
by danbolt | 2025-07-27 03:00:54+00:00
I think you’re in your right to close your account, but itch has a public history[1] of generally being in agreement with you. Leafo talked about feeling a responsibility to host the unique and diverse content the platform holds. [2] This is further exemplified by deindexing/demonetizing adult content rather than swiftly deleting everything in a crass, cover-your-ass, manner.

It strikes me that they had a gun held to their head by a mobster. If itch didn’t comply, they’d lose all their revenue, and we’d lose the website in its entirety, which is much more than just smut.

Pushing back against the payment processors, rather than itch under duress, would have made money talk in the right direction. The difficulty in doing so is reflected in the discussion here.

[1] https://x.com/itchio/status/1478123227394150400 [2] https://youtu.be/9v4ppSSpb0I