MurphyA/hacker-news huggingface dataset:
by locknitpicker | 2025-11-23 07:53:07+00:00
> The average multi-year TypeScript developer I meet can barely write a basic utility type, let alone has any general (non TypeScript related) notion of cardinality or sub typing. Hell, ask someone to write a signature for array flat, you'd be surprised how many would fail.

I think you're both exaggerating your blanket accusations of incompetence and confusing learning curve with mastering extremely niche techniques akin to language gotchas.
by caminanteblanco | 2025-11-23 07:54:42+00:00
I think there's a lot of truth in that. The most surprising thing to me has been how much water I've been drinking. Around 3 quarters of a gallon a day, which is far more than I would drink of anything before. And I think that will have a whole bunch of benefits beyond just the lack of caffeine.

I think I was less caffeine addicted, and more sugary-caffeinated drinks addicted.
by silisili | 2025-11-23 07:54:49+00:00
It's not that they don't want middle class customers, of course that would be foolish. It's that they don't want to be positioned there. The CEO has made this abundantly clear.

Their financial reports are a better source of truth than anecdotes. Q1 was an absolute disaster, Q2 surprisingly OK, Q3 missing expectations but not terrible. This is not where they want to be, regardless of lip service. They will not thrive in this space, as Wendy's has found out. IMO Wendy's was the de facto try 'middle/lower middle class' fast food option.
by altairprime | 2025-11-23 07:55:40+00:00
There was an irregularly but often transmitting radio antenna tower fifty feet from my home, and the outage duration when an outage occurred was precisely the same each time, because Docsis is very carefully specified in how it starts up. (Don’t remember the duration, sorry.) The outage interval varied based on antenna usage; if OP is suffering a similar circuit break, a continuous transmitter nearby could certainly cause continuous outages at the regular interval “renegotiating, success, assigned channel collision” loop.
by debugnik | 2025-11-23 07:56:39+00:00
Not really, I provided these examples a couple weeks ago on another HN thread. TypeScript is simply unsound.

https://www.typescriptlang.org/play/?#code/MYewdgzgLgBAllApg...

https://www.typescriptlang.org/play/?#code/DYUwLgBAHgXBB2BXA...
by p0w3n3d | 2025-11-23 07:56:51+00:00
I wonder what made it so hard? I thought that Snapdragon was already providing the Linux drivers? Anyone knows? Maybe those were not OpenSource?

My guess is that it's all the same as in Linux phones that they have large blobs of drivers given by the board producer but not being open, but then... Maybe we should invest time in microkernels? Maybe Linux is a dead end because of the monolithic architecture? Because I doubt big companies will change...
by Earw0rm | 2025-11-23 07:58:17+00:00
It would lose by a country mile, a 386 can handle about one instruction every three or four clocks, a modern desktop core can do as many as four or five ops PER clock.

It's not just the lack of branch prediction, but the primitive pipeline, no register renaming, and of course it's integer only.

A Pentium Pro with modern design size would at least be on the same playing field as today's cores. Slower by far, but recognisably doing the same job - you could see traces of the P6 design in modern Intel CPUs until quite recently, in the same way as the Super Hornet has traces of predecessors going back to the 1950s F-5. The CPUs in most battery chargers and earbuds would run rings around a 386.
by locknitpicker | 2025-11-23 07:58:32+00:00
> If it's correct, it's not a maintenance nightmare, and it will alert you to problems later when someone wants to use it incorrectly.

You're confusing things. It is a maintenance nightmare because it is your job to ensure it is correct and remains correct in spite of changes. You are the one owning that mess and held accountable for it.

> If you're writing first-party software, it probably doesn't matter. But if you have consumers, it's important.

Yes, it is important that you write correct and usable code. That code doesn't fall on your lap though and you need to be the one writing and maintaining it. Whoever feels compelled to write unintelligible character soup that makes even experienced seasoned devs pause and focus is failing their job as a software engineer.
by nivertech | 2025-11-23 08:00:45+00:00
I agree that time isn’t an input in the economic system.

Although, one can use either discrete or continuous time to simulate a complex economic system.

Only simple closed form models take time as in input, e.g. compounded interest or Black-Scholes.

Also, there are wide range of hourly rates/salaries, and not everyone compensated by time, some by cost-and-materials, others by value or performance (with or without risking their own funds/resources).

There are large scale agent-based model (ABM) simulations of the US economy, where you have an agent for every household and every firm.
by aw1621107 | 2025-11-23 08:00:59+00:00
> If it is you recording that video, I hope you get over it. You can find a better way to process your grief than complaining on all three of your HN accounts.

Based on the profile pic and the other videos on the channel, I think it's reasonable to conclude that the channel owner is also the author of the C++ fast_io library [0]. They've been quite vocal about their dislike of Rust (among other things) over the past few years, so I wouldn't expect that to change any time soon.

No comment on whether ls_a is or isn't connected to the channel owner; just thought I'd give a bit more background on the video uploader.

[0]: https://github.com/cppfastio/fast_io
by giardini | 2025-11-23 08:01:03+00:00
See earlier work, e.g., https://pmc.ncbi.nlm.nih.gov/articles/PMC3835452/

FTFA (2008) ABSTRACT:

"The Kuna Indians who reside in an archipelago on the Caribbean Coast of Panama have very low blood pressure levels, live longer than other Panamanians, and have a reduced frequency of myocardial infarction, stroke, diabetes mellitus, and cancer -- at least on their death certificates. One outstanding feature of their diet includes a very high intake of flavanol-rich cocoa. Flavonoids in cocoa activate nitric oxide synthesis in healthy humans. The possibility that the high flavanol intake protects the Kuna against high blood pressure, ischemic heart disease, stroke, diabetes mellitus, and cancer is sufficiently intriguing and sufficiently important that large, randomized controlled clinical trials should be pursued.".
by jstanley | 2025-11-23 08:01:20+00:00
My first introduction to TypeScript was trying to use it to solve Advent of Code.

I wrote some code that iterated over lines in a file or something and passed them to a function that took an argument with a numeric type.

I thought this would be a great test to show the benefits of TypeScript over plain JavaScript: either it would fail to compile, or the strings would become numbers.

What actually happened was it compiled perfectly fine, but the "numeric" input to my function contained a string!

I found that to be a gross violation of trust and have never recovered from it.

EDIT: See https://news.ycombinator.com/item?id=46021640 for examples.
by MrJohz | 2025-11-23 08:01:29+00:00
Yeah, I believe that doesn't quite work correctly for nullable fields or cases where the Zod type would be a subtype of the declared type. But it's a really useful technique, because it's a lot easier to work with types you've declared in TypeScript than the ones Zod generates. I'm sure there's scope for a validation library that is designed around the user providing a TypeScript type and then producing an error if the validation doesn't match that type.
by bob1029 | 2025-11-23 08:01:45+00:00
Infrastructure is difficult. I have to run 2 ISPs these days. FTTP and DOCSIS.

The fiber line is obviously my primary and it's completely flawless when it's working. The problem is that about once or twice a year a utility contractor will break the fiber in my neighborhood and it can go out for up to 2 days. Cellular service is not sufficient to cover. The cable connection is what I use when the fiber goes down hard like that. I don't bother with a multi-WAN router or anything. It's a manual cutover thing. The cable can obviously go down too, but it follows a different path (power lines vs buried). The cable is more likely to go out, but it can be resolved more quickly assuming a localized incident.

I was looking at using starlink for backup, but there are caveats with satellite connectivity in the woods.
by d3Xt3r | 2025-11-23 08:01:47+00:00
Have you heard of 0 A.D.? It could give the Age of Empires series a run for its money. The attention to minor detail (like the details in the artwork on the buildings of various civilisations), the superb music, the battle formations etc would make you think it was a commercial project. And the fact that they did 3D better than Microsoft could (AoE 3 was a disaster) makes it even more impressive.

Another of my favourite OSS games is SuperTuxCart, it could give Mario Kart a run for its money too. Vey fun, with a very active community around it too.
by another_twist | 2025-11-23 08:02:12+00:00
I disagree. The speed with which Typescript replaced JS as the default is testament to its strength. I remember back is the good old JS only days you had to assume that all the form values we passed and read were strings and not an integer account number for example. Typescript solves these challenges and that alone eliminates a large class of frankly nonsensical bugs.

The reason it is being rewritten in Go is so the compiler can be run at native speeds which is a good thing. Otherwise the only runtime we have available is NodeJS which has its fair share of problems. You can go far with TS with just interface definitions and some generics peppered in for common utilities. The places where all the type gymnastics is necessary are cases I frankly havent encountered in the usual course of development.
by esperent | 2025-11-23 08:03:19+00:00
Well, it seems Garibaldi biscuits were genuinely named after this guy. However Bourbon was named for the House of Bourbon, a French royal family.

I'm discounting the Peek Freens Trotsky assortment because Trotsky was, of course, Russian.

So, one. Which is still more than you might expect.
by lukeschlather | 2025-11-23 08:05:32+00:00
Do you know comparatively how much GPU time training the models which run Waymo costs compared to Gemini? I'm genuinely curious, my assumption would be that Google has devoted at least as much GPU time in their datacenters to training Waymo models as they have Gemini models. But if it's significantly more efficient on training (or inference?) that's very interesting.
by goku12 | 2025-11-23 08:06:10+00:00
How does that work? You need a combined reflective area equivalent to the amount of radiative power you want block. So let's say that you want to block just 0.001% of the Sun's incident power on Earth. According to my calculations, that represents a total reflective area of approximately 1275 km^2. And those have to be directly in between the Sun and Earth at any given time. If you're on an orbit around Earth, the best that you'll get is in the LEO, where only half of those satellites will be in that condition on average at any given time. So, how many satellites (of any size class) will you need for that?
by your_fin | 2025-11-23 08:06:59+00:00
I would highly recommend the ts-pattern [1] library if you find yourself wanting exhaustive switch statements! The syntax is a bit noiser than case statements in simple cases, but I find it less awkward for exhaustive pattern matching and much harder to shoot yourself in the foot with. Once you get familiar with it, it can trim down a /lot/ of more complicated logic too.

It also makes match expressions an expression rather than a statement, so it can replace awkward terenaries. And it has no transitive dependencies!

[1]: https://github.com/gvergnaud/ts-pattern
by slaterbug | 2025-11-23 08:07:20+00:00
“…the only workable future to me seems like forcing agents/robots to be tied to humans.”

This is what I’ve been thinking lately as well. Couple that with legal responsibility for any repercussions, and you might have a way society can thrive alongside AI and robotics.

I think any AI or robotic system acting upon the world in some way (even LLM chatbots) should require a human “co-signer” who takes legal responsibility for anything the system does, as if they had performed the action themselves.
by stonecharioteer | 2025-11-23 08:08:07+00:00
I love RestructuredText. My blog used to be on RST, because I hate markdown. I moved to Hugo and Markdown because I wanted to put out content, not fight the weird system that was Sphinx (My RST blog was running on it), and ablog, the Sphinx blogging framework didn't work with Furo, my favourite theme. I just use Hugo, and I use Claude to fix the css.
by fortydegrees | 2025-11-23 08:10:24+00:00
This is really good work! Love the UX and the design. Even though I work with AI agents and building them a lot, I found the way you structure the steps very helpful for thinking about the project itself. The agent asks the right questions which makes me feel confident it's understanding my goals.

If you're looking for feedback, you could include a tiny section on the homepage about how to run the output docs. e.g. put them in a folder, point Claude Code/Codex to it and give it the prompt.

Thanks for building this!
by emrah | 2025-11-23 08:10:32+00:00
Back in the day there was demand due to popularity.. in 2025, people are on various social media sites. I hardly read blogs myself, especially ever since X allowed paying customers to write long posts.

Even if you wanted to go back to blogging, you'd have to do it on substack, medium or some such platform with social built in.

My money is blogging being mostly for SEO. I don't know who's on the other end of the clicks, but they aren't reading for readings sake..
by SpicyLemonZest | 2025-11-23 08:11:34+00:00
It matters because it points towards a common failure mode which we've seen repeatedly in the past. In the 1990s, people routinely published news articles like the OP (e.g. https://www.nytimes.com/1999/04/26/business/technology-digit...) about how researchers "knew" that violent video games were causing harm and the dastardly companies producing them ignored the evidence. In the 1980s, those same articles (https://www.nytimes.com/1983/07/31/arts/tv-view-the-networks...) were published about television: why won't the networks acknowledge the plain, obvious fact that showing violence on TV makes violence more acceptable in real life?

Is the evidence better this time, and the argument for corporate misconduct more ironclad? Maybe, I guess, but I'm skeptical.
by weinzierl | 2025-11-23 08:11:36+00:00
She turned 60 yesterday. I think she is great and unique and nerdy which makes her a good fit for HN in general. Her birthday (and the news around it) satisfy the news aspect.

Unfortunately I could not find anything that was interesting and not completely ad infested at the same time, so I posted the Wikipedia article. New York Times, New Yorker, Guardian, etc. where is your anniversary tribute?
by pjmlp | 2025-11-23 08:13:41+00:00
Regardless of the article being AI generated or not, I would rather vote for automatic resource management, with type systems improvements for low level coding, regardless of the form, between affine, linear, effects, proofs, dependent types, there is plenty to choose from.

The note that Rust cannot fully replace C++ as long as it depends on using it for its key compiler backends.

Finally even if it is a bubble, AI driven programming is making specific languages irrelevant, eventually only AI language runtimes will need fine grained control how everything works, at the bottom layer.

Maybe the future is an AI language compiler generating machine code directly, with similar productivy as Xerox PARC workstations, Lisp Machines, or Bret Victor ideas.
by ted_dunning | 2025-11-23 08:14:20+00:00
It isn't directly what you are asking for, but there is a similar relationship at work with respect to L_1 versus L_2 regularization. The number of samples required to train a model is O(log(d)) for L_1 and O(d) for L_2 where d is the dimensionality [1]. This relates to the standard random matrix results about how you can approximate high dimensional vectors in a log(d) space with (probably) small error.

At a very handwaving level, it seems reasonable that moving from L_1 to L_0 would have a similar relationship in learning complexity, but I don't think that has every been addressed formally.

[1] https://www.andrewng.org/publications/feature-selection-l1-v...
by rdtsc | 2025-11-23 08:15:23+00:00
Not OP but he maybe referring to the new gas cooled gen 4 reactors not Soviet RBMKs. The ones I heard are working with sealed beads of uranium, encased in porous carbon, then some other layers, including some carbide (silicon?). The porosity of carbon absorbs gases but they ultimately stay sealed. The whole thing is helium cooled.
by patchymcnoodles | 2025-11-23 08:17:30+00:00
I find the comparison about being good for newcomers rather interesting. I would say none of them are easy for beginners. I don't see where C(++) can shine here. For a beginner into systems programming Go would be much easier as example. And if it's about programming in general then there are many, many more languages to choose from that are all easier to learn than C(++) and Rust.
by adrian_b | 2025-11-23 08:18:07+00:00
Yeah, but with modern equipment you can use it only strictly for what it is intended, and frequently not even for that, due to various bugs.

With ancient equipment, like the measurement instruments from Tektronix and Hewlett-Packard, due to having excellent maintenance manuals that allowed a perfect understanding of their internals, it was often possible to find ways to use them for things that had never been foreseen by their designers.

I prefer that very much to the modern instruments that may have a lot of additional features that I do not need, while the features that I do need may have annoying limitations that cannot be surpassed.
by ardi_c_cc | 2025-11-23 08:18:32+00:00
I made a fullstack Saas app that tracks many web platforms and informs users via Email, Telegram when a word is mentioned. Monitoring platforms: - HackerNews - Lobste.rs - Reddit - GoogleNews - GitHub - ProductHunt - Medium - Dailymotion - Vimeo - Odysee - Dev.to
by tehjoker | 2025-11-23 08:18:53+00:00
Worse than us? We're conducting a genocide. The "Uighur genocide" is not real, the people creating that narrative were right-wing christian nationalists and none of it held up. We know what a genocide looks like in the 21st century because it's being live-streamed.

Don't buy US propaganda so easily. They want to create a moral equivalence where there is none.
by goku12 | 2025-11-23 08:19:01+00:00
I agree very much with you. Should I downvote you? Is this some sort of ritual?

Jokes aside, even if the technology works as intended (and that's a big if), the opportunities to abuse it are plenty and absolutely scary. I know that 'government weather control' is currently a realm of fantasy and conspiracy theories. But sunlight is the driver of climate and weather on Earth. Changing the incident solar power over a large enough region even by a little bit with respect to the rest of the world can bring about massive differences in weather patterns. While these particles are meant to spread around the world, it can bring about this effect if its degradation/dispersal times and release point into upper atmospheric winds can be engineered. It isn't as difficult as it sounds. And given that these people aren't willing to address the primary drivers of global warming - massive production of CO2 and the ever-increasing wealth inequity, there is absolutely no reason to believe that they won't misuse and abuse it to their own financial advantage. In some ways, it's actually worse than nuclear weapons, because there are a bunch of weather calamities that have very high costs in terms of lives.
by buu700 | 2025-11-23 08:19:02+00:00
The author of the commit doesn't matter per se. If someone is just having AI summarize their changes and using that as the commit message, I agree that they're doing it wrong.

These days, lots of my commit messages are drafted by AI after having chatted at length about the requirements. If the commit message is wrong or incomplete, I'll revise it by hand or maybe guide the AI in the right direction. That tends to be a much more useful and comprehensive description of the commit's intent than what I would naturally find worthwhile to write on my own.

OP's approach is interesting as well, at least in principle, and if it works well it might be the next best option in the absence of a chat log. It should just make sure to focus on extracting the "why" more than describing the "what".
by bthallplz | 2025-11-23 08:19:19+00:00
> Just as a simple example, I have a once-in-a-while newsletter+blog on a niche topic, and I could get way more eyeballs if I'd just rephrase things as a Reddit post, but I'm nostalgic about it living its own life on the Free-ish Web. Or, I suppose, this comment right here, which could just as well be on a personal blog with a "backlink" to yours.

I've been thinking lately about still posting things to various places like here and Reddit but compiling them later on and posting them to my website (likely with a link to where I posted them originally). That seems like a good middle ground for me and would enable me to build up a decent resource for myself and others, if I'm up for cleaning up the texts to provide or remove context as necessary.

Much of this idea of mine is from a desire to archive and pull together more of the stuff I've put effort into that's spread all over the web.
by zkmon | 2025-11-23 08:20:22+00:00
But rule-based processing was exactly the requirement. Why should the workflow automation come up with rules on the fly, when the rules were defined in the business process requirements? Aren't the deterministic rules more precise and reliable over the rules defined by probabilistic methods?

Autonomy/automation makes sense where error-prone repetitive human activity is involved. But rule definitions are not repetitive human tasks. They are defined once and run every time by automation. Why does one need to go for a probabilistic rule definition for a one-time manual task? I don't see huge gains here.
by smdyc1 | 2025-11-23 08:22:16+00:00
Amazon are not resolving your issue in minutes because you have power over them. They do it because it is efficient and profitible for them to keep customers happy. Your actual influence over a trillion dollar company is tiny compaired to your influence as a voter. One customer taking there business elsewhere does not affect Amazon in any meaningful way. One vote is counted directly. The gap is between how it feels and how the power actually works. This of course assumes you live in a democratic country.
by rstuart4133 | 2025-11-23 08:22:16+00:00
I fell for it. I wasn't born in 1957, but I to this day I remember the picture. I must have seen it in a newspaper when I was around 5. It was before TV. I just accepted the picture as ground truth and it stuck with me for many years.

It came as quite a shock when I discovered as an adult spaghetti was made from flour.
by grep_name | 2025-11-23 08:23:01+00:00
> If a candidate has a blog with just two articles on it that hasn't been updated in five years

Oh hey, that's me! This post might actually encourage me to get back on top of things. Not only do I have two articles (more recent than 5 years though), one of them has a glaring error that is somewhat foundational to what it's supposed to be about. I have to fix that, as well as my broken RSS feed, and get my git link re-directed to my self-hosted forge, and update all my remotes, remove some defunct links and menu options, and then decide which of my 68 (yes, 68!) blog drafts I want to focus on publishing next. Now that I've listed it out, I bet I can get all that done over the break.