Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sgarland
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
901.
▲
by
sgarland
2y ago
A spellchecker is a linter. LLMs are a false equivalency. I have yet to see AI “used wisely.” It is always precisely as parent complained about: people who neither know nor care to learn about the subject of their profession using it as a s
902.
▲
by
sgarland
2y ago
JFC just learn SQL. It is one of the easiest languages that exists, and you probably don’t have to know 1/2 of it to be productive.
903.
▲
by
sgarland
2y ago
Pretty sure the Nazis leaned towards evil, my dude.
904.
▲
by
sgarland
2y ago
I mean, it sounds like you could’ve had a few if/else statements and accomplished the same thing.
905.
▲
by
sgarland
2y ago
> Racism is normal No, it is not. You ever observe small children in a multicultural group? They’re not racist, because they have no concept of it, nor why you’d want to do that. They see each other as peers. Racism is taught.
906.
▲
by
sgarland
2y ago
> …I was searching for the nature of evil and I now think I have come close to defining it. A lack of empathy. It’s the one characteristic that connects all the defendants, a genuine incapacity to feel with their fellow men. Evil, I thin
907.
▲
by
sgarland
2y ago
I’ve always admired manual XJs. Never had a good or even passable reason to buy one, but maybe one day.
908.
▲
by
sgarland
2y ago
I actually had a ZJ and liked it. I bought it heavily used in 2016, I think 250K miles or so? The heater was anemic, and it didn’t really like to go into or out of 4WD. I flushed the heater core and radiator, changed every fluid, adjusted t
909.
▲
by
sgarland
2y ago
I’ve had Linux servers with > 1 year of uptime. I’ve seen much, much higher. It’s entirely possible to have a stable foundation; it’s modern software that’s hot garbage, and relies on ephemerality to stay running.
910.
▲
by
sgarland
2y ago
If the shell script happens to have key verification built in to it, then not much from the perspective of provenance verification, but that’s rare IME. Also, using the OS’s package manager means that you can trivially uninstall it.
911.
▲
by
sgarland
2y ago
No, the alternative is to package it yourself and offer it with a signing key. If you make a .deb and .rpm, you’ve covered a large majority of end users.
912.
▲
by
sgarland
2y ago
You would not need to have extended downtime. Every major RDBMS that I’m aware of supports standby nodes, and if you want, a full active-active cluster (not recommended, personally). The downtime is as long as you have your health check mon
913.
▲
by
sgarland
2y ago
Sure, but making something redundant is not really that difficult. HAProxy in front N nodes across M racks, ideally in separate DCs, and then a floating IP in front of your HAProxies. Set up hot standby for your DB. I used to joke that my h
914.
▲
by
sgarland
2y ago
How does NoSQL (and which flavor are you referring to?) enforce that? RDBMS enforces it in that if you don’t do it correctly, you get referential integrity violations and performance issues. You’d think that would be enough to motivate devs
915.
▲
by
sgarland
2y ago
My current and last jobs had monthly RDBMS bills in excess of $1 million/month. It is staggering. We could buy two fully-loaded 42U racks in separate DCs and be net positive after a few months. I’ve done the math, in great detail. No g
916.
▲
by
sgarland
2y ago
That’s an ops decision. The most common things to die are RAM and PSUs. The latter are redundant on every server I’ve ever seen. The former is dirt cheap (especially as the hardware ages), and extremely easy to replace. I have 13 year old D
917.
▲
by
sgarland
2y ago
Amen. How this lie continues to be perpetuated as gospel is beyond me. I can look at any company’s RDBMS who doesn’t have a full-time DB[A,RE] on staff and find ten things wrong very quickly. Duplicate indices, useless indices, suboptimal c
918.
▲
by
sgarland
2y ago
If you are a developer who does not enjoy coding, I question your career choice.
919.
▲
by
sgarland
2y ago
That’s on you for using Windows.
920.
▲
by
sgarland
2y ago
If your monthly cloud bill is < $100K, you don’t need $5MM worth of hardware. That cloud spend equates to, at best, a couple of beefy servers, which (modulo AI cards) could almost certainly be had for <= $50K/ea. So for $200K, yo
921.
▲
by
sgarland
2y ago
This. It’s also more expensive. If one DB is multi-AZ, then all of them need to be, otherwise you’re giving up all reliability improvements. So now instead of a single beefy instance in multi-AZ with a few read replicas, every service has t
922.
▲
by
sgarland
2y ago
Which is a large reason why I don’t think dev teams should be managing DBs. It’s rare that anyone actually understands them, much less proper administration, configuration, tuning, etc. If you have no other choice because you’re a tiny star
923.
▲
by
sgarland
2y ago
My wife is a Montessori teacher. I showed this to her; she said that the attribute game described is used at the 2.5 year old level in her school. So yes, I’d say people woefully underestimate the abilities of children.
924.
▲
by
sgarland
2y ago
Counterpoint: if someone knows Perl, they are much more likely to have the requisite skills to be a maintainer for a distro. It’s self-selection. Imagine the filtering required for potential maintainers if they rewrote the packaging to JS.
925.
▲
by
sgarland
2y ago
> Waiting for someone to write a love letter to the infamous Windows INI file format... Honestly, it’s fine. TOML is better if you can use it, but otherwise for simple applications, it’s fine. PgBouncer still uses INI, though that in par
926.
▲
by
sgarland
2y ago
Maybe, but I can also understand someone rationalizing that they don’t need to test abs(), because what could possibly go wrong?
927.
▲
by
sgarland
2y ago
This deserves more upvotes. Absolute classic.
928.
▲
by
sgarland
2y ago
Did you miss the post a few above yours, where an author of this tool explained why it’s written in Perl? Introducing a new language dependency for a build, especially of an OS, is not something you undertake lightly.
929.
▲
by
sgarland
2y ago
Yep, I do this for a few tools. Though apt-key deprecation still hasn’t been universally accepted, so that’s always a minor annoyance to deal with.
930.
▲
by
sgarland
2y ago
TIL this is why that modal has popped up at seemingly random times. Very useful, if you know how to summon it!
More ›