Flash Drive Makers Hate You

usb disk

Image by the Manchester City Library

USB flash drive manufacturers hate you and me. How do I know this? It will
become obvious should you try to buy a small USB flash drive. Now, I don’t mean
like fits in your pocket. I mean small like fits in your wallet. (No, I don’t
want to carry around MicroSD cards and an adapter.)


Stampit: Prototypal JavaScript Made Easy

Image of stamps by Snapshots of The Past from Flickr

I’ve been writing heavy-duty JavaScript for about six years. I’ve used lots of libraries that provide “classes” of various types—ExtJS, Dojo, JavaScriptMVC, and more. Yet none of them felt right. In retrospect, I feel like the standard class-based inheritance is not good fit for the language. Perhaps that’s because classical inheritance can be shoe-horned into JavaScript, butprototypal inheritance is how the language is built.

The other day, I ran across someone else with the same attitude. In fact, while I was thinking about it, he was talking and writing code to make it real. He is Eric Elliot and he wrote Stampit.


Book Review: An Introduction to Cryptography

Image of book of old times by titouan russo from Flickr

In my quest for more knowledge of cryptography, I’ve started reading actual books (instead of just reading API reference documents.) If you’re like me, and you’ve decided that going deeper than just making the code work is a good thing, read on. (more…)

Fighting Distractions With Code

Weapons of Mass Distraction

I fight a daily battle against distractions. I know I’m not the only one, either, because the web sites that distract me are full of articles about how I can be less distracted. (I don’t want to change too much about how my mind works—the same part of my brain that gets distracted also is amazingly creative in problem solving.)

I’ve used some tools that help some of the time: pomodoro timers, (10 + 2) * 5 timers, time trackers, a custom hosts file, closing the browser, and upbeat music are just the beginning. In this article, I want to talk about how I handle the tool of productivity and distraction called the web.


Encrypting Your Messages With OpenPGP.js


Terrible mashup of OpenPGP.js logo and source code by the author (because
nothing says “Where’s the source?” like a bad logo.)

Last time I wrote, I showed you how to use Braintree.js to encrypt form values. I even built a contact form to do it. It occurred to me that there might be a better technology for encrypting contact form data. (There is.) Of course, I’m not the first person to have this idea.