Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sgarland
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
211.
▲
by
sgarland
7mo ago
If you’re writing the script to be used by multiple people, or on multiple systems, or for CI runners, or in containers, etc. then there’s no guarantee of having Python (mostly for the container situation, but still), much less of its versi
212.
▲
by
sgarland
7mo ago
> often there's no real substitute for pulling a couple of terabytes locally and going to town on them. Fully agree. I already know the locations of the logs on-disk, and ripgrep - or at worst, grep with LC_ALL=C - is much, much fas
213.
▲
by
sgarland
7mo ago
> Never mind that having 2000 support tickets is a bad thing. And also mostly caused by their shitty apps. I’m constantly having to fight people to not add new, inactionable alerts as knee-jerk reactions to incidents. I swear the thought
214.
▲
by
sgarland
7mo ago
Because if you’re in charge of an org, you should occasionally validate what you’re being told? Is this an uncommon belief or something?
215.
▲
by
sgarland
7mo ago
Yep. When I’m frustrated on the phone with a rep, I always make sure to say something like “I understand this isn’t your fault, but I’m very frustrated with X.” It seems to ease the tension a bit, anyway.
216.
▲
by
sgarland
7mo ago
I legitimately don’t understand how companies get to this point, especially when the C-suite is full of founders (or maybe that’s worse?). I can understand how people want to make their bosses happy, and that can cascade into constant bulls
217.
▲
by
sgarland
7mo ago
I hope the number of downvotes you’re receiving makes you consider the absurdity of your suggestion. Have you seen distrowatch? Are you going to go track down maintainers from every distro - many of whom live outside of the U.S. - and deman
218.
▲
by
sgarland
7mo ago
curl -fsSL https://raw.githubusercontent.com/liorwn/claudetop/main/install.sh | bash Installing claudetop... cp: /Users/sgarland/claudetop.sh: No such file or directory You need
219.
▲
by
sgarland
7mo ago
You’re correct that I haven’t worked much with XML. Some light parsing, mostly. When I was a kid in the early 00s, I rewrote my personal website (which wasn’t anything terribly complex, maybe 10-20 pages) into XHTML. I remember thinking tha
220.
▲
by
sgarland
7mo ago
As a devil’s advocate, it is extremely difficult to produce something that’s simple to understand, flexible, and not inherently prone to bugs. I am not a dev; I’m ops that happens to know how to code. As such, I tend to write scripts more t
221.
▲
by
sgarland
7mo ago
Since you explicitly mentioned fashion, I assume you read this: > There is a distinction that the industry refuses to acknowledge: developer convenience and correctness are different concerns. They are not opposed, necessarily, but they
222.
▲
by
sgarland
7mo ago
While a great article, I actually found this linked post [0] to be even better, in which the author lays out how so much modern tooling for web dev exists simply because XML lost the browser war. EDIT: obviously, JSON tooling sprang up beca
223.
▲
by
sgarland
7mo ago
Being direct isn’t being an asshole. Sprinkling random compliments and self-deprecating comments into useful feedback in a professional environment is disrespectful of time. I’m convinced that the root cause is people are afraid to be wrong
224.
▲
by
sgarland
7mo ago
Do you have a substantive argument against any points made by parent?
225.
▲
by
sgarland
7mo ago
> This was McKinsey & Company — a firm with world-class technology teams Apparently not.
226.
▲
by
sgarland
8mo ago
While I generally would prefer lookup tables, it's much easier to sell dev teams on "it looks and acts like a string - you don't have to change anything."
227.
▲
by
sgarland
8mo ago
If nothing else, I’ve learned that for me personally, 14” is the sweet spot for a laptop. It’s just enough over the 13” to be good, without being obnoxiously large. I also like NanoTexture way more than I thought I would, so there’s that.
228.
▲
by
sgarland
8mo ago
He is a bit full of himself, but if you read some of his other work, he’s done some incredible work making fast code. Lots of SIMD, some novel algorithms, etc.
229.
▲
by
sgarland
8mo ago
I'm not doubting your personal experience, but I find the crashes you mentioned surprising; I have never once, since v1.0.1, had Ghostty crash. Tbf I use it with tmux, so I'm not exercising some of its capabilities. But with tmux,
230.
▲
by
sgarland
8mo ago
I suppose if you had a proxying layer capable of query rewrites (ProxySQL can do so, and supports Postgres in newer versions), you could have it prepend the SET LOCAL commands to specific queries as needed. You could take this further, and
231.
▲
by
sgarland
8mo ago
Interesting post! IME, setting random_page_cost to 1.1 is more likely to produce good results overall, which is what the ending paragraphs of the post allude to. I’ve also seen situations where it makes the result significantly worse, but t
232.
▲
by
sgarland
8mo ago
Thanks! I’ve ordered a copy.
233.
▲
by
sgarland
8mo ago
If this came across as doing so, I apologize. It was intended more as “there’s a much simpler way.” Here’s an analogy: I have a kitchen drawer that has had its face torn off, because the threads for the screws were destroyed. I tried fixing
234.
▲
by
sgarland
8mo ago
For real - OP, push some HTML / CSS, or even just Markdown. This is overly complex for what you’re doing.
235.
▲
by
sgarland
8mo ago
I thought that too, but then wondered if they thought better of deliberately antagonizing a very powerful bully.
236.
▲
by
sgarland
8mo ago
I don't disagree with your take on what how LLM copy is awful; I just disagree that this was written by an LLM. For example, this paragraph at the end: > If you're in this position (relied upon, validated, powerless), you'
237.
▲
by
sgarland
8mo ago
> Also, the author seems to treat the terms "consensus" and "buy-in" as synonymous. Can you explain more? I'm not familiar with that distinction, nor that book. EDIT: I asked ChatGPT, and it came up with this [0]
238.
▲
by
sgarland
8mo ago
> Look at how much progress Python made under GVR. Or, you know, Linus Fucking Torvalds. If you were carrying the success or failure of most of the world's digital infrastructure on your shoulders, you also might be grating to some.
239.
▲
by
sgarland
8mo ago
Nailed it. I often cite Admiral Rickover (USN), who among many other things, said this: "Responsibility is a unique concept... You may share it with others, but your portion is not diminished. You may delegate it, but it is still with
240.
▲
by
sgarland
8mo ago
Neither is Vonnegut's (which your short, choppy sentences reminded me of), but he was a very successful and beloved author. I'm in no way comparing myself to Vonnegut, but my point is just because it doesn't appeal to you, it
More ›