MurphyA/hacker-news huggingface dataset:
by NooneAtAll3 | 2025-04-28 23:11:58+00:00
theoretically there's a design for "indestructible" fortress (rhoburb, you are a genius)

1) fill corner board with pieces 2) cover the border (from inside) with pawns 3) cover the promotion square on the border with the king

king can't exit the board, pawns can't walk backward to leave space, filler doesn't allow these 2 to make way

---

the real holy grail that will never be achieved I fear
by echelon | 2025-04-28 23:12:40+00:00
Perhaps. But a comparable Rust backend stack produces a single binary deployable that can absorb 50,000 QPS with no latency caused by garbage collection. You get all of that for free.

The type system and package manager are a delight, and writing with sum types results in code that is measurably more defect free than languages with nulls.
by kotaKat | 2025-04-28 23:12:43+00:00
The worst part of Widevine DRM in this application is that even the content models themselves are accidentally victims of using the DRM model in the first place.

I've got a few contacts that I explained how Widevine "downgrading" works to and they had a sudden realization as to the source of some of their biggest complaints from some of their users...

... You see, in the Widevine dumping community, the biggest prized jewel is a "keybox" that can decode Widevine's top content - an L1 keybox. As soon as a device is compromised and its keybox is widely distributed for wider Widevine cracking, the keybox is revoked or downgraded to L3 playback at best - 480p.

And the complaint I asked if they'd gotten? Poor viewing quality on all video, especially from Android device users, and especially from "lower end" Android devices. Check, check, and check.

Legitimate customers end up victim to Widevine DRM "silent" failure that they then blame the content creator for, despite the content creator putting out full resolution content for everyone to watch, which leads to the content creator losing a customer that feels they've been gaslit out of possible confusion from the creator not knowing what happened.
by khedoros1 | 2025-04-28 23:13:26+00:00
Depending on my mood, anything from death metal to elevator-music jazz. I usually settle on some kind of house/trance with a pulsing beat, though. That's mostly when I know roughly what I'm writing, and I'm just getting the code in place.

And then, after working like that for a couple hours, my brain flips and I need as close to perfect silence as I can get, so I pause the music.
by s1artibartfast | 2025-04-28 23:14:52+00:00
Because that is not how the US criminal system operates. Being apprehended for a crime does not automatically trigger deportation. It requires Immigration and Customs Enforcement to take an interest and additional action.

Furthermore, there are entire states (like Colorado) which refuse, by law, to cooperate with ICE and hold people for ICE to pick up, even when ICE has decided to step in and deport them.
Ask HN: Is the Surge of AI-Gen Tools by Inexperienced Developers Worrying You?
by vseplet | 2025-04-28 23:15:23+00:00
Are you concerned about the rapidly growing number of services/tools and other software created by inexperienced developers with the help of AI in just a couple of evenings?

I believe that the abundance of such services in the near future could create 'problems' for the functioning of well-built software. In other words, it may become increasingly difficult for developers of quality software to monetize their work. But perhaps I’m wrong.
by mullingitover | 2025-04-28 23:16:18+00:00
The problem is that this should've been a federal project from the start, one of many running concurrently nationwide. Doing it nationwide would give economies of scale that wouldn't be possible with these local half-measures.

California, and every other of the dozen plus states where this rolled out should've barely even had any say in the matter. Maybe deciding what artwork to put up in the stations and what to name them. At the same time, it should've been completely federally funded.
by devenjarvis | 2025-04-28 23:16:39+00:00
Yea that is a hard problem to solve. Right now RunSecret depends on the host system (your laptop, CI runner, or application container) having access to the secret vault(s) of choice that you reference. This can be through ENV VARS, OIDC, or IAM roles (in some cases) but currently there is no HSM support.
by nzoschke | 2025-04-28 23:16:44+00:00
GraalVM is neat.

I used it to make a program that logs all activity happening on the Pioneer CDJs. The best reverse engineering of the Pioneer protocols is a Java project, but I wanted to write the rest of my application in Go.

GraalVM plus a GitHub action spits out native binaries that I can exec and interact with over stdio from Go.

If/when the WASM backend supports UDP networking and threads I'd love to run it as WASM instead of a binary.

- https://github.com/nzoschke/vizlink

- https://github.com/nzoschke/vizlink/blob/main/.github/workfl...
by socalgal2 | 2025-04-28 23:17:31+00:00
> You do realize that part of "not enough" houses is due to corporate entities / investment vehicles / investors owning many properties.

No, I do not realize this. This is only possible because of limited supply. If the supply was not limited by government and nimbys then it would not be profitable for "corporate entities / investment vehicles / investors owning many properties."

It's also irrelevant, no amount of preventing "corporate entities / investment vehicles / investors owning many properties." will do anything to keep prices low as long as demand is high and supply is low.
by SketchySeaBeast | 2025-04-28 23:17:45+00:00
At my spouse's primary clinic the techs did debrief the rads in person, and at other sites they include notes with the images, so they do get supplementary information from the techs. I suppose AI would make the rads superfluous because between the tech and the AI they don't have anything to do, but the majority of the effort will remain, and I still wouldn't trust it giving AI's predilection for just making things up when there's missing information.
Ask HN: How to find problems for B2B customers?
by jprocess | 2025-04-28 23:18:07+00:00
I have build two simple products. One was about video and other was search related idea. Both did not do well. I made mistake of building thinking I have this problem so others might as well. But, that did not turn out to be true despite a little positive response earlier.

I am curious, as a software engineer and introvert tech person, how and where do you find problems for b2b? We are mostly isolated in our worlds. It is hard to get meetings to understand and validate problem. Where do you see people to talk to?

For example, sales enablement can get lift from a lot AI focused work. But, no one responded even to discuss whether this problem exists.

I will appreciate if you got any insights around this.
by gruez | 2025-04-28 23:18:33+00:00
>Use bigint, never UUID. UUIDs are massive (2x a bigint) and now your DBMS has to copy that enormous value to every side of a relation.

"enormous value" = 128 bits (compared to 64 bits)

In the worst case this causes your m2m table to double, but I doubt this has a significant impact on the overall size of the DB.
by throwanem | 2025-04-28 23:18:41+00:00
I wouldn't really want to call myself a "janitor," these days. Not that you asked, but the name connotes badly of late, and it's as I often say about fathers: I think the genuinely good and decent people among the cohort find it very hard to appreciate just how otherwise anything else can become.

Back before I joined the area of the industry containing companies anyone ever heard of, I liked to call myself a "computer plumber," and came eventually to enjoy that very much in all its implications. And hey, if you think about it, plumbers collectively really do save more lives in a year than most doctors I think would be too comfortable thinking too much about.
by eldaisfish | 2025-04-28 23:19:05+00:00
the person you replied to is mostly wrong.

The real reason that small scale solar PV is grid following (i.e. it depends on an external voltage and frequency reference) is that this ensures power line safety during a power outage. That's it.

An inverter can be programmed to start in the absence of an external reference and it can operate at a wide range of frequencies.
by rcxdude | 2025-04-28 23:19:31+00:00
Indeed. Java is sufficiently dynamic/decompilable a game written in it can be heavily modded without adding specific support. C++ is much harder (depending on the game engine), though not impossible. If you do add modding support then everything is much better regardless of language, though (see Factorio, written in C++ and with a huge modding scene, because it was basically written with modding in mind. Lua is certainly helping with that, of course).
by promiseofbeans | 2025-04-28 23:19:56+00:00
One of the smartest devs I know built his game from scratch in C. Pretty complex game too - 3D open-world management game. It's now successful on steam.

Thing is, he didn't make the game in C. He built his game engine in C, and the game itself in Lua. The game engine is specific to this game, but there's a very clear separation where the engine ends and the game starts. This has also enabled amazing modding capabilities, since mods can do everything the game itself can do. Yes they need to use an embedded scripting language, but the whole game is built with that embedded scripting language so it has APIs to do anything you need.

For those who are curious - the game is 'Sapiens' on Steam: https://store.steampowered.com/app/1060230/Sapiens/
by bill3478 | 2025-04-28 23:20:14+00:00
A true black start has several factors (which make it difficult and notable):

1. The grid has to fully collapse with no possibility of being rescued by interconnection

2. As a result, a generation asset has to be started without external power or a grid frequency to synch to

3. An asset capable of this is usually a small one connected to a lower voltage network that has to then backfeed the higher voltage one

4. Due to the difficulty of balancing supply/demand during the process, the frequency can fluctuate violently with a high risk of tripping the system offline again

None of this applies in yesterday's case:

The rest of the European synchronous grid is working just fine.

News reports stated Spain restored power by reconnecting to France and Morocco.

By reestablishing the HV network first, they can directly restart the largest generation asset with normal procedures.

As they bring more and more load or generation online, there's little risk of big frequency fluctuations because the wider grid can absorb that.
by JumpCrisscross | 2025-04-28 23:20:37+00:00
> helps when you can simply take the land you need

When America built, this is exactly what we did. CAHSR should have been exempted from CEQA. Its commission should have been delegated eminent-domain powers vetoable only by the Governor or a majority of the legislature.

But the goal wasn't to build a train. It was to dole out the dough. And the dough be doleth. Just to litigators, union bosses and Central Valley landowners.
by colechristensen | 2025-04-28 23:22:37+00:00
>Why This Movie Perfectly Re-Created a Picasso, Destroyed It, and Mailed the Evidence to Picasso’s Estate

Pablo Picasso died more than fifty years ago at the age on 91. Four of his children are dead and the one remaining alive is 76. It's really stupid that people have to go all of this trouble for work done so long ago. Intellectual property laws should not protect your work for the benefit of your middle-aged grandchildren.

A difficult to notice watermark that prevents it being sold fraudulently as real should be more than enough.
by Aloisius | 2025-04-28 23:23:38+00:00
You're using old housing and household estimates. They get revised after the decennial census to correct for errors.

1998: Total housing unit: 117,282, Total households: 102,528, Ratio: 1.1439

From the last housing inventory for 1965 - 2024: https://www.census.gov/housing/hvs/data/histtab7.xlsx

And household size 1940 - 2024: https://www2.census.gov/programs-surveys/demo/tables/familie...
by lolinder | 2025-04-28 23:23:45+00:00
I'd have said the same thing 10 years ago (or, I would have if I were comparing 10-year-old Java with modern Rust), but Java these days is actually pretty ergonomic. Rust's borrow checker balances out the ML-style niceties to bring it down to about Java's level for me, depending on the application.
by awesome_dude | 2025-04-28 23:24:21+00:00
But but but, muh crypto is the future </sarcasm>

I often wonder if we should leave energy/telecommunications in a state where they can and do fail with some degree of frequency that reminds us to have a back up plan that works.

I had thought that the (relatively) recent lockdowns had taught us how fragile our systems are, and that people need a local cache of shelf stable foods, currency, and community (who else discovered that they had neighbours during that time!)

For something like this, a local electricity generation system (solar panels, wind/water turbines, or even a ICE generator) would go a long way to ensuring people continued to have electricity for important things (freezers)
by forax | 2025-04-28 23:25:27+00:00
I'm building an interactive map based search interface for concerts and events in the bay area: http://fanflame.city/

This is something I've always wanted for myself so I decided to build it. Plenty of event aggregators out there, but not many that let you search and filter by any combination of locations, dates, and genres.

It currently supports automated data feeds from ticketmaster and the Civic Joy Fund; hoping to add Parks & Rec, Library events, and some other ticketing sites in the near future.

It has been a fun way to keep my coding skills sharp (Eng Director by day), I've learned a ton about react, mapbox, django, postgis, and GCP doing it. If you have an event source I should look into or a feature request let me know!
by g_p | 2025-04-28 23:25:33+00:00
You need a SIM card (ideally) with support for elliptic curve crypto, and some additional fields added in the profile (SIM services 124 and 125). You can then, once those services are enabled, place network public keys on the SIM itself.

There are 2 ways to do SUCI calculation - both require SIM support to hold public keys. SUCI-on-SIM requires a SIM that can do the encryption to the public key on the SIM itself, and issue that in response to the IDENTITY command; SUCI-on-phone requires a SIM that "just" has the public key fields present, and the handset can do the SUCI calculation and encrypt the SUPI for the public key stored on the SIM.

Either way, your scenario isn't using SUCI concealment by my understanding, unless you got a new SIM card, or it was reprogrammed somehow to support the SIM service fields needed (but I'm not aware of operators doing that).
Show HN: My 4 year old made a game
by pinchydev | 2025-04-28 23:26:11+00:00
Bored playing the nth round of Uno, I thought it would be fun to write a game with my 4 year old daughter.

Using Claude Sonnet 3.7 as our "developer" and me acting as the "Product Manager" aka LLM translator, I tried to capture her instructions as verbatim as I could, only adding context to make the prompts work.

The result is a simple browser game which you can play. I added a writeup of all the prompts along the way so you can see how this was put together.

It was only after I realised where she drew her inspiration from.

If you have kids, it's definitely a fun exercise. My wife and I were blown away with how quickly we got something working, my daughter grew tired of it after about a minute.... I fear that this generation will never really appreciate how much effort this used to take.

(No analytics, no signup, etc)
by echelon | 2025-04-28 23:26:45+00:00
Alibaba, I have a huge favor to ask if you're listening. You guys very obviously care about the community.

We need an answer to gpt-image-1. Can you please pair Qwen with Wan? That would literally change the art world forever.

gpt-image-1 is an almost wholesale replacement of ComfyUI and SD/Flux ControlNets. I can't underscore how big of a deal it is. As such, OpenAI has leapt ahead and threatens to start capturing more of the market for AI images and video. The expense of designing and training a multimodal model presents challenges to the open source community, and it's unlikely that Black Forest Labs or an open effort can do it. It's really a place where only Alibaba can shine.

If we get an open weights multimodal image gen model that we can fine tune, then it's game over - open models will be 100% the future. If not, then the giants are going to start controlling media creation. It'll be the domain of OpenAI and Google alone. Firing a salvo here will keep media creation highly competitive.

So please, pretty please work on an LLM/Diffusion multimodal image gen model. It would change the world instantly.

And keep up the great work with Wan Video! It's easily going to surpass Kling and Veo. The controllability is already well worth the tradeoffs.
by _bin_ | 2025-04-28 23:27:10+00:00
I don't know if it's a skill issue but there seems to be a ceiling to the problem complexity it can handle. It's alright for web but I haven't gotten great results from anything more. It also falls over when you need it done your way, not the model's preferred way (aka whatever is most likely). When you need a UI library besides shadcn. When you're using Svelte over React. Etc.

It would be really constructive if people with other experiences could share their chats so we could see what they're doing differently.
by pcwalton | 2025-04-28 23:27:17+00:00
But Unity game objects are the same way: you allocate them when they spawn into the scene, and you deallocate them when they despawn. Accessing them after you destroyed them throws an exception. This is exactly the same as entity IDs! The GC doesn't buy you much, other than memory safety, which you can get in other ways (e.g. generational indices, like Bevy does).
by ggm | 2025-04-28 23:27:44+00:00
I think enapsulating the problem as perception of Anton vs Clippy is interesting but I don't personally think this is what impedes AGI. The reason (obviously I am an Anton in this) AGI isn't emerging is not because of Antons, or Clippies, it's because the underlying theoretical model of why intelligence exists, emergent or not, isn't sound.

It won't be "because of LLM" in a direct sense. It won't be "made of bigger LLMs" as I see it.

I think we're now subject to Rei-ification. We're in the time of belief, not of evidence.

Anton works for me. I continue to say please when I construct prompts because I want my questions to work if a mechanical turk was replacing the LLM agent.
by cube2222 | 2025-04-28 23:27:46+00:00
Yeah. I love the Zed AI assistant for the way it manages context (inline edits in the context of the chat) and how "raw" it is. However, I mostly use Goland for coding, so was getting annoyed at having to switch constantly.

So, in a couple of evenings (with already having a working PoC evening one) I managed to basically replicate a Zed AI-like integration as a Goland plugin (much less polished and feature-rich, but covering exactly what I need).

I've never written kotlin nor a jetbrains plugin before, and since what I wanted is quite complex, it would've easily taken me 1-4 weeks full-time work otherwise - which is to say I would've never done it. It required a ton of grepping around the intellij-community repo too, to see what is available, and what existing patterns are (all done by the AI of course).

In this case I vibe coded it (I deem it fine for side-projects, not for production work of course) with Claude Code and it cost me ~$100 all in all, while I was mostly chilling / gaming. Later stages definitely required me to read the code and understand it, since as you say, vibe coding falls apart at a certain point pretty drastically. But having a working skeleton (and code I can modify instead of authoring from scratch) I could easily polish it to sufficient stability.

All in all, a pretty magical experience, and I now use my new plugin all day. Not only amazing bang for buck, but just enabling me to do side projects that I otherwise just wouldn't have the time nor want to put in the effort to do.
by eieio | 2025-04-28 23:28:49+00:00
Yes exactly!

My goal with the board architecture was "just be fast enough that I'm limited by serialization and syscalls for sending back to clients" and go made that really easy to do; I spend a few hundred nanos holding the write lock and ~15k nanos holding the read lock (but obviously I can do that from many readers at once) and that was enough for me.

I definitely have some qualms with it, but after this experience it's hard to imagine using something else for a backend with this shape.
by pcwalton | 2025-04-28 23:29:42+00:00
> More than anything else, this sounds like a good lesson in why commercial game engines have taken over most of game dev. There are so many things you have to do to make a game, but they're mostly quite common and have lots of off-the-shelf solutions.

> That is, any sufficiently mature indie game project will end up implementing an informally specified, ad hoc, bug-ridden implementation of Unity (... or just use the informally specified, ad hoc and bug-ridden game engine called "Unity")

But using Bevy isn't writing your own game engine. Bevy is 400k lines of code that does quite a lot. Using Bevy right now is more like taking a game engine and filling in some missing bits. While this is significantly more effort than using Unity, it's an order of magnitude less work than writing your own game engine from scratch.
by boznz | 2025-04-28 23:29:46+00:00
New Glen is their orbital rocket but it is not ready yet. Hopefully it will be ready for some of the launches, but it must hurt owning a rocket company and having to use another companies to launch your satellites.

From the project web page

"Project Kuiper has secured 80 launches from Arianespace, Blue Origin, SpaceX, and United Launch Alliance, and we have options for additional launches with Blue Origin, providing enough capacity to deploy the majority of our satellite constellation. The agreements comprise the largest commercial procurement of launch capacity in history, and support thousands of suppliers and highly skilled jobs across the U.S. and Europe."
by eminence32 | 2025-04-28 23:30:31+00:00
> /ˈkaɪpər/

Wikipedia has long included IPA pronunciation info for pages about people and other things, which is hyperlinked to a handy guide. But I recently discovered something useful and not entirely obvious:

If you over your mouse over each letter in the IPA pronunciation, you'll get a tooltip describing the sound of that specific letter.
by mschuster91 | 2025-04-28 23:30:36+00:00
> Are they so mechanically fragile that is already damaging to them, or is it a precautionary measure because that kind of instability is likely to precede sudden frequency or phase jumps that are damaging?

Both actually. A frequency mismatch between what the grid has and what the turbine is supplying causes significant thermal losses, so you got to trip the generator anyway rather sooner than later, but a significant frequency deviation is always a warning sign that something is Massively Broken and requires immediate attention to find the cause - too low a frequency means you need to shed load immediately, too high means you need to shed generator capacity immediately.
by lupusreal | 2025-04-28 23:30:59+00:00
Tired of these ignorant gripes from people who think they know better than the entire space industry because they ingested some popsci trash on reddit or youtube. If you actually knew anything you would know that LEO constellations are far less risky than the old school method of putting communication satellites in high orbits like GEO (where any accident means orbital debris which will effectively never decay.)