Monday, April 28, 2008

Ubuntu reviewed

My home desktop is giving problems, probably because of some heat issues. So I cannot continue what I was working on over weekend. That gives me time to write about my review of new release of Ubuntu that I installed on my office machine.

Over a year I have been contemplating a shift from Fedora to Ubuntu. At the time of Feisty I took a step in that direction, but then I decided to stick with familiar Fedora little longer. Now I am more comfortable with apt and dpkg, thanks to Maemo. So I was eagerly waiting for Hardy release of Ubuntu.

As you can read everywhere else, Ubuntu 8.04 is impressive. I agree. I will rather write about two specific issues that were relevant to my environment.

For few years I have been managing the storage of my desktops using LVM. It's very handy for me. Unfortunately Ubuntu's Live CD installation method doesn't support logical volumes - something that Redhat/Fedora supported so easily. Probably, ubuntu's target audience would prefer minimum click installs to advanced tweaking of the system. The alternate CD discovers logical volumes, but it's very tricky. I don't remember exactly, but last time I tried it, the installer froze on me until I figured - by jumping to adjascent terminals - that scanning of each volume was taking too long. But this time, I found an easier way of using LVM while still using Live CD. As per the instructions, I installed lvm2 and inserted dm-mod into the Live CD kernel. But the article guides you on how to create logical volumes from raw discs and then install Ubuntu on them. In my case I already had volumes. The instructions given in above link are not sufficient if you want to reuse the volumes that you created with your old linux installation. However it is very simple, if you do it right.
  • Make sure you use "sudo" while doing pvscan, vgscan, lvscan. If you don't, these commands will exit silently, giving you the impression that they haven't detected your LVM setup.
  • If you create new volumes as mentioned in above instructions, you will be able to see them as device nodes under /dev/mapper or /dev//, you can use them as targets of your favorite mkfs. utilities. However your already existing volumes won't show up that easily. If you want to see them, use "vgchange -ay". This will activate all your volume groups.
Apart from this, rest of the installation is a stroll in the park.

Now a days, it's common to have dual monitor setups in workplaces. I have one too (I mean two :). I needed to use some nvidia specific utils to get dual monitors working. If you search for terms like "dual monitors ubuntu nvidia twinview" you will get lots of posts. I found and followed all those too. But all of them told me to do Ctrl+Alt+BackSpace to reload X, to test the changes in my x.org file. That just made the display more and more horrible for me. The resolution dropped to 800x640, nvidia's twinview utility was no where in sight. ... until I rebooted the box. Maybe it was little dumb of me to not have rebooted after I installed nvidia's driver. I don't know which of the changes found in all those posts worked for me, but I think the important thing is to reboot the machine after you install nvidia's drivers.

Monday didn't seem so boring because a brand new system was waiting for me at work today. I set things up to suite my needs - nis, automounter, users, firefox sync, mail setup .... Firefox 3 beta 5 is pleasant. Fast as advertised. But I still couldn't find compatible google extenstions that I am so used to (browser sync, notebook, toolbar). There are compatible versions available for Firefox 3, but for some reason they didn't want to get installed on my beta 5 build.

But a major change I did was with my mail client, which wasn't planned. I don't remember if I had used Evolution any time in the past - not seriously for sure. But today I decided to give it a try, as it's the default mail client that comes with ubuntu. And within few minutes, I was a convert. I have stopped using Thunderbird. The biggest turnoff with thunderbird is its lack of calendar utility. Lightning is far behind alpha quality. That had forced me into using Korganizer on my Fedora 7 desktop. But this time I decided to give a shot to Gnome's PIM tools integrated into Evolution. Evolution has almost all the good things that thunderbird has (most importantly fast search), but in addition it has a functioning calendar program. I haven't tried to sync it with MS Exchange, but I doubt if any non M$ client will reliably work with MS Exchange calendars. I am happy with setting up my events and reminders manually, as long as basic functionality is there. Furthermore it was easy to import my mail folders from Thunderbird to Evolution, thankfully both use a standard "mbox" format to store the mails. Filter rules aren't compatible however, I will have to manually write them.

Fedora 9 is coming out in May. If you try it, let me know. I will skip Fedora this time though.

Tuesday, April 22, 2008

Flickr uploads from n810

Finally I am done with new version of publishr for Nokia n810. Check out the demo video.



You can install from here. Check out the project page.

Saturday, April 05, 2008

Cringely and Paul Graham

I had decided to dedicate a post on the list of my favorite writers/columnists. But today I read two great essays written by two of them in last week. Here are some favorite quotes of mine from the article.

I read Bob Cringely's weekly articles. He is certainly not from my generation. But he is a rare commentator of technology who is venerable and contemporary at the same time. Read his recent column.
This emerging world will be very different in many ways. How many of these kids expect to someday earn a pension? Surveys show that few of them expect Social Security to even survive until their retirement -- if they can ever retire at all. Where we went through a couple career changes they'll go through half a dozen or more in a life that will outlast ours by 20 years. Growing up is changing from becoming what you will be to becoming what you will be for a while, and that has a huge impact on the educational requirements placed on our society.
... His comment on what "education" really is, is just perfect.

Part of any answer is figuring out what education is for. We use it for paying dues, for passing time until a certain level of maturity is reached. We use it for networking and finding mates. We use it for acting goofy at the expense of our parents. And we use it, to some extent, to learn what we need to know to get by.

The question that has so far gone unanswered in this series, then, is how will we learn in the future?

Do read the rest.

I can't say enough about the influence of Paul Graham's essays on me. Sometimes he just gets it. Last week he wrote about his list of heroes. Here are some inspiring quotes:

About Leonardo da Vinci...
His most impressive work, to me, is his drawings. They're clearly made more as a way of studying the world than producing something beautiful. And yet they can hold their own with any work of art ever made. No one else, before or since, was that good when no one was looking.
About P.G. WodeHouse...
But Wodehouse has something neither of them did. He's at ease. .... But Wodehouse didn't give a damn what anyone thought of him. He wrote exactly what he wanted.
About Isaac Newton...
You only get one life. Why not do something huge? The phrase "paradigm shift" is overused now, but Kuhn was onto something. And you know more are out there, separated from us by what will later seem a surprisingly thin wall of laziness and stupidity. If we work like Newton.