MurphyA/hacker-news huggingface dataset:
by toomuchtodo | 2025-07-21 00:56:19+00:00
> “Certain kinds of farming practices, particularly the very traditional ones, have this extraordinary protective effect in the sense that, in these communities, asthma and allergies are virtually unknown,” said Donata Vercelli, a professor of cellular and molecular medicine at the University of Arizona. “The studies that have been done in these farming populations are critical because they tell us that protection is an attainable goal.”

Too clean, or not too clean: the Hygiene Hypothesis and home hygiene - https://onlinelibrary.wiley.com/doi/full/10.1111/j.1365-2222...
Ask HN: Is there any good onboarding SaaS tool for iOS apps?
by iboshidev | 2025-07-21 00:56:39+00:00
Hi HN community, does anyone know if there's some sort of plug n play onboarding sdk similar to revenuecat for paywalls?

im imagining a place i can design components in the onboarding flows, instead of the entire onboarding flow being seperate code files.

please give any suggestions, would really appreciate it <3
by Gigachad | 2025-07-21 00:56:53+00:00
Which is good to some extent. We have people off the deep end sharing “unlock/jailbreak prompts” which turn LLMs in to schizophrenia machines affirming any psychosis. While a real person would push back and try to get you help.

ChatGPT can’t tell the difference between being given a harmless instruction / role play prompt, vs someone who is going insane. Probably explains why many of the most vocal AI users seem detached from reality, it’s the first time they have someone who blindly affirms everything they think while telling them they are so smart and completely correct all the time.
by simonw | 2025-07-21 00:58:39+00:00
If you haven't heard of Peep Show but you enjoyed Succession you should know that Jessie Armstrong, the creator and showrunner of Succession, was previously one half of the Jessie Armstrong and Sam Bain pair responsible for Peep Show.

I find the similarities between the two shows fascinating: in particular the way they both revel in how flawed their central characters are.
by jlokier | 2025-07-21 00:58:58+00:00
> Byte range is support is interesting but also present in the Linux sync API: https://man7.org/linux/man-pages/man2/sync_file_range.2.html

Unfortunately, I think sync_file_range() provides much weaker guarantees than byte-range fsync() and even byte-range fdatasync().

As I understand it from historical behaviour and documentation, sync_file_range() doesn't push durability barriers down the underlying storage devices, nor does it ensure that all metadata needed to access the written pages is itself written and made durable, for example when writing to a hole in a sparse file, to the end-hole created by enlarging a file with ftruncate(), or to fallocate'd pages.

As a result, that means sync_file_range() can only be used as a performance tweak, and not for any durability guarantees that fdatasync() / fsync() are used for.

I'd be delighted to find this has improved since I last looked, but that's what I recall about sync_file_range().
by ants_everywhere | 2025-07-21 00:59:45+00:00
In addition to the push back there's the fact that Hannah Arendt -- who coined the phrase "banality of evil" -- was also a lover of Martin Heidegger.

Heidegger was an enthusiastic Nazi and Arendt also defended him. Some people see the "banality of evil" book as essentially being a defense of Eichmann.
by jjani | 2025-07-21 01:01:20+00:00
They can, they just don't really want to, as the dozens of anecdotes in this very comment section reveal. None of these things are about technical competence or capabilities. They're all about organizations, politics, fiefdoms and enormous amounts of intentional obstruction by those who want to keep the status quo. If the country would collectively decide they'd want to change it, it could be done quite rapidly.
by positron26 | 2025-07-21 01:02:24+00:00
It should not be shocking that we do things better the more we do them. The designs take time to emerge. Experience makes better ideas develop.

As an Emacs user, I anticipate further programming to refine how the glove fits the hand. The solutions we will want as individuals have a lot of dispersion, so I cannot rely on others for everything.

There are plenty of times where I download what others have written and use it as it is, within the bounds of some switches and knobs. Do you want to have such a hands off approach with your primary interface to a computer?
by sedatk | 2025-07-21 01:02:57+00:00
Basically, any path longer than 256 characters for `mapFilename` would cause a buffer overrun.

An unprivileged app could run your app (say, with more privileges), with a very long `HOME` environment path, causing a buffer overflow, and potentially exploit it to use your app's privileges to do more stuff than it was supposed to.

Basically, you should never use strcpy and strcat and but use the secure alternatives like strcpy_s and strcat_s, even when you know the source buffer would never exceed the destination size.
by a_bonobo | 2025-07-21 01:02:57+00:00
yes, definitely. I've seen comments from people burning through $100s of tokens per day for a $200 per month subscription. Anthropic has just been cracking down and restricted token limits for restrictions, expect more to come, it's just not sustainable

https://techcrunch.com/2025/07/17/anthropic-tightens-usage-l...
by bluefirebrand | 2025-07-21 01:04:56+00:00
I'm not sure why anyone expects this conversation to be constructive at this point

People who are cheering for LLM coding because they hate actually coding themselves are cheering for programmers to lose their livelihoods

I am not going to be polite and constructive to people who don't care if my livelihood is destroyed by their new tools. Why should I? They are cheering for my ruin
by alephnerd | 2025-07-21 01:06:02+00:00
Korea actually invested in building indigenous and domestic capacity in software and hardware since the 1990s, and rapidly expanded financing+subsidizes along with tech export promotion in the 2000s and 2010s while much of the EU fell under severe austerity and financialized much of it's R&D capacity. Furthermore, Korean companies like Samsung Group, LG Group, SK Group, and Hyundai Group spent tens of billions building R&D capacity and conducting tech transfers with American partners in order to build a much more balanced economic partnership.

Samsung Group, SK Group, LG Group, Hyundai Group, and Naver Group all built domestic capacity across both the software and hardware stack with Korea, and can decouple from the American ecosystem worst comes to worst because they have built a strong ecosystem across Japan, ASEAN, China, and India.

European countries never did the same. There is no domestic equivalent within Europe (and no, ASML does not count - all their bleeding were EUV work is done in the US via a JV with the DoE). In chips alone, Infineon, NXP (which is largely Motorola), and ST Micro are all heavily dependent on US capacity, and their niche in analog and power chips has largely been commodified by Asian players like Samsung Group, Hyundai Group, and SK Group. This can also be seen with CHIPS and IRA disbursements - Samsung and LG have been the biggest beneficiaries of the former and latter, and Naver has been leading US-SK trade negotiations with Trump Jr which lead to automotive being impacted but electronics largely unscathe.

South Korea also allows a level of market consolidation and oligopoly power that would violate European regulations.

Furthermore, SK can always dangle the China-SK-JP trilateral FTA to force the US into a more equal bargain, while dangling enhanced military cooperation with the US, Philippines, and Taiwan to force China to negotiate. The EU cannot offer the same because it is faced with Russia on it's eastern border, and thus cannot use China as a bulwark against the US.

Europe is decades behind Japan, South Korea, and Taiwan, let alone the US or China
by Quarrelsome | 2025-07-21 01:06:15+00:00
I'm talking about the cost as being friction that resulted in 1.0 being so dominant and 2.0 being scarce.

Not everyone gets to pick and choose how they use XSLT. Place I used to work, the services team used to have a sign:

> [X] Days since last custom report

They hated it and I can't blame them, making a series of soap calls, consuming the most degenerate api ever written and generating a document for the customer was a pain. Bear in mind this was an enterprisey "do everything system", oversold by sales and the services team had to use XSLT to bridge the gap between customer expectation and what the salesman sold them.

What they needed was a host for a general purpose language, what they got was XSLT.
by inemesitaffia | 2025-07-21 01:09:16+00:00
I see toxic masculinity as societal expectations/pressure.

Not anything any man whatsoever does in response to them or does in general. (A very problematic remaking of an idea.)

Good or bad.

It's always fascinating you don't see anything about toxic femininity from the people who push the idea of toxic masculinity being things that men do. They tell you it's internalized misogyny (is toxic masculinity internalized misandry? Some will say misandry doesn't exist). It's like the more modern idea that it's men, not patriarchy that oppresses. And that men aren't supposed to have any benefits regardless of evidence they are disadvantaged.

That's how you get “It’s not for further advantaging men. It’s really quite bizarre.” where men are a minority.

https://www.theguardian.com/australia-news/2017/feb/08/sydne...

The idea that since men are privileged elsewhere or historically, supporting men today who aren't in any way is "quite bizarre".

Language in its plain form shapes us. That's why I won't take any slander of men or masculinity as ideas while there's cultural bars to doing that to others.

Masculinity is fine.

Antisocial behavior and the ideas that lead to it can be treated without using language that diminishes ones sex/gender or its expression.

This is why I always laugh at talk of representation. The foundational ideas are toxic.
by NoImmatureAdHom | 2025-07-21 01:09:31+00:00
Here's a recent take: https://www.quantamagazine.org/why-are-plants-green-to-reduc...

TLDR: Plants are running an energy-harvesting system that can only respond so quickly to changes in light input. Making use of green would cause variance to be large enough that the gains would not offset the losses. So, avoid green and have lower variance --> higher energy capture on average.
by floating-io | 2025-07-21 01:09:44+00:00
Yeah, that is not a helpful attitude to take when it comes to this sort of thing. If nothing else, a super-long home path can crash your app and leave your user scratching their head. In other words, this is a bug (as is the fact that paths are not necessarily limited to 255 characters in the first place; see the PATH_MAX constant, I think it is?).

As to what could be accomplished with an overflow? I don't know; I'm not in security, and I don't sit around thinking of possible uses for various bugs when it comes to compromising systems.

Perhaps the most important thing to realize, though, is that you're distributing software publicly. Your security situation may not be the same as your user's security situation. Assumptions should not be made.

Something to keep in mind.
by bluefirebrand | 2025-07-21 01:10:50+00:00
The problem I have is that is not really true

If the AI is capable of solving the problem quickly then it is usually the case that the question and answer are almost verbatim the first google search result from SO anyways

That's not really any faster

It might be faster for things that don't have a good SO answer, but tbh then it's usually much lower quality
by asadotzler | 2025-07-21 01:11:00+00:00
XUL was conceived by Dave Hyatt FOR Mozilla AT Netscape. Netscape was going to end development of not-Windows Mozilla because maintaining 3 front-end teams was more than the Netscape/Mozilla leadership believed it had resources for and XPFE was the solution.

If you believe XUL was developed for anything other than Mozilla's XPFE, you have been mislead.

Also, would you please provide names for those many pre-XUL XML-based UI languages I'm genuinely curious. Other than the web itself, HTML+JS+CSS, I'm at a loss for what those many XML-based UI markup languages you're referring to could possibly be. As a Mozilla participant at Netscape, and someone with hours of discussion with Hyatt over those early years, and a (very small) contributor to XPFE as early as Dave's XUL menus first draft, I'd be real interested to learn about prior art. Did we somehow miss all of those per-existing examples?
by int_19h | 2025-07-21 01:11:48+00:00
Consider the other options:

1. Have a bezel instead. This reduces the overall screen height and pixel count.

2. Have the camera stick above the screen instead. Lenovo did that on some Thinkpads recently. The problem is that it is still sticking out when closed.

2a. Fold the camera somehow. Requires the display to be thick enough to allow that, at least in that one area.

3. Don't have the camera at all.

Given that Macs normally always have the menu bar on top except when the app is completely fullscreen, the first approach makes the most sense - it allows the menu bar to be placed into the space reclaimed by removing the bezel.
by lunarcave | 2025-07-21 01:11:53+00:00
> Despite the large interest in agents that can code alone, right now you can maximize your impact as a software developer by using LLMs in an explicit way, staying in the loop.

I think this is key here. Whoever has the best UX for this (right now, it's Cursor IMO) will get the bulk of the market share. But the switching costs are so low for this set of tooling that we'll see a rapid improvement in the products available, and possibly some new entrants.
by ufo | 2025-07-21 01:12:07+00:00
One quite useful application of this is that implication can play the role of the partial-order operator in a Galois Connection. A Gallois connection is an iff-and-only-if formula of the form

F(x) ≤ y iff x ≤ G(y)

One form of this is the tautology when F(x) = (x and a), G(y) = (a => y), and pick logical implication as the "≤".

((x and a) => y) iff (x => (a => y))

https://en.wikipedia.org/wiki/Galois_connection#Power_set;_i...
by brigade | 2025-07-21 01:12:27+00:00
It's AVX512 that makes the gains, not assembly. This kernel is simple enough that it wouldn't be measurably faster than C with AVX512 intrinsics.

And it's 100x because a) min/max have single instructions in SIMD vs cmp+cmov in scalar and b) it's operating in u8 precision so each AVX512 instruction does 64x min/max. So unlike the unoptimized scalar that has a throughput under 1 byte per cycle, the AVX512 version can saturate L1 and L2 bandwidth. (128B and 64B per cycle on Zen 5.)

But, this kernel is operating on an entire frame; if you have to go to L3 because it's more than a megapixel then the gain should halve (depending on CPU, but assuming Zen 5), and the gain decreases even more if the frame isn't resident in L3.
by avalys | 2025-07-21 01:13:19+00:00
It’s notable that he was not the patient, he was the patient’s husband who somehow was allowed to enter the room with the MRI machine.

The superconducting magnet in an MRI scanner is always on even when not performing a scan.

This was pure and simple negligence by the MRI operators. Access control is the most basic part of MRI safety!

Even if he was not wearing this “chain”, he never should have been allowed to enter the room. He could’ve been wearing a steel wristwatch, had a keyring in his pocket, etc.
by josephcsible | 2025-07-21 01:14:57+00:00
While that's indeed a bug, for it to be a security vulnerability, wouldn't there also have to be a security boundary involved? Specifically, mapName is always either "w1000b.png" or "w1000.png", so the only way to trigger the buffer overflow would be through the HOME environment variable. But if an attacker can run commands as you with arbitrary environment variables, aren't you already pwned? What would anyone gain by running your program and exploiting it to do something, rather than just doing the thing directly? https://devblogs.microsoft.com/oldnewthing/20060508-22/?p=31...
by felipeqq2 | 2025-07-21 01:15:37+00:00
Lobste.rs is a tech-focused website quite similar to HN, and it's also affected (although they decided that the risks of legal action are low enough to avoid geoblocking UK users entirely).

You can read their community discussion at https://lobste.rs/s/ukosa1/uk_users_lobsters_needs_your_help...
by mindslight | 2025-07-21 01:15:48+00:00
> A thriving private market is created

> medical providers operate cartels that jack prices up.

These two statements are in direct conflict. If it were a thriving private-sector market, then providers wouldn't be able to form cartels that jack prices up.

I'd say Medicare is a good chunk of what's giving us the worst of both worlds. It's full of mandates that warp the entire system, but then fails to take responsibility for the warped system. Like sure we both agree that Medicare should fund drastically more residency slots. But my point is that the problem is Medicare doesn't actually have to pay the full cost of the high prices it has created with things like the residency slot shortage.

> where people's medical costs drastically increase, publicly-funded single-payer kicks in; before that, people with (actuarially) far lower costs

This analysis is entirely backwards on so many fronts. I'm not even really a proponent of single payer, but your point pushes me in that direction. Higher variance but lower average costs earlier in life are exactly where it would be most effective to spend public funds - keeping more people from financial ruin per dollar spent, more productive and enjoyable years of life, younger people are more likely to proactively obtain/consent to medical care, better outcomes from interventions being done earlier.

Imagine the opposite of what you're championing - use public funds to try to keep everyone alive until they've had 65 years of life, after which point part of your retirement savings would be a plan that determines how many resources might be spent on giving you a few extra years of not-so-great life. That seems both more efficient and more fair to me.
by lucb1e | 2025-07-21 01:17:36+00:00
Note that a small temperature difference that is sustained very consistently over a long time using a tiny amount of electricity (let's say half of what the parent post cited, so like a COP of 8) could add up to a lot of nearly-free cooling. You'd chill your walls for weeks and when a heat wave comes with hot nights for a week, if you(r home automation) close(s) the blinds during the heat of the day, the more-powerful AC might barely have to do anything

Just an idea of course, but I'd not write new tech off as "ok but just 1.3 degrees who cares" when the claimed COP is so insanely good without first trying it out
by FollowingTheDao | 2025-07-21 01:17:54+00:00
If you walk off the edge of a building, you will fall and hit the ground. The hubris does not lie with me telling you that, the hubris lies with someone want to start editing our genes with birds so we can have wings so we don’t ever have to fear falling off of a building.

This goes back to my point of acceptance. Why can’t we just accept the fact that we do not fly? Why do we want to waste all this money and time being something we’re not?
by asadotzler | 2025-07-21 01:18:10+00:00
It was pretty easy to debug most of it with Dom Inspector and Venkman, themselves written in XUL. Even the XBL bindings and other sometimes challenging bits, were directly inspectable and editable. As a minor contributor to Mozilla's early XUL work and later Firefox's XUL work, mostly stripping XUL overlays and reducing clutter in the Firefox case, it seemed pretty straight forward to me.
by odyssey7 | 2025-07-21 01:19:09+00:00
It’s wild that the bottleneck keeping us from buying more MRI machines, achieving economies of scale for a no-radiation way of viewing soft tissues in high resolution, is supposedly the specialized technicians, and here we had a technician who couldn’t manage to turn it off in time when something went wrong, and apparently didn’t keep metal objects out of the room. (We use metal detectors any time you walk into a sporting event, why not an MRI room?)

I expect this story to be promoted by people who benefit from sales of x-ray / CT machines though. MRIs and all of their promise for public health could continue to be set back.
by WillAdams | 2025-07-21 01:22:42+00:00
There is (at least according to one episode of _Grey's Anatomy_) a big scary red button to shut down the machine in an emergency, resulting in expensive to restore operation:

https://www.reddit.com/r/explainlikeimfive/comments/m9algh/e...

According to the above post, it's a venting of the liquid helium, which requires ~$25,000 to replace).
by eyelidlessness | 2025-07-21 01:23:00+00:00
In order: 42 years old; 17 years (at least? starting to lose count!); PHP -> JavaScript -> Clojure/ClojureScript -> TypeScript.

Perhaps more pertinent to the topic, in my last job I implemented the bulk of an XForms implementation. Pertinent because XForms has a lot of conceptual overlap with what I’ve seen in XMLUI so far.

I think it’s worth clarifying my point above with that context: it isn’t the concept that I find novel, at all. It’s the sheer depth and breadth of declarative expressiveness that I see in the examples. Maybe the best way I can put it is that what seems novel to me is how much novelty it appears to enable, before breaking through the abstraction to give it more capabilities.
by LeifCarrotson | 2025-07-21 01:23:15+00:00
> "I'm saying, 'Could you turn off the machine? Call 911. Do something. Turn this damn thing off!'" [pleaded the victim's wife].

The journalist missed a golden opportunity for education here: most MRI scanner magnets cannot be turned off like that. For the few that can, it's going to cost >$50,000 just to refill the liquid helium, not to mention the real and opportunity costs associated with rendering the machine offline for days or weeks.

If people don't know about the magnet, or don't know that it can't be turned off (or perhaps assume it's "off" because the scan was over, as I would guess happened here), accidents happen.
by OutOfHere | 2025-07-21 01:23:28+00:00
The incident with the child seems worse:

> In 2001, a six-year-old boy died of a fractured skull at a New York City medical centre while undergoing an MRI exam after its powerful magnetic force propelled an oxygen tank across the room.

There shouldn't exist any metals in the room (that are not the machine itself), period. The smallest metallic object can fly off like a bullet. Everything and everyone that enters the room should be required to be scanned with a handheld metal detector.
by gf000 | 2025-07-21 01:24:24+00:00
It's a very large context window, but it is compressed down a lot. I don't know every line of insert your PL of choice's standard library, but I do know a lot of it with many different excerpts from the documentation, relevant experiences where I used this over that, or edge cases/bugs that one might fall into. Add to it all the domain knowledge for the given project, with explicit knowledge of how the clients will use the product, etc, but even stuff like what might your colleague react to to this approach vs another.

And all this can be novelly combined and reasoned with to come up with new stuff to put into the "context window", and it can be dynamically extended at any point (e.g. you recall something similar during a thought train and "bring it into context").

And all this was only the current task-specific window, which lives inside the sum total of your human experience window.