Member Since: January 11, 2012

Country: United States

  • Take that a step further: try storing the values as binary (floating point numbers take up 33 bits) in fixed-width fields (eliminating the separator) then base64-encode them to pass through the text transport. Also, a shorter date representation would be the “epoch date”, or the number of seconds since Jan 1 1970; 32 bits will hold you until 2038, or you could assign that 33 bits there, as well.

    Okay, I’ve piqued my own interest, so let’s finish the thought experiment. Your message, above, is 45 bytes. Representing all of the above with seven fixed fields of 33 bits, along with 9 bits for the logging interval, give you 30 bytes. Converting that to text with an base64 library expands it at 4:3, so you get 40 characters. If I’ve got this right (and please, somebody, check it, I’m still on my first cup of coffee), you can fit up to 36 binary bytes into 48 ASCII base64-encoded characters.

    The nice part about computers is they really don’t have anything better to do than run your code.

  • I believe there’s bitcoin mining software for this chip….

  • Growing up, I remember many of these “futurisms.” But I was looking at ten- and twenty-year-old magazines. I was living in that future, and those things didn’t exist. So early on I became jaded.

    As I grew up, I discovered I was wrong. Some of these magical things did, in fact, exist. Very few of them were in those magazines, however. More of them followed from period literature (pocket calculators and geosynchronous satellites) than from gaudier magazines. So I began to read with an active filter, looking at what could actually be done, and how new products from engineering journals could enable the dream products of yesteryear. I tried building things that worked, rather than simply dreaming about them, and found out how hard that really is.

    These days I’ve joined a local hacker-space. I have a background in electronic hardware and cloud computing, and I look at projects the group wants to engage with an eye to, “how can we make this happen with available technology?” I used to dream about the future and how technology could make the future happen; now I live in the future and make it happen every day.

    Close enough.