MurphyA/hacker-news huggingface dataset:
by aw1621107 | 2025-12-06 07:49:01+00:00
> By contrast, in many programs infinity and NaN are never expected to come up, and if they do it's a bug, so if you're in that situation you can just use the finite-float type throughout.

I suppose that's a fair point. I guess a better analogy might be to operations on normal integer types, where overflow is considered an error but that is not reflected in default operator function signatures.

I do want to circle back a bit and say that my mention of signaling NaNs would probably have been better served by a discussion of floating point exceptions more generally. In particular, I feel like existing IEEE floating point technically supports something like what you propose via hardware floating point exceptions and/or sNaNs, but I don't know how well those capabilities are actually supported (e.g., from what I remember the C++ interface for dealing with that kind of thing was clunky at best). I want to say that lifting those semantics into programming languages might interfere with normally desirable optimizations as well (e.g., effectively adding a branch after floating point operations might interfere with vectorization), though I suppose Rust could always pull what it did with integer overflow and turn off checks in release mode, as much as I dislike that decision.
by teiferer | 2025-12-06 07:49:08+00:00
> much like the faith required of scientist today

You might be missing the point of science.

It's ultimately an endeavor of finding testable descriptions of the world in the face of being fallible. It's not about the "why". It's about "how" the world is. No faith required. "Why" the world is is a philosophical question and perhaps a religious one. But that has nothing to do with testable theories.

Any scientific theory gains credibility by providing ways to test it. Each such experiment that fails to disprove the theory increases confidence in the theory's validity. There is no faith required for any of that and no god either. If you can predict that conditions A and B lead to C happening, and I can try it and see that indeed C is happening, then you have science going on, without any faith.
by throwaway290 | 2025-12-06 07:50:46+00:00
Nope, still the same. If everyone else is "foolish and senseless" from your personal view then that's baseline, sorry to inform you

an american wrote a book about germans? why do I want to read it? but thanks for reminding me, as far as I know it was similar when hitler came to power, weimar was falling apart and people felt disrespected due to reparations and nazi preyed on that.
by globular-toast | 2025-12-06 07:52:07+00:00
I see I'm not the only geek fascinated by the tide. I knew all the stuff in the article already, of course. It seems it's like railways or something, seems to trigger something in geeky brains. I live in the UK so see some of the largest "swings" in the world. It never ceases to amaze me that it all happens in the space of 6 hours. I've also gone to see spring tides just to see what it looks like. It's cool, and scary.
by sham1 | 2025-12-06 07:54:48+00:00
> Europe should fight its own wars.

We... do? Of course, if you'd like to name whatever wars we're a) involved with and b) not fighting ourselves, then that would be splendid.

Anyway, how is that relevant to enforcing the DSA on X?

> We civilized them. And we may have to civilize them again.

What does this even mean? What do you mean by "civilize"? Also this sounds very much like how colonialism and imperialism were justified back in the 19th and 20th centuries.

But again, what does this have to do with X and DSA?

> But until they turn to yet another genocide maybe we should just let the Europeans have at each other.

Russia is currently conducting a genocide over in Ukraine, for example by kidnapping children and bringing them over to Russia and beyond, for example to North Korea.

This is a war crime and also genocidal. So by your admission you ought to be helping.

But again, what does this have to do with X and DSA?

> We can pay them the $150m to let them take care of Ukraine themselves. It was bad enough we had to drag them by the nose to the water. Maybe enough is enough.

We are taking care of Ukraine. Most of the aid is coming from various EU states, and the organisation itself.

Of course, the United States is the largest singular donator and also has donated some very important capabilities to Ukraine, for which people should be and are thankful for, but the claim that Europe isn't doing anything for Ukraine is just false. Could we do more? Absolutely. Should we? Yes. But that doesn't mean that nothing is happening.

But I must ask again, what does this have to do with X or the DSA?
by necovek | 2025-12-06 07:54:57+00:00
For something in the financial space, I don't see much (or really, any) tests in the code repository. CI also only has ESlint and prettier running.

How are you ensuring the application will remain maintainable in the future, you are not breaking existing stuff and integration with the actual platform is always up-to-date?

In short, what's the testing strategy for something that claims to deal with $6M a month?

If there is none, you likely want to read up a bit on things like Testing Pyramid, automated test strategies (unit-, integration- and end-to-end testing).
by tarsinge | 2025-12-06 07:56:10+00:00
What are the chances the deal doesn’t go through because OpenAI fails to find enough money?

Between Google, other labs and China the risk of commoditization is climbing and so why would investors continue to throw money at them? Kind of the same problem people are starting to bring up regarding Nvidia order book no? Do SoftBank and Oracle have $500B in cash to go through, or does it count on new investors coming in to not implode?

Edit: From the Stargate page on Wikipedia it seems indeed there is a big uncertainty regarding financing:

> On August 7, 2025, Bloomberg reported that the project had not started and no funds were raised to meet the project's initial $500 billion budget. Market uncertainty, American trade policy, and AI hardware valuations caused the delay according to a Bloomberg News report
by derektank | 2025-12-06 07:57:03+00:00
Having access to large tracts of land is not a necessary precondition to industrialization (see South Korea). Did the capital accumulation from the exploitation of resources in the American West make it easier to industrialize? Probably. But America would have industrialized if it never expanded beyond the Ohio River valley (access to coal probably was necessary).

Also, as an aside, yes, most of the American West was largely lucked into. America was lucky that France and Spain were dirt broke, that Britain was distracted by continental conflicts with France and Russia, and that native societies had been decimated by disease and a subsequent collapse in governance. That's not to say that there wasn't smart, farsighted leadership in American government, but it was a weak power.
by aucisson_masque | 2025-12-06 07:57:06+00:00
> It's virtually impossible to find out how much a medical procedure actually costs. Most hospitals and clinics refuse to even estimate as a policy, which has led to the creation of things like pre-paid services for labor and delivery. Those are quite rare.

That's absolutely incredible. Yeah if you can't even get a pricing,i don't see how you could make any decision whatsoever.
by Terr_ | 2025-12-06 07:57:50+00:00
Surely I'm not the only one confused by the title? I know the reference "Roko's Basilisk", but I don't follow why that would be "dancing" in relation to... LLM-generated documentation of a codebase. Is the bad documentation its vengeance?

Tangentially, I feel that concept is just a thin layer of paint on a not-too-compelling idea that could happen in any time period: "Thog, what if crazy god get summoned by other cavemen, and it punish all who no help!? Me no take chance!"
by koakuma-chan | 2025-12-06 07:58:40+00:00
> It's Rust's fault. It provides a function in its standard library that's widely used and which aborts the process. There's nothing like that in the stdlibs of Java or .NET

It is the same as runtime exceptions in Java. In Rust, if you want to have a top-level "exception handler" that catches everything, you can do

::std::panic::catch_unwind(|| { // ... })

In case of Cloudflare, the programmer simply chose to not handle the error. It would have been the same if the code was written in Java. There simply would be no top-level try-catch block.
by RadiozRadioz | 2025-12-06 07:58:45+00:00
“why not just use jj?”

The most common reason is that the git user has no idea it exists. I am in this bucket alongside 99% of git users.

There are an assortment of other potential reasons:

- It is a new tool that hasn't been battle tested as much as git has, which can decrease confidence.

- Git has inertia. People have learned it, it takes less effort to add a new git skill to your repertoire than learn a new tool from scratch, even if the new tool is easy to pick up.

- Due to its novelty, the auxiliary tooling ecosystem for jj is smaller (does it have plugins for all the popular editors? Lots of people like those, git's are high quality)

- Git is good enough. It's not perfect, but its popularity means that its shortcomings have readily available fixes or tweaks from users. It simply isn't bad enough and there are bountiful resources on how to use it effectively.
by porterh | 2025-12-06 07:59:28+00:00
I have been working on a small project called Prophit. It started from a simple question. Why do regular people spot trends long before analysts do, yet have no structured way to turn those instincts into actual investing?

The idea is to treat the crowd not as noise but as an early warning system. Prophit is an AI search engine that tries to surface companies related to real world patterns users are noticing. Instead of digging through filings or waiting for coverage, users can turn a hunch into a set of possible stocks and then build a portfolio around it.

The experiment is to see if community driven pattern spotting can outperform the usual top down Wall Street flow. Users can share ideas, compete on portfolios, and highlight emerging themes before they hit mainstream news.

The real question I am trying to answer is whether passive investing can be made engaging and personal without pushing people into reckless stock picking. Younger investors clearly love choosing individual companies, but that usually drifts into undiversified gambling. Prophit’s experiment is to let users express taste and personality through swipes while keeping the underlying portfolio diversified the way an index would. I want to understand whether a flow like this can shift people away from speculation while still giving them the sense of ownership they enjoy.
by _jzlw | 2025-12-06 07:59:34+00:00
People don't usually expose self-hosted services directly to the internet, even if they have a login page. You use a reverse proxy, that way they can be HTTPS, share port 443, and use subdomains (Caddy makes this really easy). And then adding auth becomes trivial, and you can even put your services behind some SSO sign-in if you want to.

If possible though it's best to use a VPN so that nothing needs to be accessible from the internet at all (not to mention then you can access your NAS shares w/o needing a web UI). That's why I actually prefer when self-hosted apps don't have their own auth system, or at least let me disable it. If everything's internal only, I don't need it anyway.
by renewiltord | 2025-12-06 07:59:56+00:00
> What does this even mean? What do you mean by "civilize"?

Teach them not to gas millions of people, that kind of thing. Nothing outrageous or anything.

> Russia is currently conducting a genocide over in Ukraine, for example by kidnapping children and bringing them over to Russia and beyond, for example to North Korea.

Ukrainian casualties are nothing like what Germany was inflicting on people. The latter rises to the standard. The former perhaps not.

To be honest, at first I thought we had to help a European country being invaded by Russia, but over time I've realized that Europeans mostly don't want us there. This is an internal affair for them. Some Europeans killing other Europeans. If it gets to the millions of civilians dead, then yeah they've fallen back into their atavistic ways and we have to go clean up again. But otherwise you kind of have to let Europeans be Europeans.

Blowing up their pipeline to get them to help themselves was unnecessary. If they don't want to help, they don't have to. It's up to them. We've got stuff to deal with. And they don't appreciate it anyway. They primarily treat the US as some kind of pinata to pop out money and weapons any time they decide to go kill each other.
by brabel | 2025-12-06 07:59:59+00:00
I did. Though a few years earlier I had attended a class where Pascal was used (however, it was not the main topic, it was about robotics). C++ was what I learned first in a "real" computer science class. In later years, we did move to Java. And I initially hated Java :D but ended up making a career using it. Java in the 2000's was a poor language, but after Java 8, it has become decent and I would say the latest version, Java 25, is a pretty good language.

This thread is about Zig though! I want to like Zig but it has many annoyances... just the other day I learned that you must not print to stdout in a unit test (or any code being unit tested!) as that simply hangs the test runner. No error, no warning, it just hangs. WTF who thinks that's ok?!

But I think Zig is really getting better with time, like Java did and perhaps as slowly. Some stdlib APIs used to suck terribly but they got greatly improved in Zig 0.15 (http, file IO and the whole Writergate thing), so I don't know, I guess Zig may become a really good language given some more time, perhaps a couple of years?!
by rozenmd | 2025-12-06 08:01:40+00:00
The money in SaaS has never been folks willing/able to build it themselves

risk-tolerant early adopters care purely about your features, and are willing to figure out the rest

the bigger orgs (folks that refuse to move off legacy software) won't move until you can answer questionnaires about industry-specific integrations, security/compliance, enterprise-level support/SLAs, training/onboarding, change management, scalability/performance, data governance and management tools
by hopelite | 2025-12-06 08:01:46+00:00
Why would they break into individual hardware when they have unfettered access to the whole system in certain countries’ cases and can likely just hack into it in more adversarial cases? It is one of the several reasons why … yes, I know YC backed and funded Flock … the company and everyone in government that contracts for them to provide this mass surveillance service, is objectively and inherently treasonous. But don’t shoot the messenger just because people don’t like the message.

“Whoopsie, my negligence I shouldn’t have been engaging in in the first place” is no exemption from being a traitor, betrayal.

What that means for society and if and what it does about it is a different question. Based on historical trends, it all probably won’t matter since we’ve clearly crossed a threshold and the “PPP” tyranny (different from the trillion dollars in PPP loans that were forgiven and contributed to the inflation) is upon us because it wasn’t prevented when it still could have been.

I don’t think people here are even tracking what is going on in TX, UT, LA (and soon to be nation wide); where as of Jan 1st all new accounts will have to provide government ID to install any app on a mobile device.
by bpavuk | 2025-12-06 08:02:38+00:00
Zen is actually solid these days. being a Firefox-based browser, it has its quirks, (i.e. Theo complained about gradient rendering or whatever, but who cares?) but it's still the best Arc-like we currently have.

plus, you get synchronization across desktop (Zen) and mobile (Firefox for iPhone/Android). since Google limited theirs only to official Chrome, this feature is basically exclusive to Firefox and forks, Arc <-> Arc Search, and Chrome for desktop <-> Chrome for mobile.
by spit2wind | 2025-12-06 08:03:13+00:00
I've wondered if there's a good "standard" project a person could use to get up to speed on a new language and get an intuitive sense for working with it. For example, plenty of Java programmers can write a working Python program, but it's not "pythonic".

Would writing a CHIP-8 emulator be such a project? It seems non-trivial, yet not too big, the kind of thing that if you implemented it once, implementing it again in another language would be much faster (apart from the language learning).
by TheOtherHobbes | 2025-12-06 08:03:54+00:00
This is the starchitect shtick - build sculptural forms that can, incidentally, be used as buildings. It's literally the most superficial kind of architecture.

It's much harder and less self-indulgent to start from a human-scale brief for a working and/or living environment and build a functional triumph that is also visually striking and original.

You can get away with being transgressive and challenging™ for art galleries and museums, but offices and homes need a whole other level of integration.
by buu700 | 2025-12-06 08:04:12+00:00
I've been using a functionally identical implementation of this since I wrote it in my startup's codebase a decade ago. It's really handy, but definitely not without edge case issues. I've occasionally had to put in workarounds for false positive TypeScript/lint errors or a tool in the bundling pipeline trying to be too clever and breaking the output.

Overall it's great, and I'm glad to see a generic implementation of it which will hopefully become a thriving open source project, but ultimately it's a kludge. What's really needed is for JS to introduce a native standardized version of this construct which TypeScript and the rest of the ecosystem have to play nice with.
by gsf_emergency_6 | 2025-12-06 08:05:45+00:00
Speaking up for the guy you're arguing with:

"Values" is (one way) how strangers bootstrap trust, "value" is how colleagues (dare I say "compadres") maintain it.

>if everyone funnelled into university research labs

University is an excellent microcosm for analyzing the social compact breakdown, because most of the value has been created by transient workers. With levels of cooperation that any profitable enterprise will laugh at, that value, if properly appreciated, will dwarf GDP.[0]

So I'd agree with GP that values, lack thereof, both internal to academia and of society at large, was the source of the rot.

There's the idea of the long-tail that nobody talks about now, it's still quite relevant, and I'm glad HN is keeping the flame.

[0] seminaries (quasi universities) did a suboptimal values-value tradeoff compared to the Teutonic model. Bell Labs 19xx-1970 obviously had an even better model, surfing on the transience. Internship program was the magic? Values-value resonance? The secret that neither ArcInst nor OpenAI will (re)discover? (Latter too coupled to value!) The profound Ability to capture value from joe and Joe?

Think they were called "program managers" or something.. incubators of valueS. And they didn't need to say what they were working on (contradicting conventional "Apple" wisdom)

i'd love to hear more of your philosophical perspective on IP, historiographic/economic evidence that you've accumulated
by aucisson_masque | 2025-12-06 08:06:28+00:00
I just checked insulin price in France, we have SANOFI 100 UI/ml 15ML for the price of 20€.

How is it possible to have 300$ Vial ? Sanofi ain't exactly a charity and they are doing extremely well financially, 300$ is obscene. If they sell it at 300$, there must be people buying it. Who are they ?
by maxbond | 2025-12-06 08:06:39+00:00
I didn't downplay it, I just wasn't talking about that at all. The video I was talking about didn't make that claim, and I wasn't responding to the comment which did. I don't see any evidence for that claim though. I would agree the most likely hypothesis is some kind of compression pipeline with an upsampling stage or similar.

ETA: I rewatched the video to the end, and I do see that they pose the question about whether it is targeted at certain content at the very end of the video. I had missed that, and I don't think that's what's happening.
by rl3 | 2025-12-06 08:07:39+00:00
>If you watch the video, the cat is unfortunate, but not particularly concerning.

I suspect you'd feel different if it was your cat.

>It's very unlikely that a human would do any better (though, I'd welcome Waymo adding more sensors to the undercarriage to prevent this in the future).

Except the human driver would've almost certainly communicated with the woman trying to collect the cat. I'm surprised they don't have a robust undercarriage array given the hypothetical risk to children, even adults.
by FormFollowsFunc | 2025-12-06 08:07:49+00:00
I was big into Gehry as an architectural student. His work was so different and exciting compared to other architects. He was the "father" of what was called the Santa Monica school. There was a good few architects in LA doing interesting stuff. I travelled from Europe to LA to try and work for him but never got past the reception. I prefer his earlier work in the 70s and 80s and less of a fan of his later work after Bilbao when he got more mainstream fame. I attended a talk of his at USC in the 90s and he was really funny, he was like a stand-up comedian.
by hopelite | 2025-12-06 08:08:31+00:00
There is already case law that makes the records collected by government through these methods no different than any other public records, especially since they are publicly visible license plate numbers.

That has its own problems because it shields/deflects from the bigger issue of being treasonous, i.e., grotesque violation of the law of the Constitution, through mass surveillance that has also already been abused for various kinds of criminal acts by law enforcement.
by aucisson_masque | 2025-12-06 08:11:12+00:00
> Sure, in America millions will die or be bankrupted by healthcare costs every year, but that's better than spending a single $ from your own wallet if even a tiny fraction of it might help pay for someone else's medications right?

I do believe your question is false, we don't spend a tiny amount of our money on healthcare.

Around 20% of our revenue, in France, goes to the universal healthcare.

And yes, I would rather manage that money myself because I believe I am better at doing so that my government. Isn't that one the core beliefs of Americans ?

The issue is that there must an actual free market, enforced by government, and not some kind of oligarchy where drug price are kept artificially high amongst reseller.
by sebastiennight | 2025-12-06 08:11:52+00:00
This (writing a program to solve the problem) would be a perfectly valid solution if the model had come up with it.

I participated in a "math" competition in high school which mostly tested logic and reasoning. The reason my team won by a landslide is because I showed up with a programmable calculator and knew how to turn the problems into a program that could solve them.

By prompting the model to create the program, you're taking away one of the critical reasoning steps needed to solve the problem.