Recent submissions

Comment · 1 month ago
``` void* mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { if (!real_mmap) real_mmap = dlsym(RTLD_NEXT, "mmap"); ```

hope it's not run by multiple threads and dlsym is not allocating.

Comment · 1 month ago
Also, don’t be the one who fights sharp swords with Marvin Minsky’s useless boxes.
Comment · 2 months ago
I guess GitHub is in a similar bunch of sources, it should be also more efficient to crawl by cloning. Anyway, isn’t it the whole sales pitch that it generates tailored solutions fast?
Comment · 3 months ago
Comment · 3 months ago
The code we've shipped throughout our careers certainly wasn't reviewed only by us. It was reviewed by programmers with more expertise in the relevant area. That's a healthy and efficient division of labor, expertise, and responsibility.
Comment · 4 months ago
Comment · 4 months ago
On a tangential point, one thing that should definitely not be possible for apps these days is determining whether you enabled a VPN. AFAIK, it’s possible indirectly in iOS by enumerating network interfaces with specific/telling names.
Comment · 6 months ago
Comment · 8 months ago
> Polynomials are for people who think AGI is "decades away."

Je suis un polynôme

Comment · 2 years ago
Comment · 2 years ago
There is also a way to import a table from the STDIN (see also https://duckdb.org/docs/data/json/overview)

cat my.json | duckdb -c "CREATE TABLE mytbl AS SELECT * FROM read_json_auto('/dev/stdin'); SELECT ... FROM mytbl"

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton