panzi

Joined 13 years ago

Karma
1,103
Submissions
782
Member since
Aug 30
https://github.com/panzi/
View on Hacker News

Recent submissions

Comment · 11 days ago
Getting Bad Gateway.
Comment · 12 days ago
Compilers often just build up more and more data structures in memory until the end when they then release everything more or less at once. With an arena you can then just throw away the whole arena at the end, assuming there are no resource handles that need to be closed in drop().

A long time ago I read an article about someone speeding up a C++ compiler that is itself written in C++ (was it g++? maybe clang?). They simply patched out delete so it did nothing. The compiler used marginally more memory but ran much faster, since releasing all the small objects one by one is just useless work at the end of the compilation.

A GCed language has a similar behavior and could therefore be fast in that case. It just builds up all the objects and then when the program exists it doesn't have to GC them all, it just throws away the whole process memory. So I can imagine one could "optimize" a compiler written in a GCed language by deactivating the GC.

Comment · 12 days ago
I wonder how fast "Doom in TypeScript" runs in tsrs now. XD
Comment · 14 days ago
Getting 403 for this.
Comment · 14 days ago
Hm, does document.write("...") still exist?
Comment · 18 days ago
Interesting!

We're currently use pgvectorscale. Some questions:

- Will pg_vectorsearch eventually also support vectors bigger than 1968 dimensions? E.g. VoyageAI can create embeddings with 2048 dimensions (but we don't actually need that at the moment, only 1024).

- Why did you choose C this time and not Rust, as you did with pgvectorscale?

- Why did you not just extend pgvectorscale with another index type instead of creating a whole new extensions?

Comment · 21 days ago
I expected it to also talk about ~username. See e.g.: echo ~root ~pulse ~sddm
Comment · 24 days ago
What about that makes it sound like AI? I can't detect it. My native language isn't English, though.
Comment · 27 days ago
8.8 million people? Wikipedia says Denmark only has 6 million people! Historical data too? People from other countries that had any treatment in Denmark?
Comment · 27 days ago
I think the claim is that GCC supports a few obscure platforms that LLVM doesn't. Don't ask me which, that is just the claim that I heard multiple times. So it's not Rust that limits platforms, but LLVM. And they say the GCC backend efforts of Rust are meant to deal with that.
Comment · 1 month ago
Sure, I still find it fascinating.
Comment · 1 month ago
That's more than 4 times the size of Super Mario World, I believe. Always fascinating how little is done with so much these days.
Comment · 1 month ago
Black Mirror episode 2, IIRC.
Comment · 1 month ago
For me:

> 503 Service Unavailable

Comment · 1 month ago
I think the "avoid people" part does a lot of work. For a lack of a better word, AI generated people still look soulless.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton