Dave Bullock / eecue : Programmer | Photographer | Admin | Human

on eecue.com (Dave Bullock)

Monday, September 1st 2008

I just recently recieved one of The Great Internet Migratory Box(es) of Electronics Junk (TGIMBOEJ). The TGIMBOEJ is an awesome box of random electronics that various geeks send to each other. The idea was started by Lenore over at Evil Mad Scientist Labs.

Basically you put your name and contact info on a Wiki page devoted to perspective TGIMBOEJ recipients. Then someone finds your name on said list, and either creates a new box to send you or forwards on the box they currently possess.

The rules are simple, take what you want from the box, add some cool stuff, and then send it on to someone else in the list. You can see the status of the various boxes on this wiki page.

I received a box called Big Box of Electronic Booty started by someone who didn't add their info to the wiki. The box then made it to Jen Grier, who sent if off to Sidney who then sent it to me.

I will be mailing the box off on monday to Logan from Binary Tide.

I picked out a few cool parts including some LEDs, a giant buzzer and some zip-ties. I added a giant LED, a potentiometer and some other cool parts including a 1GB SD card.

The TGIMBOEJ project is awesome, I'm looking forward to receiving another box some time soon!

Buzzer and more

One of the items I kept from the TGIMBOEJ was the big red buzzer (upper left). I haven't hooked it up yet, but I bet it's loud! 

Saturday, August 2nd 2008

Recently I wrote my first Arduino program to fade LEDs. Arduino is an open source electronics platform designed to be easy to use by "artists, designers, hobbyists, and anyone interested in creating interactive objects or environments." Basically it's a microcontroller that can be easily programmed to do fun things.

I am using a low cost clone called a Bare Bones Arduino. One of the best parts about the Bard-Bones Arduino clone is that it comes in a kit. Soldering stuff together is fun!

Previously I wrote about my adventures with a BASIC Stamp. The Arduino is very similar to a BASIC Stamp, but uses the C programming language instead of BASIC. This makes it more powerful and extensible.

In the past I had only written one program in C to control some serial port extenders. Writing in C for this Arduino project was a lot of fun and it showed me how similar C is to PHP, which I have been writing extensively for over 10 years.

The program I wrote was based on some code from Peter Mackey at Pixelriot. I changed it up a bit so I could control the LEDs fading on an individual basis. I then made it do a Knight Rider fade (see video below). Here is a link to my version of the Arduino 5940 code.

A short video showing pulsing LEDs triggered by an Arduino controlling the TLC5940 chip.

The code controls a Texas Instruments TLC5940 chip. The TLC5940 is an LED controller that can fade up to 16 LEDs to over 4,000 levels of brightness. You can chain the chips together to control around 400 total LEDs.

This first program is actually a proof of concept for a project I'm working on. I can't really talk too much about the project, but it will involve a whole mess of LEDs and an old school public art installation.

Currently I'm working on a new Arduino project that is a multipurpose long exposure, intervalometer and sound and light trigger for Canon cameras. I'll post more about that when it's done.

I'm really enjoying both writing in C and playing with electronics. Microcontollers are awesome.

Bare Bones Arduino and TLC5940 On Breadboard

This Bare-Bones Arduino clone connected to a breadboard is controlling a Texas Instruments TLC5940 LED controller which in turn is pulsing the LEDs 

Wednesday, July 2nd 2008

I installed SpamAssassin on my mail server. Previously I had just relied on Mail.app's spam filtering functionality to deal with the hundreds of junk messages I receive daily. Now vpopmail sends every message through SpamAssassin which has been extremely effective in filtering the incoming crap.

Relying on your email application to filter spam works well as long as always keep it running. I take my laptop to work with me so I frequently don't have Mail.app running. This causes spam to pile up and makes it a hassle to check email using my iPhone.

Now SpamAssasin and vpopmail automatically move spam from my Inbox into my Junk folder. When I check my mail on the go I am no longer greeted with a bunch of junk.

My users are also benefitting from the install. They have given me positive feedback on SA's management of their spam. Nobody likes dealing with junk mail so anything that makes the process easier is always welcome.

I have noticed that SA doesn't catch everything and sometimes falsely thinks some good email is spam. I update the rule signatures nightly which helps. Soon I am going to implement a spam/ham folder heuristic update script. This will automatically train SA just by moving incorrectly filtered email into one of two folders.

SpamAssassin is a great addition to my mail toolkit. I am very pleased with the results so far and I am eager to help it do a better job. Thanks SpamAssasin!

just mutton

Cans of Just Mutton sit ready for the buying on a grocery store shelf in Fiji during my honeymoon in 2006. 

Tuesday, July 1st 2008

Recently I created two templates for Cacti, the open source server resource graphing application. I have been using Cacti for years, but there were a few things that I was not able to find graphing solutions for.

Qmail is an open source, light-weight and secure email server written by Dan Bernstein. I have also been using qmail for years, but until recently I had no way of graphing its traffic. I found this helpful bit of code on Howie's Stuff which helped me get the raw data I needed from qmailmrtg. After I got that working I started out with this template, which mostly worked. I then created a complex graph and exported the template for it which I posted here. The results can be seen in the graph below.

Cacti Qmail Graph

A Cacti/rrdtool graph showing various information about a qmail server that I run.

The next service that I was unable to find a Cacti graphing solution for was djbdns. Djbdns is a lightweight and secure DNS daemon, also written by Dan Bernstein. Jeremey Kister wrote a great script called djbdns-stats for parsing the djbdns logs and presenting data in the perfect format for Cacti to undertand. I took the djbdns-stats output and created an input and graph (below) template for Cacti, which I then shared on the Cacti site.

Cacti Tinydns Graph

A Cacti/rrdtool graph showing dns usage on my djbdns server.

I have found Cacti to be an extremely useful application over the years. I am greatly looking forward to the next release which will incorporate the helpful Cactiusers plugin framework.

 

Friday, June 27th 2008

Jott is a free transcription service that makes sending notes and reminders a phone call away. I signed up for their free service and verified my phone number a few months ago. All I have to do is call a toll-free number form my cell and talk. A few minutes later a full transcription of what I said is waiting in my inbox.

It helps to speak slowly and spell out any hard to understand or uncommon words. Jott doesn't use voice recognition software for the transcription, they have people doing the work. Due to that fact I don't use Jott for anything sensitive or secret.

I use Jott almost every day on my drive home from work. Writing while driving is somewhat inconvenient not to mention dangerous. I have Jott in my phone favorites and when I have an idea I just call the number and leave a message.

I also use Jott to message contacts in my address book. When I call in they ask me who I want to Jott. The message ends up being transcribed, then emailed and sms'ed to the contact.

Jott is a service that I have really learned to love. It is one of those rare things in life that are free and awesome. If it becomes a for-pay service I will still use it. Now that's a sign of a good thing.

52781 Sculpture

A sculpture consisting of outdated telephone switch parts adorns the wall of the AT&T building in Downtown Los Angeles in this file photo from 2007. Modern day telephone systems use computers instead of physical switching relays. 

Monday, June 9th 2008

I've been a Vonage subscribe for over 5 years now and I've been very happy with their internet based telephone system. Basically if you get Vonage you don't need a phone line, just an internet connection. When you sign up they send you a little box you plug in to your network to which you connect any standard telephone. Once you plug everything in you get nation-wide long distance for free for about $25 a month or you can get a 500 minute plan for $15 a month.

You can transfer your existing telephone number to it or get a new one. It's just like your normal phone service, but has some other cool features like the ability to simultaneously ring your cell phone and your home. You can also get a soft phone that you can use on your laptop from anywhere that has internet access. Right now they are offering 2 month of free service for both you and me if you sign up [click here to do so].

Sitting Next To Mens Room  

Thursday, January 17th 2008

Windows 2003 FTW

"To continue you must first add this this website to your trusted sites in Internet Explorer" ... I was running Windows Update. Nice! 

Sunday, January 13th 2008

I have been using Newsfire since February of last year. It was the first RSS reader that I've ever paid money for. Newsfire had a good deal of issues that I didn't like. I emailed the Newsfire developer and asked if a bug could be fixed, but he replied that NewsFire wasn't in a development cycle. He wasn't very nice about it either. Anyhow, I had been tempted to go back to NetNewsWire for some time now, but never did because I didn't want to pay for a second RSS reader. Luckily for me NewsGator is now giving away NetNewsWire for free! I have switched back and I am extremely happy so far.  

Monday, November 19th 2007

A few months ago, before the iPhone was released, I put my email address into an AT&T/Cingular form so I could be notified when it was available for purchase. I later decided that AT&T's horribly privacy (NSA) track record was enough reason not to switch to their service so I'm sticking with T-Mobile for now. I just got an email from them, trying to get me to buy some random crap, and I decided to click on the "Remove Me" link at the bottom of the page. That link brought me to the following page:

att opt out insanity

It appears that they want your address, cell phone number, landline number, name and email address to remove you from their email list. It turns out that they just want your first and last name and your email address for the removal to work, but the form is certainly not clear about that and I'm sure plenty of folks fill out the whole thing. I didn't put my actual name into the fields, but added something a bit more colorful that I'm sure nobody will actually read. Anyhow, the mass email should really just have a link that removes you, instead of taking you to this horrid form. 

Sunday, November 11th 2007

I just landed in Reno, NV for the Super Computing '07 (SC07) conference. I am here on assignment for WIRED News. Keep an eye out here and on wired.com for photos of clusters, supercomputers and various other cool and interesting toys from assorted government and industry nerderies.  

Friday, November 9th 2007

So I won a Basic Stamp kit from ebay last week. Last night I had a chance to play with it. I went through the included book, and got through most of it. In the end I built the following:

BasicStamp2 Servo Control

That is a servo on the left, the basic stamp has some code in it that detects the position of the potentiometer in the lower center of the breadboard using capacitor discharge timing and then moves the servo to match the pot's position. The 7 segment display lists a number between 1 and 10 depending upon the servo's position. The white colored LED actually flashes either red or green depending on if you're rotating the pot clockwise our counter-clockwise. It was fun to build and actually not that hard.

I am really excited about programming microcontrollers and I'm looking forward to my next projects. At some point soon I feel like I'll be able to finally hack the Furby. You can check out the code I wrote here.

Update for Riyad:I made the thing on the left spin when I turned the little white knob on the right. I did this using magic. 

Monday, September 17th 2007

Thanks to Scott Beale I now have a Yahoo! Mash profile. I also have invites if you need one. It would be helpful if mash included a way to invite from a vcard file, but otherwise it seems pretty cool.

UPDATE Ok so I know this is still in beta, but the fact that Yahoo's own service flickr's module has now broken my RSS feed link is somehow pleasantly ironic:

Invalid URL: http%3A%2F%2Fapi.flickr.com%2Fservices%2Ffeeds%2Fphotos_public...

I should point out that it did work this morning.

UPDATE 2 I have added a few friends and none of them show up in my friends list, although I show up in theirs. Odd.

UPDATE 3 Ok I get it, the friends don't show up until they've claimed and set up their profiles. There are some pretty cool little modules, I like the twitter feed. 

Monday, September 10th 2007

Copy of MAKE in IT Crowd

I was watching the most recent episode of The IT Crowd, and I thought I spotted a copy of MAKE sitting on the desk in Roy's flat. I grabbed a screenshot and then compared it to my complete MAKE collection and it is clearly Volume 02 ofMAKE.  

Friday, September 7th 2007

Hitachi TM-1000 Electron Microscope

Dear Santa Claus,

I have been a relatively good boy this year and I would like a shiny new Hitachi TM-100 Tabletop Scanning Electron Microscope. I know what you're going to say, "Dave, you already have a microscope and it can easily fit on a tabletop." Yes, that is true, but I have an old optical microscope and if I had an electron microscope just think of the photos I could take! They would by much cooler than these I took last year.


The TM-100 will be on display (hopefully a hands on display!) at the 2007 WIRED Nextfest

Tuesday, June 19th 2007

I just signed up for an interesting social aggregator website called Jaiku. It has the same functionality as twitter, but it can subscribe to and display your RSS feeds. I'm not sure I'll use it as much as twitter, but it seems like a useful application. You can check out my Jaiku page here. I heard about it via a twitter from Jason DeFillippo, who was waiting to get in to the Jaiku launch party in SF, but apparently ended up leaving with Scott Beale due to the long, motionless line.

Update: As it turns out, but Scott and Jason made ended up going to the Jaiku party, as evidenced in this laughing squid blog post

Monday, June 18th 2007

My Blackberry Pearl's trackball just stopped working again. This is my second Pearl that failed for the same reason. The trackball scrolls, but does not click. According to T-Mobile, this is a known issue with the Pearl. They are sending me a replacement... again. 

Tuesday, June 5th 2007

I have unlimited invites to Joost and Dopplr. Shoot me an email if you would like one. 

I've recently started tracking my RSS feed information through FeedBurner. So far it seems pretty darn cool. If you don't know what I'm talking about, RSS is a way to keep track of your favorite sites without having to constantly visit them to see what is new. There are a bunch of different online and desktop RSS readers. I used to use NetNewsWire, but I switched over to NewsFire. I actually kind of miss NetNewsWire, so I may go back at some point. Some good online readers are Google Reader, Bloglines, Netvibes and Newsgator Online. Here is a link to the rss feed if you want to subscribe. You can also now subscribe to email updates by clicking on this link.  

Friday, June 1st 2007

A few months ago I signed up for twitter, but I really didn't see the point to using it. I've decided to give it another try, so I've been updating my info and I've invited a bunch of my friends and neighbors to try it out. So far it has been pretty darn cool and I can see how this could be really useful for organizing spur of the moment things. You can check out my twitter page here

Thursday, May 31st 2007

I just signed up for the Dopplr beta, so far it seems pretty cool. I think it will be ever more helpful when more of my friends sign up for it and we can coordinate our travels. I have a few more invites, so if you want one, shoot me an email.

I also have unlimited invites for the Joost beta. Right now it only works on Intel Macs and PCs. If you are interested in an invite, let me know. Over the past couple months that I've been using it, the amount of content has exploded. It still doesn't have everything I watch, but it definitely does have a bunch of interesting shows on there.  

Navigate logs