Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NathanaelRea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
NathanaelRea
21d ago
I don't understand why this is the top comment. The article isn't about encoding a bag of unique items, it's about drawing the flag. So of course you can do it in 8 bits, because you're just storing the "id", n
2.
▲
by
NathanaelRea
4mo ago
Have you seen jscpd? What does your tool do differently?
3.
▲
by
NathanaelRea
4mo ago
> Rather: if you don’t have the knowledge, you don’t understand the question, or why it matters, or how to judge the answers, and you won’t ever think to ask. You’re in a completely different continent from “writing the prompt”. Reminds
4.
▲
by
NathanaelRea
8mo ago
Reminds me of Veritasium's recent videos, really driving that initial hook and maintaining the viewer's attention. He had an explanation video about it which explained how people who would be interested in something like "the
5.
▲
by
NathanaelRea
10mo ago
Easy fix :) function f(n){n.childNodes.forEach(c=>{c.nodeType===3?c.textContent=c.textContent.replace(/(^|[.!?]\s+)([a-z])/g,(m,s,l)=>s+l.toUpperCase()):c.nodeType===1&&f(c)})}f(document.body)
6.
▲
by
NathanaelRea
10mo ago
That's kind of a rediculous assessment. "How many games have you shipped in the last 10 years" is the standard for how good your advice is. John has made two games + one soon in the last 17 years. Braid started off the indie
7.
▲
by
NathanaelRea
10mo ago
I saw your other comment that you meant interface. But an example of a language that went without a feature people thought the language desperately needed was Go with generics. They only added them more than ten years later, when they figur
8.
▲
by
NathanaelRea
10mo ago
This is such an interesting observation, makes a lot of sense.
9.
▲
by
NathanaelRea
11mo ago
Ahhh. I didn't see that, interesting!
10.
▲
by
NathanaelRea
11mo ago
Tested with different models "What does this mean: <Gibberfied:Test>" ChatGPT 5.1, Sonnet 4.5, llama 4 maverick, Gemini 2.5 Flash, and Qwen3 all zero shot it. Grok 4 refused, said it was obfuscated. "<Gibberfied:This
11.
▲
by
NathanaelRea
11mo ago
Interesting, I thought I had heard that this is automatically done, but I guess it's only through concurrent tasks/threads. It is still necessary to batch in application code. https://docs.tigerbeetle.com/coding&#x
12.
▲
by
NathanaelRea
11mo ago
Doesn't the Tigerbeetle client automatically batch requests?
13.
▲
by
NathanaelRea
11mo ago
I typically only use ternaries for single operations and extract to a function if it's too big. Although they are quite fun in JSX. For your code i'd probably do: function SetPosition(x, y, z) { if (!(isNumber(x) &&
14.
▲
by
NathanaelRea
11mo ago
They could just add a "use immutable;" directive that you place at the top of your file.
15.
▲
by
NathanaelRea
11mo ago
You could do an absolutely disgusting IIFE if you need the curly brace spice in your life, instead of a typical JS ternary. const y = (() => { if (x) { return true; } else { return false; })();
16.
▲
by
NathanaelRea
11mo ago
I don't think this is the best option, there could be very hard bugs or performance cliffs. I think I'd rather have an explicit opt-in, rather than the abstraction changing underneath me. Have my IDE scream at me and make me consi
17.
▲
by
NathanaelRea
1y ago
You could also do const arr = ["foo" as const]
18.
▲
by
NathanaelRea
1y ago
I was reading about MW yesterday and had the same question about the short password. Here's a doc I found about it: https://magic-wormhole.readthedocs.io/en/latest/attacks.html...
19.
▲
by
NathanaelRea
1y ago
Companies want GW data centers, which are a new thing that will last decades, even if GPUs are consumable and have high failure rates. Also, depending on how far it takes us, it could upgrade the electric grid, make electricity cheaper. And
20.
▲
by
NathanaelRea
1y ago
I was going to suggest the same. Seems like there's an impedance mismatch between open to meeting but not being immediately upfront with availability. For example, saying "I'm only available 2-3pm PST on Tuesdays and Fridays,
21.
▲
by
NathanaelRea
1y ago
There will always be an adobe tax so to speak. Creatives want high quality and reliable tools to be able to produce high quality things. I could imagine a world where a small team + AI creates an open source tool that is better than current
22.
▲
by
NathanaelRea
1y ago
Porco Rosso
23.
▲
by
NathanaelRea
1y ago
Ok, that makes sense. I re-read the post. I thought the signed doc checksum was the same for both, but it seems like the certification page is inserted into the actual document, thus breaking your ability to verify the final document checks
24.
▲
by
NathanaelRea
1y ago
Wouldn't a sha256 collision be impractical? Like wouldn't it be more compute than the couple grand a security deposit would be? SHAttered was in 2017 with SHA-1 and took 110 years of GPU equivalent compute. It feels like just a mi
25.
▲
by
NathanaelRea
1y ago
What I take from it is that feelings are elusive, that you can never "reach" them. Your mind is constantly popping into existence feelings, emotions, and thoughts. Rather than trying to force yourself to "feel" a certain
26.
▲
by
NathanaelRea
1y ago
https://dsnp.org/dsnp_whitepaper.pdf
27.
▲
by
NathanaelRea
1y ago
Shrinkflation breaks userspace
28.
▲
by
NathanaelRea
2y ago
If they just get the financial headlines and indicators, aren't they all just momentum trading from sentiment analysis?
29.
▲
by
NathanaelRea
2y ago
Can you explain more what type of game would need a call stack snapshot? I've never developed a game, but it seems like as long as you store like the initial state and prng you could always get the current state by replaying the full h
30.
▲
by
NathanaelRea
2y ago
It seems to skip a lot for substring search. For example if you search for 'aaaa' there's maybe 100 jumps to get to the bottom. So i'd assume that it's just a uniform random over the entire range to some limit, then
More ›