Loi 78: Courriels contenant un lien vers la pétition non livrés par Vidéotron? (Maintenant réglé)

Voir mise à jour au bas du message. À 20h le problème semble avoir été réglé. Une explication a été publiée sur Facebook vers 21h. Après avoir vu des rumeurs sur Facebook prétendant que Vidéotron bloquait les courriels de ses membres mentionnant la Pétition d’appui à la requête en nullité du Projet de loi spéciale 78, je n’y croyais simplement pas. Administrant un serveur web … Continue reading Loi 78: Courriels contenant un lien vers la pétition non livrés par Vidéotron? (Maintenant réglé) »

Hibernating in OSX Lion

In OSX Lion (might also be the case for older versions to), there is no direct way to hibernate a laptop except running out of battery power. The only available option is sleep, which will wake from memory; so it keeps draining the battery. It is possible to change this default behavior with the utility pmset. From the man page:

So by default, the … Continue reading Hibernating in OSX Lion »

Efficient log processing

I’ve recently learned a couple of neat tricks to process large amounts of text files more efficiently from my new co-worker @nicolaskruchten. Our use-case is efficiently going through tens of gigabytes of logs to extract specific lines and do some operation on them. Here are a couple of things we’ve done to speed things up. Keep everything gziped Often, the bottleneck will be IO. This … Continue reading Efficient log processing »

64-bit Scientific Python on Windows

Getting a 64-bit installation of Python with scientific packages on our dear Windows isn’t as simple as running an apt-get or port command. There is an official 64-bit Python build available but extensions like numpy, scipy or matplotlib only have official 32-bit builds. There are commercial distributions such as Enthought that offer all the packages built in 64-bit but at around 200$ per license, this … Continue reading 64-bit Scientific Python on Windows »

Boston Music Hackday

I was thrilled to attend the Boston Music Hackday this week-end. A lot of people hacked up some pretty cool projects, many of us coding until the very early morning Sunday (aka 4am), only to get back up a few hours later (aka 8am) to keep at it until the dreaded 15h45 deadline, when we all had to submit our demos. The organisers did a … Continue reading Boston Music Hackday »

ISMIR 2009

I had a paper accepted with an oral presentation at this year’s ISMIR held in Kobe, Japan. The paper is called Steerable Playlist Generation by Learning Song Similarity from Radio Station Playlists and is co-authored with Eck, Desjardins and Lamere. It outlines two new ideas: Using commercial radio station playlists to learn a similarity space from audio features Use a steerable tag cloud to allow … Continue reading ISMIR 2009 »

My time at Sun Labs and pyaura

My internship at Sun Microsystems Labs, which has been going on for about 15 months – 9 of those full time at their campus in the Boston area – is coming to an end. During the course of those months, I’ve met a lot of very smart and fun people, I’ve worked on very challenging and stimulating problems and I’ve discovered a bunch of really … Continue reading My time at Sun Labs and pyaura »

Restore sparsebundle extended attributes after rsync

If you rsync a sparse bundle to another Mac without the -E flag (or if you copy it to a non Mac system), you will loose the ability to double click on it in the Finder to mount it. This is because the extended attributes telling the Finder the folder is actually a bundle are lost in the transfer. The following piece of code I … Continue reading Restore sparsebundle extended attributes after rsync »

Make OSX’s top behave like Linux’s top

OSX’s top program doesn’t quite behave like its Linux counterpart out of the box. For me, the two biggest problems are that processes aren’t sorted by CPU usage and the top program itself uses 10% of the CPU because it calculates all sorts of statistics about memory and shared library usage that I personally don’t care about. There are a series of flags that you … Continue reading Make OSX’s top behave like Linux’s top »