Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sgarland
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
sgarland
5d ago
They did, via uv. uv run heretic, and it will handle the rest.
2.
▲
by
sgarland
7d ago
This is in fact more readable, thank you. I still don’t know that I find it more intuitive or readable than the simple loop, but it’s much less awful than before.
3.
▲
by
sgarland
7d ago
THANK YOU. I feel exactly the same way. https://news.ycombinator.com/item?id=49769812
4.
▲
by
sgarland
7d ago
From TFA, on combinators vs. loops: items.iter().enumerate().filter(|(_, i)| cond(i)).map(|(idx, i)| Pointer::idx(i, path, idx)).collect() while (i < cursors.len) { if (actual_index < arr.items.len) { cursors[i] = .
5.
▲
by
sgarland
7d ago
On-prem.
6.
▲
by
sgarland
9d ago
I’m simply exhausted at needing to refute incorrect LLM answers professionally.
7.
▲
by
sgarland
9d ago
Unless they’ve been elided, there were no indices other than the PK on any table, and no additional statistics. There are correlated columns here: a given country may have produced more movies in a given range of years, as its movie industr
8.
▲
by
sgarland
12d ago
This is interesting, and I would like to know how it actually works, but I can’t understand the tech page. I tried. Could you write that by hand? It would make it a lot easier to understand. I’d also recommend removing the various mentions
9.
▲
by
sgarland
14d ago
> The editors that live in the terminal either have steep learning curves built around modal paradigms, or they are too limited to be genuinely useful. > txt is not trying to replace your main IDE. It is the editor you reach for when
10.
▲
by
sgarland
17d ago
You’re in luck, the Duo has Touch ID and a big screen.
11.
▲
by
sgarland
18d ago
Houses are also often poorly laid out. I’m not sure if it’s a side effect of open concept, or cheap builders, but it’s definitely a thing. I toured a new build community north of Austin once that mostly had < 2000 sf homes, and they felt
12.
▲
by
sgarland
18d ago
I agree. I grew up poor, was accepted to every college I applied to, but couldn’t afford any of them so I joined the Navy instead. 10 years later, after a brief stint as an Electrical Distribution Engineer, Samsung hired me because one of t
13.
▲
by
sgarland
18d ago
Most non-techie people I know have a smart TV without an external streaming box like an Apple TV, Nvidia Shield, Roku, etc.
14.
▲
by
sgarland
19d ago
You can skip `tr` as well - works on BSD awk and GNU awk. { $0 = tolower($0) gsub(/[^[:alpha:]]/, "\n") for (i = 1; i <= NF; i++) { if (!($i in freq)) order[++n] = $i
15.
▲
by
sgarland
22d ago
> CERN has clarified that their focus with the migration is on their industrial accelerator-control computers while data centers and experimental computing remain on RHEL/AlmaLinux. For control systems, it’s perfectly reasonable to
16.
▲
by
sgarland
22d ago
DHH compared Romani people to wolves [0]. I am so very, very tired of having to even consider, let alone make decisions about, the technical vs. political merits of products. It’d be so great if CEOs would keep their views to themselves. 0:
17.
▲
by
sgarland
24d ago
> 20 million videos are uploaded to YouTube every day. Tangentially, assuming a median length of 4:03 [0], and a bitrate of 8192 Kbps (8 Mbps for video, 192 Kbps for audio), that’s almost 5 PB per day. That is insane. 0: https:/&#x
18.
▲
by
sgarland
26d ago
I assumed this would be a rant against cloud services, but alas, no. I do find it doubtful that OP couldn’t skip most of their setup, though; if you have HomeAssistant (which they do), and there’s a direct path from Blink -> Alexa, I’m f
19.
▲
by
sgarland
26d ago
Matter is a communications standard, not a protocol. You can have Matter over Thread, Matter over WiFi, etc. WRT IKEA, if they’re the Thread-only device, I found one page [0] claiming that some of them can be forced into Zigbee mode. 0: ht
20.
▲
by
sgarland
27d ago
Immutable records which are retained for legal purposes should be in object storage, not a database.
21.
▲
by
sgarland
29d ago
> Our Kafka setup started the way most things do in a fast-moving engineering team: pragmatically. > Every change required SSH and port-forwarding. Our Kafka instances had no URL. You accessed them via localhost. That isn’t pragmatism
22.
▲
by
sgarland
1mo ago
There’s no need to reverse engineer it, just build a Voron 2.4.
23.
▲
by
sgarland
1mo ago
Oh shit, I didn’t realize that had been cracked. Nice, I’m gonna switch ASAP. I bought a P2S, and then literally a few days later, the X2D came out. Thanks Microcenter, and your excellent customer service and return policy. The X2D is every
24.
▲
by
sgarland
1mo ago
Agreed. I have an M1 Air base model (also an M4 Pro), and hated the squared-off change for the M2. The wedge was the entire point.
25.
▲
by
sgarland
1mo ago
> How many engineers really understand isolation levels? I feel like there’s no excuse for this one. You need to know how your data store will interact with your query and others. The problem, I think, is what the tail end of that is, an
26.
▲
by
sgarland
1mo ago
> Rawdogging SQL when you're not a seasoned DB administrator basically makes an arcane art look occult. Isn't that true of most languages? SQL has pretty simple syntax; I think the only reason it's sometimes seen as arcane
27.
▲
by
sgarland
1mo ago
Agreed. Plus, if you can get an entire team to tell the PM “this is fucking stupid, we aren’t doing it,” what are they gonna do - axe an entire team? I doubt it. Maybe at big companies, but small ones? Nah.
28.
▲
by
sgarland
1mo ago
The older speakers are stuck on an older version of the app (it’s a wholly different app, called S1) which doesn’t have that behavior AFAIK.
29.
▲
by
sgarland
1mo ago
The majority of companies are building their stuff entirely in the cloud, where network speed scales with the instance size. I have had to explain this to multiple engineers at multiple companies, who are surprised to learn that network ban
30.
▲
by
sgarland
1mo ago
Sonos’ app is another example of this. As a very brief tl;dr if anyone isn’t aware of it, Sonos is a wireless speaker company that can group speakers in different rooms into zones, so you can have different music playing in different rooms,
More ›