MurphyA/hacker-news huggingface dataset:
by Capricorn2481 | 2025-08-23 03:07:50+00:00
> public static void in a class with factory of AbstractFactoryBuilderInstances

That's not syntax. Factory builders have nothing to do with syntax and everything to do with code style.

The oxymoron is implying syntax refinements would be inspired by Go of all things, a language with famously basic syntax. I'm not saying it's bad to have basic syntax. But obviously modern Java has a much more refined syntax and it's not because it looks closer to Go.
by andsoitis | 2025-08-23 03:08:14+00:00
Sonoma's homeless population might have dropped a whopping 22.6%, compared to, say, Los Angeles at a "mere" 4%. However, Sonoma's population is a mere 11,000 people, while Los Angeles is a tiny bit larger, coming in at 3.89 million for the city, and 9.757 million in the county.

Regardless, nicely done California. I assume my tax dollars are contributing in a positive way to these improved statistics.
by aspenmayer | 2025-08-23 03:09:05+00:00
If they have a privileged position, it is earned and freely given. No one is obligated to use the site. The issue is more one of the commons being enclosed and encircled by corporate interests, and then branded and commodified. Once the deed is done, there is no reason for folks to leave, because everyone they know is there.

Most communities on Reddit that I’d care to be a part of have additional places to gather, but I do take your point that there are few good alternatives to r/jailbreak, for example.

The host always sets its own rules. How else could anything actually get done? The coordination problem is hard enough as it is. It’s a wonder that social media exists at all.

Gatekeepers will always exist adjacent to the point of entry, otherwise every site turns extremist and becomes overrun with scammers and spammers.
by SilverElfin | 2025-08-23 03:09:36+00:00
Yes they are. In fact many states require it for all officials in state or local governments. But unfortunately BOTH parties are against transparency and recordkeeping, since it exposes the ways in which politicians enrich themselves, or how they are controlled by lobbyists or nonprofits, or just lets them get rid of evidence of illegal things.

For example, in Washington state, which is deep blue (the only state to shift left in the 2024 election), the state lawmakers changed the rules so they can delete records after 30 days, effectively preventing any public transparency. In fact, they said anyone who isn’t a “prime sponsor” of a piece of legislation can delete all communications relating to it immediately. They claimed this is to save space (like digital storage space) but clearly that’s not a legitimate reason.

https://youtu.be/Mst1XshEMqM

https://www.seattletimes.com/seattle-news/politics/wa-lawmak...
by wahern | 2025-08-23 03:10:19+00:00
Also, the timing is mighty suspicious, with this NIH decision being published yesterday (21st) and the announcement happening this morning (22nd). I wouldn't be surprised if Intel's lawyers were waiting (perhaps slow-walking the admin) for this particular NIH decision, and when it came down in favor of the government advised the CEO the only way to get the remaining billions disbursed in any reasonable amount of time was to acquiesce to Trump's demand and close the deal.
by apical_dendrite | 2025-08-23 03:10:52+00:00
What Trump is doing is pure extortion. Intel gives up equity, and in exchange, Trump maybe doesn't use the massive power of the state to claw back billions of dollars that were legally awarded to Intel, and Trump stops pressuring Intel to fire their CEO (note how he now calls the CEO "highly respected").

The comparison to the GM bailout makes no sense. GM got something that it needed from the bailout. Here, all Intel is getting is the withdrawal of threats that Trump himself made. It's mob boss style government, and it's happening to many institutions in this country (law firms, universities, corporations, etc). Why you would want to try to normalize it is utterly beyond me. Maybe you just like being the "well actually" guy because you think it makes you sound smarter than everyone else.
by andrekandre | 2025-08-23 03:11:41+00:00
> The amount of time writing that spec can take more time than just doing it by hand.

one thing about doing it by hand is you also notice holes/deficiencies in the spec and can go back and update it, make the product better, but just throwing it to an llm 'til its perfect-to-spec probably means its just going to be average quality at best...

tho tbh most software isn't really 'stunning' imo so maybe thats fine as far as most businesses are concerned... (sad face)
by JumpCrisscross | 2025-08-23 03:12:51+00:00
> as of now, I don't think any judge or court has contested in the interpretation of the language

Who has standing to sue here? The best I could see is a shareholder lawsuit, but that will take years. Meanwhile, this administration is getting slapped down by courts across the country, including a SCOTUS willing to overturn precedent to curry his favour.
by poslathian | 2025-08-23 03:14:04+00:00
It’s super debatable whether or not DARPA has done more for creating enterprise value in the US tech sector than sand hill.

At the least, without darpa the whole Bay Area machine would not exist today, so it’s at least necessary if not sufficient.

Not just darpa but nih, nsf, doe, onr, arl, nasa, and the national labs are definitively necessary causal dependencies on of every company and industry driving US national pride and all of the most valuable companies.

Even if the firm never takes a grant, their talent, supply chain, and component pipelines all depend on these grantor agencies thoughtfully allocating taxpayer capital at the national level.
by forrestthewoods | 2025-08-23 03:14:37+00:00
> So... are you arguing that we do need to ship everything vendored in so that it can't be updated,

I’m arguing that the prevalence of Docker is strong evidence that the “Linux model” has fundamentally failed.

Many people disagree with that claim and think that TheLinuxModel is good actually. However I point that these people almost definitely make extensive use of Docker. And that Docker (or similar) are actually necessary to reliably run programs on Linux because TheLinuxModel is so bad and has failed so badly.

If you believe in TheLinuxModel and also do not use Docker to deploy your software then you are, in the year 2025, a very rare outlier.

Personally, I am very pro ShipYourFuckingDependencies. But I also dont think that deploying a program should be much more complicated than sharing an uncompressed zip file. Docker adds a lot of crusting. Packaging images/zips/deployments should be near instantaneous.
by MatmaRex | 2025-08-23 03:15:00+00:00
I don't think that's true. Some years ago I did a free trial with them (did not pay anything). More recently I decided to actually sign up (for a paid account) and the email address I used for the free trial years ago was not available. I eventually got that username only after contacting support and giving them the date on which I started that free trial, to prove it was me.
by litmus-pit-git | 2025-08-23 03:15:33+00:00
This way - many different providers either lock that username away and throw the key (even you can't get it again; some give you the key instead of throwing away but no space in their home until you pay again) and some just graciously offer a free plan with that address whith little or barely any resources (which is actually great and very generious of them). Which ones? Google around and you shall find.
by Scoundreller | 2025-08-23 03:15:45+00:00
Does Temu? In Canada, I haven't received a thing from them through the post. It's all from small-time gig couriers. If they're not bringing it through the post, then it's getting brokered and applicable duties already paid by Temu.

But yes, the Etsy stuff is often sent piecemeal via Post.
by anon_cow1111 | 2025-08-23 03:17:26+00:00
>the server would have to do occlusion tests for each player pair, but a bounding box and some reasonable spatial partitioning should make that reasonably efficient.

Shadows and reflections are the hard part. Especially when light can be cast by your own/other players' weapon. It gets even more complicated with ray tracing becoming common.
by opello | 2025-08-23 03:19:14+00:00
Interesting. Do you have an example of where copying data like this (something with almost no commercial value, but done without authorization, whose harm is basically the disclosure of the facts of the camera's location/positioning) was charged as theft? Because it seems like in a legal sense, copying isn't theft, but the consequences of the copy becoming generally available (say a commercial interest in the data, in the Stevie Wonder example from the sibling thread) may make the damage of the copy and subsequent release obvious. I'm also curious what has recently been enacted to cover this scenario if you have a ready example?

I believe you and heed your warning. I think it's good to understand these things too though.
by cooljoseph | 2025-08-23 03:19:59+00:00
No, surveys like where researchers show up to hospitals and look at the police reports for the injured cyclists.

Sorry if I wasn't clear in my wording. By "survey" I was trying to point to the specific kind of research methodology where you survey people about what has happened in the past instead of trying to control variables like in a typical experiment.

I wasn't talking about random internet polls or self-reported blame analyses, but actual research papers.
by bdcravens | 2025-08-23 03:21:31+00:00
> Once we can ship Delivery Duty Unpaid or DDU we will expect 4 out 5 customers to send angry emails asking what these "Hidden fees" are as we don't expect anyone to realize they actually need to pay tariffs and then we get stuck on the defensive side educating people what tariffs are and who caused them and who is supposed to pay them, which is not great for business, sanity or time :/

Can you get ahead of this by putting a message on your checkout page when the recipient is in the US? Won't stop all of the complaints of course.
by tzs | 2025-08-23 03:22:04+00:00
Or do it like the EU is doing with the EU Digital Identity Wallet, which has been tested in pilot programs since 2023, and which is expected to start being deployed to the general public next year.

Briefly, your government would give you a signed digital copy of your government ID document. This copy would be cryptographically bound to secure hardware you own, typically your smartphone. I'll assume a smartphone for the rest of this.

When you want to reveal some fact from your ID to a site, such as "my ID says that my birthday is at least 18 years in the past", your device and the site use a zero knowledge proof (ZKP) protocol to prove to the site that this is true for the signed digital ID that is bound to your device. Nothing else from or about your digital ID is conveyed to the site.

Once this is out it should be pretty easy for sites to implement age checks for EU users.

The EU system is all open source and they've got a reference implementation on Github somewhere.

Google has also recently released in open source library at https://github.com/google/longfellow-zk for building such systems.

The main thing to ensure privacy with these kind of systems is making it so that the entity that issues the digital ID to your device is an entity that you don't mind proving your ID to with your physical government ID. Ideal would be for this to be handled by the same government agency that issues the physical ID.

Second best would be entities like banks that you already trust with your ID.
by DavidCanHelp | 2025-08-23 03:22:12+00:00
# Show HN: Conway's Game of Life where every cell is an Erlang actor

I built Conway's Game of Life in Erlang where each cell is an independent actor process. This means a 70x45 grid runs 3,150 concurrent processes, all communicating via message passing to determine their fate each generation.

## Why this is interesting

Most Game of Life implementations use a 2D array with a loop. This one uses the actor model - each cell is literally an independent process that: - Maintains its own alive/dead state - Sends its state to its 8 neighbors each tick - Receives states from neighbors via message passing - Calculates its next state based on Conway's rules - No shared memory, no locks, pure message passing

## The implementation

Each cell is a gen_server that knows its neighbors' PIDs. Every generation: 1. All cells broadcast their state to neighbors 2. Each cell waits to receive all 8 neighbor states 3. Cells calculate their next state (birth/survival/death) 4. Grid coordinator signals all cells to evolve simultaneously

The visualization uses wxWidgets (built into Erlang/OTP) to show cells as cyan squares on a dark grid. Includes classic patterns like glider guns that continuously spawn new gliders.

## Cool observations

- The glider gun creates new "actors" (gliders) that then live independently - Cells that die still exist as processes (just dormant) - they can be reborn - The system gracefully handles thousands of message exchanges per frame - Each cell makes its own decisions - truly decentralized

This really showcases Erlang's strengths: massive concurrency, fault tolerance, and the actor model. It's surprisingly satisfying to watch, knowing each pixel is its own little process doing its thing.

Code: https://github.com/Tortured-Metaphor/Conways-Game-of-Life-in...

To run: `git clone` the repo, then `./life_gui_working.erl` (requires Erlang/OTP)

Would love to hear thoughts on other cellular automata that would benefit from the actor model approach!
by jillesvangurp | 2025-08-23 03:22:14+00:00
Things like XML and XSLT were useful and nice when I used them in 2004. But that's more than 20 years ago now. It's not something I encounter regularly in modern tech stacks. How widely used is this stuff in browsers at this point? I don't think browsers should be burdened with a lot of complex solutions to serve a few minority/niche use cases.

And even then, using this stuff server side was more common than relying on browsers. XHTML was still being actively pushed and Whatwg kind of made that go away in favor of HTML5. Whatwg was a breadth of fresh air in the whole captial S and lower case s semantic web debates between XML purists on one hand and people just trying to create browsers that worked on the other hand. The latter camp won by virtue of eventually producing browsers that implemented Whatwg standards and then world+dog voting with their feet and making use of those browsers and standards. The whole debate just fizzled out after that.

XSL support in browsers is part of some of the reasons WhatWG was created: a lot of poorly thought through and half specified features being proposed by and rushed through the W3C. Which was putting browser makers on the spot having to support all that in a way that worked well across browsers. The job of "lets just sit down and specify this stuff properly" is why Whatwg was created. That's a job that took many years and it created the modern web and finally enabled high levels of interoperability between browsers.

And there are other mechanisms available to developers that are well endorsed by browser makers and standards. Including using whatever libraries you want in WASM form and running them in a sandboxed environment in a browser. Which is also complex of course but at least is being widely used and well specified at this point. I don't see many compelling reasons for this stuff to live outside of that sandbox.
by rchiang | 2025-08-23 03:23:54+00:00
TSMC's estimated costs in 2020, were $12 billion for their first fab. In 2025, their updated estimates were $65 billion for the first three fabs and $165 billion for when they get to six such facilities. So, $8.9B is a lot of money, but isn't anywhere close to getting to the equivalent to what TSMC has in Taiwan.
by acomjean | 2025-08-23 03:24:06+00:00
All I can think here is the government forcing back doors

(like the failed Clipper chip) https://en.m.wikipedia.org/wiki/Clipper_chip

The thinking might be the government needs a local industry for security. Think submarine manufacturing. Not a huge private market for that, but best to keep local so the supply can’t be cut off.

Though usually the government isn’t the best stewards of companies. When I worked for a large government contractor someone joked “yesterday’s technology tomorrow”. Some of that is for reliability, but it wasn’t cutting edge in a lot of ways.
by ranger207 | 2025-08-23 03:24:18+00:00
Making sure you can get enough people together for a game is one thing; making sure you can get enough people together for a game that you know aren't cheating is even harder. Most "friends" these days are online-only acquaintances that you simply can't know well enough to know if they're cheating or not. In the heat of the moment while playing a game it's tough to tell if someone's cheating or just good at the game. The toxicity of people being accused of cheating and defending themselves will quickly split apart any acquaintance group.
by lifthrasiir | 2025-08-23 03:24:34+00:00
The very notion of underage is necessarily arbitrary because there is no direct way to measure one's maturity and thus sensitivity to such materials. As long as the block is not perpetual and lifted after some reasonable cutoff, such blocks are thought to be reasonable in general (yeah some would complain, of course). In comparison the business you have described is the polar opposite, where people are perpetually blocked once they reach a certain age.
by Capricorn2481 | 2025-08-23 03:25:40+00:00
> At scale, nothing is cheap; there is no cheap resource if you are writing software for scale or for customers. Often, single bytes count. RAM usage counts. CPU cycles count. Allocations count

Well if maximalist performance tuning is your stated goal, to the point that single bytes count, I would imagine Go is a pretty terrible choice? There are definitely languages with a more tunable GC and more cache line friendly tools than Go.

But honestly, your comment reads more like gatekeeping, saying someone is inexperienced because they aren't working with software at the same scale as you. You sound equally inexperienced (and uninterested) with their problem domain.
by fpoling | 2025-08-23 03:26:25+00:00
Hardware does not catches up with language requirements. If anything, it is languages/compilers that catch up with hardware, like SSE instructions and loop parallel ism.

For me the mistake that Rust made was that it tried too hard to behave like C/C++ with its single execution stack.

Ada uses two stacks allowing a callee to return a stack-allocated arrays to the caller. Not only it allows to avoid dynamic allocations in many cases where C++ allocates memory, but it also reduces the need for pointers making the code safer even without the borrow checker.

If instead of async Rust spent efforts on implementing something like that or even allow for explicit stack control from safe code so green threads or co-routines could be implemented as a library it could be more compatible with io_uring world.
by litmus-pit-git | 2025-08-23 03:26:32+00:00
My friend uses a pretty hardened (as per him; I didn't indulge him when he wanted to give me the gory details) Graphene setup on his few years old Pixel.

Bank apps - as per him none work. Uber (no Lyft here; other taxi apps) work flawless. Payment apps, he said is a coin toss. On his phone even WhatsApp doesn't work. He anyway prefers Signal (which prob. nobody else uses in his circle except maybe me who has it installed on a secondary phone) or plain SMS. Basically most of the "normal" apps that add integrity checks don't work but he is fine with that.
by fnordpiglet | 2025-08-23 03:27:29+00:00
You’re missing that Trump has declared you pay the tariffs, which while contradictory to reality, must be simultaneously true and not true as he brooks no dissent. Therefore the USPS is frozen and trapped in the conundrum that is US politics.

If it makes you feel any better it’s worse for Americans having to live through this stuff. It’s going to be a long three and a half years.
by smsm42 | 2025-08-23 03:28:05+00:00
Tried Waymo in SF and LA, and the service was great. The only problem I noticed is that sometimes it tells you they'd pick you up in 5 minutes, and then when it's almost over they tell you "sorry, it's actually going to be 20 minutes now". Since it's still new technology, I always gave it enough buffer so it never actually was a problem for me, but they probably could do better than that... Another weird thing was it chooses strangest places to stop. E.g. I asked it to pick me up at the hotel once, and it drove right past the hotel way to the end of the block where by coincidence a couple of homeless people were camping. Not that it led to any problems, just weird, it could have stopped right where hotel had a convenient place for loading/offloading of people. Maybe eventually that gets sorted out.
by throwawaylaptop | 2025-08-23 03:29:09+00:00
I'm from the San Francisco Bay area. I really do have this neighbor. And do I have concern for them? No. I believe that child has already been harmed and is too far gone. I have concern for all the children that can be saved still, and I have concern for all the people that know doing that to children is terrible but can't understand why they're being called bigots.
by bediger4000 | 2025-08-23 03:29:24+00:00
I'm really glad neither Obama nor Biden realized that the US President had this much power. Can you imagine the howls of protest from media opinion writers? Can you imagine how tedious the Congressional hearings would have been? How horrible the court cases, staggering slowly to ultimately having the Supreme Court strike down whatever Obama or Biden ruled on? It would have been gruesome.

Now, the media just reports on it unemotionally, no court cases, no hearings, no bellowing pundits. This is great.
by henearkr | 2025-08-23 03:29:42+00:00
Why is there a city doing this?

Isn't it the job of a public health agency? Like, at a national or even international level?

Or of a scientific body?

What legitimacy has an administrative, and often political, structure, to make a non-binding health recommandation (thus, an advice), with a scope limited to the city, even though the matter has nothing to nor specific to this city?

It looks like a political stunt, not something initiated by health specialists.
by andsoitis | 2025-08-23 03:31:43+00:00
> is about the breakdown of the rule of law, a unitary executive bypassing all other branches of government and demanding a private enterprise give itself over to the government.

What do you think about Senator Bernie Sanders backing Trump plan for government stake in Intel?

https://www.aljazeera.com/economy/2025/8/20/us-senator-berni...
by andrewflnr | 2025-08-23 03:32:02+00:00
> The reality is all our "defense" needs (and arguably most other needs too) are far more than adequately met with processes a decade old now. It's really not the big deal everyone makes it out to be.

Right, this is why I think in-sourcing chip manufacture is totally viable (that is, if we were actually interested in that and not just using it as an excuse for corruption). The interesting exceptions I've heard about are things like, IIRC, high-power local AI for autonomous drones. But for SAMs and such, old tech will probably do it.
by arduanika | 2025-08-23 03:32:55+00:00
Excellent.

This part especially:

"Some developers can fit substantially more in their memory. I have come to believe that hinders them at least as much as it helps them. When you are at your limits, you are forced to simplify the situation in order to resume forward progress. The more regularly you are forced to do that, the better the chance that you are keeping the situation under control."

It reminds me of how Bill Gates said he'd rather hire lazy developers, because "a lazy person will find an easy way to do it." Maybe even better would be to hire lazy developers with poor working memory.