Recent submissions

Comment · 2 days ago
First time I opened vi I had to power cycle the computer to get out of it. If nano/pico is not user friendly, vi is user user antagonistic.
Comment · 5 days ago
I can't even run a binary from one Linux distro to the other, let alone one from a random Unix from the 80s. If a rebuild from source is allowed (which would need to allow modifications to the build system) that's a completely different game.
Comment · 7 days ago
Which newer Claude model doesn’t do that? Fable 5.1 still writes like that for me. I have to fight against it to write proper software labels, or (the horror!) rewrite things manually.
Comment · 9 days ago
I wouldn’t want to live in a place where crimes below $1,000 go unpunished.
Comment · 1 month ago
Why wasn't this in the article?
Comment · 4 months ago
The power to send mass messages to a whole country is the worst thing google/apple have given to governments across the world.
Comment · 5 months ago
Darn. I don't know if I have been living in the wrong places but I never see drug-addicted homeless people in my western country at night.
Comment · 6 months ago
If you want a consistent backup that you can use to setup a replica you need to block writes while the backup is taken, take the backup while the database is shutdown OR use xtrabackup.
Comment · 6 months ago
The "making it catch up" is the tricky part. You need an initial backup for that. xtrabackup can take that backup "hot" without blocking read/writes. mysqldumper will block writes for whatever time that initial backup takes, for 2TB of data that's going to be hours.

Once you have that initial back up you can set your replica and make it catch up , then you switch. I choose to take the few seconds of downtime doing the switch because for my use case that was acceptable.

Comment · 6 months ago

  If you’re migrating a large MySQL database and you’re not 
  using mydumper/myloader, you’re doing it the hard way.
If you aren't using xtrabackup you are doing it wrong. I recently migrated a database with 2TB of data from 5.7 to 8.4 with about 15 seconds of down time. It wouldn't have been possible without xtrabackup. Mysqldumper requires a global write block, I wouldn't call blocking writes for hours a "zero downtime migration".
Comment · 6 months ago
Comment · 7 months ago
So basically VOIP?
Comment · 7 months ago
Yeah... that's way, way, way more complex than npm run dev

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton