MurphyA/hacker-news huggingface dataset:
by cogman10 | 2025-07-26 23:22:10+00:00
1 more PSA, Drowning is the #1 cause of death for people with autism. It generally happens when the person is being supervised by someone not their parents.

If you are taking care of someone with autism around water, be super aware of that.

A child with autism is 160x more likely to die from drowning vs the general population [1]

[1] https://nationalautismassociation.org/resources/autism-safet...
by Cieric | 2025-07-26 23:22:13+00:00
I really like the idea of this. I wonder if I can convince my work to use it for our hardware. Are things like SIMD, SIMT, and other weird formats easy to represent in this kind of language? Or should I just assume anything describable in Verilog/HDL can be described in this language.

This also brings up another question if anyone knows. Is there a term for hardware description languages similar to turning complete for programming languages, or is there a different set of common terms?
by burnt-resistor | 2025-07-26 23:22:39+00:00
Justin Taylor's take is Military Pistols Don't Actually Matter [0]. My argument would be: "If they don't actually matter except as one step before charging with bayonets, then why not use the safest and most reliable polymer plinker purlionable?" My devil's advocate retort to... myself... "But then the vendor who bribed their Congressperson and gave jobs to retired generals would get mad."

0. https://youtu.be/eRlzblOE1-c

PS: Both of my grandpas were USAAC/USAF WW2 vets who happened to be competitive pistol marksmen. It was more of a sport for them than anything essential to their MOSes. I OOTH, have Parkinson-like hand tremors and don't trust my aim beyond 5m.
by kevin_thibedeau | 2025-07-26 23:22:52+00:00
It's because of the fragmentation of news sources that can now be customized to one's preference with any finely sliced political cant desired. Three television networks maintained a measure of neutrality in their reporting. Mainstream print media did too albeit to a lesser extent. Wackjobs had a hard time finding each other to form a tribe that would destabilize society.
by larkost | 2025-07-26 23:24:34+00:00
I have never liked this statement of the problem.

It is not that `set -e` is bad, it is that bash is a bit weird in this area and you have to know when things eat errors and when they don't. This is not really changed by `set -e`: you already had to know them to make safe code. `set -e` does not wave a magic wand saying you don't have to understand bash error control.

But having `set -e` is almost universally better for people who do not understand it (and I would argue also for people who do). Without it you are responsible for implementing error handling on almost every line.

As other have already said: this is one of those things that generally pushes me to other languages (in my case often Python), as the error handling is much more intuitive, and much less tricky to get right.
by kelnos | 2025-07-26 23:25:00+00:00
> As you age, if you're reasonably sane, you start letting go of the idea that you can or should live forever.

I'm (only?) 44, and I still can't quite make peace with the idea of death. I'm not really afraid of it, but I can't stand the idea that I'm going to miss out on so many cool events in the future.

I want to see us colonize our solar system, maybe learn how to travel to other stars. I want to see what a post-scarcity economy might be like, if we as humans aren't too selfish to distribute wealth fairly. I want to see where medical/biological technology takes us, whether that's human cybernetics, whole-brain uploads, immersive virtual worlds, ... hell, the cures for so many diseases could be just around the corner. Man, so many possibilities, and I'm sure I'll be gone (long gone, even) before any of them becomes reality. And it's just a huge bummer to me that I won't get to experience any of it.

But hey, who knows, maybe we'll destroy ourselves via climate change, nuclear war, genocidal AI, or whatever within my lifetime. Or we'll keep sliding toward a dystopian future where 0.0001% of people live like kings and queens, and the rest of us live in miserable conditions, constantly surveilled, oppressed at every turn.
by Syzygies | 2025-07-26 23:26:42+00:00
I started with SML in the 1980's, implementing a core math algorithm (Grobner bases) used in my K&R C computer algebra system Macaulay. Then I got this idea there should be a related algorithm in a different problem domain (Hilbert bases) and I managed to convert my code in twenty minutes. It ran. This completely blew my mind, on par with switching from punched card Fortran to an APL terminal in the 1970's.

Everyone talks a good line about more powerful, expressive programming languages till they need to put in the work. Ten years effort to program like ten people the rest of your life? I'm 69 now, I can see how such an investment pays off.

I moved to OCaml. Studying their library source code is the best intro ever to functional programming, but I felt your "all the way" pull and switched to Haskell. (Monads make explicit what a C program is doing anyway. Explicit means the compiler can better help. What it comes down to is making programming feel like thinking about algebra. This is only an advantage if one is receptive to the experience.)

I'm about to commit to Lean 4 as "going all the way". Early in AI pair programming, I tested a dozen languages including these with a challenging parallel test project, and concluded that AI couldn't handle Lean 4. It keeps trying to write proofs, despite Lean's excellence as a general purpose programming language, better than Haskell. That would be like asking for help with Ruby, and AI assuming you want to write a web server.

I now pay $200 a month for Anthropic Max access to Claude Code Opus 4 (regularly hitting limits) having committed to Swift (C meets Ruby, again not just for macOS apps, same category error) so I could have first class access to macOS graphics for my 3-manifold topology research. Alas, you can only build so high a building with stone, I need the abstraction leverage of best-in-category functional languages.

It turns out that Opus 4 can program in Lean 4, which I find more beautiful than any of the dozens of languages I've tried over a lifetime. Even Scheme with parentheses removal done right, and with far more powerful abstractions.
by heavyset_go | 2025-07-26 23:27:01+00:00
> If you owned a house that was up against a private beach, I doubt you'd let people park in your driveway or cut through your yard to access it.

There's a concept in common law called the public trust doctrine[1] that we inherited from our British legal lineage that many states incorporate into their handling of beaches.

For example, some states hold all beaches in public trusts, and everyone has the right to use them. There being no such thing as "private beaches", although riparian rights can be rented, also means that the public has a right to access those beaches even if private property blocks access.

In those cases, the public has both perpendicular and lateral beach access rights, the former meaning you can legally cut across private property to access beaches, the latter meaning that you can walk up and down beaches to access other beaches.

That's to say your feelings about people crossing private property don't really matter when it comes legal beach access, Hawaii holds all waters and beaches in public trusts via public trust doctrine that courts have held up for literally centuries.

[1] https://en.wikipedia.org/wiki/Public_trust_doctrine
by hardwaresofton | 2025-07-26 23:28:30+00:00
Not an ML guy, but getting people to use a new framework is going to be super hard in a field like ML that is churning at such an insane rate. I’m not an insider but I just can’t imagine anyone with real skin in the game and deadlines has the time to jump in.

It’s tough but would you be willing to consider adding value to the metaflow ecosystem instead?
by kelnos | 2025-07-26 23:28:34+00:00
Sure, if you're 50 and haven't been taking care of yourself at all, starting right now is better than never starting. But there's likely going to be some ceiling you hit, a ceiling that would have been higher had you been taking better care of yourself your whole life.

> I think this is bullshit.

At the risk of being "that guy": can we keep the temperature down? That kind of reaction feels unnecessary and is the way we get people polarized about things. (Not saying I'm not guilty of this from time to time, but I'm trying to be better!)
by LargoLasskhyfv | 2025-07-26 23:29:50+00:00
I got a 21" Hitachi Superscan Elite or Supreme around that time from a gamer.

Because that thing could only do the BIOS text modes, and standard VGA at 640x480 at 60 or 70Hz. Anything else just showed OUT OF SYNC on the OSD, and then switched off.

Except when you fed it 800x600@160Hz, 1024x768@144Hz, 1280@120Hz and 1600x1200@70 to 80Hz, or anything weird in between.

I could easily do that under XFree86 or early X.ORG. A gamer under DOS/Windows rather not, not even with Scitech Display Doctor, because most games at that time used the hardware directly, with only a few standard options to chose from.

OUT-OF-SYNC zing

Was nice for viewing 2 DIN-A4 side by side in original size :-)

Fortunately a Matrox I had could drive that, as could a later Voodoo3 which also had excellent RAMDACs and X support.
by eastbound | 2025-07-26 23:30:32+00:00
It’s not generations, it’s age ;) Younger generations are still idealists. With age, you get betrayed in your ideals. You discover scientific studies weren’t so scientific as they get turned over one by one. It’s something like: Ice caps will still melt, and everything you did for the better, bad luck, they’ll have increased the warming. Same when we tried to eat better against cancer or raised or fists to defend gay people. I don’t want you to believe you’re generation won’t suffer the same fate ;)
by grujicd | 2025-07-26 23:30:50+00:00
I almost drowned as a kid - in shallow water, and with a swim ring around my waist. I'll explain situation here as a cautionary tale for parents.

That swim ring was a bit loose. I was standing in the water, probably jumping up and down like kids do. Somehow, I lost balance and as my upper body fell to the side the swim ring moved from my waist toward feet. It stayed there and pulled my feet upward while my head went below the water. I was powerless to return to the surface as feet were stuck in that floating ring, forcing me upside down. Fortunately, a family friend noticed the situation and pulled me from the water. Near-death situation, and it looked perfectly safe.
by jpollock | 2025-07-26 23:31:06+00:00
When cabinetry (custom or otherwise) is manufactured, it's done with large CNC machines and then assembled.

Unless you were doing a _lot_ of cabinets, the labor cost of an idle cabinet maker overwhelms the shipping cost.

On-site, you're paying the cabinet maker to sand the wood.

https://www.youtube.com/watch?v=WGEF1T3omec
by laughing_man | 2025-07-26 23:32:15+00:00
This is more a question of English than law. Slanderous statements are false by definition.

There are countries where "false defamation" could be a term of art. Japan, for instance, where spreading rumors about someone that hurt their reputation is actionable even if those rumors are true. If your boss is having an affair, for instance, and you tell all your coworkers, he can successfully sue you.
by crest | 2025-07-26 23:32:22+00:00
At least historically integer operations also offered lower latency and higher throughput on CPUs. For decades integer addition and bitwise logical operations have been the canonical single-cycle instructions that any microarchitecture could perform at least once per cycle without visible latency while floating point operations and integer multiplication had multi-cycle latency if it was even fully pipelined.

Zen 5 breaks several performance "conventions" e.g. AMD went directly from one to three complex scalar integer units (multiplication, PDEP/PEXT, etc.).

Intel effectively has two vector pipelines and the shortest instruction latency is a single cycle while Zen 5 has four pipelines with a two cycle minimum latency. That's a *very* different optimisation target (aim for eight instead of two independent instructions in flight) for low level SIMD code going forward despite an identical instruction set.
by patmcc | 2025-07-26 23:32:57+00:00
From the POV of anti-abortion folks, the idea of "oh just let other people have abortions if they want" is as silly as saying "oh just let other people have slaves / kill their infants". If you think a fetus is worthy of similar moral protection as a 2 year old of course you'd be against all abortion, in the same way you're against all toddler murder.

(I don't think a fetus, especially <20 weeks or whatever, is a full moral person, but I understand those who do)
by ajross | 2025-07-26 23:33:13+00:00
Again, though, you're taking "all that gets you" as a prior when (abandoning the metaphor) container and VM escapes are routine vulnerabilities. They just weren't the subject of this particular team who wanted to hack on AI. You don't do security analysis by presuming the absence of vulnerabilities!

Modern security is defense in depth. The AI pre-prompting setup was the first layer, and it was escaped. The UID separation inside the container was another, and it was broken. The container would have been next. And hopefully there are network firewalls and egress rules on top of that, etc... And all of those can and have failed in the past.
by Fire-Dragon-DoL | 2025-07-26 23:34:34+00:00
Ah, interesting that explains why my gains are way slower this year, which is my third year of being consistently 5 days/week in the gym.

I do have a question: is there benefits in pushing harder if my goal is just health, or should I keep my training as is to limit injuries?

I'm 36, so not related to the article yet.
by calmbonsai | 2025-07-26 23:34:39+00:00
My mistake. You are absolutely correct on the Shield.

The P320 striker still has more stored energy to dissipate in a striker-safety failure.

Ironically, this was a deliberate feature of its design submission for the M9 replacement program. In theory, this allows for more flexibility in trigger pull design (the trigger has to do less work) for even greater modularity in the FCG and less occurrence of light-primer-strikes.
by owenversteeg | 2025-07-26 23:35:05+00:00
Again, I'm all for lab grown diamonds for both consumer and industrial use.

I think "lab-grown" is a pretty neutral term, and it is also scientifically accurate in the case of CVD and other diamonds where the process really is "growing" the diamonds. There are certainly other terms for them that sound more derogatory such as "synthetic" or "artificial" diamond.
by threatofrain | 2025-07-26 23:35:45+00:00
I think at some point there was more interest in framework as a startup, and there was indication that having a popular router (React Router) was a sufficient advantage in the race to at least try to win.

Then Shopify bought them up to maybe hedge against Hydrogen. Remix never went anywhere for Shopify, Shopify didn't buy React Router, only Remix. Now, as you say, Remix is being retired. My own Remix app was rewritten as I was tired of upgrading pains.

But what do you think of the argument that this is moreso Shopify folding their hand than Shopify realizing their bet via React Router?
by louthy | 2025-07-26 23:36:00+00:00
> Your analogy falls flat because they have to connect to the website, not the other way around

It’s not my analogy, I’m just running with it ;)

But to run with it more: connecting to the website is analogous to an order. Like a person ordering a book or a patron ordering a drink at a bar. The bartender must ask for ID if they suspect the person is not of age.

If a book was illegal in a location then I think it could be argued that delivering it to the location could be akin to smuggling contraband. So I don’t think your reasoning gets you off criminal liability.

By the way, this is all academic. These laws won’t be enforced. It’s all nonsense. There’ll be some public knuckle wraps for the big providers, but that’ll be it.

If you’re a business that falls foul of the laws, you should still adhere to them. But if you’re a small, self hosted site, nothing will happen. The uk police have no resource for something like this and so unless you’re completely egregious, I think it’s not worth worrying about.
by scarecrowbob | 2025-07-26 23:36:43+00:00
Have fun. It's a hard world and we gotta do what we can to enjoy it.

It's kind of neat to see the rhetorical move, for sure.

Like first it's not capitalism, then it is capitalism but "it is what it is".

Well, I have empathy for that position or I might describe it as "feckless goofiness".

I still feel better knowing that this situation is not how the world has to be even if I don't have the power to make it better. I'll take that enjoyment when I can.
by drdec | 2025-07-26 23:37:13+00:00
This sounds like an OS or kill bug not a with the program. Sending `kill -9`, aka `kill -KILL` is supposed to terminate the process immediately without giving it the opportunity to catch the signal and respond. (This is why you should start with `kill -TERM` and only resort to `kill -KILL` if that does not work.)

So if the process is not terminated this is an OS or kill issue because the process itself is not given a chance to catch the signal.
by susiecambria | 2025-07-26 23:37:55+00:00
I was taught to swim as a kid and spent summer days in the water of Long Island Sound. As a maybe 10 or 11yo swimming at a Rhode Island beach, I was tossed into some rocks thanks to some pretty rough waves. I float, so I've never worried about heading in the right direction when under water. Even still, all that tossing and turning without a deep breath was damn scary. I sat out for a bit and then went back in. Not one adult I was with, or any others for that matter, came a runnin'.

Years later, when I was taking the lifeguard class in high school, one of the first things we were taught is that you can drown on dry land with a tablespoon of water. I remember that to this day (that was back in 1980).

These days, my head is on swivel at the pool. . . And I'm not the guard. Just paying attention to all the little people. And during water aerobics, I watch the adults in the pool who are not good swimmers.

Water is scary. I have a healthy respect for it.
by lrvick | 2025-07-26 23:38:30+00:00
You keep confusing me saying open source is a -prerequisite- for maintainable freedom and security, and does nothing for security itself.

You only ever read the parts of what I say and continue to argue as though I think open source code is inherently secure, and continually ignore every time I AGREE with you that most open source code is shit.

Please listen when people are largely agreeing with you instead of hitting back with walls of text as though they are not.

MNT reform is mostly open in terms of everything but the CPU. That is a -great- start as it means fewer parties you have to trust. Also they support two different CPU vendors as well as an FPGA option soon. The CPU is a swappable component in an otherwise open platform. How can you dismiss that level of flexibility and user power as anything but substantial progress over the status quo? Please give people working hard for more freedom respecting hardware their due credit. Minimizing such very hard work will not win you allies.

Also yes, the Linux kernel is a security shit show to be sure, as well as mot desktop Linux distros, but -because- it is open I can heavily patch it and customize it to reduce attack surface.

Also because it is open projects like Asterinas can reference it to make an ABI compatible modern replacement is Rust which is making rapid progress!

Transparency is step 1 to any major progress in freedom and security and that is why I am a broken record demanding more of it from all projects widely used in high risk scenarios.
by Gigachad | 2025-07-26 23:40:16+00:00
This is why I hate when games make you play with the difficulty to deal with broken mechanics. The elder scrolls being one where you can just end up stuck and forced to lower the difficulty because your character is physically incapable of proceeding.

But then it’s hard to be disciplined enough to only use it when strictly required. And it just feels unsatisfying.
by patrickkidger | 2025-07-26 23:40:19+00:00
This is how static type checkers are told that an imported object is part of the public API for that file. (In addition to anything else present in that file.)

C.f. "the intention here is that only names imported using the form X as X will be exported" from PEP484. [1]

I'm generally a fan of the style of putting all the implementation in private modules (whose names start with an underscore) and then using __init__.py files solely to declare the public API.

[1] https://peps.python.org/pep-0484/
by owenversteeg | 2025-07-26 23:40:21+00:00
I can't go into too much detail, but there are actually a few things: our main use is machining and one of our other uses is for the extreme thermal conductivity. Diamond is an incredible material period.

I am not an expert so take this with a grain of salt, but for what I do I have seen no difference between flawless natural diamond and flawless lab grown diamond, the difference is that the flawless natural diamonds are almost always far more expensive.
by rft | 2025-07-26 23:40:42+00:00
The linked PDF in the post contains a section on how the values are measured and a link to the test suite. Search in [1] for "How the values were measured". For another project that measures the same/very similar values you can check out [2]. They have a paper about the tool they are using [3].

There is also AMD's "Software Optimization Guide" that might contain some background information. [4] has many direct attachments, AMD tends to break direct links. Intel should have similar docs, but I am currently more focused on AMD, so I only have those links at hand.

[1] https://www.agner.org/optimize/instruction_tables.pdf

[2] https://www.uops.info/background.html

[3] https://arxiv.org/abs/1911.03282

[4] https://bugzilla.kernel.org/show_bug.cgi?id=206537
by OneMorePerson | 2025-07-26 23:42:31+00:00
It is interesting how the perspective of society can set an expectation of not doing certain things. Of course its personality and body/health dependent but I've seen 95 year olds still doing daily light farm work and totally independent until the day they passed away, or seen 75+ year olds out there on some pretty challenging hiking trails. There's no reason why an average older person can't still do a ton of things.
by ImPostingOnHN | 2025-07-26 23:42:57+00:00
> the cop, by definition, must identify and respond faster than the suspect pulling out his chambered weapon

You are correct about what the cop must do here, assuming the suspect pulled a weapon. If that didn't happen, then the cop doesn't necessarily need to do that.

> That doesn't work well for the cop

That is entirely possible (though rare) for a cop. Part of the trade-off of them getting virtually unlimited power to protect others is that potentially saving other people's lives outweighs potentially saving their own lives.
Show HN: QuickTunes: Apple Music player for Mac with iPod vibes
by albertru90 | 2025-07-26 23:43:26+00:00
The slow and bloated nature of the Mac Apple Music app inspired us to create QuickTunes. It is a simple, fast, and native Apple Music player inspired by the simplicity of the iPod. You can use keyboard shortcuts to navigate a simple multi column layout, pick something, and press Play.
by dvtkrlbs | 2025-07-26 23:43:36+00:00
I mean that will improve only with time though, No? Maintainers recently revived the rust-gpu and rust-cuda backends. I don't think even the maintainer would say this is ready for prime time. Another benefit is having able to run the same code (library aka crate) on the CPU and GPU. This would require really good optimization to be done on the GPU backend to have the full benefits but I definitely see the value proposition and the potential.