Another Python cheat sheet

Posted on November 18th, 2008 by admin

I couldn’t find a Python cheat sheet that I liked, so I made another.

It’s rough, but pretty usable. I need to make better use of space/colour, choose a clearer font and link it into the Python docs.

The license will be either Python Software Foundation License or CC-Attribution. Comments and suggestions welcome.

Barriers to year of linux on the desktop

Posted on October 31st, 2008 by admin

This post is a tribute to Linux Hater who sadly has retired. He was insightful and right about many things, although sometimes a bit too whiny.

Linux currently holds about 1% market share on the desktop. It has gained 0.5% in 2 years, whilst Mac OS X has gained 3%, and MS Windows has lost 4%. In the browser market Firefox is now nudging 20% market share. Can Linux ever achieve that?

A single ‘Year of Linux on the desktop‘ is unlikely, but it’s a popular meme, so lets to play.

It’s some number of years in the future. Ubuntu ‘Satisfied Squirrel’ has built on slow, steady growth. Linux desktop share now nudges 20%. What might this future Linux desktop be like, compared to now?

Read more »

This week I have been mostly learning…

Posted on October 23rd, 2008 by admin

Honey I hid the dot-files

Posted on October 6th, 2008 by admin

Backing up my home folder this weekend, in readiness for the Ubuntu Intrepid beta I spotted some unusual path names scroll by:

~/.local/share/applications
~/.local/share/desktop-directories
~/.local/share/gnome-do
~/.local/share/mime
~/.local/share/Mono Paint
~/.local/share/Trash
~/.local/share/tracker

It turns out that the hidden folders $HOME/.local/, $HOME/.config, and $HOME/.cache are default values, specified by the Freedesktop.org Basedir specification. To override these values one may set some environment varibles:

  • $XDG_DATA_HOME for user specific application data.
  • $XDG_CONFIG_HOME for user specific configuration data.
  • $XDG_CACHE_HOME for user specfic ‘non-essential’ data.

The BaseDir specification has shades of the Windows user profile file structure, but in a good way. Agreeing on such cross-desktop conventions will solidify Linux as a desktop platform for ISVs, but there’s still a way to go.

Other Freedesktop.org specifications build on BaseDir, for instance the Trash specification. So now Gnome’s trash applet knows where a deleted item should be restored to.

Job Seeking

Posted on September 28th, 2008 by admin

It’s been Five years since I moved to Birmngham, to begin work with Defence Estates. I’ve enjoyed my time there, the people are fantastic and I’ve learnt much. It’s now time to move on; I want to find new challenges and broader horizons.

If you’re looking for a DBA, a system administrator, someone skilled in GIS support, or in application support - then please email me or call me. My CV is online (as MS Word, OpenDocument, or PDF).

SubHuman GTK theme: making GTK play nice with Fitts

Posted on September 20th, 2008 by admin

In Fitts’ Law and Minimalism vs GTK+ and Qt I complained about the excessive use of borders and padding in GTK+ and Qt. Here’s what I’ve got so far (click for unscaled versions):

Pidgin chat before slimmingPidgin chat after slimming down

Although work in progress still, I think the window looks cleaner already. Most importantly the chat history scrollbar now lies flush with the window edge. To achieve this, I’ve created a customized gtkrc and made a small patch for pidgin.
Read more »

Fitts’ Law and Minimalism vs GTK+ and Qt

Posted on September 18th, 2008 by admin

It all started with the Pidgin chat window, which is surrounded by several pixels of padding. To my eyes the padding doesn’t achieve anything, it just wastes space and detracts from the clean, minimalist lines of the Buddy List. After much fumbling, I managed to change it in the Pidgin source code . Bug 6987 with patch was duly filed.

Now I’ve become obsessed, I’m spotting extra borders and pixels in nearly every application on my desktop.

Pidgin chat with padding
Read more »

Commenting is now fixed, sorry

Posted on September 18th, 2008 by admin

Anybody who tried to register on this blog during the last 6 months or so, would not have received an activation email. So many people will have been unable to comment. If this has happened to you sorry for the inconvenience.

This Wordpress installation can now send emails, thanks to the Configure SMTP plugin by Scott Reilly.

If you have any problems, please email me, my address is alex@moreati.org.uk.

Free/Open Source Government: part 2

Posted on July 7th, 2008 by admin

On 31st March the British Standards Institute (BSI) submitted an updated vote of approval, on ISO 29500 (MS OOXML). The move surprised many, myself included.

In September 2007 the BSI had voted ‘No - with comments’, attaching a long list of reasons. The response had been prepared in the open over the web, using the BSI OOXML Wiki. It was applauded by many, including members of other national standards bodies, a BSI report to the All Party Internet Group (APIG) stated:

BSI has been making its scrutiny process transparent by assembling comments on the Web in public view, and is recognised as leading the international scrutiny effort. The German standards body DIN are adopting a similar process, and one US standards committee member has written “when I compare [our process] to the BSI’s excellent work developing detailed comments on a publicly-readable Wiki, I think we in the US should be ashamed …”

The wiki hasn’t been substantively updated since October 2007. I’ve been unable to find any stated reasons from the BSI for the reversal of their position or in fact any announcement by BSI of their final vote.

On 30th April the UK Unix Users Group (UKUUG) requested judicial review of the BSI’s reversal. In June this application was rejected by a Judge. On the 19th UKUUG appealed, the BSI made no public comment. Unless it becomes public record in court, their reasoning will remain secret.

This post isn’t about the BSI or ISO 29500/OOXML. Read more »

Ubuntu Long Term Support and LugRadio Live

Posted on July 5th, 2008 by admin

My first ever LugRadio Live was LRL 2006, which was the perfect opportunity to pickup CDs of the then newly released Ubuntu 6.06 LTS.

My last ever LugRadio Live is LRL 2008, which will be the perfect opportunity to pickup CDs of the now newly released Ubuntu 8.04.1 LTS.

See you there, July 19th - 20th.