HNHacker News
TopNewBestAskShowJobs

mrslave

937 karma · joined November 28, 2012

submissionscomments
mrslave··on NixOS is not reproducible
It's more like the whole upgrade is either successful, or it is not, and you are not left in an indeterminate state.

E.g. A depends on B. In a large update, B updates, something unrelated fails to install and the update fails, and now A doesn't run because it wasn't upgraded and the still installed old version of A depends on the no longer available previous version of B.

In NixOS, you either enter the new environment with all packages updated, or you don't. In the situation where you discover run-time - not install-time - errors, you can simply roll back to the previous set of packages. If the new packages cause a system crash, you can enter previous states from the bootloader.

Now none of this magically solves the software defects themselves. But it gives you a consistent system state that can be transactionally upgraded, or reentered at any time. And then you can raise the appropriate bug tickets.

Your system configuration is in a single file and the need to reconfigure different services in a particular order is gone.

Also your dependencies are all nicely pinned with Flakes. This makes importing arbitrary dependencies - open-source or proprietary - a breeze. This has removed any previous appetite we had for a monorepo, which was primarily to ease access to our other libraries.

It's all very nice, once you are over the not insubstantial learning curve that is.

mrslave··on Pattern of brain damage is pervasive in Navy SEALs who died by suicide
PEDs.

See the Kyle Mullen death during the SEAL entry testing[0] and subsequent policy to test for PEDs[1].

[0] https://news.ycombinator.com/item?id=32656856

[1] https://www.military.com/daily-news/2023/10/20/navy-seals-st...

mrslave··on The rarest move in chess [video]
Interesting, but I initially expected this to be about the unusual opening employed to victory by Magnus Carlson against Kacper Piorun on May 7, 2024[1] (1. a4 e5 2. Ra3).

It's even more interesting because an unknown IRL Chess.com player named Viih_Sou (since revealed to be Brandon Jacobson[2][3]) used this opening to defeat Daniel Naroditsky on May 2, 2024[4] only to be subsequently banned for violating the Fair Play Policy[5].

[1] https://www.chess.com/analysis/game/live/108840009759?tab=re... [2] https://www.reddit.com/r/chess/comments/1claxsm/its_me_viih_... [3] https://en.wikipedia.org/wiki/Brandon_Jacobson [4] https://www.chess.com/analysis/game/live/108394316331?tab=re... [5] https://www.chess.com/blog/Utkarsho/a-grandmaster-account-ge...

mrslave··on AI in software engineering at Google: Progress and the path ahead
Just to be charitable to GP and not to enter the debate, many of my colleagues have replaced Google with ChatGPT as their first port of call.
mrslave··on On the trail of my identity thief
Article on original site that incidentally includes a lot less JavaScript

https://www.bostonglobe.com/2024/05/15/magazine/on-the-trail...

mrslave··on Why time seems to go by more quickly as we get older (2016)
re: https://news.ycombinator.com/item?id=39522249
mrslave··on Housing wealth is meaningless, destructive and fundamentally changing society
It's the slave morality for an inflation-based economy.
mrslave··on Expo – Open-source platform for making universal apps for Android, iOS, and web
Slightly off-topic: how practical is it really to build devices (iOS and Android) and web from the same code base?

My poor understanding is that React Native, and hence Expo, doesn't use the same CSS frameworks as web development. I'm curious how that works from the same code base, or perhaps that's one of the major difficulties.

Also I see Expo as a fancy build framework but it's still fundamentally a RN application. Is this correct?

(My front-end colleagues are on another continent and we don't get any water-cooler time. Sorry for the possibly awful questions.)

mrslave··on How can we compare expressive power between two Turing-complete languages?
https://www.bootstrapworld.org/ for the curious
mrslave··on An AI Girlfriend made $72K in 1 week
I'm curious whether the developers were pitched this by management as some lofty social goal like democratizing digital relationships or perhaps disrupting OnlyFans DMs?
mrslave··on After 30 years, a father is exonerated in 'Satanic panic' case
Link please?
mrslave··on I have never been treated this bad in an interview process in 20 years
We'll find out why when the new CTO is publicly announced. I suspect they simply found someone else. Doesn't help that the CEO is quick to make promises verbally, but I'm sure this is common.
mrslave··on Gitlab loses one-third of its value after company issues weak forecast
What's your preferred CI/CD system to pair with Gitea? I tried Drone once and found the configuration to be nasty, specifically OAuth2 under Docker Compose. Also the Drone UI left a lot to be desired. This was a while ago so grain of salt etc.
mrslave··on Our production servers were suspended by Google Cloud
Why does everyone want a copy of our identity documents? It's creepy and unsafe.
mrslave··on Show HN: Mathesar – open-source collaborative UI for Postgres databases
I won't repeat supportive comments except to say well done.

Feature request: historical tracking. E.g. on update, expire the old record with who & when.

mrslave··on Is_email()
O PHP! The language where it's difficult to discern between genius and madness.
mrslave··on Bullshit Has Dominated the Tech Industry
I don't get Raspberry Pi. The $35 computer that's often out of stock, doesn't include a USB adapter or case, and is rarely found below $70. And the unfortunately complex boot process involving binary blobs. It's not as cheap & open as originally implied.
mrslave··on Gentoo Linux 2022 Retrospective
Recovering Gentoo user here. I have lost so many hours to the time sink that is incomplete system package updates on Gentoo. Moved to Nix and never looked back.

On Nix either the install - and occasional build - succeeds and I enter the new environment, or it fails and I don't. In the worst case scenario where the build succeeds but something is funky I can just roll it back.

Now I have all this free time to lose to the time sink that is learning how to package applications in the Nix language.

mrslave··on Chinese surveillance balloon spotted over U.S., Pentagon says
https://github.com/iamadamdev/bypass-paywalls-chrome
mrslave··on Information about a recent security incident at Mailchimp
Unless they expressly commit to deleting it, or you were paying per GB for storage, consider it saved forever.
mrslave··on Ask HN: What's your favorite illustration in computer science?
Programmer interrupted

https://heeris.id.au/2013/this-is-why-you-shouldnt-interrupt...

(mirror) https://i.pinimg.com/originals/23/b0/75/23b075bebdcea554929b...

mrslave··on Jack Ma cedes control of Ant Group
My understanding is that you don't get to play politics with your success. Had he kept his nose only in his business he probably would have been better off.
mrslave··on Ask HN: What is the best thing you read in 2022?
I fizzled on Malazan. Despite warnings that the first book isn't that great - but the series is! - I really enjoyed it. However I subsequently found the second book to be an unsatisfying grind and then so was the third where I stopped half-way.

I have just started The Book of the New Sun and am hopeful it will be a better experience.

mrslave··on I liberate the ending to Minecraft from Microsoft and give it to you
https://archive.ph/Wac0r
mrslave··on NixOS 22.11 “Raccoon”
Agreed. When I'm selling Nix to other Linux users, instead of getting lost in an explanation of deterministic package versions, I tell them system upgrades are atomic: you either enter the new environment or you don't. Either way you're in a consistent state. If for some reason there's difficulty booting, you can always go back to the previous system state from the boot menu. Mostly Debian and Gentoo users have nibbled on this bait. Arch users less so. YMMV
mrslave··on Human Chess is a chess variant where playing the top engine move is forbidden
Maybe it could allow for blunders?

While I enjoy the conversation ideas like these create, I'm often left wondering why Fischer random isn't more popular.

mrslave··on Warning – Google suspended GCP services for 'verification', lost my business
What are the alternatives? Is Bare Metal with OpenStack or K8s any more resilient to administrative DoS? Do we simply not care about this problem because the businesses being suspended are small fish?
mrslave··on Gundam and anime replace rampant politics in Japanese Twitter Trends
Would you please explain it to those of us who didn't experience this? What was it like before, what changed, and why?
mrslave··on Twitter, when the wall came down
What's interesting this time is the group of naysayers is not the same as previous SpaceX and Tesla naysayers, but largely comprises prior supporters.
mrslave··on Apache AGE, a PostgreSQL extension with graph database functionality
This comment gave me a flashback to Celko's SQL for Smarties. I believe the updated books are split off into a few smaller books? But the section/book on trees in a relational database helped me greatly once in a galaxy far far away.
Page 1 of 14Next →