Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Groxx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
391.
▲
by
Groxx
5mo ago
Yeah - sharing a variable there is a pretty strong signal that they are the same concept and can't be allowed to be different, not just "maybe the same value". That's useful to know. If there's a ton of it in a
392.
▲
by
Groxx
5mo ago
You're asking questions that broadly summarize as: "what if we had an idempotency key [which must work concurrently to be useful], but it didn't work concurrently?" Idempotency keys are themselves the solution you'
393.
▲
by
Groxx
5mo ago
Yea, you're in a fairly special niche of programming if you're somewhere that truly matters, and you can't accept any valid order's output. In most general code, if that kind of precision matters, float is the wrong choi
394.
▲
by
Groxx
5mo ago
Nice: https://tutorial.ponylang.io/expressions/ops#precedence Yeah that's pretty much exactly what I do by hand. I should really give Pony a try some time... there's a lot of stuff in it that I like.
395.
▲
by
Groxx
5mo ago
Non-mixed always goes strictly left to right, regardless of the operator, which I haven't seen anywhere near as much struggling with. But yes, I personally parenthesize `a-b-c` explicitly, because it's not worth it for me to read
396.
▲
by
Groxx
5mo ago
Might be shell expansion? zsh uses `?` for filename expansion, others might as well: https://zsh.sourceforge.io/Doc/Release/Expansion.html#Filena... Though I forget if any shell does stuff like that in quotes. Or
397.
▲
by
Groxx
5mo ago
- args->endp - args->begin_argv + consume); + args->endp - (args->begin_argv + consume)); tbh I've considered simply banning math-operator-precedence in projects I work on, and requiring all mixed-oper
398.
▲
by
Groxx
5mo ago
Some people will notice, some will not
399.
▲
by
Groxx
5mo ago
Yep - I've seen legitimate-looking dups on bad hardware, and "there are a ton of trailing zeros" is also an incredibly common duplicate mode for some UUID libraries (like earlier Go ones that didn't validate the "re
400.
▲
by
Groxx
5mo ago
Roko's Basilisk takes on a form I didn't expect, but probably should have: social death.
401.
▲
by
Groxx
5mo ago
Giant online communities, yes. Small ones seem totally unaffected afaict - some harder to spot scam/spam accounts, but they're outed as soon as they act. And any invitation-based thing should almost perfectly block those. Smaller
402.
▲
by
Groxx
5mo ago
The overall quality of LLM coding tools is shockingly bad. I haven't found a single one without major issues, and many have the same problems reappear every few months, sometimes bad enough to almost break the entire thing (e.g. 100%
403.
▲
by
Groxx
5mo ago
I mean... yeah? Isn't it obvious that they're essentially the same thing, but one thinks they're in a higher class than the other? Fast feedback loops and delegating tasks to sub-agents have been pretty common for vibers sinc
404.
▲
by
Groxx
5mo ago
I don't like the focus-hijacking things because it tends to obscure the parts of the UI that you will have to deal with in the next experience. You are given an accelerated tour that does not match the muscle-memory that you will need
405.
▲
by
Groxx
5mo ago
100% this. If you want to offer a product tour, then offer it as a small dismissible notification-thing in the corner of the normal UI . Otherwise you run into this situation while also constantly being annoying to everyone who has used y
406.
▲
by
Groxx
5mo ago
None of their natural predators seem to have teeth for chewing. So, yes, I think swallowing them whole is the most natural thing to do.
407.
▲
by
Groxx
5mo ago
yea - as nice as they can look, many scanners expect very high contrast and a clear, unbroken bright border around the whole thing (many stylized ones I see lack a border). lacking either will mean many failures.
408.
▲
by
Groxx
5mo ago
https://www.rssboard.org/rss-validator/check.cgi?url=https%3... > This is a valid RSS feed. ?
409.
▲
by
Groxx
5mo ago
Yeah, I can definitely believe that Google would break over a billion handwritten. It's a big company that has been around for a long time. It's still absurd. But believable.
410.
▲
by
Groxx
5mo ago
iirc they also vendor(ed) many of their dependencies, several layers deep, which still counts for "stores" though it's rather different than "wrote" / "maintains".
411.
▲
by
Groxx
6mo ago
Which makes them even less safe than unsigned, where it is defined, yes? The optimizations that can lead to are incredibly hard to predict. Besides, for safety there are much clearer options, like wrapping_add / saturating_add. Abortin
412.
▲
by
Groxx
6mo ago
You do need to store those if they're totally opaque though, e.g. how do you represent a range without holding N tokens? Often I like it, and it allows changing the underlying storage to be e.g. generational with ~no changes, but it ki
413.
▲
by
Groxx
6mo ago
That's true for signed numbers too though? `int_min - 2 > int_min` I agree they're a bit more error-prone in practice, but I suspect a huge part of that is because people are so used to signed numbers because they're usual
414.
▲
by
Groxx
6mo ago
> If sizes are unsigned, like in C, C++, Rust and Zig – then it follows that anything involving indexing into data will need to either be all unsigned or require casts. With C’s loose semantics, the problem is largely swept under the rug
415.
▲
by
Groxx
6mo ago
Better than the current standard for AV, which is "what floor?"
416.
▲
by
Groxx
6mo ago
Definitely. At the very least, given the slow change in which ones are accepted, a cheap rental setup seems like the baseline that should exist... but everyone had to buy their own for my schools.
417.
▲
by
Groxx
6mo ago
I can't tell if my main source of hate there is the homogeneity itself, or that it's excessively marketing-flavored (fluffy and aggrandizing, mere inches from "our incredible journey..." at all times).
418.
▲
by
Groxx
6mo ago
And making them worse, let's not forget that.
419.
▲
by
Groxx
6mo ago
> That's 3 ms per second = 0.3% CPU time wasted for every waiting thread. I suspect that's actually "per process, per database (usually 1)", and not based on number of threads or tables. `data_version` semantics mean
420.
▲
by
Groxx
6mo ago
It has a UI to change some of the settings. And not even all of the settings with autocomplete help - I have no idea why those aren't equivalent to each other at least as a fallback, but they very clearly are not. And plugins frequen
More ›