Posts by Daniel Cousineau

Logitech MX Revolution revoco in Ubuntu 9.04 Jaunty: Click-to-Click even after a resume/wakeup

It’s been a LOONG time since I’ve posted eh? Well I finally solved my issues I’ve been having with revoco in the later version of Ubuntu. For those of you who don’t know, when you buy a Logitech MX Revolution mouse (or its ilk), the middle button can alternatively work in “click-to-click” mode (where you [...]

tamulink-wpa and Ubuntu (For my aggie linux readers)

Finally, I no longer have the pain of not being able to connect to the wireless network on campus (without having wicd installed). I got it working using the network-manager applet in Gnome that comes installed by default (cause I like it and it makes my life easier). I’ve had people poke fun at me [...]

Calculating Daylight Savings Time Boundary In PHP

I had an issue recently where I needed to calculate the Unix timestamp for the daylight savings time boundaries. According to the United States Naval Observatory, daylight savings time begins the Second Sunday of March and ends on the First Sunday of November. Awkward date calculations if you don’t have the magical strtotime() function in [...]

PHP File Uploads And Background Conversion: Oopsie

So I spent an inordinate amount of time tracking down a bug recently for a former employer in a system that accepts media file uploads and converts them on the fly. The system spawns off a small script that manages mplayer/ffmpeg/lame into the background and holds on to the PID to track the conversion process. [...]

PHP, Mumbles (Growl), and DBus: Sweeet

So, after reading Mark Shuttlework’s blog on ideas for notifications in Ubuntu (basically mimicking Growl notifications for the Mac), I decided I wanted that kind of functionality, but… you know, NOW! There are a multitude of options available but currently I’m liking Mumbles. Unlike, say, Specto, which does the monitoring itself, Mumbles provides a DBus [...]

On Looking For A Job And Online Reputation

As many of you know I am finishing up my last semester at school and at the same time on the lookout for jobs (For those interested, you can look at my résumé). As a part of the last few classes I have to finish, I am taking a CPSC Seminar course which so far [...]

My brother’s actually blogging!

Hey everyone, my brother is actually blogging! Check out Eric Cousineau’s blog. Right now it’s looking like the focus of his posting will be about Digital Mars D programming language. Everyone go give him some traffic and encourage him to keep posting!

Blog Updates

Just made a few changes to the blog. I added a recaptcha to the comment system as well as subscribing to the comments via email. I also updated the code highlighter so we get the pretty boxes and line numbering (and the code will look much nicer on skinnier browsers). I also added my résumé [...]

OSS Bugs Are Features

I’ve been thinking a lot lately about a presentation given by whurley at a refreshBCS meeting a long time ago. He gave his presentation on Open Source Software, only SLIGHTLY an era of his expertise (just in case you can’t tell, that was sarcasm) and raise an interesting point. He talked about how when BMC [...]

New extended life battery for my T61; or, holy crap I’m mobile again!

So my dinky default (6-cell I believe, maybe 4-cell) battery that came with my Lenovo Thinkpad T61 has been giving out on me. I believe my problem was I never flexed the battery when I first got it and now I was only getting about an hours worth of work out of my laptop. While [...]