Strunk & White Can Apply To Programming

The Elements of Style by [William Strunk, Jr.] and [E.B. White] has long been a favorite of English majors and great writers. [James Devlin] suggests that it can also be a good reference for programmers. With just a few changes in wording, the same guidance that applies to good writing can apply to good coding. For example, [Strunk] and [White} emphasize the importance of structural design to writing. Replace “writing” with “programming”, and the principles are exactly the same: “Programming, to be effective, must follow closely the thoughts of the writer programmer, but not necessarily in the order in which those thoughts occur.” So keep this guide in mind next time you start a new project.

[via Kottke]

Microcontroller-powered Missile Launch Controller

[Josef Jahn] has posted a detailed guide on building a microcontroller-based launch box. Constructed from an Atmel ATMega168 and powered by a 12V rechargable lead gel battery, the launch box is fully portable and includes a number of safety features. Going the extra mile on what could essentially be a simple push button launcher, he added three safety switches, a sixty second after-launch timer and a beautiful (not to mention rare) PLED display complete with dramatic status messages. Check out a video of the launcher in action after the break.

Continue reading “Microcontroller-powered Missile Launch Controller”

How-to: Make An E-paper Clock From Esquire Magazine

If you’ve never heard about electronic paper, crawl out from under that rock and read up on the Sony Reader and the Amazon Kindle. E-paper is a flexible display made of color-changing beads that mimic ink-on-paper for easy daylight reading. The revolutionary thing about e-paper is that after it’s set, it stays that way without additional power.

This sounds great in theory, but Esquire’s cover is the first time everybody can afford to hack an e-paper display. We took the cover into the Hack a Day lab to document, test, and hack. In the end, we recycled it into something useful that anyone can build. We’ve got all the details on how the display works and what it takes to use it in your own projects. Read about our e-paper clock hack below. Continue reading “How-to: Make An E-paper Clock From Esquire Magazine”

Columbus Day: What Are You Working On?

Wow, Caribbean Conquest Day is such a dull holiday. If it’s a holiday at all: we’re at work today and you probably are too. We decided to post what we’re working on in hopes of breaking out of our holiday slump. Pictured above are two IR illuminator boards we assembled this weekend. We bought the kits from BG Micro. We’re planning on testing their camera blocking ability once we come up with a ~13V portable power source.

That’s what we’re doing. What have you been working on lately?

(If anyone can find a source for the welding goggles in the picture, we’d love to hear it.)

Parts: 3.5mm Stereo Audio Jacks

3.5mm stereo connectors for headphones and microphones are almost mandatory for audio projects. X1 (left) is a simple plug with connections for the audio channels (pin 2,3), and ground (pin 1). X2 (right) has pass-through contacts (pin 2,3) that divert audio to an internal speaker when headphones aren’t connected.

Here’s a breakdown of the audio connectors illustrated above. Continue reading “Parts: 3.5mm Stereo Audio Jacks”

Free Laundry

While waiting for his clothes to dry, our reader [xaio] decided to poke around and see how his building’s coin laundry system worked. It turned out to be ridiculously simple. All he needed to do was jumper the cable coming from each machine and they’d run without issue. We wonder why the relay box is so big. In any event, it could certainly benefit from a more secure installation.

Electric Bicycle

[youtube=http://www.youtube.com/watch?v=6wNo5SM2da4&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999]
[garygadget15] in the UK has an interesting youtube page showing an electric bicycle. On his page titled, saving money the “green way” he has replaced his commuter car with one of these electric bikes. He then videos the commute with both to compare the results. The DIY electric bicycle kit he uses is made by Cyclone comes in multiple wattage’s ranging from 180 watts to 1500 watts where they do a great job of showing the conversion steps. They’ve got enough detail that you could fab your own from salvaged parts if you felt like it.