HN user

hitpointdrew

1,951 karma
Posts4
Comments644
View on HN

Consistency. Small discrepancies between environments.

Abstraction. Not assuming too much that you code yourself in a corner, but also not abstracting away so much that the code is difficult to work with.

Industry standard tools that have strongly opinionated built in paradigms (I would include terraform, ansible, etc.). I feel like the tools of future ought to be general purpose programming language frameworks just to avoid this, too many times I either can’t do something, or have to hack together something utterly convoluted, that could have easily been done if the tool was a framework and I could have just thrown in some Go or Python.

The best way I have found is to setup keepalived -> pgbouncer -> Postgres. Use repmgr to manage replication and barman for backups. Setup a VIP with keepalived with a small script that checks if the server is primary. You loose about 7-9 pings during a failover, have keepalived check about every 2 seconds and flip after 3 consecutive failures.

I don’t understand the title, it’s seems to be completely unrelated to the article. Godot is a game engine, the article is about AI companies.

The best stack I found for this is:

Keepalived -> pgbouncer -> postgresql

Then repmgr for managing replication and barman for backups.

The stack is nice because keepalived gives you a virtual ip that you point your apps to, then you can promote a standby to primary (or have one auto promote on a failure) and the VIP will flip to the new primary. All in all you get like 5-10 seconds of “down” time when it flips (depending on how aggressive or conservative you want to be with the rise and fall settings).

Edit: caveat you won’t get keepalived to work if you are using AWS and spread your Postgres servers across AZ’s, they would have to be in the same AZ.

Edit 2: You can simplify the setup if you don’t need connection pooling, in that case skip pgbouncer.

We need to stop applying terms like “think” to AI and computers. Computers don’t “think”, they process, that is all. Comparing, or calling, a CPU to the “brain” is also extremely problematic, CPUs in reality are nothing like a biological brain.

That said, it’s impressive that a computer can process enough data to output an any sort of engine.

My problem with K8s: the network abstraction layer just feels _wrong_.

I would very much prefer if K8s used public routable IPv6 for traffic delivery

shudder... nothing could feel more wrong to me than public routable IPv6, yuck.

So given this pattern, I don't feel like the domain name is something relevant for most end users.

Oh but it is, even if the user doesn’t realize it. How are you going to do SSL without a domain name? I don’t know of any provider that is trusted by a major browser, that will issue ssl certs for an ip instead of a domain name. You could use your own CA but no browser will accept it, and your visitors will be greeted with a browser warning.

These aren’t really new rules, there is nothing to be be “grandfathered” into. Maybe they made some slight adjustments but I was looking at the process to become a registrar 5+ years ago and the process as I recall was pretty much the same.

Marx once said...

Why anyone, reads, or cares at all about Marx, is beyond me. The guy was the biggest fucking loser bum to ever exist. He was constantly hitting up family for money, never had a real fucking job, was an absolute slob of a human being, treated is children like dog shit, and in general was too impressed by his own "intelligence".

I've never figured out why the inordinate delay given that millions are unhappy with Windows and Microsoft generally. You'd reckon open source developers would be falling over themselves to join such a project but it seems not.

I think there is a strong misconception that there is this massive pool of open-source devs twiddling there thumbs just itching to jump in on some project were they can pour time and effort for nothing more than the "good of the community". I don't have any sources for this, but it my strong suspicion that the vast majority of "open source" contributions are actually done by contributors that are compensated either by a company that doesn't mind paying their employees to work on open source projects, or by a foundation behind the open source project. Take Go-lang for example, originally created by Google, then opened up. I am sure there are Google employees that still contribute (on Googles dime) to the project. Why would Google do this? Why not keep the Go just for themselves? Simple, if they open it up and can get other people/companies to use it, then they can make future hires where they don't have to train everyone on a proprietary language.

ReactOS doesn't have a large foundation behind it, and it doesn't make sense for companies to allow their employees to develop and contribute to it on their dime.

Development is skilled labor, especially for an OS. Dev's need to eat, need a home, etc. I don't know a single dev that is itching to give away their skills for 0 compensation. The only time devs really do that is when it is a personal passion project.

[dead] 2 years ago

The amount of evidence pointing to vaccines being the cause of excess deaths is staggering.

It’s absolutely flabbergasting how so many people will stick fingers in their ears and try and blame anything and everything but the so called “vaccines”.

Pedantry like this always intrigues me when it's so clearly wrong both in daily use and formal sources...like where is it coming from?

Its coming from common sense, which seems to be forgone these days. Just because something is, common, accepted, written in stone, written in the fucking dictionary doesn’t mean it’s correct.

There is no logical argument for calling electronic presentations "decks", period.

Go back to overhead projectors, what were those called cards? No they were called transparencies. No one ever said "Hand me that deck of transparencies", no they would have called it stack, not a deck.

So what happened is one day some high ranking jack-ass in suit called it a "deck" because they thought it made them sound more intelligent than they actually are, and no one in the room had the balls to say "What the fuck did you just call the power point?" So here we are, with idiots parroting the useless business jargon it has now become "accepted", and written the fucking dictionary.

If some moron can start a trend and get idiotic business jargon into the general lexicon, them maybe this moron can get it out.

Obviously they are, given how common the usage is.

Just because something is, common, accepted, or written in stone, doesn’t mean it’s correct.

But out of curiosity, why do you feel strongly about this?

Because it’s stupid business jargon that no one had the balls to speak up the first time in history when some micro-managing egotistical C-level exec uttered this debauchery. They should have looked at them like they had two heads and said “What the fuck did you just call the power point?”

But no, people just let it slide and now this BS is common place.

Well I am not letting it slide by anymore.