HNHacker News
TopNewBestAskShowJobs

phmx

113 karma · joined September 3, 2016

submissionscomments
phmx··on Gemini 4 Argon
``` 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.

phmx··on Don't be the out of touch Kung Fu master
Also, don’t be the one who fights sharp swords with Marvin Minsky’s useless boxes.
phmx··on Creepy Crawlies
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?
phmx··on Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot
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

phmx··on Control the Ideas, Not the Code
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.
phmx··on Forestiere Underground Gardens
This reminds of a moisture farm from the Star Wars — https://starwars.fandom.com/wiki/Lars_homestead
phmx··on Loupe – A iOS app that raises awareness about what native apps can see
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.
phmx··on Cybersecurity looks like proof of work now
Looks similar to the halting problem to me (https://en.wikipedia.org/wiki/Halting_problem)
phmx··on The Singularity will occur on a Tuesday
> Polynomials are for people who think AGI is "decades away."

Je suis un polynôme

phmx··on Apple apologizes for iPad 'Crush' ad that 'missed the mark'
And https://en.wikipedia.org/wiki/Mottainai I guess
phmx··on DuckDB as the New jq
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"

phmx··on Firecracker internals: Inside the technology powering AWS Lambda (2021)
There's been a writeup on this topic by the Fly team -- https://fly.io/blog/docker-without-docker/
phmx··on Roskomvoboda's statement on disabling services for Russian citizens [pdf]
English translation starting from page 7.