MurphyA/hacker-news huggingface dataset:
by trollbridge | 2025-07-13 22:04:39+00:00
The percentiles of 50-60, 60-70, 70-80, and 80-90, however, are obviously not shift workers (unless they're shift workers working in the dark); you compare the lowest percentile of daylight light exposure to the highest percentile of nighttime light exposure, and see that there just aren't that many shift workers present in the study. About 13% of the UK population is considered to be nighttime workers. We can safely assume nighttime workers aren't represented in the 50%-90% percentile, because there simply aren't enough of them to go around, and would not be statistically significant.
by arp242 | 2025-07-13 22:04:50+00:00
Depends on your circumstances. If you're a bit overweight and want to lose weight: it's perhaps not helpful. If you're obese and everything just seems hopeless: fuck it – do anything that will bring your weight down to a manageable level first, and then start working on habit and lifestyle changes. Energy levels, the motivation of seeing progress, and that type of thing are hugely important.
by leoqa | 2025-07-13 22:06:13+00:00
I always like to frame it this way: ask someone what a reasonable response would be if they flew to Paris and then decided they didn’t want to leave. What is the French government allowed to do in their moral framework to enforce their immigration laws.

People don’t have a great answer. The asylum process actually works- it just turns out that many, many cases aren’t valid and it was abused to gain entry once we allowed asylum seekers to remain in country.
by cjbgkagh | 2025-07-13 22:06:30+00:00
Not innovating, maintaining high prices, and price-gouging are unstable activities for a monopoly, as in it would open up a void for effective competition. The real anti-competitive actions is that it becomes cost effective to do regulatory capture / pay bribes to politicians. A monopoly can pay to play in a way that fledging competitors cannot. Once the industry has been captured then they can do rent seeking behaviors without worrying about competition.
by aredox | 2025-07-13 22:07:15+00:00
Mortality slippage has also exploded since the COVID pandemic started... And again, nobody seems to wonder if somehow, a virus that invades the whole body (not just a respiratory virus), repeatedly, is causing death by a thousand cuts...

The blind spot related to COVID is huge. There are lots of health data going haywire since 2020 and everyone seems to find any other reason but COVID for it.
by JumpCrisscross | 2025-07-13 22:07:53+00:00
One, a search isn’t a source. Two, the medical source in your results [1] doesn’t support your hypothesis:

“Survival among the participants in the top wealth quartiles in northern and western Europe and southern Europe appeared to be higher than that among the wealthiest Americans. Survival in the wealthiest U.S. quartile appeared to be similar to that in the poorest quartile in northern and western Europe.”

The wealthiest 25% of Americans have mortality similar to the poorest 25% in Northern and Western Europe. And the wealthiest 25% of Europeans as a whole outlive the wealthiest 25% of Americans.

The richest Americans, where I mean top 1 to 5%, on the other hand, match with the richest Europeans because of course we do, we’re accessing the same global pool of health services. But there is zero evidence rich Americans are outlived by poor Europeans, even if we restrict ourselves to its wealth West and North.

[1] https://www.nejm.org/doi/full/10.1056/NEJMsa2408259
by 1vuio0pswjnm7 | 2025-07-13 22:07:53+00:00
https://pldb.io/lists/top1000.html

Lua ranks higher than MicroPython in this list

https://www.farginfirmware.com/home/lua-vs-micropython

Github account "SkipKaczinksi" thinks Lua is generally faster

https://hackaday.com/2020/11/14/micropython-on-microcontroll...

Hackaday commenter "Michael Polia" suggests Lua, smaller, faster

https://www.cnx-software.com/2021/11/28/toit-open-source-lan...

Toit scripting language claims to be 30x faster than MicroPython

Toit founder was "responsible for initial development of V8"
by throw10920 | 2025-07-13 22:08:04+00:00
> If people don’t agree with Google move, the only correct course of action is to ditch Chrome (and all Chromium browsers).

I disagree, on two fronts.

First, I think that the underlying root cause is a level lower - it's the fact that so much content on the web is funded via privacy-invasive and malware-laden advertisements, rather than direct payment.

Second, there are multiple valid things that you can do - you don't just have to pick one.

You can work on Manifest V2 bypasses and you can boycott Chrom{e,ium} and you can contact your representatives to ask them to craft regulation against this and you can promote/use financial models where you pay for stuff with money instead of eyeballs. All are useful! (especially because regulation is incredibly difficult to get write and takes a long time to build political will, draft, pass, and implement)
by asdf6969 | 2025-07-13 22:08:16+00:00
Everyone hates calling and apps give customers a list of restaurants with menus to browse. Restaurants also do all of their in-restaurant management with software (why not paper? ask them idk) which I assume has some integration with the app.

I can imagine some type of open protocol that lets them self-host an order service though, or at least an open solution that’s hosted by many providers and many separate apps. That would be nice for everyone
by notfried | 2025-07-13 22:09:27+00:00
Not OpenAI, but Anthropic CPO Mike Krieger said in response to a question of how much of Claude Code is written by Claude Code: "At this point, I would be shocked if it wasn't 95% plus. I'd have to ask Boris and the other tech leads on there."

[0] https://www.lennysnewsletter.com/p/anthropics-cpo-heres-what...
by UncleMeat | 2025-07-13 22:09:27+00:00
Just my opinion, but I think that having contracts that might be checked is a really really really dangerous approach. I think it is a much better idea to start with a plan for what sorts of things you can check soundly and only do those. "Well we missed that one because we only have intraprocedural constant propagation" is not going to be the sort of thing most users understand and will catch people by surprise.
by spacechild1 | 2025-07-13 22:09:30+00:00
In my latest personal project I have switched my asio networking code from callback functions to coroutines. It is such a big improvement! Repeated actions can be written as simple loops, error handling is done with exceptions and the code is generally much easier to follow. And here's the icing on the cake: most data can actually stay in local variables, which means I don't have to care about the lifetime!
by jtrn | 2025-07-13 22:11:50+00:00
For semaglutide, the newest and most potent GLP1.

United States: The main patent is expected to expire around 2032. Monthly Price: $950 - $1,350+ (cash price without insurance)

Norway: The main patent is expected to expire around 2031. Monthly Price: $109 - $301 (cash price equivalent in USD)
by arp242 | 2025-07-13 22:12:16+00:00
I knew several people for whom the pictures were the "final push" to really quit back when they were first introduced. Not sure if it's easy to get good data to separate out all the factors such as cost, in-your-face warnings, etc. because they all happened more or less at the same time.

As an aside, I watched Poor Things this afternoon, and it came with a "Contains Tobacco Depictions" warning at the start. Never seen that before. No warning for the nudity, sex, or profanity.
by Workaccount2 | 2025-07-13 22:12:18+00:00
Worked years ago at a restaurant that had its own website and app ordering...

Ubereats and the like still dominated the orders even with the 15% upcharge and even after notifying repeat customers that they can save money ordering direct

The convenience of having one centralized app with one account that can summon any food from any restaurant in a 10 mile area is just way too strong.
by Aurornis | 2025-07-13 22:12:59+00:00
Seeing how many Gen Z people use food delivery services on a weekly or even daily basis was mind blowing to me. I’ve had numerous conversations where I’ve had to bite my tongue when younger colleagues complained about finances after also explaining that they DoorDash dinner nearly every night. It’s bizarre.

Not all Gen Z, of course. Most of the younger people I’ve worked with have been generally smart about finances. It’s a subset who fall into the normalization of luxury services as a standard cost.
by jdgoesmarching | 2025-07-13 22:13:06+00:00
It’s crazy to still use a dehumanizing term like illegals when referring to people holding up large segments of the economy while being illegally underpaid by employers. Not even in a politically correct sense, it’s such an obviously propagandized term that I’m surprised people are still gullible enough to use it.

Are you usually this concerned about negligible amounts of taxes not being collected, or only when it concerns some of the most powerless, exploited, and hardworking people in our communities?

I only ask so future historians can better understand the rhetoric used to justify the nakedly authoritarian kidnapping and imprisonment of Latinos and political opponents.
by Aeolun | 2025-07-13 22:13:08+00:00
I will buy games purely because I want them continue to be made. There’s developers that released a game I liked 10 years ago that I still buy all the games of just on the off chance the next one will be equally loved by me.

Conversely, there’s publishers that I avoid like the plague. Nothing Ubisoft or Electronic Art will ever see my disk any more.
Ask HN: SDETs and SWEs, how do you use AI when writing unit tests?
by ashbate | 2025-07-13 22:13:21+00:00
Hi everyone,

I am working on an AI agent that writes unit tests. Soon we will be launching officially. How it works is it contextualizes the methods and dependencies in a codebase and writes unit tests for intended functionalities/business logic.

The way we integrate ourselves into the development lifecycle is by being called on several platforms (slack GitHub and in IDE).

I was wondering what are your critiques of this workflow? To give a concrete example before you commit, you mark the methods you need tests for or in IDE you just push generate tests button and we generate it.

I am only curious about your take on this UX.
by toomuchtodo | 2025-07-13 22:13:32+00:00
60 percent of Americans can’t afford a basic quality of life. I disagree with the way this is argued. Materially wealthier how? Home equity? Household net worth? Absolutely of no value based on the currently observed outcomes.

If you ignore the wealth metrics, Europeans live objectively better lives than a majority of Americans.

https://www.theguardian.com/news/datablog/2012/may/24/robert...
by bananapub | 2025-07-13 22:13:44+00:00
> On-patent GLP-1s (all of them right now) are actually extremely expensive. Right around $1000 per month.

what does that mean? in the UK it's for sale from numerous national-chain pharmacies on a private prescription (ie the pharmacy is selling it commercially and customers are paying cash, no insurance and no state subsidy) for less than $US270/month. it seems unlikely to me that the pharmacies or the manufacturers are taking a loss on this, and the UK has at least as strict drug quality standards as the US.

sounds like the US monopoly-holders are just charging a lot more because they can, because the insurance system obfuscates prices and gives everyone involved cover to rip off patients?
by kurofune | 2025-07-13 22:13:59+00:00
Is this surprising?

This is what our actual economic system is all about: a series of market oligopolies whose greed is unchecked by our political establishment and legal apparatus with the complicity of the voting masses. Any attempt to implement measures to palliate the social decay and corruption it breeds will be branded as chinese communism and opposed by the media and the public.

We have collectively decided that the economy shouldn't be in service of the people, canis canem edit.
by ImPostingOnHN | 2025-07-13 22:14:11+00:00
> No, apparently I must clarify that I meant "realistic" when I said "realistic".

You must, yet you still have not! Instead, you omitted everything of substance from my response and just focused on snideness here. Maybe reply to the part of the post that followed that sentence?

> I have not even given my perspective so this just reveals your own ideological biases; the mere act of challenging your perspectives means that, to you, that person is biased.

This goes even moreso when I say it:

Myself and other-poster have not even given our perspectives, so this just reveals your own ideological biases; the mere act of challenging your perspectives means that, to you, those people are biased.

Not sure why you took that hard left into accusing others of being biased, but we don't have to have a conversation like that. We can rise above it.

Unfortunately, your post contained nothing about the actual topic: you're just arguing. If you're interesting in having an interesting discussion, focus on substance in your response, rather than attacking me. For guidance there, check the parts of my previous reply which you omitted.

I am not the topic here, and I'm not interested in you making me it.
by JumpCrisscross | 2025-07-13 22:14:20+00:00
> 60 percent of Americans can’t afford a basic quality of life

Define that “basic quality of life” and map it to the EU. We define our baselines much higher in America than they do in Europe because of course we do, we’re richer per capita.

Quality of life for the bottom I think 50% of Americans is worse than in Europe, almost entirely due to food quality and healthcare. But for most Americans, it’s materially better for most values worth measuring. (For the richest Americans it’s way better, but that isn’t how I believe one measures a society.)

Keep in mind that I’m counting the whole EU. If we restrict ourselves to its richest members, sure, QOL is higher in Switzerland and Norway than in Mississippi.
by Spivak | 2025-07-13 22:15:13+00:00
Why not? We have an overweight and obesity epidemic that has persisted through everything else we've gotten enough political capital to try thus far. The "miracle" drug is the most promising direction we've had in a long time. Whatever possible adverse long term effects have to be (plausibility they actually happen) x (harm they cause) > known harms of being overweight.

The scale of the solution is allowed to match the scale of the problem which is on the order of 2/3 of adults or 200,000,000 people.
by sroussey | 2025-07-13 22:15:26+00:00
Another way of putting it is that people achieve their goals and wind down the usage of the drug that got them there.

I think that in a few more years the number may stay at 25% (or whatever) but that the makeup of the 25% may be different. That is, people will go off it and back on it if they see their progress reverse but that will happen to different people at different times.
by Aurornis | 2025-07-13 22:15:30+00:00
The target audience for consolidated food delivery apps isn’t the person who wants to manage the fine details of ordering from 10-20 different local restaurants.

The majority of people using these apps just want to scroll some restaurants and order something quickly. Saving 10% by going through extra steps, installing extra apps, going to a company’s website, and doing custom orders isn’t what most of their repeat customers want to do.

It’s a convenience thing.
by bawolff | 2025-07-13 22:16:01+00:00
> IPv4 addresses are limited and constantly reallocated. Most are rented and passed between hosting providers, resold between datacenters, or migrated across regions. The Iranian filtering system uses GeoIP databases and BGP information to decide which IP ranges to trust and which to block. But those records lag behind the changes.

This is surprising to me. Surely iranian ISPs would have directly allocated IP space?

Or alternatively, surely Iran's gov would be in the routers and be able to blackhole any routes leaving the country?
by echelon | 2025-07-13 22:16:20+00:00
Why are you upset that the author resubmitted? The last posts got no traction at all.

A post getting two submissions twice does not make this a re-post. Nobody on earth saw the previous submissions.

It's permissible for folks to submit posts a few times until they actually get noticed or dang steps in to tell them to stop. The author is doing things exactly as the rules permit.

If you've learned from your wife's social media career, you know that you often have to keep trying in order to pick up traction. The algorithm requires signal.
by lalaland1125 | 2025-07-13 22:16:38+00:00
> Thats always the claim, but they have stolen SSN's to get those jobs in the first place (those without SSN's aren't paying income tax).

Where are the criminal prosecutions if that is actually happening? For all of Elon's efforts, even he was unable to find much (if any?) social security fraud.

> Not to mention states like California which explicitly spend federal money on illegal immigrants through Medicaid.

With the exception of pregnancy and emergency care (which are relatively minor), this is not the case.
by A1kmm | 2025-07-13 22:17:00+00:00
If allowed, an incumbent monopoly will do the minimum innovation or tactical pricing necessary to keep out competitors - even if it means they suffer a temporary loss.

This can effectively create a barrier to entry high enough that no small company has a chance to beat them. Since insolvency before overcoming the barrier is foreseeable, no one even tries, and the monopoly gets to keep high prices (compared to a competitive market if they weren't there).
by toomuchtodo | 2025-07-13 22:17:57+00:00
Unburdened by housing costs, affordable and accessible healthcare, transportation, child care, groceries, etc.

It is possible to live comfortably in most of Europe for €1000-€1500/month. This is almost impossible for most of the US, more so as upcoming Medicaid cuts occur.

https://www.kff.org/quick-take/about-17-million-more-people-...
by EA-3167 | 2025-07-13 22:18:05+00:00
The Menu is... overly sincere, I won't spoil it, but it's the "Restaurant as cult environment" movie. In fact the question of lacking sincerity is framed as "the audience casually disregards the immense effort and dedication requires to achieve what you demand."

...Now that's probably using restaurants as a metaphor for the film industry, but either way the point holds. I'm not put off by insincerity, it's forced, false intimacy as a product or a service goal that bothers me. Good food, good (not fawning) service is more than enough for me, I don't need this kind of race-to-the-bottom Michelin stars seem to inspire.
by asdff | 2025-07-13 22:18:18+00:00
The answer is yes, and also yes towards that question for most other media. The fact propaganda is an industry is the issue. As soon as you have a population of people of sufficient mass, it becomes worthwhile to invest in attempting to influence the mindshare in some way towards a profitable end. This will be true for as long as we make use of propaganda for selling products, controlling votes, and how people think and behave. People might think it is only for the masses, but given their individual value you can probably be sure that all influential people in this world are also propagandized into making decisions that benefit other latent interests.

I'm not sure how you get out of the fact that game theory suggests there will always be people operating selfishly like this and reaping benefit from it as such. You see it in ecosystems too. It is a perfectly valid evolutionary strategy to learn to rob a nest vs making your own way. The question is how we balance these realities about our animal selves and even try and counter them for collectively beneficial reasons, that also won't just be subverted for someone else. Especially as technology grows to be more esoteric and powerful in the future.
by fuzzfactor | 2025-07-13 22:19:39+00:00
>too-dumb AIs that people treat like they're smart.

I think this is one of the most overlooked too.

This is also a very bad problem with people, and big things can really crumble fast when a situation comes up which truly calls for more intelligence than is at hand. Artificial or not.

It can really seem like smooth sailing for years before an event like that rears it's ugly head, compounding the lurking weakness at a time when it can already be too late.

Now human-led recovery from failures of human-fallible systems does have at least a few centuries head start compared to machine recovery of AI-fallible systems. So there is that, which is not exactly fair. As AI progresses I guess you can eventually expect the stuff that works to achieve comparable validation over time.
by notatoad | 2025-07-13 22:19:49+00:00
as long as you've got enough order volume to keep a delivery driver consistently busy, that works fine and the apps are unnecessary. for a pizza restaurant, or anybody else focused on delivery orders, the apps aren't necessary

the utility of the apps is to distribute the load from multiple restaurants across a shared pool of delivery drivers, so a restaurant who otherwise wouldn't be able to offer delivery can tap into that labour pool for infrequent delivery orders. food delivery apps have greatly expanded the number of places that offer delivery. most restaurants simply didn't offer it before the apps.
by make3 | 2025-07-13 22:20:03+00:00
I feel like your example shows the inverse of what you want. SSRI are actually great at helping the person develop healthy mechanisms (compared to GLP-1s), because they reduce the mood swings & negative thoughts, allowing the person to be more productive & be more involved in their therapy, in reading, journaling, doing sports, etc. It's just that it might take two or three years and not months, which is fine because SSRI also have much more limited side effects compared to GLP-1s.

GLP-1s don't do that directly.. but at least they might help people move more, and give them confidence to do more for their health instead of seeing it as a lost cause.
by rafaelmn | 2025-07-13 22:20:15+00:00
>radioactive nuclear fallout helping the ocean getting a nice glow

Fun fact - thermonuclear bombs have relatively little fission products - eg. Tsar derived only 3% of its yield from fission. Paper argues there would be no significant radiation impact, and while the ocean life in the region would get wiped author argues global warming will is worse.

https://www.researchgate.net/publication/387975147_Nuclear_E...

Anyway would be interesting if they did a smaller scale experiment to measure the impact - always good to have options.
Ask HN: How are you reviewing code with Claude Code?
by learnedbytes | 2025-07-13 22:20:39+00:00
I'm looking for solutions to automatically review code changes made by Claude Code before they're finalized. Currently considering setting up a secondary AI model with my coding guidelines that would:

Review each edit/commit from Claude Code Either reject with feedback (which I'd pass back to Claude Code) or approve for repo push Essentially act as a gatekeeper between Claude Code and my actual codebase Before I build this myself, wanted to check if anyone has already tackled this problem or has a better approach. Any existing tools, workflows, or architectures you'd recommend?

Thanks in advance for any insights!