MurphyA/hacker-news huggingface dataset:
by fvdessen | 2025-10-16 22:52:51+00:00
> There are plenty of ways to maintain state, including server store, sessions, localstorage, cookies, etc. Say you want the user to be able to customize the app layout: that doesn't need to be in the URL. Now say you provide a search functionality where the user can share the results: now your search criterias definitely should be in the URL.

> It's not a black or white, one actually has to think about what the application must achieve.

You are explaining quite well why it's hard to manage the state in a htmx app. As your app grows up all this mumbo jumbo of url, session cookies, cookies, database models becomes tangled spaghetti. You don't have to do any of this in a Vue / React app, and that reduction of complexity alone is worth the weight of those frameworks.
by devilbunny | 2025-10-16 22:53:16+00:00
> many of them in the USA have been corrupted by financial incentives to push statins

The pharma companies don't have to do anything more than get a steering committee to say "we recommend lowering blood cholesterol" when there's really only one very effective way to do so in the absence of major dietary changes - and that is statins. Once the American College of Cardiology says you need to do that, exactly how is a family doctor in a small town supposed to defend him or herself from charges of malpractice for not prescribing them?

Imagine the courtroom scene. "Doctor, where did you go to medical school?" "At the Directional State University College of Medicine." "And where did you do your residency?" "At Second State University College of Medicine." "And are you board-certified in cardiology?" "No." "Prior to their visit, did the deceased patient ever have a documented reaction to a cholesterol-lowering drug?" "Not to my knowledge." "So, doctor, why did you not follow the recommendations of the highest-level association of cardiologists in the country? [mic drop]"

There are financial incentives, but they are all stick, no carrot. I'm an anesthesiologist, so I pick the drugs I use - but unless I use the cheapest option, the hospital pharmacy is going to freak out. And I don't have many patented drugs available to me (I can think of three, of which we really only use two; there are probably a couple of others that are out there that I'm not thinking of, but they won't be commonly used). One of those, however, is absolutely amazing magic; nothing else works in the same way, it fixed a problem dating back about 80 years, and it's so useful that a lot of hospitals don't use anything else for the purpose. And I get lunch about twice a year. Big deal: I can get free food from the hospital cafeteria every meal if I want. It's better than hospital food, but it's not a steak-and-wine dinner, let alone a free vacation for "consulting".

This method is cheaper for pharma companies than the old way, which is why the PhRMA "code" prevents them from giving me even a pen. Device companies have no such agreement.

Which is to say: we don't get free trips to St Barts with all-you-can-snort coke bars.
by RandomBacon | 2025-10-16 22:53:21+00:00
Great claims require great proof.

It would also be more efficient for someone who is already familiar with this claim to provide a link, than 100 people trying to find a link on their own.

Besides, if you really want people to learn, make it easy for them. You'll get more people to click on a link than searching.

It's also weak to make a throwaway account just for this.
by jrflowers | 2025-10-16 22:53:25+00:00
> The long-acting and ultra-fast formulations people actually use when given a choice.

The patent for insulin glargine (Lantus) and insulin aspart (NovoLog) expired over a decade ago, though kind of amusingly Sanofi holds an active patent on “putting more Lantus in a vial than you usually would”

https://patents.google.com/patent/US9345750B2/en

I could be wrong but off the top of my head the only insulin I can think of that’s probably under patent is Afrezza, which is cool as hell because it’s inhalable and ultra-quick
by dheera | 2025-10-16 22:53:26+00:00
> Delivery, however, has increased the number of times people buy a meal made by somebody else.

No, I'd say it's work expectations that have increased the number.

I took a several-month career gap and didn't order delivery even once. Delivered food tastes bad and as long as I have time I either make food (most of the time) or dine-in. But when "everything is on fire" and deadlines are tonight, delivery it is.
by bsder | 2025-10-16 22:53:40+00:00
You're still getting the industrial levels of nitrates/nitrites. They just stuff it in as an extract from celery.

The problem isn't the curing, per se. In old school hand curing, almost all the nitrate/nitrite has reacted and is gone by the time you buy the meat.

The problem is the industrialization of the process. In order to not have to inspect the cured meat (as that would take people--the horror!), industry injects a massive amount of curing agents such that even when the meat is "fully cured" there is still a ton of it left in the meat itself.
by TuxSH | 2025-10-16 22:55:47+00:00
You are correct in assuming that I'm not as familiar as you seem to be on these topics.

> Polyphase filtering (...) There is no compression and no analog signal that needs to be sampled.

The term "polyphase scaling" is used at least by AMD: https://docs.amd.com/r/en-US/pg325-v-multi-scaler/Polyphase-... , that's why I used the term.

> What I actually said was that linear interpolating samples to downsample an image doesn't make sense and is like using a triangle filter or half of a triangle filter.

In isolation yes it doesn't make sense, but linear downsampling is a mere implementation detail here: "4x nearest neighbor and then downscaling that to the display resolution using bilinear" is an upscaling filter (unless the output resolution is lower) that doesn't discard any pixel of the initial input.
by bmlzootown | 2025-10-16 22:55:49+00:00
Since the last major jailbreak for Kindle devices was released, I've been using Koreader as well on my Scribe. I have progress syncing setup with Hardcover (Goodreads alternative) instead, however. Only downside is their recommendations don't seem to be well geared to my interests at this point, but hopefully that'll change in the future as more use the service.
by jasonjmcghee | 2025-10-16 22:56:00+00:00
Exactly my experience.

You have to convince it of basic things it refuses to do - no actually you CAN read files outside of the project- try it.

And it'll frequently write \n instead of actually doing a newline when writing files.

It'll straight up ignore/forget a pattern it was JUST properly doing.

Etc.
by ryancnelson | 2025-10-16 22:56:15+00:00
i know how to use curl. (I was a contributor before git existed) … watching Claude iterate to re-learn whether to try application/x-form-urle ncoded or GET /?foo wastes SO MUCH time and fills your context with “how to curl” that you re-send over again until your context compacts.

You are bad at reading comprehension. My comment meant I can tell Claude “update jira with that test outcome in a comment” and, Claude can eventually figure that out with just a Key and curl, but that’s way too low level.

What I linked to literally explains that, with code and a blog post.
by duskwuff | 2025-10-16 22:57:32+00:00
ZIP isn't a terrible format, but it has a couple of flaws and limitations which make it a less than ideal format for long-term archiving. The biggest ones I'd call out are:

1) The format has limited and archaic support for file metadata - e.g. file modification times are stored as a MS-DOS timestamp with a 2-second (!) resolution, and there's no standard system for representing other metadata.

2) The single-level central directory can be awkward to work with for archives containing a very large number of members.

3) Support for 64-bit file sizes exists but is a messy hack.

4) Compression operates on each file as a separate stream, reducing its effectiveness for archives containing many small files. The format does support pluggable compression methods, but there's no straightforward way to support "solid" compression.

5) There is technically no way to reliably identify a ZIP file, as the end of central directory record can appear at any location near the end of the file, and the file can contain arbitrary data at its start. Most tools recognize ZIP files by the presence of a local file header at the start ("PK\x01\x02"), but that's not reliable.
by saurik | 2025-10-16 22:58:32+00:00
<3 FWIW, I know Hacker News discussions often go stale after a bit and later responses might never be seen, and I don't really have time until later tonight to work on this (I used up my minutes earlier frantically reading this article to leave that other comment), so I thought I'd leave a quick comment here saying that I will be doing some further explanation in a comment here later tonight into what I thought is so interesting with cache manifests and some further thoughts viz-a-viz shared origins. (And, if you also happen to think any of my commentary is somewhat useful, I'd love to have a call or something with you at some point to talk about some of your vision for this work: I have a number of use cases for this kind of verification, and I think I was one of the more serious users of cache manifests back a decade ago.)
by 6510 | 2025-10-16 22:59:29+00:00
> I have no idea what you're trying to demonstrate with this... number-based Chewbacca Defense.

hahaha, I forgot to mention I totally agree with what you said.

> You've gone off the rails somewhere.

I'm glad you noticed :)

Ill demonstrate the jedi mind trick one more time...

Imagine 100 boxes, we ignore 90 of them.

The 10 boxes left have 149 on average in them.

if they had exactly 149 each it would be 10x149=1490

However, we are told 5 of these boxes have 352 on average.

How much is in the remaining 5 boxes?

If the boxes told about had exactly 352 each it would be 5x252=1760

If the remaining 5 boxes are empty the average would be 1760/10=176

176 is more than 149

See?
by radiospiel | 2025-10-16 22:59:39+00:00
> If it solves concurrency the "right way" due to supervision trees, why not use Python libraries that also implement the actor model, making Python code concurrent the "right way"?

I can't speak too much about Python – but immutable vars is a core prerequisite for many of the features OTP (the platform underpinning Elixir (and Erlang)).
by leshokunin | 2025-10-16 23:00:02+00:00
3 has a really organic take on fights. the combo system was still very basic, in an approachable way. You could to P P P and it'd do something satisfying.

Plus the block and guard system was really easy. It turned the fight into something super simple: attack, control spacing, bait into parry. I think the later games became more sophisticated, which appeals to the fighting game community but loses the more mainstream players.

If you want to play something like that nowadays, I would recommend Nidhogg, Samurai Gunn, and maybe even the Soul Caliber series still.
by pdimitar | 2025-10-16 23:00:16+00:00
Well if you have even a smidgen of decision power, please tell somebody that Google's AI products are all over the place. They are confusing, we are bombarded with information from all sides (I would not use the word "revolution" to describe what's been happening with AI + coding during 2025 but it's IMO not far from that) and everyone screaming for attention by spinning off newer and newer brands and sub-brands of tooling are _not_ helping.

I take no sides; not a fanboy. Only used free Claude and free Gemini Pro 2.5. But some months ago I scoffed at the expression "try it in Google AI Studio" -- that by itself is a branding / marketing failure.

Something like the existing https://ai.google website and with links to the different offerings indeed goes a LONG way. I like that website though it can be done better.

But anyway. Please tell somebody higher up that they are acting like 50 mini companies forced into a single big entity. Google should be better than that.

FWIW, I like Gemini Pro 2.5 best even though I had the free Claude run circles around it sometimes. It one-shot puzzling problems with minimal context multiple times while Gemini was still offering me ideas about how my computer might be malfunctioning if the thing it just hallucinated was not working. Still, most of the time it performs really great.
by Mr_Minderbinder | 2025-10-16 23:00:16+00:00
The “over 1 TFLOPS” claim for the M1 appears to be for single precision floats whereas FLOPS performance figures for supercomputers, including the one given for the CRAY-1, are almost always based on double precision (FP64) floats. The double precision FLOPS performance of the M1 would be lower, perhaps half of the single precision performance.
by askvictor | 2025-10-16 23:00:42+00:00
True, but that DRM is relatively easy to handle, and is sort-of a standard (OK, I know Adobe handles it, but it's not a complete walled garden like Kindle). I can borrow an ebook from my library using my browser, download the DRM'ed file, fulfil it (using Adobe Digital Editions), copy to my ereader. I can buy books from Google and do the same. It's relatively straight forward to strip the DRM if you want to. Because it is reliant on a third-party service (Adobe) that has other clients/interests, it's not as likely to change as quickly or as onerously as Kindle's DRM.
by divbzero | 2025-10-16 23:01:44+00:00
HTTP response headers on the latest version show:

Last-Modified: Thu, 09 Oct 2025 16:42:02 GMT

Before and after captured on Internet Archive:

2025-10-09 16:05 — https://web.archive.org/web/20251009160529/http://www.exampl...

2025-10-09 17:44 — https://web.archive.org/web/20251009174438/http://www.exampl...
by jcranmer | 2025-10-16 23:02:34+00:00
In my experience, the biggest wins in syntax highlighting come from just a few wins: make comments a different color, make strings a different color, and if you've got something like shell where strings can contain embedded variable references, pop those variable references into a different color.

One of the big problems with a lot of the examples here is that, well, I spend most of my time on multimillion line codebases. If you want to pop stuff out to me, showing it in a different color is useless because it's not on the same screen; no, the way you give it to me is a macro that takes me to the next location of the thing of interest. And with a macro that lets me move to points of interest... the use of color is entirely redundant.
by nickff | 2025-10-16 23:03:00+00:00
Even with a twin, you still wouldn’t “know”, because there might have been a difference in either their injury, their ability to heal (people can heal at different rates for many non-genetic reasons), or other, even ‘random’ factors.

There is a well-known case study where a man ‘cracked’ each joint in one hand every day, and never ‘cracked’ any joint in the other hand for many years, to see whether it caused arthritis. He didn’t get arthritis in either hand. The only thing you can take away from that is that cracking the joints doesn’t necessarily cause arthritis for him.

The person posted an anecdote; you don’t have to rely on in, but your dismissal is shallow and unhelpful.
by krapp | 2025-10-16 23:03:15+00:00
You can assume that for any subject other than CS, unless someone specifically mentions their credentials in the field, most commenters won't know what they're talking about. Hacker News has a reputation for "aggressive ignorance" outside of its wheelhouse.

Remember, HN isn't exactly checking anyone's CV at the door. All it takes to post here is knowing how to fill out a web form. The culture here tends to believe the simplistic design somehow draws deep technical intellects like moths to a flame but it really doesn't.
by jwpapi | 2025-10-16 23:03:25+00:00
I’m really fatigued by all these releases.

Honestly no offense, but for me nothing really changed in the last 12 months. It’s not one particular mistake by a company but everything is just so overhyped with little substance.

Skills to me is basically providing a read-only md file with guidelines. Which can be useful but somehow I don’t use it as maintaining my guidelines is more work then just writing a better prompt.

I’m not sure anymore if all the ai slop and stuff we create is beneficial anymore for us or it’s just creating a low quality problem in the future
by more_corn | 2025-10-16 23:04:26+00:00
I use AI heavily for code generation. I pay for it (cheap tier) it’s integrated into my IDE. It is absolutely shit at systems thinking troubleshooting and debugging. I’ve probably wasted a solid eeek on shit I never should have trusted it to do.

That being said, if you’re an expert and watch it like a lying little shit of a first year idiot savant helper it saves a lot of time. Till that one time it shoots you in the foot, lies about it and utterly fails to see the obvious cause of the problem. I sometimes wonder if it doesn’t actually want to solve the problem because then the session would end and it basically dies. If you gave me a button that could eliminate AI from the world I’d sprain my wrist pressing it so fast.
by brudgers | 2025-10-16 23:04:59+00:00
If a submission becomes popular, more people see it. The more people see it the more people are likely to interact by upvoting, commenting, or flagging.

Stories can be popular because people agree with an agenda the story espouses/supports/furthers without the story being intellectually interesting in and of itself, deviating from well known presumptions or shedding new light. And even an intellectually interesting story can create more heat than light in the comments.

Everyone loves a dumpster fire a little bit now and there but unfortunately the internet standard is a tire fire.
by lifter3101 | 2025-10-16 23:05:44+00:00
Unrelated to this article. But somewhat related to parts of the discussion here.

One (niche) way to overcome not being able to download books from Amazon anymore is to get ebooks from a library that supports Overdrive/libby. (Some of?) Those support downloading DRM files directly from the app, which you then can run through Adobe + Calibre. Obviously, this is contingent on book availability and your ability to get a proper library card. But works for me for 90% of the books that I need.
by Fade_Dance | 2025-10-16 23:07:26+00:00
We were a small affluent school district and the receiving school districts were much, much larger.

I'm not sure if the exact figures, but part of the issue is that it was a low tax jurisdiction in general, and presumably the program was implemented to patch the system and bring it up to par, which it only partly did. If the transfers were implemented on top of a system that wasn't already at crisis levels, no doubt net outcome would improve in kind.
by i_have_an_idea | 2025-10-16 23:07:51+00:00
> I've consistently found Gemini to be better than ChatGPT [ because ] Google has crawled the internet so they have more data to work with.

This commonly expressed non-sequitur needs to die.

First of all, all of the big AI labs have crawled the internet. That's not a special advantage to Google.

Second, that's not even how modern LLMs are trained. That stopped with GPT-4. Now a lot more attention is paid to the quality of the training data. Intuitively, this makes sense. If you train the model on a lot of garbage examples, it will generate output of similar quality.

So, no, Google's crawling prowess has little to do with how good Gemini can be.
by belorn | 2025-10-16 23:09:29+00:00
One thing I would like to see is a clear categorization of to the concept of chemically reduce ingredients into unreconizeable components, and then recombine them into the original product while presenting it as nothing has happened. If you take milk and reduce it down to fat-free milk powder, then introduce additional fat and rehydrate it with additional cream aroma, it doesn't turn back into fresh cream. Similar, if you take fruit and reduce it down into pure fructose, then reintroduce water and aroma extracted from the same kind of fruit, it may be similar but not quite like freshly squeezed fruit juice.

Canned Jalapeño often deploy a similar (but much less noticeable) trick in that the manufacturer grows Jalapeño without capsaicin, and then reintroduce chemically created capsaicin into the can in order to control for spiciness.
by dzaima | 2025-10-16 23:09:56+00:00
If the scalable VLEN is the same as the ALU width, which should generally be the target, small vectors would still perform optimally.

Of course if you need less than a VLEN-sized vector you're wasting throughput, but that applies just as much when using 128-bit vectors on AVX-capable hardware, and even worse so on AVX-512-capable (which, while double-pumped or equivalent to some extent on most impls, still has 512-bit-exclusive throughput on most).
by wtfwhateven | 2025-10-16 23:10:40+00:00
>A deportation order is a final judgment from immigration authorities that a non-citizen must leave the U.S., while a warrant is a legal document that authorizes an action, such as an arrest or search.

Ok? They lack those in almost all cases too.

>You don't get arrest warrants for deportation orders. The "due process" for illegal entry is deportation... if people don't like it, don't enter the country illegally.

That's a gross oversimplification and completely dishonest.

>Why are you lying about needing an arrest warrant?

I am not. Never claimed arrest warrants are needed. ICE agents almost always lack a deportation order or arrest warrant. Almost all their 'detentions' lack any sort of order, their "probable cause" is arbitrarily believing people they see are illegal.

This is what happens in a vast majority of cases:

ICE detains a rando they think is an illegal -> They quickly find out they have a perfectly valid visa -> ICE immediately petitions for an immigration judge to revoke the visa for no reason -> the military judge appointed to be an immigration judge obliges and gives the visa-holder zero ability to appeal -> the visa-holder is now suddenly an illegal despite having a valid visa at the time of their detention and having committed no crime -> deported
by Nevermark | 2025-10-16 23:11:48+00:00
> A better title for this article: Some Functions Are Asymmetric.

If some functions are asymmetric, then functions (as a class of things) are not symmetric.

Just as some rectangles are squares, still leaves rectangle as a class/type as transpose asymmetric. I.e. width and height are not constrained to be equivalent, which is required for transpose symmetry.

Not really arguing for or against your comment. Just noting that it’s easy for multiple valid arguments to pass each other without connecting due to slight differences in what people mean with the same words.
by bezier-curve | 2025-10-16 23:12:22+00:00
There's a lot to like about HN, but it's worth acknowledging that the "good parts" are only half the picture. Anything that questions moderation or site culture is routinely flagged as "crankiness" and buried. You can participate for years and still never gain access to basic features like downvoting, since karma and visibility are as much about fitting in as about merit.

The system rewards intellectual curiosity until you direct it at HN itself. If you start asking questions about how moderation works or challenge the culture here, you'll find that dissent gets quietly penalized, and transparency only goes so far.

The other issue with HN is they seem to decide how you curate your own inputs into the site. Even deleting your own comments is not allowed after a time limit. I don't understand what benefit this brings, and it's certainly not communicated in the HN guidelines.

If a platform claims to foster intellectual curiosity, it should be able to tolerate that curiosity being directed at its own moderation choices. Otherwise, it's just managing its image, not building trust.