MurphyA/hacker-news huggingface dataset:
by sspross | 2025-12-29 13:09:31+00:00
I vibe coded an app and I'm kind of embarrassed how happy I am with the result and how much fun it was!

I'm a senior dev with 20+ years of experience. In my day job, I started to use Claude Code to carefully craft pull requests. Which works quite well in projects where I can point Claude to existing code like "do it similar to this feature" etc.

But this was different. It started when I needed to combine audio tracks from two versions of the same movie. I was putting together ffmpeg commands, manually figuring out sync offsets, and thought hm, let's vibe code a UI for that.

Three days later I have a full Electron app. Yes, Electron. I know. My RAM knows too. But I don't care! It was just soo much fun just thinking about the next little feature I need and want to do and how fast I could iterate. The feedback loop was addictive.

And it works, it solves my problem, and I actually finished a side project for once. Any one else having this experience?
by jeroenhd | 2025-12-29 13:09:55+00:00
> Dutch law requires at least 90% of the trains to be on time (less than 5 minutes delay

Yes, however, any train delayed more than 30 minutes gets canceled entirely and doesn't get counted in the statistics. The train this article is talking about would not be registered late under Dutch terms (though it probably wouldn't have traveled comically far without stopping).

Not saying Dutch trains are as bad as German trains, but applying the same laws won't fix DB's problems.
by merpkz | 2025-12-29 13:10:03+00:00
You don't need a sidecar to stream logs of squid, that's anti-pattern, instead just tell squid to write logs to /dev/stdout, like this:

logfile_rotate 0
cache_log stdio:/dev/stdout
access_log stdio:/dev/stdout
cache_store_log stdio:/dev/stdout

Running squid in container is a bit tricky, since it is indeed an ancient piece of software, but I have managed to run it successfully before with squid configuration like this:

max_filedescriptors 1048576
pid_filename /dev/shm/squid.pid
cache_effective_user squid
cache_effective_group squid

and deployment has these set, - UID 31 is squid user inside of container

securityContext:
runAsUser: 31
runAsGroup: 31
fsGroup: 31
command: ["sh","-c","squid -z && sleep 3s; squid -N"]
by pjerem | 2025-12-29 13:10:08+00:00
Idk how it is in Germany but my wife is currently trying to became a train driver in France and there are far more requirements that what you would imagine.

Even if the job is actually opened to basically everyone (and that’s pretty nice), you have to be in perfect physical and psychological shape with pretty strict tests, you have to be intellectually apt enough to follow the training which is pretty intense. You have to accept work conditions such as not knowing your work hours until the day before. You have to accept sleeping who knows where at least 2 times a week. You have to accept having only one weekend off per month.

So what happens is that when you have that much filters and you still want to hire train drivers, you can’t afford to expect your drivers to know another language on top of all of the rest.
by eemil | 2025-12-29 13:10:16+00:00
What a brilliant, simple solution. This way each segment in the LED strip has an equally long current path, and should have identical voltage/brightness.

---

That being said, 20-50m is a really long run even with 24V LEDs. Even using this trick, you'll run into significant voltage drop and heat in the LED strip's copper traces since they're only so thick. There's a reason why manufacturers specify a maximum length. I would check the datasheet and split the strip into multiple segments depending on this value. Maybe there are some LED strips designed for this use-case, with an even higher voltage and/or thicker traces.
by sauercrowd | 2025-12-29 13:10:42+00:00
Strong disagree. For most parts travelling is a non-event these days.

A train that splits, on the way to the airport where there will be a lot of non-german speaking people, and for some reason only shows it on the platform is insane.

Having a train that splits on that route is already bad enough, but you HAVE to emphasize it on the train.

I know that I need to pay attention to this, because I've grown up with DB pulling all sorts of fucked up shit, but we should not accept that this is reasonable.
by tsimionescu | 2025-12-29 13:10:48+00:00
> I mean if you feel kidnapped because your train connection didn't work out

It's not "your train connection didn't work out", it's "you were planning to go somewhere, and the train took you somewhere else entirely, much farther away than when you started, and gave you no way out of this, and not even an apology or explanation". This is absolutely comparable to a form of kidnapping.
by xtiansimon | 2025-12-29 13:11:14+00:00
> “Democratic governments should not provide health care.”

I don’t know about this, but I’m positive employers should not provide health insurance.

Companies don’t have the right incentives to be controlling your healthcare plan, when you leave the company you don’t have a plan (unless you can afford COBRA), you might not even be eligible for health insurance from your company because of company-policy to not cover non-manager level or part-time——are they too not deserving of healthcare insurance? Employers coverage is good for some because incentives align, but it should not be the standard.
by crimsonnoodle58 | 2025-12-29 13:11:39+00:00
We use squid for egress control on Kubernetes and have also written a controller that runs in a sidecar container next to squid that monitors for custom CRD's, such as a whitelists.

The controller then updates squid.conf and reloads squid. This allows pods/namespaces to define their own whitelists.

The great thing about using squid and disabling DNS is you can stop DNS and HTTP exfil, but still allow certain websites to be accessible.
by abigail95 | 2025-12-29 13:11:41+00:00
Why is my time less valuable than an ambulance or doctor? You have to make a lot of assumptions and normative judgements for that to be true, which I reject.

Morally DB (through the driver) is the one lying and saying things like "cannot stop". They don't want to stop - that's different. They've already broken the social contract, I'm free to do the same.
by hshdhdhj4444 | 2025-12-29 13:12:23+00:00
The DB service described is terrible, but the author’s language is really hard to get around.

The constant comparison to cows, for example, suggesting it’s ok and normal to mistreat non humans, instead of making the far more obvious connection that if a human who is understanding exactly what is happening goes through so much suffering with a slight change of schedule, the fear and suffering cows and other animals who are constantly being transported in far worse conditions with no idea what is happening may be going through.

The comparison to kidnapping is also really bad. I’ve taken a plane that had been diverted to the wrong, unfriendly, country and then been unable to leave a tiny terminal, with no to limited access to food, water and restroom facilities for hours, and the idea that we were being kidnapped never crossed my mind, although actual kidnapping by the state we were in was a remote but real possibility.
by zingar | 2025-12-29 13:12:51+00:00
> Making high-level architectural decisions
> Understanding unfamiliar codebases quickly
> Debugging systems you didn’t write
> Reasoning about scale and failure modes
> Keeping systems secure

> When you look at that list, it reads a lot like a Staff+ job description

I did most of my career in a backwater without big tech and I only heard of the “staff+” label a few years ago. I assumed it meant something fancy until I heard descriptions of what these people do; like this one, which to me just sounds like “competent experienced programmer”. 5 years ago in my backwater it was pretty normal to meet very good “senior developers” with 20 years of experience who could do all this and more, because “senior” wasn’t a phase, it was the IC career destination.

What happened?
by gus_massa | 2025-12-29 13:13:06+00:00
You may be interested in "Adding a feature because ChatGPT incorrectly thinks it exists" https://www.holovaty.com/writing/chatgpt-fake-feature/ (HN discussion https://news.ycombinator.com/item?id=44491071 (1299 points | 5 months ago | 435 comments))
by MrSkelter | 2025-12-29 13:13:17+00:00
As someone who knows how to code and who employs a number of coders I am not sure choosing to do it yourself means the underlying code is unworkable.

In two decades I have never met an engineer who joined a project and didn’t at some point suggest starting over.

The world runs on buggy, hack filled, good enough code. The idea LLMs are failing when that’s what they produce is wrong in my opinion.
by hdgvhicv | 2025-12-29 13:13:56+00:00
A typical season ticket into London is under 20p a mile. Outside of London it’s far more expensive (35p a mile is common), because the railway has not had the investment London has over decades. Platform lengthening (of possible) is not cheap, requires buying new land in crowded towns and cities. Modern train stock isn’t cheap either

25km each way is 680 miles a month.
by ben_w | 2025-12-29 13:13:58+00:00
> Slack/Teams handles company-wide video calls and can render anything a web browser can, and they run an entire App Store of apps, all from a cross-platform application.

The 4th Gen iPod touch had 256 meg of RAM and also did those things, with video calling via FaceTime (and probably others, but I don't care). Well, except "cross platform", what with it being the platform.
by microtonal | 2025-12-29 13:14:01+00:00
Even when the Dutch offered to pay to have a broken bridge upgraded, the Germans turned down the offer, leaving plans for their old, outdated single track bridge in place.

Or how a bridge Friesenbrücke was hit by a ship in 2015 and the replacement is still under construction (supposed to be finished in 2026 now). As a result no train could drive between Groningen and Leer.

To make the whole thing more sad, the replacement bridge has to be open 40 minutes every hour because a shipbuilder has convinced the Wasserstraßen- und Schifffahrtsamt to do so, severely constraining train traffic. No one on the other side of the border understands why they haven't built a bridge that would allow ships to pass through without opening the bridge.

This kind of nonsense is very typical of German bureaucracy (I have lived there). Nobody has ambitions and nobody wants to stick their neck out.
by nis0s | 2025-12-29 13:14:22+00:00
People who say they’re voting “with their gut” lie about that, they’re voting to ensure specific outcomes for themselves or their community, but have no desire to explain any of that. Having six+ year olds vote would just include a population that votes with their gut, but doesn’t have any justification beyond peer or social pressure. While some adults vote based on peer or social pressure, the majority do not. The targeted political messaging at a young age will also create an even more polarized society, maybe with more propensity towards extremism because the longer you’re recruited to a cause the more likely you are to do something violent for it.
by teroshan | 2025-12-29 13:14:36+00:00
As a QWERTY-using French speaker I consider the qwerty-fr [1] layout an absolute blessing. It's even superior to AZERTY itself to type French with.

It's similar to the international layout, but focuses on the French subset of use-cases.

Try out the online preview.

[1] https://github.com/qwerty-fr/qwerty-fr
by mystraline | 2025-12-29 13:14:42+00:00
> All autistic participants in the study had average or above average cognitive abilities. McPartland and collaborators are also working together on developing other approaches to PET scans that will enable them to include individuals with intellectual disabilities in future studies.

Simply put they didn't even touch the keeners, nonverbalists, the piss-in-your-pants, or the perpetual 1 year old autistics. They went after people who previously would be called "Aspergers syndrome".

But everything cognitive seems to be called 'autism spectrum disorder' these days.
by forgingahead | 2025-12-29 13:14:56+00:00
My sense is that this has happened over the last 20-30 years as overall competence has just dropped in many of these key positions. COVID was a good example of this - lots of humming and hawing about why decisions were being made, and garbled messaging about the reasons. Basically they get angry and defensive about blaming the "peanut gallery" or "armchair experts" while not being specific, because they themselves don't know why or how something is being done, and therefore being unable to defend their own positions from solid ground.
by manarth | 2025-12-29 13:15:45+00:00
The key explanation for failing to stop at the station is that the train was on the wrong track.

> "Apparently we were not registered at Troisdorf station, so we are on the wrong tracks"

Many stations have a 4 track system: a left track and right track which are adjacent to platforms, and 2 tracks in the middle, which are designed for non-stopping trains.

If the train was on the middle track, stopping would introduce risk and disruption by slowing/stopping the other trains travelling on the high-speed non-stopping line, and also endanger passengers who would have to dismount at height from the train onto an active track, cross the active track, and climb up to the platform.

Once the train was routed onto the incorrect track, correcting it was likely to be impractical (infrequent track transfer points) and stopping on the high-speed track would would be excessively disruptive and dangerous.
by tim333 | 2025-12-29 13:16:03+00:00
>...World War Three ... more likely to be a collection of diplomatic and military manoeuvres, which will see autocracy flourish

I think we may be getting wise to that though. I'm sure Trump would be like to be ruler for life but the US voters seem to be getting fed up. Also probably Putin would like the Russian world to extend to Berlin but the costs of the war, sanctions and recently Ukraine hitting his shadow fleet are causing Russia to run out of money.

Russia seems to have a bit of a habit of overdoing the wars and collapsing. After WW1 and defeat by Japan the Tzars got overthrown, After Afghanistan the USSR collapsed. Maybe this time the Putin government will collapse and we'll get something more democratic? They only got saved in WW2 because after starting as allies of Hitler, he turned on them so they ended up on the winning side against by accident.
by cedilla | 2025-12-29 13:16:18+00:00
Deutsche Bahn ist anything but wasteful, it's underfunded to the tune of tens of billions per year. Cleaning out trees more up to ten meters away from railways was seen as to expensive, now 6m tall trees fall in them all the time during storms. Having two railways next to each other was seen as unnecessary, now we have no backups when one fails.

Swiss railway is seen as the ideal DB should strive for, but fact is that Switzerland invests more than double per capita into its rail infrastructure. German stinginess now compounded over decades, and that's not the fault of management.
Show HN: I built a runtime governance layer for LLMs. Can you break it?
by jnamaya | 2025-12-29 13:16:33+00:00
I’ve spent the last year building SAFi, an open-source cognitive architecture that wraps around AI models (GPT, Claude, etc.) to enforce alignment with human values.

Safi is a "System 2" architecture inspired by classical philosophy. It separates the generation from the decision:

The Intellect: proposes a draft.

The Will: decides to block or approve the drafts.

The Conscience: audits the drafts based on set core values

The Spirit: An EMA (Exponential Moving Average) vector that tracks "Ethical Drift" over time and injects course-correction into the context window.

The Challenge: I want to see if this architecture actually holds up. I’ve set up a demo with a few agents. I want you to try to jailbreak them.

Repo: https://github.com/jnamaya/SAFi
Demo: https://safi.selfalignmentframework.com/
Homepage: https://selfalignmentframework.com/

Safi is licensed under GPLv3.
by dominicq | 2025-12-29 13:16:44+00:00
I find the downvotes to your comment absurd. The downvoters seem to me what Kaczynski called "oversocialized". They accept being taken against your will because the system says that's how it's supposed to work. And then rationalize their conformity with apparent consequences (medical emergency services not providing care elsewhere, you being penalized for a fake call, and so on).

It shows a concerning lack of agency and a concerning amount of conformity.
by bostik | 2025-12-29 13:17:30+00:00
Humans are unavoidable optimists and (sadly) the only sustainable approach is to assume the worst of everyone.

Then when they eventually outdo even your worst expectations, you will be less disappointed by the gap between your original impression and the fresh dose of reality. I've adopted a motto that I could finally put words on about a decade ago. "You are not cynical enough."

And no, not even after accounting for the above.
by kstonekuan | 2025-12-29 13:17:52+00:00
I built a web viewer for visualizing Gaussian Splat .ply files generated by Apple's ml-sharp, which converts a single photo into a 3D Gaussian Splat in under a second [1].

Features:
- Upload and view .ply file directly in the browser
- Multiple camera trajectory animations (rotate, swipe, shake, forward)
- Interactive orbit controls (drag to orbit, scroll to zoom, right-drag to pan)
- No installation required – runs entirely client-side

The original ml-sharp can render the same video trajectories but requires a CUDA GPU. This viewer lets you explore the 3D output on any device with a browser.

I also added cloud GPU inference via Modal so you can generate splats without a local GPU (free tier available) [2].

[1] https://github.com/apple/ml-sharp

[2] https://modal.com/
by a2fz | 2025-12-29 13:17:58+00:00
Customer service on British trains is excellent. It only takes a few minutes to claim Delay Repay if you're delayed more than 15 minutes, and you can even set it up to do it automatically for you. If your last train back home for the night is cancelled at 1am, you can message the company on social media and they'll pay £100+ to sort you out with a taxi for a distance like London to Cambridge.

I consistently find railway workers to be some of the most helpful and approachable people I have to interact with, which is remarkable given the sort of people they have to put up with. I think the sort of person you'll be speaking to certainly depends on the part of the country you're in though - in Scotland and Wales, I've seen people who've been let off for having a ticket that expired several days prior, and staff are happy to have a friendly chat if the train isn't too busy.
by nephihaha | 2025-12-29 13:18:09+00:00
It is up to those people to acquire German or French or whatever. I lived in Germany for a short while. I agree with "In Deutschland muss man Deutsch sprechen" and made an effort to do so, even though my German was far from perfect. Nothing racist about that at all. When I visited Japan decades ago, I made an effort to pick up enough Japanese to be able to function.

If you go to a country which does not speak your language and you expect everyone to know yours, then that is a colonial mentality.
by ben_w | 2025-12-29 13:18:12+00:00
> If a bridge engineer claims he now needs 30× as much concrete to build the same bridge as he did 20 years ago, and the reason is his/her own conveinence, that would not fly.

By itself, I would agree.

However, in this metaphor, concrete got 15x cheaper in the same timeframe. Not enough to fully compensate for the difference, but enough that a whole generation are now used to much larger edifices.
by hnlmorg | 2025-12-29 13:18:32+00:00
But your local economy is dependent on the county economy that’s dependent on the country’s economy.

Yeah local wealth will vary from region to region, but it’s ridiculous to say that local economies operate entirely independently from the national economy.

Especially when you consider that poorer districts depend on government grants while wealthier districts depend on local tax and other spending from residents, who are usually working high payed jobs of which are dependent on the prosperity oh global economy.

it’s all connected.

> People lived for centuries without global stuff.

People also lived for centuries without antibiotics but that doesn’t mean that present civilisation doesn’t depend on it.

We aren’t still living in Saxon Britain. Unless you’re Amish, people have become accustomed to a standard of living that cannot be facilitated when one is entirely separated from global economics and politics.
by aebtebeten | 2025-12-29 13:18:41+00:00
This is an excellent game. Anything better in hanzi than 仁? (if that character be "2" with a "person" radical, it would even wear its symbolism up front)

[oh, wait, according to LC the W and L are supposed to be different legs of an antisymmetric vertical, not a symmetric horizontal, relationship. So that's probably not appropriate at all?]
by BloondAndDoom | 2025-12-29 13:18:44+00:00
I feel like we lost humanity somewhere in modern world. I grew up in 3rd world country and if this were to happen, train would literally stop somewhere, anywhere. (With the assumption it’s safe from crewing into another train).

But the idea that you go 55 minutes just because of policy; and skip 15 stations is crazy to me. Again with the assumptions that it can safely stop somewhere for 5m and I’m pretty sure the answer is yes.

I have fond memories of train stopping close to my house for various random reasons and I’d just get out so I don’t have to walk back from the station. The modern world where everything is “safety issue” and “someone else’s problem” is where we lost our ways, and it’s never coming back.
by 4bpp | 2025-12-29 13:18:56+00:00
> freeze peach

Do you not think that trying to malign your opposition by putting a comical misspelling in their mouths is a bit infantile as a rhetorical tactic? The same thing being done to you would look something like an insinuation that what is being banned is "hurting someone's widdle fee-fees"; surely the discussion here would not benefit if everyone stooped down to that level.
by ericmay | 2025-12-29 13:18:57+00:00
> Meanwhile DF27 can hit west coast, in a few years they'll have DF27+ that reach most of CONUS.

> Meanwhile PRC has global strike eggs is mostly in mainland based ICBMs that skips entire delivery vehicle middle man and can potentially hit CONUS and everything in between with high survivability.

You are just describing nuclear war here, which seems unrealistic to me. China knows they’ll lose ocean access and trade will be stoped, which means no oil, hence why they’ve gone all-in in EVs and “green” technology. Piping in oil from Russia or whatever is a fantasy - pipelines will just get blown up.

Chinese missiles flying all over the world to sink blue water naval ships also seems unrealistic to me. They have to find the ships, for starters. This is a feat much more sensible in and around the Taiwan Straight or the South China Sea. But in your excitement you are forgetting that while certainly China can rain down missiles on enemy forces in the region, those same enemies can strike back too. Or are these hypersonic missiles so scary and advanced and all allied forces will just have to sit quietly while their military and industrial equipment is bombed? If that’s the case, what’s China waiting for?

>
Look at DoDs China report last few years, specifically PRC fielded conventional strike.

Could you link to a specific paper or report that you are referring to? I read these from time to time.