HNHacker News
TopNewBestAskShowJobs

fanf2

44,337 karma · joined August 9, 2010

dot@dotat.at

https://dotat.at (home page)

https://dotat.at/@/ (blog)

https://dotat.at/:/ (links)

erstwhile fanf@isc.org hostmaster@cam.ac.uk postmaster@cam.ac.uk fanf@exim.org fanf@apache.org

submissionscomments
fanf2··on We rolled our own documentation site
I use https://pagefind.app/ for search on my website. It’s really easy to add to a static site.
fanf2··on I/O is no longer the bottleneck? (2022)
It isn’t on-die, the ram is separate chips in the same package. See the pics about halfway down https://www.apple.com/de/newsroom/2023/10/apple-unveils-m3-m...
fanf2··on The Fisher-Yates shuffle is backward
There are actually four variants:

• loop counts downwards vs upwards

• the processed part of the array is a uniform sample of the whole array, or it is a segment that has been uniformly shuffled

Knuth described only the downwards sampling version, which is probably why it’s the most common.

The variants are compared quite well on wikipedia https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle

fanf2··on Instant database clones with PostgreSQL 18
This doesn’t work for testing migrations because MySQL/MariaDB doesn’t support DDL inside transactions, unlike PostgreSQL.
fanf2··on Debian's Git Transition
Ian Jackson (the author of this article) also wrote debbugs.
fanf2··on A train-sized tunnel is now carrying electricity under South London
It’s easy to find on https://openinframap.org
fanf2··on High Performance SSH/SCP
Byte ranges are the only way to access files over sftp. Look at the read and write requests in https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filex...
fanf2··on Economics of Orbital vs. Terrestrial Data Centers
This article assumes that no extra mass is needed for cooling, i.e. that cooling is free. The list of model assumptions includes:

• No additional mass for liquid cooling loop infrastructure; likely needed but not included

• Thermal: only solar array area used as radiator; no dedicated radiator mass assumed

fanf2··on The fuck off contact page
It has broken scrolling, very irritating. Scroll to top doesn’t work at all and when I fiddle with the fake windows regular scrolling can’t decide if the fake window or the whole page should scroll.
fanf2··on Why doesn't Apple make a standalone Touch ID?
FaceID is much slower than TouchID, FaceID fails with wet glasses, it fails with a breathing mask. I can’t use the phone with wet fingers or gloves so needing a bare dry finger for TouchID is fine. FaceID annoyingly worse.
fanf2··on Constant-time support coming to LLVM: Protecting cryptographic code
What happened to the blog post? It was moved and now it has disappeared :-(
fanf2··on GCC SC approves inclusion of Algol 68 Front End
No, because Knuth’s test was for Algol 60 and Algol 68 is a very different programming language.
fanf2··on I can't recommend Grafana anymore
No, it cane from DEC https://en.wikipedia.org/wiki/Numeronym#Numerical_contractio...

It seems unlikely to me that stenography would use this style because they have better ways of abbreviating long agglutinative words.

fanf2··on Analyzing the Performance of WebAssembly vs. Native Code
(2019)
fanf2··on This week in 1988, Robert Morris unleashed his eponymous worm
The IETF’s review has an amazing title “The Helminthiasis of the Internet”

https://www.rfc-editor.org/rfc/rfc1135

fanf2··on Hard Rust requirements from May onward
Before apt, the main user interface for dpkg was dselect, which was written in C++
fanf2··on Old Is Gold: Optimizing Single-Threaded Applications with Exgen-Malloc
At a quick skim this looks like they reinvented something very similar to phkmalloc, but they didn’t cite phkmalloc nor include it in their benchmarks.

https://phk.freebsd.dk/sagas/phkmalloc/

https://cgit.freebsd.org/src/tree/lib/libc/stdlib/malloc.c?h...

fanf2··on Show HN: Kent Dybvig's Scheme Machine in 400 Lines of C (Heap-Memory Model)
The atoms strcmp()ed by the interpreter are all created by the compiler so you can ensure the pointers are equal by construction.
fanf2··on Show HN: Kent Dybvig's Scheme Machine in 400 Lines of C (Heap-Memory Model)
Instead of representing atoms as string literals, you can represent them as global variables, eg

    const char conti[] = "conti";
Then you can use pointer comparison instead of strcmp().
fanf2··on Vertical Solar Panels Are Out Standing
A newish solar farm near here has fixed panels https://maps.app.goo.gl/DCw7DfNb5bDTRu1E9
fanf2··on Detaching GraalVM from the Java Ecosystem Train
There are lots of news stories in recent years about Oracle sending lawyers round to demand money from orgs both commercial and non-commercial who are using Oracle Java SE, eg https://www.theregister.com/2025/05/09/users_advised_to_revi...
fanf2··on SSH3: Faster and rich secure shell using HTTP/3
Yeah, the longstanding hpn-ssh fork started off by adjusting ssh’s window sizes for long fat pipes.

https://github.com/rapier1/hpn-ssh

fanf2··on SSH3: Faster and rich secure shell using HTTP/3
Yeah, there’s a replacement for scp that uses ssh for setup and QUIC for bulk data transfer, which is much faster over high-latency paths.

https://github.com/crazyscot/qcp

fanf2··on Brutalita Sans: An Experimental Font and Font Editor
Reminds me of Teletext, the BBC Micro’s mode 7, and Bedstead https://bjh21.me.uk/bedstead/
fanf2··on A revolution in English bell ringing
That sentence is specifically about composers of methods in change ringing, where the musical possibilities are tightly constrained by the rules and the physics of ringing large bells. Change ringing is based on permutations constructed by swapping adjacent pairs. (Except for the jump changes that the article is about.) For a “triples” peal on 7 bells the ringers are supposed to ring all 5040 possible permutations. It’s called “triples” because you can make up to 3 swaps at a time; one of the challenges (for example) is to construct a triples peal that only uses triple changes.
fanf2··on Recreating the US/* time zone situation
The problem in the US is that time zone boundaries very frequently do not match state boundaries.

It’s common for major cities to be located on rivers that are state boundaries, the area around the city uses the same timezone, and one of the states has a timezone boundary in the middle. Indiana has many tz database entries because of this kind of thing.

There are other fun cases like the Navajo Nation in Arizona.

fanf2··on Wayland breaks the tools I use to make a living
There were X11 extensions that implemented access controls, eg in TrustedSolaris.
fanf2··on UTF-8 is a brilliant design
Unicode used to have a system of in-band language tags, but it was deprecated https://www.unicode.org/faq//languagetagging.html
fanf2··on AMD claims Arm ISA doesn't offer efficiency advantage over x86
Apple’s ARM cores have wider decode than x86

M1 - 8 wide

M4 - 10 wide

Zen 4 - 4 wide

Zen 5 - 8 wide

fanf2··on Sometimes Software Is Done, or Why Hugo Why (2024)
https://harmful.cat-v.org/cat-v/
← PreviousPage 2 of 34Next →