Thursday, September 28, 2006
Global Voices is holding their annual conference in Delhi this December. They need a volunteer to help with their live audio webcast. If you’re interested in helping out, contact Neha Vishwanathan.
Geekery & Miscellaneous
Thursday, September 28, 2006
Thursday, September 28, 2006
Global Voices is holding their annual conference in Delhi this December. They need a volunteer to help with their live audio webcast. If you’re interested in helping out, contact Neha Vishwanathan.
Tuesday, September 26, 2006
Sunday, September 24, 2006

Friday, September 22, 2006
Thursday, September 21, 2006
Monday, September 18, 2006
The closest we have to realising the vision today is Wikipedia, which looks nothing like this description, but does what Bush expected to do while sitting at it.Consider a future device for individual use, which is a sort of mechanized private file and library. It needs a name, and, to coin one at random, "memex" will do. A memex is a device in which an individual stores all his books, records, and communications, and which is mechanized so that it may be consulted with exceeding speed and flexibility. It is an enlarged intimate supplement to his memory.
It consists of a desk, and while it can presumably be operated from a distance, it is primarily the piece of furniture at which he works. On the top are slanting translucent screens, on which material can be projected for convenient reading. There is a keyboard, and sets of buttons and levers. Otherwise it looks like an ordinary desk.
In one end is the stored material. The matter of bulk is well taken care of by improved microfilm. Only a small part of the interior of the memex is devoted to storage, the rest to mechanism. Yet if the user inserted 5000 pages of material a day it would take him hundreds of years to fill the repository, so he can be profligate and enter material freely.
ext2 volumes that I can set about to recover all jpeg files? I don’t have physical access to the disk. It’ll have to run under Linux.
Monday, September 18, 2006

Sunday, September 17, 2006
The server on which this site is hosted experienced a hard disk failure earlier this week, taking down everything that was hosted on it. The crash was not instantaneous. Services failed one by one, leaving a trail of incomprehensible error messages. At first we assumed a full disk. Since even SSH had failed, we saw no option but to reboot the machine. The ISP then discovered the disk was failing and wouldn’t boot anymore. They replaced it with a new drive and a freshly installed OS. I’ve spent the last few days probing the old disk to see what could be teased out of it. This is the first instance of data loss this site has experienced in over six years online. Backups have been highly irregular, so, much of what is lost is lost permanently.
The following description includes much technical jargon. Please feel free to skip if you’re not up to it. It doesn’t matter in the grand scheme of things.
This server ran three instances of Zope, with Plone versions ranging from 2.0 to 2.5, one Trac database, one instance of Lotus Notes, and the image archives of Jacemobile. All three Zope servers use ZODB via ZEO (also separate instances) with the default FileStorage backend. This means that the entire database is stored as a single file on disk. Damage to the file becomes damage to the entire database. As luck would have it, only one of three databases was rescued unscathed. This site’s database lost a few megabytes towards the end of the file.
But ZODB FileStorage is also of an incredibly resilient design. It is an append-only database. Any changes, whether additions or deletions, are added to the end of the file. Changes are undone by adding yet another record to the file to invalidate a previous record. A pack operation must be performed periodically to discard all invalidated records. What this means in the context of the crash is that losing the tail end of the file was equivalent to undoing the last few changes, which in this case turned out to be a few days worth of comment spam. Not a bad deal at all.
The other bits were not as lucky. Having lost several files in the Zope and Plone code bases, I decided I might as well upgrade to Zope 2.9 (from 2.8) and Plone 2.5.1 (from 2.5). Zope 2.9 requires Python 2.4, installing which promised to be a miniature nightmare. This server runs Red Hat Enterprise Linux 3. If I had a choice, it would have been something Debian-based, like Ubuntu, because in my experience, Red Hat-based systems inevitably turn into package maintenance hell. RHEL3 comes with Python 2.2, which Zope has never supported. There are no standard Python 2.3 or 2.4 RPM packages for RHEL. I had previously built them for 2.3 and those files were thankfully uncorrupted too, but for 2.4, I had to start over.
Python.org has Fedora RPMs for 2.4. Rebuilding the SRPM worked on RHEL, but Zope wouldn’t take it. 2.4.3 wanted. Py.org’s 2.4.3 RPMs page refers to 2.4.2 — must report that to the webmaster — and the 2.4.2 RPM won’t build on RHEL. After similar lack of luck with other SRPMs obtained from the distribution networks, I had to get down to editing Py.org’s 2.4 RPM’s spec file to build from the 2.4.3 sources. That finally worked, but after blowing out two hours of my time for what should have been a 2-minute affair at most.
One Zope site (this) is up and running now. Two more to go. Lotus Notes was totally hosed but that has regular offline backup. The worst casualty was Jacemobile, my moblog. The entire 2005 archives were lost. A phone storage card crash earlier this year wiped out my local backup too. The last backup was in November 2004, when switching servers. The WayBack Machine missed it too. It appears the 2005 archives are permanently lost.
Unless I can lay my hands on an ext2 recovery tool. Do you know of one?
Wednesday, September 13, 2006
Sunday, September 10, 2006
Sunday, September 10, 2006
Friday, September 8, 2006
Blogcamp is tomorrow. I’ve been on the planning list the last few weeks (mostly lurking) and now have a better sense of what’s going on.
As noted before, the core planning team has been far more concerned with staging a grand event than with figuring out what is going to make it so grand. To this end, they’ve done a remarkable job. They’ve also turned out to take criticism very well — Kiruba Shankar in particular deserves mention — and have graciously allowed “outsiders” to take over content planning, which Dina Mehta, Neha Viswanathan and Peter Griffin have done.
The event still lacks focus. It’s not clear exactly what aspect of blogging is to be discussed, as “all of it” is too generic to mean much. I’m going to speak about the public nature of conversation on the web, but in the absence of anyone else covering a related topic, I’ll have to cover a large breadth and sacrifice depth, as will several others. Thankfully, it appears that sufficiently large numbers of thoughtful and articulate people are planning to attend, so that alone should make up for it.
If you are attending, see you in Chennai tomorrow.
Friday, September 8, 2006
Abandoned bullock-cart on a lane of mud-brick houses in Inglawadi village, Anekal taluk, south of Bangalore city. This is a typical rural Indian setting.
What’s not visible is the kiosk immediately to the left, featuring multiple computers on a broadband internet connection, with a solar power backed UPS, and offering a range of facilities from generic internet access to government services. This is my workplace. This is where my work is deployed (to be more accurate). In six months, 800 such centres will open up across Karnataka. In another two years, several thousand across India.
Wednesday, September 6, 2006
Tuesday, September 5, 2006
Tuesday, September 5, 2006
Saturday, September 2, 2006
Saturday, September 2, 2006
Friday, September 1, 2006
Friday, September 1, 2006
Copyright © 1979-2011 by Kiran Jonnalagadda. Licensed under Creative Commons By-NC-SA 2.5. Proudly powered by Zine.