Mike Burke

More thoughts on foreign function interfaces

I have been thinking more about using a C library from Java, by using a MIPS binary and virtual machine. It still requires significant effort to manage data and calls between the MIPS guest code and the Java host.

Read more →

On generating structured data from templates

I find templates to be a poor fit for generating structured data, like HTML. It’s hard to get escaping right; you have to be keenly aware of the context where you’re substituting a value, so you can apply the proper escaping rules (or stack of escaping rules).

Read more →

Uncommon zsh shell techniques, part 1

I’ve been gradually writing more and more zsh-specific shell scripts. Zsh has some techniques that don’t get a lot of attention because they’re not available in bash, which most people are targeting for their scripts… but I have found many of these handy to know, particularly at the command line.

Read more →

My first 4K monitor, on Windows

I just got a pair of 4K monitors - one for a Mac Mini, and one for Windows.

The Mac is hooked up over HDMI and I use it purely for desktop applications. It works fine.

But on Windows, I’ve encountered a surprising number of issues.

Read more →

Un-mangling some mangled unicode

Recently I got some data from an external source that I’m to review and correct prior to use. One of the things I’ve been addressing is weird Unicode encoding stuff.

Read more →

View all posts →