’Til All Are One

Freedom is the right of all sentient beings

This blog has moved!
Please go here for the current location.

4 July, 2007

Four legs good, two legs bad!

George Orwell’s classic allegory, Animal Farm, presents many perspectives on human behaviour and society. One of these is how people can be led and manipulated through the control of information. In the story, the Seven Commandments formed a de facto constitution for the Animalistic society. Since only a handful of animals could read, the rest were dependent upon what they were told was written. Gradually, the writing was cunningly altered to the benefit of the pigs above all other animals, and the populace was taught to not trust their recollections of what was written in the past.

What made this subversion possible was the inability of most animals to read. The two animals that could read (aside from the pigs) chose not to do anything about what they saw. Amongst other things, the right to access and read information is an important cornerstone of democracy.

This is where open file formats come in. As our lives become increasingly defined by electronic records, there needs to be a way for independent viewing and auditing. Paper is easily read, but computer files require software to decypher them. Imagine if you needed special (and expensive) glasses just to read the letter that you yourself wrote only a few years ago.

There has been a fair amount of discussion in the press regarding the OpenDocument and the so-called ‘Open’ XML formats. The primary focus of this reporting thus far has been on the political and technical facets. This is slowly changing, as the importance of long-term data preservation and freedom of information become apparent to ordinary folk.

The BBC has published a report on the problem, and discusses how the UK National Archives are attempting to deal with it. Alas, it appears that they have opted for a short-sighted approach, relying on virtualisation of older operating systems and applications, through a direct partnership with Microsoft. With this approach, the format decoders/viewers (not to mention the operating system and software performing the virtualisation itself) remain closed in source and specification, and one must deal with a cumbersome virtual machine just to view a document.

Where is the guarantee that files can be read hundreds of years from now, just as we can do today with paper documents such as the historic Magna Carta? How does this partnership benefit me, an ordinary citizen who might wish to view ten- (or even two-) year-old public documents that are only available in a proprietary electronic format?

It’s both sad and frustrating to see that history is yet again repeating itself. Whilst the contents of the Domesday Book can still be read nearly 1000 years after completion, the digital BBC Domesday Project was rendered virtually unreadable a mere 16 years later.

Thankfully, there are efforts to create an infrastructure for long-term preservation and management of digital documents. To start with, there are open formats such as OpenDocument and PDF. The Australian National Archives have long been supporters of OpenDocument, to the extent that they are standardising upon it. Putting their money where their mouths are, they are building a completely open source (GPL, no less) data managment system that anybody can use or improve to suit their needs. Michael Carden gave a great talk [Ogg video] at this year’s linux.conf.au about this technology, known as Xena [PDF]. Whilst their UK counterparts seem to have forgotten that access to data is not just a privilege for those able to make exclusive agreements with purveyors of lock-in technologies, the Australian National Archives have been striving to ensure that nobody is left out of the digital revolution.

Four legs good, two legs… better? Let’s prevent this subversion from happening.

 

LotD:  Mexican ‘world’s richest person’

31 March, 2007

What’s wrong with my script?

Are you receiving syntax errors when running a shell script on Ubuntu 6.10 (Edgy Eft)? If so, you might want to check what shell you are using. While testing scripts for the LCA A/V Team a few months ago, I discovered that the Ubuntu developers decided to symlink /bin/sh to dash, for faster and less memory-intensive script execution. For POSIX-compliant scripts, this isn’t a problem at all. However, there are many third-party scripts which call /bin/sh but use shell-specific (typically bash) syntax. They can be fixed by altering their first line to call the most appropriate shell, for example:

#!/usr/bin/env bash

env makes it possible to call bash, wherever it may lie. While my Ubuntu and Gentoo systems have a /bin/bash, there are other distributions which have /usr/bin/bash or /usr/local/bin.bash.

While you can and should fix your own scripts to operate in this way, constantly mending others’ mistakes can become tiresome. You can return your /bin/sh to point to bash with the following command:

$ sudo dpkg-reconfigure dash

When asked if you wish to install dash as /bin/sh, tell it to go to hell emoticon

Note that bash does use more memory, but on a modern desktop machine the difference is negligible. This change will not affect the default login shell, since that is already bash.

 

LotD:  Obese Aussies get big ambulances

11 January, 2007

How much would you give for your freedom?

There has been a lot of debate lately about the issue of binary drivers in Linux. Most of these discussions centre around the nVidia graphics driver. What many of these debates under-emphasise or even overlook is the importance of the Nouveau project. Nouveau is an effort intended to go beyond the 2D capabilities exposed by the nv driver, by providing full support for 3D. The end result will be a 100% free driver on Linux-based systems for nVidia graphics hardware. This is all without the assistance of nVidia, so much work needs to be done to interpret how the hardware behaves and write the required supporting code.

To support these valiant efforts, a pledge has been established to raise at least $10000 USD towards Nouveau’s development. This target has been successfully met with a month to spare, but don’t let that stop you from contributing. Even if you would like to see nVidia’s driver included in GNU/Linux distributions, I’m sure that most of you will agree that it is preferable for us as a community to have our own free driver. All it costs to play a part is a meagre $10 USD. How much is your freedom worth?

LotD: LCA2007 presenters should consider incorporating Gems into their presentations.

5 January, 2007

Single IRC login from multiple locations

Lucas Nussbaum has posed an eerily familiar question: what is the best way to maintain a single and constant IRC presence, accessible from multiple locations? After some experimentation with different solutions (including Irssi + Irssi-Proxy), I finally settled upon a combination of Bip IRC Proxy, an SSH tunnel and my favourite GUI IRC client. I was planning to write a guide, but I came across an excellent one which explains the whole process. Managing the SSH tunnel is easy with gSTM.

Now I can use the same nick from multiple sites at once. It is completely transparent to other people, so it doesn’t matter where in the world I am provided that I have an Internet connection with an SSH and IRC client. I am not forced to use a particular IRC client, and I don’t have to give up a GUI. I can even stay logged in at both home and work at the same time.

My primary feature request would be for Bip to have the capability to set myself as Away when I have no IRC clients connected. At present, it only provides the option to change my nick in this circumstance, which is too heavy-handed and pollutes the channel with announcements.

3 September, 2006

Maintaining a constant IRC presence

The following is an e-mail that I posted to the SLUG mailing list:

Subject: [SLUG] Maintaining a constant IRC presence
Date: Sunday 03 September 2006 13:07
From: Sridhar Dhanapalan
To: SLUG list

I am in a situation that I’m sure a lot of SLUG members are in. I am a
prolific user of IRC, using it from one of three machines depending on where
I am. I have three main problems:

  (1) maintaining a single and constant online presence
  (2) maintaining easily accessible chat logs, even when not at the machine
  (3) being notified of messages that suit specific criteria

I currently use Xchat, which means that I am logged in at least two places at
once. Being a fat client, it can beep when I have a message. If I leave it
connected, it keeps logs (I only need the last 1000 lines or so). I can’t do
this with my laptop, though (I need to disconnect when travelling). Also, it
forces me to have a separate login for each machine (and hence each Xchat
session) connected.

Issues (1) and (3) can be addressed by something like irssi-proxy[1], since it
would allow me to use local clients with a single login. I could ssh into a
single system running irssi, which would alleviate both (1) and (2).

I understand that there are plug-ins for irssi that perform a notification
service or run commands on certain cues. If irssi was running locally, I
could do all kinds of things with such a feature. If running remotely,
however, I believe that I am limited to notifications inside the irssi window
itself. This would force me to manually check the window on a frequent basis,
which will either become annoying or be forgotten. I would like to have
audio/visual cues to let me know that my attention is required.

[1] http://www.garion.org/irssi/irssi-proxy.php

13 August, 2006

Microsoft’s “Commitment” to Apple

In January, during Steve Jobs’ Macworld keynote speech announcing the new Intel Macintoshes, Microsoft made a "commitment" to continue to develop for and support the Apple Macintosh platform. In true Microsoft style, they conveniently didn’t explain how deeply that commitment went. Now we know.

Microsoft have decided to kill their Virtual PC product, removing a virtualisation option from Mac OS at the same time that similar functionality is being folded into Windows Vista. They are aware that virtualisation is quickly becoming a killer feature, and they’ll be damned if they allow anyone else to have it. Fortunately (and probably preferably), VMware will be made available for the Apple Intel platform. There’s also Parallels, but they still do not have any server-oriented products.

In addition, Microsoft will also be removing Visual Basic support from Office for Mac. If you can’t stop supporting something, why not cripple it instead? Many businesses are dependent upon VB scripting, or exchange files with people/organisations that make use of it, so this is a major blow indeed for Apple. Such a deficiency will be subtle: people will purchase Office for Mac expecting it to work with files created in its Windows counterpart (or vice versa), and will be sorely disappointed. This has already been occurring for a number of years, but the problem is becoming increasingly acute.

Ultimately, the best solution is to remove our dependency on proprietary formats and languages, for they are the root cause of this mess. OpenOffice.org already does what most people require, and in some cases it does it better. It even has growing support for Visual Basic for Applications. OpenOffice is truly looking like a better Office than MS Office. The OpenOffice file filtering support developers work hard to support all the MS Office formats they can find (people have counted over 20 different versions of the Word .DOC format alone), which is more than I can say about the MS Office programmers, who are notorious for breaking compatibilty with older versions. Using the OpenDocument formats (which are now an ISO standard) assures that your data will be accessible on many different platforms for many years to come.

The main stumbling block to OpenOffice adoption on Mac OS is the Windows-like interface and its reliance on X11 for display. There is work being done on a native Aqua version, but in the meanwhile there is NeoOffice.

11 August, 2006

SLUG presentation on Galeon

Last month’s SLUG meeting (Friday 28 July) was an interesting one for me. The SLUGlets topic was Web browsers, so I decided to volunteer my services to give a demonstration of my favourite, Galeon. Its philosophy of "The Web, only the Web" felt extremely refreshing back in 2000 when the world was dominated by Web browsers that were either integrated into some form of software suite or even into the operating system itself. Its position as a top-dog Web browser has since been usurped by its offspring, Epiphany, and its parent, Firefox, both of which have been clearly inspired by Galeon. Nevertheless, the slickness and functionality of Galeon has left it cemented as my Web browser of choice.

One thing I was not prepared for was a fair number of my co-workers to be present. That in itself was no surprise, given the SLUG-friendliness of my workplace. The effect of their heckling was another matter. Their light-hearted distractions may have diminished the quality of my talk, but they also made it much more enjoyable for everyone, including myself. This informality is a clear defining characteristic of SLUGlets as opposed to the Special Interest Talks, which are normally quite serious and intellectual.

I had also offered to give a "Privoxy in Under Five Minutes" talk as well, but unfortunately we ran out of time. Perhaps another time.

All in all, I am mostly happy with how things went. Sure, my talk could have been slicker, but nobody expects a professional presentation in SLUGlets. The fact that I was trying to demonstrate a Web browser without Internet access didn’t help either, nor did the time constraint. This was the first time I have done something like this, so I couldn’t have expected it to be flawless.

5 August, 2006

Getting comfortable with Mac OS X

On the rare occasion, I find myself in front of a Macintosh. In its default state, the OS feels rather barren. The default set of applications is quite sparse, and you have to put some work into installing the software you need to get going. As a GNU/Linux user, I’m accustomed to installing an operating system and getting a full suite of applications without putting in any extra work. Mind you, OS X is not nearly as bad as operating systems from a certain other vendor.

Here is a list of software that I recommend to Mac users. Most of these apps are free software and also work on GNU/Linux (or a suitable analogue exists), so switching between the two operating systems is easy.

Desktop navigation:

Audio/Video playback:

Web browsing (like Safari or Internet Explorer):

  • Firefox
  • Camino (which is based on Firefox; you can find extensions for Camino here)

Office suite (like Microsoft Office):

Desktop publishing (like Adobe InDesign):

Drawing (like Adobe Illustrator):

Painting/Photo editing (like Adobe Photoshop):

Printer drivers:

Get more free applications:

Windows compatability:

9 May, 2003

Galeon rocks!

Filed under: Uncategorised, Software

I am a heavy user of the Galeon Web browser. IMHO, it is far and away the best browser available for any platform. Tabs and session support with crash recovery are brilliant features. Not only has Galeon had them for longer than most other browsers, it implements them in a superior way. Not only that, it is quite fast and stable as well. I keep Galeon open all the time with multiple windows open (presently I have 7 open windows, which allow me to ‘categorise’ my tabs), and each window has many tabs (For example, I’ve got over 30 tabs in my ‘main’ window, and over 50 in another). I like my tabs to run down the left side of my window (AFAIK something only Galeon can do), so that more can fit on the screen and I don’t have to scroll through them. It may sound nuts, but I like it that way. And yes, I also use bookmarks: my bookmark collection is extensive. If Galeon crashes (a rare occurrance), or if I want to close it for some reason (another rare occurrance), I can get all my windows and tabs back when I restart it.

As you can see, I am very attached to Galeon’s unique feature set, which makes switching to a new browser difficult to say the least. Before I moved wholesale to Galeon, I would simultaneously run Konqueror and Opera, and sometimes Netscape 4 as well. This was so I could leverage the strengths of each individual browser.

I have been eyeing Galeon2 for a while now, and I finally decided to try it out. If it’s good enough to be included in Mandrake Linux 9.1, then maybe it’s good enough for me. Galeon2 is still undergoing heavy development, so I wasn’t expecting too much. Since the Galeon team is pretty-much rewriting the whole thing from scratch to take advantage of the GNOME2 platform, it would be understandable for it to take a while to reach maturity. My verdict? It is very close to meeting my needs. There are many extra settings hidden in Gconf, and after tweaking these I was able to create a similar setup to what I had in Galeon1. However, some things don’t work yet and a couple are missing.

I had a chat with some Galeon developers a few weeks ago, and they said that they are trying to reach a similar feature set to Galeon1, the difference being that this time they are coding for GNOME2 and its Human Interface Guidelines. Unlike the Galeon splinter project Epiphany, they are not trying to cut out features on a significant scale. A while ago there was much conflict in the Galeon mailing lists (to which I am a subscriber) over whether Galeon should simplify its feature set or continue on its current course. The Galeon founder and maintainer, Marco Pesenti Gritti, left the project, forked the code and used it to create Epiphany. I personally like this dual-pronged approach from the GNOME folks. Most people don’t like unnecessary complexity, and so Epiphany gives a simple, Safari-like interface and experience. For power-users such as myself, Galeon fits the bill brilliantly.

There are some pros to Galeon2 over Galeon1. For one thing, the UI is faster and more responsive. My favourite, though, is the default bookmarks. There aren’t very many, but the ones that are there are great. In the GNU / Linux -> News section, for instance, there are only four entries:

  • Desktop Linux
  • OSNews
  • Pclinuxonline
  • Slashdot

Notice anything special in there? Of the four GNU/Linux news sites chosen by the Galeon team, PCLinuxOnline is one of them!

I forgot to mention one of my other favourite features in Galeon (1 and 2): smart bookmarks. I like them so much that in early April I volunteered to take charge of maintaining the official smart bookmark directory. The Translate to English smart bookmark/bookmarklet in the default Galeon2 bookmarks was made by myself. There are many other bookmarks in the directory which I wrote myself, including some to search PCLinuxOnline (in the News category). I know it’s not much but it’s nice to hear that others appreciate and use your work :)

7 May, 2003

I made ‘The Inquirer’!

… well, sort of, anyway. Allow me to explain.

Today, we had a news submission about the BSA’s new scheme to teach children about the ‘evils’ of software piracy. To make this ‘learning’ (or should I say ‘indoctrination’) more fun for the kiddies, they got a mascot. Take a good look at it, what do you think it is?

It’s a ferret… supposedly.

When I first read that the BSA was using a ferret, I thought that we should call it a rat instead, since BSA is filled with dirty low-life rats. Then I hopped over to the site and had a look at it for myself. I swear, it looks like a weasel! A drugged-up homie weasel!

On a whim, I fired off an e-mail to Mike Magee at my favourite IT news site The Inquirer. If you’re not familiar with The Inq, think of it as The Register without the hubris. Indeed, Mike was the founder of The Reg, and he told me that he still owns 23% of it. Here’s part of the e-mail I sent to Mike:

The Business Software Alliance has received US Justice Department funding of $200,000 to ‘educate’ children about software piracy. More info at

http://www.washingtonpost.com/wp-dyn/articles/A19677-2003May6.html

What I’m wondering is why this organisation, which boasts some of the richest companies in the world as its members, is receiving US government funding?

Another point of interest is the mascot of this new Playitcybersafe.com initiative. It is _supposed_ to be a ferret. To me it looks like a weasel. A seriously drugged-out, homie weasel. A weasel may be the perfect choice for the BSA, but is a drugged-out homie character really the best choice to encourage children not to steal? I would say it does the exact opposite. You can see this weasel at

http://www.playitcybersafe.com/images/kidshome_ferret.gif

And here’s part of Mike’s response:

Many thanks for the nice letter. And for the tip. The BSA is up to all sorts of tricks and we’ll certainly cover this one.

A few hours later… BANG! Weasel Watch is born! Some excerpts:

HEAVILY SUBSIDED TRADE organisation the Business Software Alliance (BSA) has received $200,000 funding from the US government to promote a software piracy scheme aimed at children.

But that has raised questions about why the Justice Department has chipped into the scheme, seeing as the BSA is already subsidised, in fact paid for, to the tune of millions, by some of the richest IT companies in the world.

and

In fact the BSA Weasel, pictured above, looks like it’s either drugged up or it’s about to bite someone’s ankle, don’t you think?

SCORE!!!

Powered by GNU/Linux, Apache and WordPress