MurphyA/hacker-news huggingface dataset:
by albedoa | 2025-10-11 00:10:00+00:00
The HN comments for that first one gave us the worst "advice" that this site has ever seen and might ever see [1]:

> Nothing that is visible "below the fold" should ever run or load until the page is scrolled down by the site visitor.

The commenter septupled down and eventually blamed trolls :D

1. https://news.ycombinator.com/item?id=42285326
by acidx | 2025-10-11 00:11:26+00:00
One thing to note, too, is that `atoi()` should be avoided as much as possible. On error (parse error, overflow, etc), it has an unspecified return value (!), although most libcs will return 0, which can be just as bad in some scenarios.

Also not mentioned, is that atoi() can return a negative number -- which is then passed to malloc(), that takes a size_t, which is unsigned... which will make it become a very large number if a negative number is passed as its argument.

It's better to use strtol(), but even that is a bit tricky to use, because it doesn't touch errno when there's no error but you need to check errno to know if things like overflow happened, so you need to set errno to 0 before calling the function. The man page explains how to use it properly.

I think it would be a very interesting exercise for that web framework author to make its HTTP request parser go through a fuzz-tester; clang comes with one that's quite good and easy to use (https://llvm.org/docs/LibFuzzer.html), especially if used alongside address sanitizer or the undefined behavior sanitizer. Errors like the one I mentioned will most likely be found by a fuzzer really quickly. :)
by dragonwriter | 2025-10-11 00:12:41+00:00
> This administration is letting Qatar build an airbase on US soil. I think it’s wiser to believe what people do more so than what they say, or what others say about them.

I don't think looking at Trump's history of actions toward individual Muslims subject to the authority of the United States government (as distinct from, e.g., foreign states that give him multimillion dollar bribes) really helps your case here, though.
by dekhn | 2025-10-11 00:12:45+00:00
The document was carefully written to look innocuous and reasonable (unlike most Trump communications). However, a close reading indicates that it's a clever trap that gives the government a great deal more power and oversight. Combined with the known ideology of Trump's supporters, it's not hard to see that the document was not intended to be a simple, good-faith attempt at undoing some of modern academia's excesses.

I agree with many of the principles in the document, but I'm good at reading between the lines and determining the true intent of the authors.
by tombert | 2025-10-11 00:13:11+00:00
I genuinely think that writing things in a message-passing/channel-based concurrency setup is often easier than doing things in single-core.

Obviously it's hard to get right, but a lot of the time doing a concurrent-first setup allows for a very clear separation of concerns (at least if you have a proper green threading solution). You can have one thread whose sole job is to do one thing, and then spit back the response onto a channel or respond to a pid. It's elegant and for me I find it fairly straightforward to reason about.

I do a lot of Clojure for my personal projects, and I will import core.async to a lot of projects, even for stuff that could be handled single-threaded, simply because I find it easier to reason about.
by hatthew | 2025-10-11 00:14:54+00:00
I think there is a very large difference between saying, e.g., "there is too much space" (the total area is too large) vs "there is too much negative space" (there are not enough things in the area). I think there's a better argument that "negative space" is redundant with "empty space", but personally I don't mind the term so I will not make that argument.
by polynomial | 2025-10-11 00:15:02+00:00
NFC inlays are paper thin (~0.06mm) and cards are typically 0.2mm (Bicyle) to 0.30mm (M:TG).

We can use NFC tools to write an URI pointing at an audio file link using NDEF.

I believe Android will play the audio file when you tap the card on the your phone. (Apple will need you to confirm in a popup.)
by bigyabai | 2025-10-11 00:15:51+00:00
If this is how you're going to build your web UIs going forward, take note from Apple here - add an A11Y mode. These changes exclusively harm the overall contrast of the UI and it's unfair to expect visually impaired users to deal with your visual clutter for the sake of r/unixporn eye candy.

I think you'll quickly realize that static text content has a much more appreciable "reader mode" quality that isn't a slog to look at. There's oodles of colorslop in Liquid Glass that serves no purpose but to distract the user. Don't lose readers (or god forbid, conversions) just because you're trying to toe this line.
by ACCount37 | 2025-10-11 00:16:08+00:00
Why single out SFT?

It's not like the pre-training dataset didn't contain any examples of human behaviors for an LLM to copy.

SFT is just a more selective process. And a lot of how it does what it does is less "teach this LLM new tricks" and more "teach this LLM how to reach into its bag of tricks and produce the right tricks at the right times".
by kragen | 2025-10-11 00:16:31+00:00
I very much appreciate the corrections! Apparently there is one report of gallium poisoning in the medical literature; it was nonfatal but resulted in irreversible cardiomyopathy: https://pubmed.ncbi.nlm.nih.gov/22024274/

https://www.pv-magazine.com/2020/06/13/the-weekend-read-gall... backs you up and also mentions that indium (also nontoxic, as far as anybody knows) has been tried but was not in mass use as of that article. https://www.pv-magazine.com/2022/05/24/gallium-doping-and-so... talks about the potential of "rejuvenating" gallium-doped PV cells.
by MathMonkeyMan | 2025-10-11 00:18:25+00:00
Unspecified, really? cppreference's [C documentation][1] says that it returns zero. The [OpenGroup][2] documentation doesn't specify a return value when the conversion can't be performed. This recent [draft][3] of the ISO standard for C says that if the value cannot be represented (does that mean over/underflow, bad parse, both, neither?), then it's undefined behavior.

So three references give three different answers.

You could always use sscanf instead, which tells you how many values were scanned (e.g. zero or one).

[1]: https://en.cppreference.com/w/c/string/byte/atoi.html

[2]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/a...

[3]: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf
by dekhn | 2025-10-11 00:18:33+00:00
This is open to debate. Some endowments are intended to be spent directly, and not everybody agrees that spending some fraction of the endowment curses the university to oblivion. Some financial policies can be suspended (they are not absolute, fixed rules). Many at Harvard felt the endowment was far larger than necessary for long-term viability, and wanted to spend money on capital improvements.
by kace91 | 2025-10-11 00:21:14+00:00
.0 releases tend to have certain bugs, but not to this degree.

I've actually been part of public betas for many years, and this is the only one where I've felt launch day approach with growing concern, as it was clear nothing was remotely close to shippable.

There wasn't even a clear direction, as most of the fixes have just been reducing glass around the UI, and it's very telling that the only way they've found so far to make the new design language work is to roll it back as much as they can without losing face.

When friends ask in person I can just pull the phone and find bugs. Not ones that I previously know, new ones each time just by paying a bit of attention.
by notepad0x90 | 2025-10-11 00:22:27+00:00
The civil rights act didn't result in the collapse of America. Yes, racists will always exist. I get that you want progress, but move a big ship too fast and it tumbles over and sinks. Progress has to be progressive to be effective and lasting. What's the point of progress that will be reversed in the next election cycle?

But again, people being racist to Obama isn't the catastrophe I outlined. It isn't even trump. But the chain of events he set off and the collapse of this greatest republic. I called it back then, I liked Obama, but this is America, he wasn't even far-left or that controversial but the reaction to him will tear apart the country. America like it or not is the new rome, and when rome's fall, there is usually times of upheaval and instability until a new rome takes its place. Except things are at an exponentially more connected and interdepndent state. The '08 financial crisis alone started in the US and destablized the whole planet. Countries are now learning to rely a lot less on the US, to do less business with the US,etc.. realizing the risk relationship with the US carries.

I'm not even talking about the current admin and their lunacy, but consider that even if in '28 a more sane administration recovers all the allied relations and financial reputations, who is to say that in '32 there won't be someone even worse than trump? I'm sure after trump, his family would be in line to take his reign and build upon what he started.

The Koch brothers, fox news, etc.. they still care about money and they've always been around. It isn't even "racism" so to speak, that's just the excuse they're using. such people historically used religion or national pride instead. The gift Obama gave is riling up enough of the people that weren't even voting to begin with to vote for trump. and the DNC deciding hillary clinton was a good idea, just like kamala harris because they're good politicians. people voted for obama (twice!!) because he represented change. Yet "occupy wallstreet" happened under him. People voted for trump..you guessed it, change. But none of that matters, what matters is the source of wealth. If I had to speculate, the country will split up and Whatever new state has California will become the new center of power and finance because of silicon valley, sure. But also because of geography. Spain, England, Portugal rose because of their geographic proximity to the new world, as did Rome with the levant , baghdad, persia,etc.. with China & India,etc.. geography and its influence on wealth and commerce. California is on the west coast, close to east asia, south america and canada.

There is never a wrong time to do the right thing. you're right about that. But timing the right thing properly makes the difference between making the whole thing worth it and a lasting change vs making it performative and temporary. I like to think the only reason these people aren't actively plotting the return of slavery is because LLMs are more efficient.
by ashdksnndck | 2025-10-11 00:22:59+00:00
Some friends live in a rental that they’ve decorated well. It wasn’t until multiple visits that I realized they had run Ethernet throughout the house.

You can get skinny Ethernet cables that bend easily. If you get some that match your paint, and route them in straight lines, those can be unobtrusive. Use tricks like running the cables along baseboards and other trim pieces. If you really want to minimize the visual impact you can use cable runners and paint over them. The cables are not attention-grabbing compared to furniture or art on the wall.

If you’re willing to drill holes (if you terminate the cable yourself, the hole can be narrow), you can pass the cables through walls. If you don’t want to drill, you can go under a door.

If you’ve got fourteen outlets, it seems like there ought to be some solution to get cables everywhere you need.
by spunker540 | 2025-10-11 00:23:54+00:00
Not op, but to me this resonates because none of it is “mine”, none of it exists in the real world. There’s a huge difference between the music I physically collected (from libraries, friends, Best Buy, Christmas gifts, used cd stores) and uploaded into my iPod and lived with for years vs music I searched on a whim, listened to for a month while it was in my “recents” and then eventually forgot about once it was pushed out by something else.
by notepad0x90 | 2025-10-11 00:24:11+00:00
People in general had a very high expectation of him. The right expected him to fail because he's black, the left expected him to be better than white democratic presidents because he was black. He was just a well meaning decent human being trying to lead a country. there are worse and better presidents for sure. But he wasn't the disruptive and young new leader people hoped for.
by Terr_ | 2025-10-11 00:25:56+00:00
Yeah, it's been many years, but my impression was that things could be explained as an invasive and engineered all-in-one species that terraforms (arrakiforms?) the environment, partly as a way to eliminate competition.

One phase photosynthesizes, one phase sequesters excess water, and one phase... Stirs the lithosphere and eliminates large animals or trespassers?
by XorNot | 2025-10-11 00:25:56+00:00
This honestly makes me think that we're missing a trick if an option for this sort of circumstance can't be "send a military fuel tanker up to refuel them in air" as a last ditch emergency measure (which IMO you would've triggered in this exact scenario).

The argument in favor is simply that we need in air refueling for the military, but justifying all that expenditure is a lot easier if it's dual use technology.
by mattwiese | 2025-10-11 00:27:07+00:00
Annual lupin (L. angustifolius and L. albus) have been bred for better yields and low alkaloids. There are some existing commercial varieties. Australia is a large producer.

From an economic perspective, the yields on perennial lupin are just too low. Something that plant breeding could hopefully address long term.

Apparently the Land Institute already investigated it (https://landinstitute.org/our-work/perennial-crops/legumes/) and decided on sainfoin instead of lupin. I reached out some time back to ask why, because I was curious if their research found yield or alkaloid content too difficult to control for. Never got a reply.
by notepad0x90 | 2025-10-11 00:27:39+00:00
Without which an eventual withdrawal wouldn't have been possible. If he didn't do all that, the reason behind the war to begin with (afghan's hosting terrorists) wouldn't have been solved making withdrawal impossible. You'll note, there are no terror plots originating from Afghanistan now. And to be fair, most of that credit goes to Bush, but Obama didn't dismantle what Bush started just for the sake of appearances of pleasing the Nobel committee. Say what you will, but he did great militarily.
by filloooo | 2025-10-11 00:28:18+00:00
From a capitalism POV, they were absolutely right in this decision, be it wisdom or stupidity, they are making more money than ever.

Almost all of the EVs are losing big money, bilions.

Even from a moral highground, the world is in no shortage of EVs, and they do sell PHEVs.

Whether they can smoothly transition to a full BEV future, that's another story, nobody knows.

They could very well have a full decade of gas car gold rush ahead.
by spunker540 | 2025-10-11 00:28:34+00:00
I like this idea. While it’s great to have all the music at my fingertips via Alexa + Apple Music (or Spotify etc), it’s actually not very conducive to browsing or recalling all the music and albums I like.

Something physical to browse like this is a pretty fun way to marry the physical world with digital music catalogs.
by turtledragonfly | 2025-10-11 00:29:09+00:00
From the name, I thought it was going to be about fractal dimensions[1] (:

So on that tangent ... you can measure that value for ordinary objects using the "box counting" method[2], to get a notion of objects being "1.3 D" and such.

[1]https://en.wikipedia.org/wiki/Fractal_dimension

[2]https://pages.cs.wisc.edu/~ergreen/honors_thesis/dimension.h...
by wongarsu | 2025-10-11 00:29:15+00:00
If you have one drive it feels like that, but if you throw 6+2 drives into a RAID6/raidz2. Sure, a full format can take 3 days (at 100 Megabytes/second sustained speed), but it's not like you are watching it. The real pain is fining viable backup options that don't cost an arm and a leg
Would a self-hosted AI analytics tool be useful? (Docker and BYO-LLM)
by AthenicDataOps | 2025-10-11 00:30:14+00:00
I’m the founder of Athenic AI, a tool for exploring and analyzing data using natural language. We’re exploring the idea of a self-hosted community edition and want to get input from people who work with data.

the community edition would be:

- Bring-Your-Own-LLM (use whichever model you want) - Dockerized, self-contained, easy to deploy - Designed for teams who want AI-powered insights without relying on a cloud service

IF interested, please let me know:

- Would a self-hosted version be useful? - What would you actually use it for? - Any must-have features or challenges we should consider?
by Delk | 2025-10-11 00:30:31+00:00
Well, not really to the OpenGL spec itself. It's about a new OpenGL extension being added to the extension registry. Vendors may implement it if they wish. AFAIK the core OpenGL spec hasn't been updated in years, so even though new extensions keep getting developed by vendors, the official baseline hasn't moved.

I suppose the same is true of Direct3D 11, though. Only the Direct3D 12 spec has been updated in years from what I can tell. (I'm not a graphics programmer.)
by hugmynutus | 2025-10-11 00:31:16+00:00
Buddy, I have 24Tb HDDs in my pool today.

If anything the opposite has occurred. HDD scaling has largely flattened. Going from 1986 -> 2014, HDD size increased by 10x every 5.3 years [1]. If anything we should have 100Tb+ drives if scaling kept going. I say this not as a but there have been directly implications for ZFS.

All this data stuck behind an interface who's speed is (realistically after a file system & kernel involved) hard limited to 200MiB/s-300MiB/s. Recovery times sky rocket. As you simply cannot re-build parity/copy data. The whole reason stuff like draid [2] were created is so larger pools can recover in less than a day by doing sequential parity & hot-spairs loaded 1/N of each drives data ahead of time.

---

1. Not the most reliable source, but it is a friday afternoon https://old.reddit.com/r/DataHoarder/comments/spoek4/hdd_cap...

2. https://openzfs.github.io/openzfs-docs/Basic%20Concepts/dRAI... for concept, for motivations & implementation details see -> https://www.youtube.com/watch?v=xPU3rIHyCTs
by moomoo11 | 2025-10-11 00:31:36+00:00
I'd say their DX is way better compared to the competition. The playground, tooling, and web experience with documentation is far superior to the competition (even tho it has issues sometimes). User experience is key in a sea of the same shit.

I mean you could say the same about a Macbook or iPhone/iPad, but for the actual people (not HN users lol) out there, they vastly prefer Apple to HP, Dell, etc. Due to their wallet some can't though.

There are literally thousands of other laptops that do the "same thing" (computer for doing shit).

Those who say otherwise are usually broke and know deep down that given proper purchasing power, they too would prefer to use a $3k Macbook Pro than some POS Dell.

Same with android.

Everyone knows it is cope based on PP, it is just in poor taste to actually call it like it is (idc)
by tyg13 | 2025-10-11 00:31:56+00:00
Mathematical notation isn't at all backwards compatible, and it certainly isn't consistent. It doesn't have to be, because the execution environment is the abstract machine of your mind, not some rigidly defined ISA or programming language.

> Everyone seems to agree tau is better than pi. How much adoption has it seen?

> It took hundreds of years for Arabic numerals to replace Roman numerals in Europe.

What on earth does this have to do with version numbers for math? I appreciate this is Hacker News and we're all just pissing into the wind, but this is extra nonsensical to me.

The reason math is slow to change has nothing to do with backwards compatibility. We don't need to institute Math 2.0 to change mathematical notation. If you want to use tau right now, the only barrier is other people's understanding. I personally like to use it, and if I anticipate its use will be confusing to a reader, I just write `tau = 2pi` at the top of the paper. Still, others have their preference, so I'm forced to understand papers (i.e. the vast majority) which still use pi.

Which points to the real reason math is slow to change: people are slow to change. If things seem to be working one way, we all have to be convinced to do something different, and that takes time. It also requires there to actually be a better way.

> Is this what "heavy optimization" looks like?

I look forward to your heavily-optimized Math 2.0 which will replace existing mathematical notation and prove me utterly wrong.
by XorNot | 2025-10-11 00:33:26+00:00
In the IoT space I really wish an "ESP for power line Ethernet" existed these days.

I have 50+ ESP based devices on WiFi and while low bandwidth (and their own SSID) I really wish there were affordable options that they could be "wired" for comms (since they mostly control mains appliances, but the rules and considerations for mixing data and mains in one package are prohibitively expensive).
by kace91 | 2025-10-11 00:33:26+00:00
>It is insane to put everyone over about 50 into an accessibility category

accessibility != for the disabled, and apple used to champion that principle.

What's good for someone with eyesight problems is also good for a young person standing outside under the sun's glare. What's useful for a one-handed person will also serve you when you're carrying your toddler in one hand. A silence compartment on a train might make you effectively deaf for a while, a hangover or a night of bad sleep might make your attention sink, and so on.

We're all somewhere on the spectrum, and most importantly, where in the spectrum we are changes frequently during the day. That's why it's so important for all interfaces to be accessible by default rather than having a buried switch somewhere.
by andix | 2025-10-11 00:34:51+00:00
In my opinion Liquid Glass is still an alpha release. Nothing is really finished, it's conceptually unfinished, the changes are not well thought through, and it's really buggy.

I think they failed with Apple Intelligence (also a mess, without being useful) and needed something big. So they planned this big design change. When they realized they failed miserably, it was too late to undo it.
by ants_everywhere | 2025-10-11 00:35:32+00:00
> Too often, however, the computer acts and the user merely reacts within a limited set of options. In other instances, the computer “takes care” of the user, offering only those alternatives that are judged “good” for the user or that “protect” the user from having to make detailed decisions. This approach mistakenly puts the computer, not the user, in control.

This actually perfectly describes my frustration with Apple products. They make a lot of decisions I don't like and provide no way to control them.
by throwawayk7h | 2025-10-11 00:35:48+00:00
There are two significant ways in which this differs from a Rubik's cube.

1. It's abelian. Moves can be done in any order, to the same result.

2. there's a simple algo to solve this. Working from top to bottom, left to right: click the first white cell, then click the cell below it. (Then there's a simple endgame at the end once the bottom row is reached.)