Hacker Newsnew | past | comments | ask | show | jobs | submit | jknoepfler's commentslogin

"Far right" isn't a euphemism for anything, it's exactly what it is. Countries that collapsed into actual fascism (e.g. Germany, Italy, Spain) within living memory, which then spent the subsequent century abutting the monstrosity of a totalitarian Communist regime ("far left") are indeed reluctant to air "far right" and "far left" views because they understand how they play out in practice: global war killing tens of millions, millions of civilians dead at the hands of their own state-sponsored militaries, a legacy of atrocity that will never wash clean, utter economic and cultural devastation echoing for decades... just an absolutely sickening inversion of the human spirit and what people want to believe in as citizens.

"Far right" views are far right views. They are morally repulsive in the extreme. We've witnessed the consequences before.


I use Patroni for that in a k8s environment (although it works anywhere). I get an off-the-shelf declarative deployment of an HA postgres cluster with automatic failover with a little boiler-plate YAML.

Patroni has been around for awhile. The database-as-a-service team where I work uses it under the hood. I used it to build database-as-a-service functionality on the infra platform team I was at prior to that.

It's basially push-button production PG.

There's at least one decent operator framework leveraging it, if that's your jam. I've been living and dying by self-hosting everything with k8s operators for about 6-7 years now.


We use patroni and run it outside of k8s on prem, no issues in 6 or 7 years. Just upgraded from pg 12 to 17 with basically no down time without issue either.


Yo I'm curious if you have any pointers on how you went about this to share? Did you use their provided upgrade script or did you instrument the upgrade yourself "out of band"? rsync?

Currently scratching my head on what the appropriate upgrade procedure is for a non-k8s/operator spilo/patroni cluster for minimal downtime and risk. The script doesn't seem to work for this setup, erroring on mismatching PG_VERSION when attempting. If you don't mind sharing it would be very appreciated.


I did not use a script (my environment is bare metal running ubuntu 24).

I read these and then wrote my own scripts that were tailored to my environment.

https://pganalyze.com/blog/5mins-postgres-zero-downtime-upgr...

https://www.pgedge.com/blog/always-online-or-bust-zero-downt...

https://knock.app/blog/zero-downtime-postgres-upgrades

Basically

- Created a new cluster on new machines

- Started logically replicating

- Waited for that to complete and then left it there replicating for a while until I was comfortable with the setup

- We were already using haproxy and pgbouncer

- Then I did a cut over to the new setup

- Everything looked good so after a while I tore down the old cluster

- This was for a database 600gb-1tb in size

- The client application was not doing anything overly fancy which meant there was very little to change going from 12 to 17

- Additionally I did all of the above in a staging environment first to make sure it would work as expected

Best of luck.


Thank you! o7

Going to have some more figuring out what's up with spilo - turns out that running that outside of k8s is rare and not much documented. But it's still patroni so this is very helpful.


Oh, and don't forget to retain the artist to correct the ever-increasingly weird and expensive mistakes made by the context when you need to draw newer, fancier pelicans. Maybe we can just train product to draw?


I (too) had a similar experience! On the first read I felt like I was barely scratching the surface but could enjoy just enough of the lyricism and imagery to slog through, but definitely didn't "get it". Then I read it with a bunch of fellow book nerds and put some effort into unpacking it and had a blast.

It definitely repays sustained attention, if literary fiction is your jam.


Why would you hate a book exploring mathematics and reflecting on your relationship with it? What a weird thing to hate. Wouldn't you rather celebrate intellectual curiosity?

Like... I hate journalism that profits off of xenophobic fear mongering. A book from a genuinely curious and interesting author who did some moonlighting in more formal subjects, though? That seems harmless and kind of cute at worst. Maybe a little misguided, maybe not.

It's a weird energy to bring to a relatively innoccuous corner of the world.


It's like reading a review of a novel that tells you how to feel about it, and adopting that emotional response without reading the novel itself.


Uh, no. This is about illegal detainment of people (some of whom are citizens) by federal law enforcement. The overwhelming majority of citizens want a functioning immigration system (and a functioning criminal justice system). What I and others won't abide is law enforcement violating their oath and illegally detaining and deporting people.

Obeying illegal orders to attack American citizens on American soil is certainly something, but it isn't law enforcement.

If this were actually about law enforcement, we would have passed the bipartisan border protection / immigration bill that has been on the table for eons.


It's exactly what the entire campaign platform you voted for was: unprincipled, random bullshit designed to stoke an angry, bigoted, ignorant base.

I can respect principled patriotism and fiscal conservativism, but voting for an icon of xenophobia, illiteracy, and graft and expecting anything but that is kinda...

Also if you actually gave a shit about containing China, it would probably be in your best interests to vote for a candidate who doesn't base their campaign on alienating the entire rest of the free Western world while simultaneously denigrating and disrespecting the armed services... but what do I know.


I voted mostly against harris.

I don't really like trump. I've voted against him in every primary I could. I voted libertarian in 2020 because I figured biden would lose.

I do not believe harris will be any better at containing china. probably worse. Trump is not particularly effective but he at least pretends to care.


> I do not believe harris will be any better at containing china.

But she would probably be better at keeping the US position in the world and with our allies in good standing; instead of selling it off for personal gain.

> Trump is not particularly effective but he at least pretends to care.

Good point, at least he pretends to care. I mean he is getting the US a "free" jet that will cost the american tax payer almost a billion dollars to retrofit that will be finished at the end of his term and then given to his library for his personal use. But since he pretends to care about Americans, I guess we can also pretend to believe his dealing with the middle east and all his crypto is totally not selling the country out for his, his business partners and his family's benefit.

At least you are honest about voting for someone who only pretends to care, instead of voting for someone who does care about the country and it's people, even if some domestic policies views differ -- I can appreciate that honesty.


We tried the "nice" approach with the EU of polite patron-to-client instruction. The EU failed to play ball. We tried this with many countries. They failed to play ball. So there is no reason to continue costing the American citizen money for their benefit. An "alliance" where you mostly just help the other person is closer to parasitism.

I do not believe any politician cares about America or her citizens. I do not believe harris cares about America or her citizens. Politicians seek power.


Canada failed to play ball when they joined us in Afghanistan and died alongside us? When they took in our jets on 9/11?

How deep do you think I have to look to find dozens (or hundreds) of strong examples of the EU and other western allies "playing ball"?

We seem to be focused a lot on Qatar and Saudi Arabia as our "good" allies.

I don't blame you for falling for the rhetoric of a populist candidate willing to say and do anything, claim victory if it works, and ignore and bury it when it doesn't. It's easy. You're not the first in history to do it, and you won't be the last.


I don't think Qatar and Saudi are "good" allies.

I don't think Canada and the EU were "bad" allies. Canada partially still is not.

The EU is now regarding China.


And what is influencing the EU to “regard” China?


Regarding the jet, you are not being honest when it comes to Trump negotiating a “free jet”.

“Government contracted L3Harris Technologies to retrofit the Qatari jet with necessary modifications, aiming to have it operational by fall 2025. “ [1] https://www.ainvest.com/news/l3harris-steps-boeing-footsteps...

But why? Because Boeing has delayed the real Air Force One replacement until 2035. Trump wants it for the Trump Presidential Library when he leaves office which he can buy and have it retrofitted again. The same/similar thing done for Reagan in 2001.


Probably implicit in your #2, but there are two types of people in the world: people who know why you shouldn't try to write a production-grade database from scratch, and people who don't know why you shouldn't try to write a production-grade database from scratch. Neither group should try to write a production-grade database from scratch.


Incorrect, yes, but to be fair .67% and 2% occupy the same "wow, that's a large proportion of the economy" order-or-magnitude band of surprise (for me). Obviously not as charismatic/sensational, but still significant and surprising (to me).


Formality is about preserving objectivity. You don't submit papers to a peer-reviewed journal watermarked with a purple dinosaur in a suit for the same reason you don't submit a complaint to a court watermarked with a purple dinosaur in a suit. Scientific publication (despite its many flaws) is about the content of the publication. Everything else - tone, style, grammatical nuance - is prescribed by a style guide because it is otherwise irrelevant.

There are certainly bad judges that hide behind "the authority vested in them by the court," but reductively asserting that formality is about maintaining authority misses the point (and the operating philosophy behind creating a fair and impartial court) by a country mile.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: