January 13th, 2014

Coding Away

I'm working on bringing the formula processor up in Java right now. This requires interpreting a byte array as a variety of different kinds of values, while keeping track of whether the byte array contains values in big endian or little endian order. ByteBuffer would seem like a fine choice, but it doesn't automatically expand as I write to it, nor does it retrieve all of the types of values that I'd like to store in the array.

Apparently, someone working on the Apache MINA project had the same warm thoughts about ByteBuffer and rolled their own extension, IoBuffer, which appears to do all of the things that I'd like it to do.

This makes me happy. :)

The Man Made of Straw

One of the hazards of trying to characterize the positions of people whose politics you disagree with is the ever-present danger of attributing to them positions that they don't actually hold.

It does, however, make it easier to demolish those positions, since they are generally carefully constructed for the purpose of being easily torn down.

Ah, well.