21/09/2010
Having a decent editor is something we have discussed before. Last time, I was telling you about features that I wanted for programming, such enhanced scope visibility. But the font we use also play a major role in code legibility. This week, let me present you the few I really like.

Read the rest of this entry »
2 Comments |
emacs, Life in the workplace, Lost+Found, Zen | Tagged: 6x10, Consolas, Console Fonts, DPI, Incosolata, Proggy, Proggy Clean, Terminus, X11 |
Permalink
Posted by Steven Pigeon
14/09/2010
The Ubuntu Linux distribution is putting a lot of efforts into streamlining the interface and provide a greater user experience. While there’s clear progress, there are a number of things that are still really missing. The guys at Gnome and at Ubuntu are maybe taking the motto perfection is not when there’s nothing else to add, but nothing else to remove a bit too seriously. Every release shows more and more features but less and less user configurability.

Well, to be honest, I have always found my way around those limitations by hacking directly configuration files, the gconf-editor registry-like thingie, and writting scripts to set automatically configurations for which there were no other way—or just not documented, which is the same as far as I am concerned.
Amongst the extra thingies, there are many keyboard shortcuts, but not all of them are configurable. For example, if there’s a way from Gnome to configure which keys you want to use to control LCD or keyboard brightness or to display power information, it’s pretty damn well hidden. On my Dell mini, there’s a nice key with a battery icon on it. If I press it, Gnome displays in the OSD a concise battery status. But on my macbook pro, there’s’nt such a key and I have no way of telling Gnome (from Gnome itself) to use the F4/Gauge key to act as the Show Battery key.
Read the rest of this entry »
Leave a Comment » |
Bash (Shell), Life in the workplace, Operating System, programming, rants | Tagged: ACPI, Battery, Configuration, Einstein, Gnome, Le Petit Prince est un morveux, Linux, Lucid Lynx, Lynx, Mac Book, Power, Saint-Exupéry, XF86, XF86Battery |
Permalink
Posted by Steven Pigeon
07/09/2010
Last week (at the time of writing), we were hit by a bad heat wave and, while none of my computers crashed or caught fire, it was clear that they were operating well outside their usual comfort zone. The first thing to do is of course to use well designed cases that provide adequate cooling (not like the compaq 6400NX). The second is to use all the advanced power management features available—whether it’s SpeedStep, Cool’n’Quiet, or PowerNow!. You enable it from your computer’s BIOS and usually the operating system takes over when you boot.

Changing dynamically the CPU’s (and other devices?) speed (and therefore power consumption) to respond on demand to the user or system tasks is quite a good policy for desktops and servers (that’s why it defaults to “ondemand” on Ubuntu) but it may not be what you want for your laptop or netbook. For a netbook, setting the power policies to “powersave” will keep the CPUs into low gear and extend significantly battery life. The thing is, Ubuntu doesn’t let you set the default policy easily.
Read the rest of this entry »
1 Comment |
Bash (Shell), hacks, Life in the workplace | Tagged: BIOS, Cool'n'Quiet, cpufreq-applet, cpufreq-selector, PowerNow!, SpeedStep, userspace |
Permalink
Posted by Steven Pigeon
31/08/2010
If you’re doing image processing, you’ve probably had to transform your image from one color space to another. In video coding, for example, the RGB image is transformed into YPrPb or YCrCb so that most of the visually relevant information is packed into the Y component which is essentially brightness. Subsampling the chroma bands (Cr and Cb) provides additional means for compression with little perceptual quality loss. While the human eye is very good at detecting brightness variation, it’s not very good at detecting subtle changes in chroma, either saturation or hue.

The thing is that very often, there are color space transformation matrices found in text book but they’re not, due to rounding (and other possible errors), always exactly inverses of each other. This week, I will discuss how we can use projections onto convex sets (POCS) to make sure that reduced precision matrices are exactly (within a given precision) reversible.
Read the rest of this entry »
1 Comment |
algorithms, Mathematics, programming, Science | Tagged: Color Space, Convex, Convex Projection, Convex Sets, Orthogonal Projection, POCS, precision, Projection, rgb, ycrcb, YPrPb |
Permalink
Posted by Steven Pigeon
24/08/2010
In a previous post, I presented a couple of nonce and other frobnulated words.

Let us obstreperously add a few new words to the previous list.
Read the rest of this entry »
Leave a Comment » |
Inoffensive Rant, Life | Tagged: ラーメン, Fatabase, Flaccibulbitis, Frobnicate, Podopygy, ramen, Slidarrhea, Sluck-up, Spaghettification, Upgradeathon, Upgraditis, Upgrape, VElopodopygy |
Permalink
Posted by Steven Pigeon
17/08/2010
Tomorrow’s flowers are in the seeds of today.
Chinese proverb

Read the rest of this entry »
2 Comments |
algorithms, C99, hacks, wtf, Zen | Tagged: Chinese Proverb, pseudo-random, random, weasel, whale |
Permalink
Posted by Steven Pigeon
10/08/2010
HAMLET:
Do you see yonder cloud that’s almost in shape of a camel?
POLONIUS:
By the mass, and ’tis like a camel, indeed.
HAMLET:
Methinks it is like a weasel.
POLONIUS:
It is backed like a weasel.
HAMLET:
Or like a whale.
POLONIUS:
Very like a whale.
Hamlet, Act III
William Shakespeare

Read the rest of this entry »
7 Comments |
algorithms, C99, hacks, wtf, Zen | Tagged: Hamlet, Polonius, pseudo-random, random, Shakespare, weasel |
Permalink
Posted by Steven Pigeon
08/08/2010
I have just completed another year in blogging without missing a single scheduled post: This one is the 176th already!

Read the rest of this entry »
1 Comment |
Uncategorized |
Permalink
Posted by Steven Pigeon