MurphyA/hacker-news huggingface dataset:
by vlovich123 | 2025-12-13 20:42:56+00:00
I’m not aware of any definition of memory safety that allows for segfaults- by definition those are an indication of not being memory safe.

It is true that go is only memory unsafe in a specific scenario, but such things aren’t possible in true memory safe languages like c# or Java. That it only occurs in multithreaded scenarios matters little especially since concurrency is a huge selling point of the language and baked in.

Java can have data races, but those data races cannot be directly exploited into memory safety issues like you can with Go. I’m tired of Go fans treating memory safety as some continuum just because there are many specific classes of how memory safety can be violated and Go protecting against most is somehow the same as protecting against all (which is what being a memory safe language means whether you like it or not).

I’m not aware of any other major language claiming memory safety that is susceptible to segfaults.

https://www.ralfj.de/blog/2025/07/24/memory-safety.html
by Fogest | 2025-12-13 20:42:57+00:00
If you make use of something like git-cliff style formatting for the first line of your commit messages it can actually make some decent automated release notes that can be broken down into features, bug fixes, documentation, chores, etc...

I've found this to be pretty useful for my projects, and users can quickly get a list of what they care about for changes (usually the features part). Since it's pretty automated, the amount of effort also means that even if barely anyone reads them, it's not a huge waste of time. It's actually kind of made me write better, more useful commit messages as I know that the first line of the commit will actually be presented to the user.
by apparent | 2025-12-13 20:43:10+00:00
I'm open to the possibility this is wrong. But I'm pretty sure that HN is mostly male (85%?), and that men are more likely to do good deeds for attractive women strangers than women are likely to do good deeds for attractive men strangers.

For one thing, women (especially smaller women) would be wary of offering a ride to a man or letting him into her home.
by Defletter | 2025-12-13 20:43:18+00:00
Oh hello, welcome to this 18-comment deep thread. This is the second time now that I've mentioned JK Rowling's transphobia and had a randomer show up and comment (https://news.ycombinator.com/item?id=37058027). You, like them, also only speak about JKR on your profile. How curious.
by braincat31415 | 2025-12-13 20:44:24+00:00
A self inflicted wound. Europe keeps entering into spot gas supply contracts and paying through the nose instead of signing longer-term contracts for lower prices. The Russians have always been reliable suppliers even after sanctions took place, and calls from some hotheads to use gas as leverage was never seriously followed through by the real decision makers. And Habeck is an idiot. Lately Germany has not been buying enough summer gas to keep the storage full, and of course the storage gets emptied during the winter - people need to keep warm. To imply that Gazprom is somehow stealing gas from these facilities to exert political pressure is ludicrous, expecially since Gazprom has not even owned these facilities since 2022.
by jodrellblank | 2025-12-13 20:44:31+00:00
You won’t get a choice; they will come with a 5G connection that doesn’t ask you, doesn’t notify you, doesn’t cost you, and has no user-visible toggle. Like cars do these days. And a mesh-networking fallback so if you’re in a city and your neighbour also has one of the similar brand it will connect through their internet instead.
by riffraff | 2025-12-13 20:45:11+00:00
the comment is wrong, what Gleam lacks is interfaces.

Which feels super strange, but doesn't seem to really be a problem, e.g. imagine a language where you'd write

fun sum_all_numbers(Iterable<T> it) { it.fold(...) } # an interface sum_all_numbers(a_list) # a list implements iterable

Gleam wants you to write

fun sum_all_numbers(Iterator<T> it) { it.fold(...) } # a concrete type sum_all_numbers(a_list.iterator) # get the caller to build the right object

edit: found an article that explained this a bit better https://mckayla.blog/posts/all-you-need-is-data-and-function...
by lukan | 2025-12-13 20:45:22+00:00
If you would have a high voltage DC transmission line already, linking the dessert and the clouded cities far away, then it makes sense. I think it is worth building them, but it is a big investment. Many lines are proposed, some already build, but with the current US administration I don't think it is a priority.

So decentral is the current way to go.

That is the current state in the US

https://en.wikipedia.org/wiki/List_of_HVDC_projects#/map/3
by igor47 | 2025-12-13 20:45:56+00:00
Huh you got me with this analogy. On the other hand, can't this be said about any bad thing? Few bad things are always bad. A few examples:

* My liberal relatives won't own guns because they keep hearing stories about how guns are deadly, even though I own guns and nobody's died yet

* My friend's kid won't pet puppies because he heard they bite sometimes

* My aunt in Moscow didn't want to vote for Putin because he's "authoritarian", but my life is going great

How do you distinguish between things that are actually bad vs overreactions? Maybe it's just based on individual risk tolerance? I don't see the need to put my digital life in the hands of some unresponsive corporation, but the risk is worth it to you and we just have to agree to disagree?
by dotancohen | 2025-12-13 20:46:03+00:00
There is a small OTC medical device that is about $60 in the US, quadruple the price in my country. I tried to order one to be sent to a US family member's house, who was coming the following month to visit. However I could not order because I was not in the US.

In the end I found another online store, paid $74, and got the device. So the better store lost the sale due to blocking non-US orders.

I don't know how much of a corner case this is.
by AndrewKemendo | 2025-12-13 20:46:43+00:00
The computer form factor hasn’t changed since the mainframe: look into a screen for where to give input, select visual icons via a pointer, type text via keyboard into a text entry box, hit an action button, recieve result, repeat

it’s just all gotten miniaturized

Humans have outright rejected all other possible computer form factors presented to them to date including:

Purely NLP with no screen

head worn augmented reality

contact lenses,

head worn virtual reality

implanted touch sensors

etc…

Every other possible form factor gets shit on, on this website and in every other technology newspaper.

This is despite almost a century of a attempts at doing all those and making zero progress in sustained consumer penetration.

Had people liked those form factors they would’ve been invested in them early on, such that they would develop the same way the laptops and iPads and iPhones and desktops have evolved.

However nobody’s even interested at any type of scale in the early days of AR for example.

I have a litany of augmented and virtual reality devices scattered around my home and work that are incredibly compelling technology - but are totally seen as straight up dogshit from the consumer perspective.

Like everything it’s not a machine problem, it’s a human people in society problem
by anonymous908213 | 2025-12-13 20:47:47+00:00
> Simon and GGP combined do own an overwhelming percentage of all retail square footage in the US

This is factually incorrect, and not only incorrect, but so wildly far from being correct that one wonders if this statement was made in bad faith. They only have around 300 million sqft out of an estimated 12 billion sqft, around 2.5%. That is not an overwhelming percentage, nor is it "99.9999% of all retail square footage in the world", which was not a hyperbolic statement. Competitors in retail can obtain their own shelf space. You cannot obtain your own shelf space for mobile software. The network effects of hardware+OS centralization are too strong, so there are and never will be any viable competitors to iOS and Android.

> Apple's "shelf space" is not free. There are constant R&D expenses involved in introducing new sensors and screens that make the underlying apps better.

The R&D expenses do not change regardless of whether there are 1 million or 10 million apps available for iOS. Allowing people to distribute their own software comes at no cost to Apple.

> They take on the support load of on-boarding users, managing the relationship, and dealing with any problems.

Apple absolutely does not do any of this as it pertains to individual apps.

> Epic wants to sidestep all of the costs of building a platform, and offload support costs onto Apple

Nobody is asking for Apple's support; really, what the world needs is less of Apple's involvement in the hardware the people own, not more. Epic is clearly willing to spend money on building platforms, since it has a documented $600 million in losses in its effort to build a competitor to Steam. This, however, is not a case where it is possible to build a platform.
by rogerrogerr | 2025-12-13 20:47:52+00:00
I'm convinced bobcats (used generically) are the single most versatile and useful platform ever created. They're fun to drive and you can solve most problems with them. Not optimally for any specific task, but if something needs to be pushed or lifted or moved or pulled or flattened or piled, you can find a way.

An 863 with hi-flow 2 speed and a pivoting plow was the most ideal snowplow I've ever played with.
by user_7832 | 2025-12-13 20:47:54+00:00
Kochi is also a very nice city, but if you're coming from Shimla or even Delhi you're going to find it sweltering hot probably. It's about 26⁰C (80⁰F) right now... (I'm close to Kochi and honestly in these temperatures it doesn't even feel like Christmas)

Ps, Kochi can be quite bustling. The more remote and rural towns (like Munnar) are a relatively safer bet.
by nuancebydefault | 2025-12-13 20:48:22+00:00
Nice to read this take on AI, especially on HN.

I read on HN a lot of anecdotes of people who find less joy in work because AI is taking the fun out of it, or that it is relacing part if their job.

For me it feels different. Finally i have a 'coworker' who doesn't get annoyed after asking tons of questions and details.

One that mostly understands where I am getting at, even if the question is poorly formulated.

One that comes up with ideas that make the result better. One that summarizes what i've told it, so I can check whether it got what I meant.

One that has more knowledge than any living person.

Still it is being criticized for hallucinating and for producing imperfect results. But maybe that's what keeps the job interesting as a SW engineer, the provided solution is not perfect and you can improve it together step by step.

The AI was trained to come across as a real person. It's easy to fall into the trap of not seeing it just as it is: a very complex tool. However if you have enough experience, you feel the difference. Its being overly confident shines true.
by siscia | 2025-12-13 20:49:07+00:00
I will be crucified by this, but I think you are doing it wrong.

I would split it in 2 steps.

First, just move it to svelte, maintain the same functionality and ideally wrap it into some tests. As mentioned you want something that can be used as pass/no-pass filter. As in yes, the code did not change the functionality.

Then, apply another pass from Svelte bad quality to Svelte good quality. Here the trick is that "good quality" is quite different and subjective. I found the models not quite able to grasp what "good quality" means in a codebase.

For the second pass, ideally you would feed an example of good modules in your codebase to follow and a description of what you think it is important.
by epistasis | 2025-12-13 20:49:10+00:00
This is exactly right, IMHO. We were in a course to counter China's momentum, we had handled COVID so much better, our industry had a huuuuuuge investment in it and was poised to take tiff.

And then it was all killed. And we are killing off our other competitive edges over China, the way we attract all the world's best science and tech talent to build here in the US rather than in their own countries. We have sat back scientific research 2-5 years by drastically cutting grants in nonsensical ways and stopping and decimating a class of grad students.

We were the most admired country in the world, and in a short amount of time we have destroyed decades of hard work building a good reputation.

We won't get that back in a year or two, it's going to be decades of work.
by toomuchtodo | 2025-12-13 20:49:37+00:00
I am calling for a temporary moratorium for issuing new worker visas based on the current economic macro and existing immigrant worker base in the US companies can pick from, yes. I support the current $100k H-1B fee, in perpetuity. The domestic workforce exists, it is a choice to not pick from the domestic labor pool. Choices have consequences.
by krapp | 2025-12-13 20:49:51+00:00
>Your duty is to the citizens you represent, not corporations, not foreign workers, and certainly not a small population of the wealthy who receive the gains from increased shareholder value from imported immigrant workers.

We're a capitalist society, "the business of America is business" as Reagan said. The first duty of a capitalist government is to the capitalist class and corporate sector. Preferring less expensive foreign labor with fewer rights over domestic is simply practicing good capitalism. Until Americans are willing to work sweatshop hours for sweatshop wages without even the meager labor rights and social safety net they have, they simply aren't worth the investment.

If you want socialism just say you want socialism.
by Bengalilol | 2025-12-13 20:50:41+00:00
Bonus: here are two videos where he spoke at SIGGRAPH 2004

Part 1 <https://www.youtube.com/watch?v=Y1J9kfDCAmU>

Part 2 <https://www.youtube.com/watch?v=y0IGjoo5gRg>

\m/ happy birthday Mr Van Dyke!

source: <https://www.reddit.com/r/amiga/comments/obe3v6/95_year_old_d...>
by isodev | 2025-12-13 20:50:51+00:00
Claude reads and writes Gleam just fine. I think as long as the language syntax is well documented (with examples) and has meaningful diagnostics, LLMs can be useful. Gleam has both brilliant docs and diagnostics rivalling Rust. Gleam is also very well designed language wise, not many reserved words, very explicit APIs… also something that helps LLMs.

Contrast with the likes of Swift - been around for years but it’s so bloated and obscure that coding agents (not just humans) have problems using it fully.
by RealityVoid | 2025-12-13 20:52:06+00:00
Yes. To clarify, my understanding of _this_ particular incident was wrong because it was based on reading the report of a previous incident.

But for the 2008 incident I read and linked the report, that was what happened. The ADIRU unit did probably get a SEU event and that should have been mitigated by the design of the ELAC unit. The ELAC unit failed to mitigate it so that's the part that they probaby fixed.
by epistasis | 2025-12-13 20:52:20+00:00
Not having to burn gas is cheaper than burning gas. There will be a decade or two of transition with rarely used gas turbines getting their yearly packet in a short amount of time. Eventually other tech will take over, or the gas infrastructure will pare down and be cost optimized for its new role or rare usage.

Europe, and Germany and the UK in particular, are really poorly suited to take advantage of this new cheap technology. If these countries don't figure out alternatives, the countries with better and cheaper energy resources will take over energy intensive industries.

This is not a problem for solar and storage to solve, it's a problem that countries with poor resources need to solve if they want to compete in global industry.
by uberman | 2025-12-13 20:52:44+00:00
When I was young, my future wife and I went on vacation to Tahiti. We took a bus from our hotel to the Capital probably only 3 to 5 miles away bust still a good walk away. I thought it would be easy to get a bus back both because I knew a little French and because I assumed buses could either go clockwise or counterclockwise around the island. Long story short my assumptions were bad and we got lost.

We stopped at a bus stop to regroup and there were two local men, construction workers as I recall, sitting at the stop. They got us back on track but more than that, they cracked open a 6 pack of beer and shared it with us. I dont know what those beers could have cost but it was not cheap. They were regular guys and we were lost rich tourists. In no world I would have imagined would they have shared those beers with us but there they were and they ensured we got to the hotel as well.

I will always remember that kindness.
by rvz | 2025-12-13 20:52:51+00:00
If you really want to hire the "best and brightest" it should be worth paying the 100K fee to bring that 'talent' into the US if that equivalent skill can't be found in the US.

Instead these companies will just layoff Americans and relocate their tech offices in the one country (India) that takes up more than 75% of the H1B pool. (I wonder why?)

Is the 75% of that pool really the most elite "best and brightest" such that it warrants not hiring a US citizen? Or is the true reason that the purchasing power of a US employee is far higher than a H1B from India as long as they're cheap and can be overworked since rebelling means deportation which you can't do to a US citizen?

Those preaching "best and brightest" were also the same ones offshoring their critical technologies and secrets overseas to the low quality engineers just to cuts costs. What it actually does it causes billion dollar problems.
by epolanski | 2025-12-13 20:53:08+00:00
> If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself.

Sure, for 4/5 interactions then will ignore those completely :)

Try for yourself: add to CLAUDE.md an instruction to always refer to you as Mr. bcherny and it will stop very soon. Coincidentally at that point also loses tracks of all the other instructions.
by maccard | 2025-12-13 20:53:21+00:00
I’ve tried this in the past, but it pushes the dependency management pf the layers into whatever is orchestrating the container build, as opposed to multi stage builds which will parallelise!

Not dismissing, but it’s just caveats every which way. I think in an ideal world I just want Bazel or Nixos without the baggage that comes with them - docker comes so close but yet falls so short of the finish line.
by toomuchtodo | 2025-12-13 20:53:58+00:00
> A recent survey by the Cato Institute and YouGov paints a troubling picture: 62 percent of Americans aged 18–29 say they hold a “favorable view” of socialism, and 34 percent say the same of communism.

Big fan of socialism, so I'm in good company at the moment. Are we a capitalist society? TBD based on the death rate (~2M of the 55+ population die every year in the US, ~5k/day; 31% of US wealth is held by those 70+), and if these values mentioned above stick as these folks age. I admit its hard to predict outcomes of electorate turnover over time, but we're directionally headed in the right direction imho.

60% of Americans cannot meet their basic needs on their income, half a million Americans go bankrupt every year from medical debt, and ~750k are homeless as of this comment; I'm of the opinion capitalism has failed and change is required, but I understand other opinions will differ based on some combination of lack of data, lived experience, mental models, etc.

https://www.cato.org/blog/young-americans-socialism-too-much...

https://www.cato.org/blog/81-say-they-cant-afford-pay-higher...

https://www.apolloacademy.com/31-percent-of-wealth-owned-by-...

https://finance.yahoo.com/news/baby-boomers-now-gobbled-near...
by skeledrew | 2025-12-13 20:54:02+00:00
This got me thinking about how my AC is somewhat ticking me off. A couple years ago I bought a smart AC, and when I got around to wanting to use the smart feature (via the app), I learned that I need to create a Tuya account and connect via that. Today I'm still manually pushing the buttons, as I wasn't having any of that, and the community Tuya tools I found out there are dependent on an account.

A couple weeks ago I took a preliminary look jailbreaking it. Main thing holding me back is a fear of bricking it and being left with an expensive, oversized paperweight, as the electricity here tends to chip at random times and could do so just at a critical point of the process. It also bugs me that I can find 0 information about the device; it's like the "Bluesonik" brand doesn't have an internet presence. But perhaps one day I'll just throw caution to the wind and attempt a Tasmota flash (without even knowing if the board is supported) and hope for the best, similar to when I rooted and flashed my first Android phone for the first time 15 years ago.
by AndrewKemendo | 2025-12-13 20:54:32+00:00
Toothbrush UX is the same today as it was when we were hunter gatherers: use an abrasive tool to ablate plaque from the teeth and gums without removing enamel

https://www.youtube.com/watch?v=zMuTG6fOMCg

The variety of form factors offered are the only difference
by kaporalix | 2025-12-13 20:55:56+00:00
i would like to share with you Extensio. An Extension manager that help organize your extension with the following: - Auto enable/disable extensions based on Website visited - Auto enable/disable extensions based on Profiles defined (you can add extensions to a specific profile) - one click enable/disable all extension and much more.

If you are an Extensions super user you will love it.
by DannyBee | 2025-12-13 20:56:01+00:00
The Executive can't actually cut approriated federal funding, since budgets are congress's job.

The executive, in fact, must spend money that congress appropriates. Unless it is illegal/et al to do so, or the funding otherwise allows prseidential discretion, they are required to do so.

Yes, they did some EO's purporting to cut funding. None that related to non-discretionary funding have been upheld, even by "trump" judges, and so far all non-discretionary (IE explicitly directed by congress) funding cut has been restored, AFAIK. All are a wildly clear violation of separation of powers, and so far no judge has disagreed.

(Though don't confuse whether they have to spend the money the way congress directs with whether they can or can't fire federal employees, etc)

There is a path to the president impounding appropriated money through the impoundment control act, but they haven't done it or followed the process so far.
by bgilly | 2025-12-13 20:56:12+00:00
I’ve been fine tuning mine pretty often. Do you have any Claude.md files you can share as good examples? Especially with opus 4.5.

And thank you for your work!! I focus all of my energy on helping families stay safe online, I make educational content and educational products (including software). Claude Code has helped me amplify my efforts and I’m able to help many more families and children as a result. The downstream effects of your work on Claude Code are awesome! I’ve been in IT since 1995 and your tools are the most powerful tools I’ve ever used, by far.