Recent submissions

Comment · 1 year ago
Take a look at https://github.com/hapostgres/pg_auto_failover it's quite simple to use and manage. You can use libpq support for target_session_attrs (been there since Pg 10 - https://paquier.xyz/postgresql-2/postgres-10-libpq-read-writ... ) so you don't need active loadbalancer in front of your Pg cluster.

You can however create your own health/status check service on top of pg_autoctl show state and use HAProxy if required.

I don't think there's something easier to setup and manage than pg_auto_failover, Patroni always appeared very complicated to me.

Comment · 1 year ago
Please stop with this nuclear nonsense. There's enough nuclear warheads in EU to make sure nothing is left of major Russian cities in case somebody got too bald. Dictators aren't suicidal maniacs, they're "just" maniacs.
Comment · 2 years ago
Comment · 2 years ago
ChatGPT did it!
Comment · 2 years ago
Gomorrah (Gomorra), book by Roberto Saviano explains fashion brands business like this in detail (among others). Highly recommend, though sometimes quite depressing read.
Comment · 2 years ago
I don't want to live in a city. It's noisy, polluted, crowded and I really like my small countryside house with plenty of land around it. Lived in a city for 20 years, got fed up with it, despite all of the alleged 'advantages' it offers. I guess I don't deserve decent infrastructure in your world view?
Comment · 2 years ago
Comment · 2 years ago
Or use a few drops of threadlocker...
Comment · 2 years ago
Every political system clouds the reason and appeals to emotion. There are very few policies anywhere that are grounded in science. They may be, initially, until they get massacred by politicians to get them aligned with currently dominant ideology (which by definition is a belief system, grounded mostly in fairy tales about who's better than everyone else).

Just take a look at the current state of democracy... and let me know where the science is hiding.

Comment · 2 years ago
No.
Comment · 2 years ago
The only real concern for remote workers is decent Internet connectivity. And that's a basically solved problem with 4G and/or Starlink. You can live anywhere you want... so why limit yourself to overcrowded capital with bad infrastructure? It's similar in Slovenia, everyone complaining about how bad prices in Ljubljana are but still fixated on living there.

It's been a while since I've been in touch with tech sector in Zagreb, but even then there were a lot of options ... Wouldn't say not much has changes in a decade or two.

Comment · 3 years ago
Big trees very close to a house? Not the best idea, you're always a storm away from serious damage to the house. Tree roots will also eventually damage any kind of surface around the house or house foundation. And trees with shallow roots are really probe to get knocked over in heavy wind.
Comment · 3 years ago
You can't buy time. And a demanding job that'll get you that 20k/month will start to degrade your health at some point, rather sooner than later. And in most of the world even 'only' 1/4 of that will make sure you're living a quality life, esp if you can earn it with part time work while spending extra free time exactly how you want to.

But hey, people finding happiness in owning more than they can spend or use are free to work as much as they possibly can.

Comment · 3 years ago
I heat my house with a wood burning enclosed fireplace connected to an external air supply. Any other heating solution is kind of the less optimal choice when you own wood supply chain (forest and some tools to prepare wood for heating).

But yeah all those planet saving heat pumps need some advertising anyway.

Comment · 3 years ago
Because SQL and relational data. They're (MySQL and Pg) a lot more familiar to setup and maintain. There's a lot of managed services offering for the usual SQL databases.

Cassandra/Scylla come with a lot of limitations when compared to typical SQL DB. They were developed for specific use cases and aren't at all comparable to SQL DBs. Both are completely different beast compared to standard SQL DBs.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton