Add colors to your tag cloud for readability

I’m using the A better tag cloud WordPress widget to be able to configure the tag cloud on my blog. It’s a nice widget that I really recommend!

I wanted to make it easier (and prettier) to use by adding colors to the tags. A darker color means a more used tag, a lighter means that the tag is less used. I based my colors on the Tango palette.

The tag cloud with the original CSS to the left and my customized to the right

All different sizes in A better tag cloud already had their different CSS classes so adding colors were easy. All I had to do was to add the following CSS to the bottom of my styles.css file.

/* Add colors to A better tag cloud */
.nktagcloud-8 {
  background-color:#fce94f;
}
.nktagcloud-9 {
  background-color:#edd400;
}
.nktagcloud-10 {
  background-color:#fcaf3e;
}
.nktagcloud-11 {
  background-color:#f57900;
}
.nktagcloud-12 {
  background-color:#ce5c00;
}
.nktagcloud-13 {
  background-color:#e9b96e;
}
.nktagcloud-14 {
  background-color:#8ae234;
}
.nktagcloud-15 {
  background-color:#73d216;
}
.nktagcloud-16 {
  background-color:#4e9a06;
}
.nktagcloud-17 {
  background-color:#729fcf;
}
.nktagcloud-18 {
  background-color:#3465a4;
}
.nktagcloud-19 {
  background-color:#204a87;
}
.nktagcloud-20 {
  background-color:#ad7fa8;
}
.nktagcloud-21 {
  background-color:#ef2929;
}
.nktagcloud-22 {
  background-color:#cc0000;
}

Enjoy!

Logitech QuickCam mod to fit a standard tripod

I have a Logitech QuickCam Communicate Deluxe webcam. It’s a decent webcam apart from the non standard mounting holes. I wanted it to fit a standard tripod so I did some modding. Here is how.

Webcam before mod
Logitechs "flexible clip" - not flexible at all if you ask me...

I started out by splitting the screen clip from the cam. It’s a bit scary but I pulled until it released.

Split clip from cam
Split clip and cam

We will going to use the plastic part with the screws so just unscrew it from the screen clip.

Removed the plastic part from the clip
Removed the plastic part from the clip

A standard tripod is just a 1/4″ screw. I found the following two.

I found the following two 1/4" screws that could work
One of these two could work

Here is how they would look. Not sure what the right one was used for but I think it would be easier to attach to the plastic part so I chose that one.

Trying out my options
Trying out my options

I’ll glue the plastic part with the metallic part so I’ll polish both to make the glue stick better.

Polish to make the glue stick
Polish to make the glue stick

Time to glue. I used a double sided tape but glue would work just as well.

Glue together
Glued together

Put the plastic part back to the webcam attach it to you tripod and we are done.

My modded webcam attached to a Gorillapod
My modded webcam attached to a Gorillapod

Computer ergonomics and pair programming

I’m a big fan of pair programming. The one issue I have is that it’s a bit harder to set up the ergonomics for two persons with one computer.

At work I have one computer with two keyboards, two mice and two monitors. It works pretty nice. It makes you not have to crawl over each other but it still doesn’t allow for individual adjustments of the desk height.

setup-at-work

At home I have no dual monitor setup but instead I have two computers (one is mine, the other my girlfriends). I figured that it would be great if I could attach one computer to the other and enable a dual monitor feature. I installed VNC server on one of the machines and VNC client on the other. Started the server and connected. It works fine even though one runs Windows and the other Ubuntu!

Dual computer home setup. Two computers with VNC.

Both setups works pretty nice! I hope I can try my home setup via internet with webcams, microphones etc to enable (some) pair programming when not in the same room.

Firefox hides tabs and fails

I while ago I introduced a friend to Firefox. I didn’t want to push it but just show it and I hoped it would stick. After some weeks I asked if she liked it and she said it was nice but that she missed the tabs that IE had. I was amazed… Firefox were years before IE with tabs but still it fails… Look at the screen shot from Firefox 3. Nothing tells you the interface is tabbed.

Firefox fails to show how to open new tabs. Internet Explorer leads the way!
Firefox fails to show how to open new tabs. Internet Explorer leads the way!

Luckily Firefox 3.5 seems to address the issue. Firefox 3.5 also makes it even clearer than Internet Explorer with a + in the new tab button. Way to go Firefox!

Firefox 3.5 introduces new tab button!
Firefox 3.5 introduces new tab button!