· Feb 25, 2014 at 5:58 pm
Jeff Highsmith of MAKE recently created an elaborate mission control desk, inspired by the NASA Apollo Program, for his son. The desk is topped by a plain surface for homework—when it’s play time, the desk opens to reveal dozens of illuminated push buttons, dials, and digital readouts. Highsmith painstakingly wired the desk so that the buttons trigger sounds, lights, and other actions. Be sure to watch his video to all the way to the end to see it in action.
I want this for my work desk.
· Feb 25, 2014 at 1:02 pm
Note the two goto fail lines in a row. The first one is correctly bound to the if statement but the second, despite the indentation, isn’t conditional at all. The code will always jump to the end from that second goto, err will contain a successful value because the SHA1 update operation was successful and so the signature verification will never fail.
Emphasis mine. Always use curly braces. Always.
I put this in the development docs at work:
What’s the main goal of writing code besides generating output?
READABILITY and the deep understanding that another human being will eventually need to read, use, and debug your code.
Don’t be a lazy rockstar –– think about your fellow developers before you commit.
Sidenote: the codebase that runs this site also powers a handful of work projects.
See also This kind of code drives me nuts.
· Feb 24, 2014 at 3:09 pm
Ladies and gents, I just made a bunch of under-the-hood changes. Nothing you’ll notice hopefully but if you see anything wonky happening, just give a shout.
· Feb 23, 2014 at 8:44 pm
Vanilla is one of my favorite flavors, specifically ones of the vanilla bean variety.
I got screwed over with the Vanilla Bean granola and the Dry Vanilla Bean Soda. Both were better off in the trash.
One cannot simply toss a few beans in the mixer, slap a sticker on the package and expect savory magic.
· Feb 23, 2014 at 6:57 pm
If you’re not hip to SoundCloud, you should be. It’s like Facebook, Twitter, or Instagram but just for audio goods.
Here’s some to get you started:
And the most important one:
I listen on my phone in the car and in the kitchen primarily.