Recent submissions

Comment · 9 months ago
Any chance you would care to share more about this?
Comment · 2 years ago
Good one!
Comment · 2 years ago
At the time, no. There wasn't any checking. And while it looks like a lot, it wasn't insanely expensive to unwind. Sometimes these kind of mistakes make money. My own 'mistake profit /loss' was around +1m USD.
Comment · 2 years ago
No, the gui input field das just 100000000000 vs 10000000000. Oops
Comment · 2 years ago
I've been in the room when it happened. In one memorable incident, a junior trader I sat opposite bought 100 bn Japanese Yen instead of 10 bn. His excuse? "I lost track of the zeros". We'd only hired the guy because he had a PhD and "PhD's are smart" - lol. In his defense the UI was awful. He left soon after...
Comment · 2 years ago
Halfway down the downward scroll is subverted into a left -> right scroll.

No - just, no.

Comment · 2 years ago
Comment · 2 years ago
If you want to see where the ultra of analogue keyboards is these days, then watch this. https://www.youtube.com/watch?v=iv6Rh8UNWlI

It's a completely 3d printed, fully analog, fully per key adjustable activation depth, magnetic levitation, mega RGB keyboard. Absolutly insane.

For sane people there's always the wooting HE https://wooting.io/wooting-60he which by most people's count is the best gaming keyboard money can buy right now.

Comment · 2 years ago
Comment · 2 years ago
Thank you sir!
Comment · 2 years ago
I don't think so, by default I think the nixos process will simply stop (probably by sending SIGINT) the service and then start it again.

But if you could have the server into 'lame duck mode' (no new connections accepted, but existing ones can finish) / gracefull shutdown and that's a blocking call (or you could poll if it's still up etc), then you could script that before the 'nixos-rebuild switch' call. Maybe sending SIGINT to the service does that already?

Comment · 2 years ago
Or, you could use NixOS and just declare your systems in some text files, git commit; git push.

You build script becomes:

   while true; do

   git pull

   nixos-rebuild switch

   sleep x

   done
That's it. You can even do it remotely and push the new desired state to remote machines (and still build on the target machine, no cross compile required).

I've completely removed Ansible as a result and no more python version mismatches, no more hunting endless task yaml syntax, no more "my god ansible is slow" deplyments.

Comment · 2 years ago
The wooting keyboards have been able to do this for years.
Comment · 3 years ago
I have had an uncapped symmetric 10Gbps connection for ~50 USD / month for more than 10 years.
Comment · 3 years ago
Watch Rick and morty s6e8 and you will see a great meditation on the topic.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton