Sunday, 10 March 2013

New project 'Crayonizer' on Freecode

I just posted a new project, 'Crayonizer' onto Freecode. Crayonizer is a simple program that 'colors in' the output of other programs. You either use bash aliases or symbolic links so that crayonizer gets called when you run, say, gcc. It then runs gcc for real, and colors in the output. You can get it here. Here's a gratuitous screenshot:

With this project I've discovered that freecode will censor your release descriptions. For instance, I wrote:

"Will probably compile under OSX if the wind's blowing in the right direction"

but this appears on freecode as:

"May compile under OSX"

And the slogan:

"Console purtyfication for the people!"

is reduced to:

"Console purtyfication."

So I guess that brevity is still the soul of wit.

Thursday, 21 February 2013

Installing Another Operating System on Lenovo Think Centers

If you've recently bought a Lenovo Think Center, or any other PC that's "Windows 8 Enabled", you've likely discovered that you can't install your own choice of operating system (i.e. Linux) on it, it just keeps coming up "operating system not found".

This is because of a 'feature' called UEFI, which is basically a new form of bootloader that only very recent (as of Feb 2013) operating systems support. In order to boot from CD on recent PC's, you need to find the BIOS settings for this and turn it off.

On the Lenovo Think Center this setting is in 'Startup' and is called 'CSM'. Given that this is a vitally important setting to configure your PC, you'd think that a three-letter-acronym might not be the best choice for naming it. Better to name it something like "Enable Loading Legacy Operating systems" or "Disable Lenovo Useless Brick Mode". But no, it's just 'CSM' for 'Compatiblity Support Module'. You need to enable this in order to load your choice of operating system.

Another setting that might be relevant is under the 'Security' tab. This setting is 'Secure Boot'. You might need to disable this, or set it to 'setup mode' to allow installing of a new operating system.

Well, this is what worked for me. Hopefully this post will help others.