Blogs / Personal blogs

Tony Finch

dotat.at

I am a Unix system developer from Cambridge. I work on BIND9 at the Internet Systems Consortium ( isc.org ) .

Popular posts
7
Total points
2,017
HN comments
760
Rank
#829 personal

Visit dotat.at → RSS feedOn Hacker News Jun 2022 – Oct 2024

Systems & Performance 5Software Engineering 3Networking & Internet 2Science & Space 1Math & Algorithms 1Infrastructure & DevOps 1

2

tolower() with AVX-512

A couple of years ago I wrote about tolower() in bulk at speed using SWAR tricks . A couple of days ago I was interested by Olivier Giniaux’s article about unsafe read beyond of death , an optimization for handling small strings with SIMD instructions, for a fast hash function written in Rust.

3

Against /tmp

I commented on Lobsters that /tmp is usually a bad idea , which caused some surprise. I suppose /tmp security bugs were common in the 1990s when I was learning Unix, but they are pretty rare now so I can see why less grizzled hackers might not be familiar with the problems.

5

Constructing a Four-Point Egg

For reasons beyond the scope of this entry, I have been investigating elliptical and ovoid shapes. The Wikipedia article for Moss’s egg has a link to a tutorial on Euclidean Eggs by Freyja Hreinsdóttir which (amongst other things) describes how to construct the “four point egg”. I think it is a nicer shape than Moss’s…

6

Unix version control lore: what, ident

There are a couple of version control commands that deserve wider appreciation: SCCS what and RCS ident . They allow you to find out what source a binary was built from, without having to run it – handy if it is a library! They basically scan a file looking for magic strings that contain version control metadata and…

7

Exponential Rate Limiting

Following my previous post on rate limiting with GCRA, leaky buckets without the buckets , I reviewed my old notes on rate limiting for Exim . I thought I should do a new write-up of the ideas that I hope will be more broadly interesting.