Posts in post

D4D4

A co-worker of mine was looking at some disassembled ARM code the other day, and discovered something weird. Lots of d4d4 instructions, scattered about. LLVM’s objdump says this is a relative branch to -0x58. The weird part is that they were always unreachable.

Read more ...


Magic File Names

A co-worker discovered an amazing thing the other day. He needed to check out our codebase on a Windows machine (for real, not inside WSL) to do something model-y with Matlab. It’s worked before, and it looked like it was going fine until he got this error:

Read more ...


Immigration

Sometimes people ask me questions about what it’s like living in a different country. The Netherlands is not all that different from the US, as these things go, but it’s still different enough. This is a collection of things I miss from life in Boston and things that make this place feel foreign.

Read more ...


Notebooks

First, context. Skip to the next section for the important bit.

Read more ...


Gorging

When I tried to search for the demand version of dumping, I found a lot of articles about regular dumping. A few of those had good definitions, so here’s one:

Read more ...


Why I like Zig

I’ve been writing C code professionally since about 2006, and while I look at a lot of languages (I have varying levels of familiarity with Python, Erlang, Ada, Haskell, Go, Rust, C++, OCaml, D, Javascript, Prolog, Lua, Lisp, Bash, Perl, Forth…you get the idea) I have yet to find one that I would rather use in cases where C is appropriate. Part of this inclination is that I mainly write for embedded systems where a lot of the features of higher level languages either don’t help or cost too much.

Read more ...