Je viens de publier un article, MapReduce avec parallel, cat et une redirection, sur le blogue de Datacratic.
Je voulais revenir sur le problème de filtre antipourriel chez Vidéotron qui a eu la malheureuse conséquence de bloquer tous les courriels contenant un lien vers la Pétition d’appui à la requête en nullité du Projet de loi spéciale 78 pour au moins plusieurs heures hier. Pour résumer le problème d’hier, tout message transitant à travers le serveur de courriel de Vidéotron et contenant la … Continue reading La loi 78 et le filtre antipourriel de Vidéotron
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é)
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:
We do not recommend modifying hibernation settings. Any changes you make are not supported. If you choose to do so anyway, we recommend
using one of these three settings. For your sake and mine, please don't use anything other 0, 3, or 25.
hibernatemode = 0 (binary 0000) by default on supported desktops. The system will not back memory up to persistent storage. The system must
wake from the contents of memory; the system will lose context on power loss. This is, historically, plain old sleep.
hibernatemode = 3 (binary 0011) by default on supported portables. The system will store a copy of memory to persistent storage (the disk),
and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from disk image.
hibernatemode = 25 (binary 0001 1001) is only settable via pmset. The system will store a copy of memory to persistent storage (the disk),
and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps, slower wakes, and bet-
ter battery life, you should use this setting.
So by default, the … Continue reading Hibernating in OSX Lion
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
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
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
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 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
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