Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thechao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
thechao
1y ago
If I'm interested in performance I'll build my data out of offset handles and lay everything down into a block and mmap() it around. That's parsing free, up to an htons() — but that's only a worst case scenario. Everythi
182.
▲
by
thechao
1y ago
I do a lot of very low level programming with awful performance-maintenance trade-offs. Here's a great trick for a "binary" JSON: remove all of the extra whitespace, normalize your numbers, and the LZ4 the resulting string.
183.
▲
by
thechao
1y ago
My wife really wants to build a house; we've started by doing some light remodeling using GC's who also build houses to a "get a feel for it". There's a strong incentive for a good GC to truly believe the estimate
184.
▲
by
thechao
1y ago
That was my first thought: no XSLT 3 engine that I know of keeps an in-memory object that supports iterative retemplating on diff changes to the source. I think the closest to this is in the functional communities and their lenses. Given ho
185.
▲
by
thechao
1y ago
This is effective feature size and has little to do with actual geometry. Transistor size has barely budged in the last 10–15 years. The limitation is electrical, and it's not clear where that limit is. The smallest gate was built wi
186.
▲
by
thechao
1y ago
I wonder if it's possible to not lock themselves into an ABI with a built in vtable implementation? I kinda get where they're coming from: let vtables be a user problem; but, yeah, modern compilers can do magic when they "kno
187.
▲
by
thechao
1y ago
Right. Because your average citizen has a few hundred thousand dollars for their rare congenital disease. My bet — just wild eyed speculation — is that most of this stuff is paid for by the govt through sone sort of insurance-like subsidy.
188.
▲
by
thechao
1y ago
TSMC has 83000 employees. If Intel does everything TSMC & NV do, then they should have something like 83000+36000~120000 employees?
189.
▲
by
thechao
1y ago
All the stars in the universe, burning as brightly as they are, are the tiniest fraction of additional energy compared to the 2.73°K background temperature of space. The Big Bang was very warm.
190.
▲
by
thechao
1y ago
I agree. But, I also like the discipline of lexing from `FILE*`. I've ended up with cleaner separation of concerns throughout the front-end stack, because I can't dip back into the well, unless I'm thinking very clearly abo
191.
▲
by
thechao
1y ago
At the parser-level, though; not down in the lexer. I intern unique user-defined strings (just with a hashcons or whatever the cool kids call it, these days). That defers the determination of correctness of UTF-kness to "someone else&q
192.
▲
by
thechao
1y ago
I like to have my lexers operate on `FILE*`, rather than string-views. This has some real-world performance implications (not good ones); but, it does mean I can operate on streams. If the user has a c-string, the string can be easily wrapp
193.
▲
by
thechao
1y ago
Which language is phonetic? I think you're beating around the bush here; you claim English isn't phonetic, but which language is ?
194.
▲
by
thechao
1y ago
I think you're trying to to argue something like: "the set of dialects that make up English have a large(r?) set of allowable IPA orthographic representations than the accepted set of English orthographies" or something to th
195.
▲
by
thechao
1y ago
I'm tired of bailing Floridian and coastal Texans out after hurricanes. I'm in Austin (Texas) and our insurance bills are outrageous because of coastal cities (indirect, if nontrivial). If they want to live down there, fine, but I
196.
▲
by
thechao
1y ago
We need to distinguish between a computer that's equivalent to BB(n), and a computer big enough to compute the value of the number that is BB(n). By (terrible) analogy: a 4004 can be made to write a finite loop that describes how many
197.
▲
by
thechao
1y ago
I've found it easier to write my own PRNG than to use the std. Using the std PRNG is about as buggy as my implementation, so the trade-off is reasonable. I usually need non-cryptographically strong PRNGs, so xorshift128+ is sufficient.
198.
▲
by
thechao
1y ago
Yeah... I posted too quickly: I want XSLT 3. The 1 & 2 specs are good first attempts, but are very difficult to use, effectively. As another poster also commented: it'd be nice if the implementation wasn't tied to XML, as well
199.
▲
by
thechao
1y ago
Can you name a non-Saxon XSLT processor? I'd really like one. Preferably, open-source.
200.
▲
by
thechao
1y ago
Even at .0006c (our current tech), the galaxy would be filled with (weakly self propagating) robotic probes after just 750 million years. Unless extremely long lived self-propagating probes just ... die out ... that implies no aliens older
201.
▲
by
thechao
1y ago
Most people tend to punch with a loose hand to the top of the head: this simultaneously increases the chance of breaking their hand; reduces the impact force; and, strikes one of the most insensitive & hardest parts of the body (the sku
202.
▲
by
thechao
1y ago
House size, build "quality" (the details in the house), resource scarcity, and zoning policy are the drivers of cost. Cheap credit and lifetime loans allow the system to continue.
203.
▲
by
thechao
1y ago
I remember an Analog "speculative engineering" article from a few decades that pointed out that plain old structural steel, at the appropriate height of the surface of Jupiter would create a surface with "natural" 1g of
204.
▲
by
thechao
1y ago
"Staple" as in "potato"; not "paper". Although, I'm fond of both metaphors — the initial mixed one was very delightful!
205.
▲
by
thechao
1y ago
Hold my beer; I'm gonna middlebrow this! My best guess (dimly remembered from drawing blood for testing in my lab) is that these "groups" (systems?) all live at the same place on the chromosomes that do/n't express
206.
▲
by
thechao
1y ago
Dijkstra!
207.
▲
by
thechao
1y ago
Sigh: https://arxiv.org/abs/2505.23877
208.
▲
by
thechao
1y ago
Right on! The energy production is not that interesting. It's the energy *blanket* we're making with the byproducts that's cooking us.
209.
▲
by
thechao
1y ago
Shining-brass 25 ton, coal-powered, steam-driven autohorse! 8 legs! Tireless! Breathes fire!
210.
▲
by
thechao
1y ago
When I read these papers I always wonder if the authors did any research into priors before doing their work. I usually see sus-af "redos" in low tier AI (the fad of the decade); so, CPU arch is original? Another commenter point
More ›