Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anematode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
anematode
7mo ago
Credential stealers hate this one trick!
122.
▲
by
anematode
7mo ago
Perhaps a bad argument, but for some people a very compelling one...
123.
▲
by
anematode
7mo ago
Fantastic and exciting stuff! I wonder how much of this meteoric progress in actually creating novel mathematics is because the training data is of a much higher standard than code, for example.
124.
▲
by
anematode
7mo ago
What goal posts have I moved? You seem to be attributing arguments to me that I haven't made. I'm simply pointing out that the example you gave involves a level of scaffolding that most projects don't have, so that the data p
125.
▲
by
anematode
7mo ago
In agree in principle, but the compiler is a terrible example given the amount of scaffolding afforded to the LLMs, literally hundreds of thousands of test cases covering all kinds of esoteric corners. Also (and this is coming from someone
126.
▲
by
anematode
7mo ago
Sad but true...
127.
▲
by
anematode
7mo ago
This is absolutely the way to go
128.
▲
by
anematode
7mo ago
Honestly, Vite is all you need. :) It's super flexible compared to the status quo of require vs. import etc. For example, I recently wanted to ship a WASM binary along with the JS rather than making it a separate download (to avoid
129.
▲
by
anematode
7mo ago
I like the sentiment, but building a website that can actually function in that setting isn't a matter of mere polyfills. You need to cut out the insane bloat like React, Lottie, etc., and just write a simple website, at which point yo
130.
▲
by
anematode
7mo ago
The desire to keep things compatible with even ES6, let alone ES5 and before, is utterly bizarre to me. Then you see folks who unironically want to maintain compatibility with node 0.4, in 2025, and realize it could be way worse.... Ironica
131.
▲
by
anematode
7mo ago
It is true! If you explicitly synchronize between threads, sure, you can't optimize it in general, but if not, the compiler is well within its rights to cache the access.
132.
▲
by
anematode
7mo ago
They want to make money.
133.
▲
by
anematode
7mo ago
This thread is discussing Java, not Python
134.
▲
by
anematode
7mo ago
If what you call gets inlined, then the compiler can see that it either does or doesn't modify the attribute and optimize it accordingly. Even virtual calls can often be inlined via, e.g., class hierarchy analysis and inline caches. If
135.
▲
by
anematode
7mo ago
Any decent JIT compiler (and HotSpot's is world class) will optimize this out. Likely this was done very early on in development, or was just to reduce bytecode size to promote inlining heuristics that use it
136.
▲
by
anematode
7mo ago
I like this analogy, thanks!
137.
▲
by
anematode
7mo ago
(This isn't how chess mate-finding works.)
138.
▲
by
anematode
7mo ago
Indeed. I like to call this form of code organic slop , and it predates the LLM era.
139.
▲
Optimizing for non-uniform memory and cache effects in Stockfish
(anemato.de)
1 points
by
anematode
7mo ago
|
0 comments
140.
▲
by
anematode
7mo ago
Time travel debugging is soooo cool and I wish it was more widespread (of course I'm aware it's very difficult to implement and has unavoidable overhead). Imagine if an automated error report from a user of your app included not o
141.
▲
by
anematode
7mo ago
Haven't looked closely, but on modern x86 CPUs it might be possible to do much better with the gf2affineqb instructions, which let us do 8x8 bit matrix multiplications efficiently. Not sure how you'd handle the 2-bit part, of cour
142.
▲
by
anematode
7mo ago
Yep, good stuff. Another nice trick to extract more ILP is to split it into even/odd exponents and then recombine at the end (not sure if this has a name). This also makes it amenable to SLP vectorization (although I doubt the compiler
143.
▲
by
anematode
7mo ago
The issue is that the consumer strongly associates "AI" with LLMs specifically. The fact that machine learning is used to blur your background in a video call, for example, is irrelevant to the consumer and isn't thought of a
144.
▲
by
anematode
7mo ago
Of course. But typical, live collaborative software doesn't need to be (and shouldn't be) decentralized. In such software it's annoying to not be able to (even speculatively) acquire unique access to an object. I'd be ve
145.
▲
by
anematode
7mo ago
Enjoyed the article! As someone who's worked on bits of collaborative software (and is currently helping build one at work), I'd caution people from using CRDTs in general. A central server is the right tool for the job in most ca
146.
▲
by
anematode
7mo ago
But they're not "slow"! Unlike biological thinking, which has a speed limit, you can accelerate these chains of thought by orders of magnitude.
147.
▲
by
anematode
7mo ago
Reported a few issues, e.g. https://github.com/ad-si/Woxi/issues/16
148.
▲
by
anematode
7mo ago
// ∫ tan(x) dx = -ln|cos(x)| - not implemented (requires Log) This really doesn't bode well... I'm no expert in CASes, but everything I've looked at seems very naive. Vibe coding a Mathematica replacemen
149.
▲
by
anematode
7mo ago
Amazing!! This is a project I've wanted to tackle for years but never got the chance to properly do.
150.
▲
by
anematode
7mo ago
... no, that's not boxing. Boxing is storing value types on the heap.
More ›