Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dietr1ch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
421.
▲
by
dietr1ch
1y ago
Maybe you are better off moving to UUIDs then? It seems that there's packages to make handling them easier, but you'll still need a tiny hack to map old i32 Ids to some UUID.
422.
▲
by
dietr1ch
1y ago
And engineers thinking of scale would usually try to steer away from a sequential id because of self inflicted global locking and hot spots.
423.
▲
by
dietr1ch
1y ago
My first encounter with UEFI turned out to be quite expensive because UEFI was way too new and easy to brick. I guess things are better now, but toying around with this might still be a risk not worth taking as a consumer.
424.
▲
by
dietr1ch
1y ago
> but it's not illegal This is where I find the extremely lawful mindset idiotic. Laws try to encode good behaviour, but can't define it.
425.
▲
by
dietr1ch
1y ago
I don't think it's that wild. Hardware will improve together with performance, but once the market stops expanding and behaviour gets stagnant the market shares will solidify, so you better aim to have a large portion to make the
426.
▲
by
dietr1ch
1y ago
Timing in Google is all about perf cycles. This is being done so people can say they launched and landed Gemini in Chrome.
427.
▲
by
dietr1ch
1y ago
Why would a Waymo be stuck next to my property if it isn't dropping off someone? Things can go wrong
428.
▲
by
dietr1ch
1y ago
It seems it was added afterwards. I also noticed it when playing a few boards later at night.
429.
▲
by
dietr1ch
1y ago
I really don't like the wording about multiple solutions not being logical. I get that instances where resolution doesn't lead you to the unique solution are annoying and don't scratch the right part of your brain, but I feel
430.
▲
by
dietr1ch
1y ago
Just scroll down until you find an unsolved puzzle. I wish you could filter out and just play unsolved ones.
431.
▲
by
dietr1ch
1y ago
No need to reload, you can hover over the image and read its filename to see the answers right after you guessed.
432.
▲
by
dietr1ch
1y ago
It's not about forecasting, but about being able to give food away instead of dumping it because "lost profits" and idiotic lawsuits on free food.
433.
▲
by
dietr1ch
1y ago
This means multiple stacked branches that you need to maintain on your own, doesn't it? That's the annoying part IMO, even when a short script would do or the rebases take a few characters in some efficient git UI.
434.
▲
by
dietr1ch
1y ago
This, I was "randomly selected" way too often to risk it nowadays.
435.
▲
by
dietr1ch
1y ago
(Site is unreadable for me on Firefox 138, but the text is still there if you select all. Qutebrowser based on Chromium 130 doesn't render it either.)
436.
▲
by
dietr1ch
1y ago
The length thing sounds like an editor problem, but we have wasted too much time in coming up with syntax that pleases personal preferences without admitting we would be better off moving away from text. 927 can be avoided, but it's wa
437.
▲
by
dietr1ch
1y ago
I see the problem you face, but I don't think it's that easy. It seems you can rely on hashes being noisy and alter questions or answers a little bit to get around the LLM homework naughty list.
438.
▲
by
dietr1ch
1y ago
True, but mind the search space size. You can go through 50-80k search nodes in 10ms in a modern CPU, so even using Dijkstra seems feasible on a decent implementation as the grid used in the animations seems to have 100x80 nodes. If I was m
439.
▲
by
dietr1ch
1y ago
Pathfinding in general doesn't allow a lot of multi-threading. You can do bi-directional search, but it doesn't always work as good as it seems on a 2D maze[0], and adding workers beyond the 2nd requires being really good at gues
440.
▲
by
dietr1ch
1y ago
If just use A*, but you rank open to loop for lowest (f, h) pairs, then the search frontier just dives despite having multiple optimal paths, as the new node tie-breaking ensures we prefer nodes that seem closest to the goal.
441.
▲
by
dietr1ch
1y ago
> If someone absolutely insists on being an asshole, escalate. That's doubling down on time spent on contributing back. It's usually cheaper to workaround the issue once you notice it'll be way harder than it should be (no
442.
▲
by
dietr1ch
1y ago
Yes. I've experienced pushback from obvious fixes with requests to formally test their code for the first time. All because it may break someone. Even when I presented a real defect based on docs/comments and fixed it. You'd
443.
▲
by
dietr1ch
1y ago
Well, when the owner asks for a whole test suite that didn't exist to get a fix in, what most likely happens is that you just wasted your time in a draft CL that will get lost.
444.
▲
by
dietr1ch
1y ago
Graph DB OOMing 101. Can it do Erdős/Bacon numbers? Graph DBs have been plagued with exploding complexity of queries as doing things like allowing recursion or counting paths isn't as trivial as it may sound. Do you have benchmark
445.
▲
by
dietr1ch
1y ago
> Instead, the problem is one of stability. In a "foundation that doesn't move and cause you to fall over" sense of the word. Consider if people made a house where every room had a different substructure under it. That, la
446.
▲
by
dietr1ch
1y ago
> I'll note that it isn't just PGO/BOLT style optimizations. Largely, it is not that at all, oddly. Well, it's not required to trim code that you can prove unreachable, true. But I was thinking about trying to measure
447.
▲
by
dietr1ch
1y ago
I don't think libraries are the problem, but we don't have a lot of visibility after we add a new dependency. You either take the time to look into it, or just add it and then forget about the problem (which is kind of the point o
448.
▲
by
dietr1ch
1y ago
Is there a way of looking at desugared code? Maybe things won't change that much, but I feel that documentation on how desugaring is supposed to be done will be increasingly wrong as things change. Maybe it's stable enough, but It
449.
▲
by
dietr1ch
1y ago
`StatusOr<T>::operator ` there is akin to `Result<T, _>::unwrap()`. On C++ unwrapping looks like dereferencing a pointer which is scary and likely UB already. But as you learn to work with StatusOr you'll end up just using
450.
▲
by
dietr1ch
1y ago
> Single logical site spread across multiple domains. Is there really need for this? I get subdomains can help routing, but beyond that sites spreading over multiple domains are chaotic and phishing-prone. People get used to jump from fo
More ›