News for hackers. Stuff that matters.

phmx

Re:Gemini 4 Argon on Thursday October 01, 2026 @11:01AM (#49922563)
``` 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.

Re:Don't be the out of touch Kung Fu master – John Carmack on Sunday September 13, 2026 @04:43AM (#49681556)
Also, don’t be the one who fights sharp swords with Marvin Minsky’s useless boxes.
Re:Creepy Crawlies on Sunday August 30, 2026 @11:14AM (#49499421)
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?
Re:Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot on Thursday July 23, 2026 @04:34AM (#49018499)
The Metals documentation includes instructions for setting it up with Emacs. I followed them, and everything works, including worksheets.

https://scalameta.org/metals/docs/editors/emacs

Re:Control the Ideas, Not the Code on Tuesday July 14, 2026 @06:38AM (#48904699)
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.
Re:Forestiere Underground Gardens on Wednesday July 01, 2026 @09:45AM (#48746687)
This reminds of a moisture farm from the Star Wars — https://starwars.fandom.com/wiki/Lars_homestead
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.
Re:Cybersecurity Looks Like Proof of Work Now on Thursday April 16, 2026 @06:52AM (#47791256)
Looks similar to the halting problem to me (https://en.wikipedia.org/wiki/Halting_problem)
Re:The Singularity Will Occur on a Tuesday on Wednesday February 11, 2026 @08:32AM (#46974742)
> Polynomials are for people who think AGI is "decades away."

Je suis un polynôme

Re:DuckDB as the New jq on Friday March 22, 2024 @05:28AM (#39788845)
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"

There's been a writeup on this topic by the Fly team -- https://fly.io/blog/docker-without-docker/
English translation starting from page 7.