MurphyA/hacker-news huggingface dataset:
by makeitdouble | 2025-05-17 07:59:10+00:00
Another angle: mass transit is seen at best as a cost center in the west, when it's more expected to be a fully profitable business in Japan [0]

Paris adopted an IC system as well and it is pretty usable, but not pushed to the extremes of the JR system because they weren't ready to invest as much, manage the money aspect and really make it a full blown business.

[0] some lines and areas are definitely money pits. That's where some companies bail out of the IC system altogether for instance, or go with a different, incompatible but cheaper implementation.
by eloisius | 2025-05-17 07:59:58+00:00
I think they are even more useful in Taiwan. Every single transit system across the entire island that I’ve ever encountered accepts EasyCard (悠遊卡). Even ferries. So does every convenience store, and even a lot of proper restaurants and stores. They are also fast, like you don’t even have to break your strike while passing the turnstiles to enter the metro.
by fhd2 | 2025-05-17 08:00:08+00:00
I found that the other day and finally got what MCP is. Kinda just a convenience layer for hooking up an API via good "old" tool use.

Unless I'm missing something major, it's just marginally more convenient than just hooking up tool calls for, say, OpenAPI. The power is probably in the hype around it more than it's on technical merits.
by aecsocket | 2025-05-17 08:00:14+00:00
It depends. Usually you'd be right, but for some big events, the stations and platforms can be incredibly packed. In those cases the extra delay from gates could really hurt. One example is Comiket, where you have thousands of attendees all coming to the same few stations around the venue. Both times I was there, there was a massive crowd spanning from the platform to the outside. Having to wait the extra few hundred milliseconds on each card tap would have been painful.

Here's an example video to show the gates in action: https://www.youtube.com/watch?v=YffjxN3KsD4
by rastignack | 2025-05-17 08:00:31+00:00
In rust with some C code, ok. How is the DER format parsed for example ?

Regarding crypto operations, I know as of now for rust projects assembly is a must to have constant time guarantees.

Maybe there could be a way with intrinsics and a constant-time marker, similar to unsafe, to use pure rust.

In the meantime I think there still is too much C code.

It’s a great step in the good direction by the way.
by NobodytheHobbit | 2025-05-17 08:01:29+00:00
There is going to be anxiety over losing any toolset. It just sucks that this time it's the human experience.

Sincerely though you have to do it for you. The product will be whatever the widget is but you can't treat your experience that coldly. None of us can. That's why everyone is so bonkers right now.

Our memes in a memetic sense are being frustrated and we in turn are being frustrated. I mean that mechanically we are frustrated but if you feel a certain way about that it's probably because this is going to also feel frustrating when the subject being frustrated is our creative aspirations. I don't know about you but that's kind of why I get out of bed to do this thing called life.

There is also a certain level of dread that an agent can be spun up to replace anyone. Makes you wonder what need feckless people might need for all this meat when a physical labor force can be replaced by robots and a mental one with AI and you can combine those forces seamlessly. Existential dread everyday on this scale is a chaos to say the least.

I know this is very dour but that's because this is very dour.
by chneu | 2025-05-17 08:03:28+00:00
I'm also running dozens of things alongside HA and I don't have to use proxmox.

It's not hard to run HA in unsupported mode. The only real difference is an annoying reminder that you're unsupported. Everything else works, including plugins/add-ons.

I've run HA a bunch of ways. It doesn't really matter all that much. Use HACS to fill any gaps.
Show HN: Chained VPN routing lab with Linux netns, veth, and iptables
by darksunstealth | 2025-05-17 08:04:21+00:00
I built a chained VPN lab to support multi-user traffic isolation using only raw Linux tools.

Each user gets:

- A WireGuard tunnel - A dedicated namespace (wg-$user) bridged via veth - NAT and routing table override - A second namespace (ovpn-$user) running OpenVPN - Final egress through tun1

The entire setup is controlled with bash scripts and PostgreSQL — no Docker, no containers, no Python, just raw netns, iptables, ip rule and shell.

Built for GDPR-compliant VPN infra with real isolation per collaborator.

Code and README: https://github.com/darksunstealth/multi-vps-routing

Would love feedback — this was one of the most complex and satisfying systems I’ve built in pure Linux.
by margalabargala | 2025-05-17 08:04:32+00:00
I think you misread. There's no "confusion of wishes with reality", we were explicitly discussing the not-reality that is wealthier people paying more and receiving less, and whether that is fair or just.

My analogy to insurance was more about whether you pay into "your" account with your name on it or if you pay into a big fund directly pays out to recipients, and nothing is held aside for you.
by mikhmha | 2025-05-17 08:04:56+00:00
Right? I've never associated "double-spacer" with boomer. Maybe anally retentive? Someone who is trying too hard? The only thing I associate with boomers is ALL-CAPS writing. Which I assume is a holdover from typewriter days. But I kind of like ALL CAPS. It conveys some level of importance to the message.
by ben_w | 2025-05-17 08:05:04+00:00
Netanyahu's government's goal sure looks like that; but also Netanyahu is part of a coallition now being propped up by the extremists who want their own to be exempt from the draft that applies to most Israelis: https://en.wikipedia.org/wiki/Exemption_from_military_servic...

and is himself facing criminal charges in Israel: https://en.wikipedia.org/wiki/Trial_of_Benjamin_Netanyahu

(Caveat: this is almost literally everything I know about Israeli internal politics, so assume a lot of missed context).
by lhl | 2025-05-17 08:08:22+00:00
I think it's about equal for utility - Japanese Suica/Pasmo cards are also usable in every single konbini, at all the stations stores, across most regional transportation and taxis, and at maybe half of Tokyo shops/restaurants (it's a default option in AirPay and other PoS systems). A lot of vending machines accept Suica, and I use it at grocery or drug stores. You can even use it at some other types of shops like Bic Camera, although for high ticket items you're going to hit the Suica balance limits... https://www.jreast.co.jp/multi/en/suicamoney/shop.html
by pbasista | 2025-05-17 08:08:35+00:00
> fantastic hassOS

That is a very subjective opinion.

As was already mentioned, people rarely want to run a dedicated physical server for just a single purpose. The concept of Home Assistant Operating System requires exactly that.

Also, it is Debian-based. It uses the `apt` package manager which is slow. Some people may prefer something faster and more modern, like `pacman` or `dnf`.

> run perfectly virtualized

Fair enough.

But that obviously requires virtualization being set up on the server. If people do not use virtualization for anything else on their server, they may as well set up Home Assistant directly.

Finally, I think there is one more issue.

Many of the integrations which are possible with Home Assistant Operating System require physical hardware being connected to that server. A reader, a receiver, something like that.

But these home servers are often placed in some inaccessible locations, like an attic, where the data from sensors is unavailable. It may be impractical to run cables there. And the wireless devices may be too far away for a receiver located there to be able to read them.

So people need to come up with work-arounds to get their data to their server. They set up various signal proxies and thin clients which receive the data from the sensors on the spot where they are available and then send them over network to the Home Assistant server.

Unfortunately, from my experience, many integrations completely ignore this usecase. They are likely focusing on a happy path where everything is connected locally to "the one" server. And only then they behave nicely and work out of the box. But as soon as you need any special step or behavior, it is necessary to dig deeper and create custom layers to transport the data from your devices to the server.

Home Assistant Operating System does not make any of that simpler. Perhaps on the contrary, it forces you to use a specific Debian-based distribution with possibly outdated packages that you cannot easily upgrade without breaking Home Assistant.

Which is why it makes little sense to bother with it, in my opinion, for these kind of installations.
by hardwaresofton | 2025-05-17 08:10:01+00:00
> That actually had been the case for a while. A lot of WiFi routers had a built-in Thread (ZigBee) radio, but then nobody actually used them and the manufacturers stopped bothering with them. So now pretty much only Eero access points still have it.

Thanks for this context -- when I searched I only found "thread border routers" -- I couldn't find a router made by a well known brand that included thread functionality -- it always seemed to be "buy a router AND buy a thread border router".

Really surprised that I missed the wave on this and wonder if it was a "we want people to buy two things" rather than no one actually using it. Maybe I just have to wait for it to come back around?

Maybe the answer here is a USB powered device with an extra 2.4Ghz radio (running like.. OpenThread or whatever I need to do thread over an available antenna?) attached to the router?

What I don't understand is why I just use the existing router's 2.4Ghz antenna for this? The amount of confusion in the space and inability of devices to do multiple things is really annoying, to be frank. I can only surmise the reason this stuff is not easy/obvious is profit-incentive (outside of the difficulty of designing good standards of course!).

[EDIT] OK, so the antennas aren't the same, despite being the same frequency -- clearly this is to ensure speedy operation at the hardware level.

So the add-on antenna would probably work if I bought some parts from mouser:

https://eu.mouser.com/c/passive-components/antennas/?protoco...

[EDIT2] Nope, more confused. Multi-protocol antennas exist. Why is this not a set-and-forget option for all the routers??? Someone clue me in to the politics/power struggle or whatever the real reason is here. And then connected + taped something to my router.
by Fricken | 2025-05-17 08:12:53+00:00
There have been other war films with uncannily twinkly star studded cast lists.

The Longest Day (1962) claims Sean Conery, John Wayne, Clint Eastwood, Henry Fonda, and Robert Mitchum amongst it's cast members.

A Bridge Too Far (1977) Includes Anthony Hopkins, Robert Redford, Sean Connery, James Caan, Gene Hackman, Ryan O'Neil and Lawrence Olivier amongst it's ensemble.

A Thin Red Line is notable for the number of high profile actors whose parts got whittled down to almost nothing in the editing room.
by zimpenfish | 2025-05-17 08:13:12+00:00
> it sounds good, but in practice is wildly bad at what it’s trying to do, and can be borderline evil.

The UK's DWP is a good example (and I'd suggest they crossed the border a long time ago into evil.)

* https://www.bbc.co.uk/news/uk-england-merseyside-68727007

* https://www.bbc.co.uk/news/articles/c20nrv02vz1o

* https://www.bbc.co.uk/news/uk-england-leicestershire-6770464...

* https://www.bbc.co.uk/news/uk-england-nottinghamshire-525003...

* https://www.bbc.co.uk/news/business-51756783

That's just a simple BBC search - going through Private Eye, for example, would bring up a lot more.
by s1artibartfast | 2025-05-17 08:13:23+00:00
>There is zero risk the government couldn't pay it's dollar debts if there is still a US government.

The real concern is not that the government cant pay it, it is that the government has to pay it out of revenue alongside obligations, leading to runaway inflation and economic damage.

In theory, governments can run on new printed money. It just makes for a terrible market to conduct business.

High inflation wipes out currency denominated debt holders and creates a terrible environment for investment and contracting.

It increases transaction costs to a level that is often prohibitive.
by sensanaty | 2025-05-17 08:16:33+00:00
I mean I wish I could stay, but companies are greedy and refuse to give out decent raises or promotions regardless of your contributions. The only real way to make more money is to hop between jobs, all the while these companies are making record profits year after year.

Like right now I've been at current co for 3 years. At the start I was getting decent raises after big projects. I now have increasingly more responsibility, I'm doing hiring, I'm doing mentorship, I'm doing huge feature work, I have to waste half my time talking to the braindead stakeholders. And what do I get for that? Absolutely jackshit, I'm getting paid the same I was when I had a quarter of the responsibility and work, yet the company is boasting about making ever more money as they lay off entire teams of people.

Why on earth would I be loyal at this point, it's clear they don't give the slightest inkling of a shit about me or anyone else who does have "Head of" or "Chief" prepended to their title.
by lhl | 2025-05-17 08:16:38+00:00
This is a great writeup and reminded me of some others I've seen in the past. For those interested on the topic, I used Deep Research to generated a report on turnstile/ticketing systems compared to others like Hong Kong, Taiwan, Singapore, London, NYC). Also asked it to do research on a few of the other related things like device licensing and the recent NFC-F chip shortages: https://chatgpt.com/share/6828429c-b618-8012-82a3-b8b992ac83...
by Kwpolska | 2025-05-17 08:16:55+00:00
None of those arguments are convincing. In many cases, you can't handle errors more reasonably than just crashing or telling the user something went wrong. Java has RuntimeExceptions, which do not have to be declared in the function signature. Division by zero, or trying to index an array out of bounds, and the dreaded NullPointerException, are some examples of RuntimeExceptions.
by TheOtherHobbes | 2025-05-17 08:18:30+00:00
Which is why the industry is such a clusterfuck, forcing ad spam on people who aren't interested in it.

If you buy a paper magazine you're already interested in the ads. Doesn't matter if it's pet supplies, model railways, computers, or fashion. You've predefined yourself as a potential consumer and you're going to see the ads as a service, not an intrusion. And if they're all in one place, you can comparison shop.

Facebook and Google are going to sell you ads based on your web searches. Mostly they do a terrible job of guessing what you're really interested in. Sometimes the results are so bad they're hilarious.

So instead of providing a useful service, the ads exist to perpetuate the system that generates them, prioritising vapid metrics like "engagement" - which really just measures distraction and wasted time.
by NikolaNovak | 2025-05-17 08:19:05+00:00
Oh it becomes a rabbit hole :-)

The email is attached and always has been to my personal Facebook account. But it's also now attached to not-mine instagram account. And because two are kind of independent but kind of integrated, it generates a lot of weirdness I'd like to remove by having my own properly owned and integrated and tagged Facebook and instagram accounts.

It'd take 12 seconds for a human being to figure out but of course that's not an option.
by palmfacehn | 2025-05-17 08:20:01+00:00
My least favorite part of this trend is the ageism. "Crusty curmudgeons are not up-to date with the latest bloat if they think RTFM is still a thing", "Oh, you didn't like ORMs? Did you try letting an AI generate code for your ORM?"

Maybe in the future all of these assistants will offer something amazing, but in my experience, there is more time invested in prompting that just reading the relevant documentation and having a coherent design.

My suspicion is that many, (but not all please no flames) of the biggest boosters of AI coding are simply inexperienced. If this is true, it makes sense that they wouldn't recognize the numerous foot-guns in AI generated code.
by morkalork | 2025-05-17 08:20:36+00:00
No need to do imaginary time travel, here's articles from almost 10 years ago with the exact same concerns about how Alex fosters rudeness in children:

https://qz.com/701521/parents-are-worried-the-amazon-echo-is...

https://www.wsj.com/articles/alexa-dont-let-my-2-year-old-ta...

Kids are social creatures, I don't think the interaction from AIs is going to be so overwhelming. At least looking back, I'd blame social media more for today's brain rot more than Alex like these articles feared.
by zo1 | 2025-05-17 08:21:10+00:00
The place where I work at hires an ungodly amount of juniors and fresh-grads (because a lot of them drop out and quit before they do any meaningful work). We're talking people that are completely unproductive and unusable for any sort of commercial project. We then spend at-least a year or two giving them a salary whilst they do toy projects and get trained. Literally doing what I remember doing in 1st/2nd year college with group projects and pet-assignments, complete with grades and feedback etc. Even after all of that, we still have to "train" them with hand-holding on an actual project work before they are a net-positive. Sooner or later someone will realize that they can just forego all that wasted training effort and just hire someone that is already productive. There is always a small percentage that are amazing and they get pushed through to projects very quickly. Which is a shame, because they then watch their fellow cohort sit around doing pet-projects and receive a salary, whilst they slog through a real project with deadlines, stress and the risk of failing.

This is entirely a combination of two things: The quality of grads coming out of college/university, and pressures coming from the market. Colleges have been pushing through entirely unqualified students, some even language illiterate, into the market place and what we're seeing is a response to that. Now couple that with the pressures that companies are facing, and you can see why none of them want to even take on the risk of training and up-skilling someone just so they can find the actual good employees which are a small percentage.

Of course, in my company's particular country and context, government regulations make it impossible to fire someone and there is huge pressure to keep-up DEI quotas despite no actual good DEI candidates being available, and we have a mess. Day to day is glorified baby-sitting people not-knowing what to do, dealing with their "feelings" (usually feelings of inadequacy and sometimes snobbish entitlement) and still trying complete a project at the same time.
by morpheuskafka | 2025-05-17 08:21:21+00:00
A TN visa is a visa, but what someone is “on” is a status, not a visa. Visas are only relevant to the moment of entry. You need a visa of type X to ask to enter with status X.

The exception to that is Canadians like OP, they don’t need most visa types (the E investor/trader visa is the exception—but TN, H1B, etc., don’t need).
by jandrewrogers | 2025-05-17 08:21:48+00:00
Without getting too deep in the technical weeds, I will assert that rapidhash is an excellent small-key hash function and approximately the state-of-the-art for that purpose. There is nothing else better that I am aware of in this scope.

For bulk hashing there are better functions, but XXH3, GXHash, etc are not among them, being both slower and weaker than the state-of-the-art. Hash functions that can’t pass quality tests are not serious contenders.
by genewitch | 2025-05-17 08:22:29+00:00
have you ever seen/used paragon 5 gameboy tracker? https://www.youtube.com/watch?v=oiy5dEgV9-s

obviously i've seen it, but i never wrote anything in it, it makes my eyes hurt. I still use modplug tracker / openMPT (openmpt.org, funded until 2032!), and taught my youngest how to open and play songs with it, and i have a lot of files it can open. thousands.
by tails4e | 2025-05-17 08:23:10+00:00
I have it in docker a d use supervised mode (which seems discouraged, but I want my machine for other uses also). The one thing I struggle with is updating, I'm concerned if I update it'll break. Is there a way to fully snapshot a container state and it's disk state, so I can 100% restore to it if something goes wrong ? I'm still running HA from 2020 because of this.

The other think I'm not a huge fan of is it's template language, it's clunky to say the least, but overall it's a great amd flexible system
by cmcaleer | 2025-05-17 08:23:27+00:00
I hope it lasts, but I'm seeing gates which have QR code readers, IC card readers,and contactless payment readers, which is obviously unsustainable. One or more of these will have to give eventually, and given Japan's tolerance for QR code payments (PayPay is massive) and foreigners' familiarity with contactless it seems like IC is the most likely one to go.

I'd be sad if they do go or get relegated to some app, I love the little mascots.
by tonyhart7 | 2025-05-17 08:24:37+00:00
they want to replace that for cutting cost, this system is great when in large cities but in rural areas the speed,cost etc is excessive

so there's that, I mean if we can optimize QR code system. the winner obviously would be QR because no need to have an dedicated hardware for this

Yes, IC card would be faster but at what point the difference is matters???
Show HN: 3D Ising Model Simulation – interactive web-based Monte Carlo simulator
by nwatab | 2025-05-17 08:25:05+00:00
Hello HN! I’ve just released an interactive 3D Ising model simulator built with Next.js. It’s a teaching/demo tool for exploring phase transitions and critical phenomena in ferromagnets.

## Key Features

- Real-time 3D visualization: See a central 2D slice through a 32×32×32 periodic lattice

- Adjustable parameters: Sweep the dimensionless coupling strength (βJ = J/kBT) through the critical point (≈0.22) and tune the external field (βh = h/kBT)

- Monte Carlo updates: Uses the Metropolis algorithm, updating the display every 200 × N³ flip attempts (≈33 million total)

- Live observables: Watch energy and magnetization evolve as you change parameters

## Why this matters The Ising model is a cornerstone of statistical physics and computational science courses. This tool makes it easy to:

- Visualize how temperature and field affect domain formation

- Observe the sharp change in magnetization near Tc

- Experiment with finite-size effects

Try it out and let me know what you think! I’d love feedback on performance, usability, or ideas for new features (e.g., different lattice sizes or algorithms).

Demo & source: https://github.com/nwatab/ising-model

Enjoy!
by me4502 | 2025-05-17 08:25:09+00:00
I've found this especially a problem with those AI systems trying to add HDR to existing images/videos. The worst instance I've seen, was playing one of the recent Spongebob platformer games, and having his eyes glow like giant suns in the menu screen. I have a TV capable of a fairly high maximum brightness, and it was dimming the rest of the image just to make sure Spongebob's eyes lit up my living room like it was midday

It feels like to some photographers/cinematographers/game designers, HDR is a gimmick to make something look more splashy/eye catching. The article touches on this a bit, with some of the 2000s HDR examples in photography. With the rise of HDR TVs, it feels like that trend is just happening again.