Category — OS
iLugHyd, Sloppy pace, Confusion.
I just returned from iLugHyderabad’s meeting. It was fun. I met a lot of interesting folks who had dabbled with the new release of Fedora. It is not like I am tempted to try out fedora but it was fun meeting the Fedora enthusiast Rahul Sundaram. Let me recollect what happened during the meet.
The venue for the meet was the astronomy building at Osmania University. The building was being renovated and I managed to whiten my navy blue coloured jacket by plainly brushing against the walls of the building. There was no electricity in the building too. We were discussing about moving to a different room when a professor who was there to attend the talk (teaches at Osmania and has been using Linux for 12 years !!) used an extension cord that somehow could span the length of two floors. The basic infrastructure needed to conduct the event was now complete. We waited for a few more people to arrive but not many turned up. Seemingly many students had exams the very next day and chose to stay back at home/hostel to study. I began discussing about Django newforms with Theju (I met him at mukt.in . He was one of those who did a project on server side validation at the google summer of code. I will take part in this when I go to college for sure. They give out some excellent projects and help in improving one’s coding skills.). Seemingly in December, django’s creators will launch newforms (or is it newforms admin?). Theju promised to teach me how to hack up the admin interface that comes with django.
Someone at the meet with long hair had a lot of troubles with Fedora 8. Seemingly his laptop wouldn’t boot into fedora and grub would get stuck at the “Loading Grub, Stage1.5″ stage. I also remember that I had some troubles with the new linux kernel way back when I used feisty. I placed a bug report here.
After that the talk began. Rahul explained about his association with linux since the days of Red Hat Linux. So automatically becomes part of the elite FOSS gang in Hyderabad.
Rahul turned out to be a jovial speaker and his speech was littered with comic examples dating back to his stint as the “font guy”, “the support guy” for Fedora and Red Hat Linux. Seemingly on one occasion, he was called up by a Fedora user from Greece who claimed that Greek didn’t look good in the Bitstream fonts but looked better in DejaVu Sans. Rahul’s reaction was “Which one is what and what looks better?”. We all had a hearty laugh at this. At the end of the meet, we all had an “introduce yourself” kind of session and there was this guy who worked at google and was all smiles. I just adore google employees. They seem to be in love with what they do and genuinely are “good” at what they do. Krish (mukt.in organizer). So we began talking. I voiced my anger at google’s choice to make us write applications using android in java and to provide an eclipse plugin to top it all. Now eclipse is a PITA. My experience with it lasted 30 minutes. 10 minutes it took to start, 10 minutes to install the pydev plugin and another 10 to close. Rahul then came in with his comment, “Some time back, your computer was considered very robust if it could run quake at 50 fps. Nowadays, if you can run eclipse at 50 fps, your box is top of the line.”. He earned another round of applause. That is the true FOSS spirit.
I did attend a Ruby on Rails session as well sometime back at TWINCLING. Mr. A.P. Rajshekhar gave a talk on ROR and it was one of the best sessions on web development (I attended one at mukt.in. It was conducted by Thyagu) that I had attended. In a span of two hours, Mr. Rajshekhar covered a lot about Ruby, MVC and also showed us a working application by the name talewiki. Mr. Rajshekhar is also writing a book on ROR and he plans to use talewiki to teach ROR. I promise you Mr. Rajshekhar that I will be the first to purchase your book.
Krish and I are coming up with a web application of our own. I will talk about it later as we are yet to come up with a working model.
I have to still figure out how to generate thumbnails for my firefox extension. I have discovered that nautilus uses a thumbnailer that picks a particular frame of a video, the first page of a file and so on. I think I will freeze the development of filerfox and do something else with firefox. I have to scout for them though.
Anyway, See you later.
November 27, 2007 No Comments
What I am up to these days
I have not been able to post a lot these days as I am all tensed about applying to colleges and so on, it is indeed a very stressful process. I have shortlisted a few but I think it is better I don’t shoot only for the top few and also look at tier 2 colleges with decent research prospects.
Now I am an individual who is eager to play with things. After the LUG meet I decided to make my own file manager extension for firefox that would enable me to easily pick the pictures that I would like to upload. I have made a basic UI for it and I will soon come up with a working version of it in about a week.
Apart from that I got to play with BSD again courtesy a generous gift from Deependra Shekawat ( a great friend who is a freenode regular ). He sent me the PCBSD installation cd. Let me recollect the process.
I put the cd in and up came a very good-looking screen that enabled me to cruise through the process and I kept encountering worthless pics that claim its capability to play all my music and edit all my files and whatnot. Typical “BSD on the desktop is finally here” kind of presentation. After a few minutes the installation finished and I was staring at KDE (oh how those jumping icons irritate me). Surprisingly everything works including my wireless. Even the distracting LED (ACER’s innovative design. They place the radio kill switch under the touchpad so that I can always hit it and see the Network Manager applet tell me that no wireless networks exist). I decide to experiment. The .pbi method of installing things irritates me further.
I recollect that a very dear friend who uses freebsd had told me about the complaints bsd threw when a device was not unmpunted correctly. I plug my external drive in and yank it out immediately. I plug it in again and type `mount /dev/da0s1 /mnt/external_disk` at the shell and get some stupid error report. I investigate further.
Tune2fs seems to be a good utility to look at ext3 fs parameters (my external drive is ext3 formatted, I know it is not smart but who cares). I notice this :
Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
Bingo! So all I need to do is remove the ‘needs_recovery’ “feature” (stupid I know).
Being the MIT appreciator I pick debugfs which according to its manpage is written by someone from MIT (woohoo!!). So here goes:
[root@psp-laptop /root]# debugfs
debugfs: open -w -f /dev/da0s1
debugfs: features
Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
debugfs: features -needs_recovery
Filesystem features: has_journal resize_inode dir_index filetype sparse_super large_file
debugfs: quit
So there we are. I would however recommend that one runs e2fsck on the drive. That will also remove the troublesome “feature”.
Work, work and more work. I need to draft those essays now.
I will write again later
November 6, 2007 No Comments
Filesystems with versioning support.
We developers can’t do without versioning can we. We write crap html to test our parser and end up committing this as well to the server and then move back to a previous version so that those who use svn to get the bleeding edge version of the software do not get your useless html to laugh at. I was pondering over what advantages versioning could bring to our traditional way of work. I for one use sys-rescue to back up important files on my computer and append the version number to the filename. I just need to browse through this directory in case I screw up.
Anyway, I decided to have a look at operating systems which matched the performance of ext3 and had some form of versioning in them. My first stop was ext3cow from John Hopkins University. I was particularly attracted to it because it contained ext3 in its name.
I then installed ext3cow on a partition reading instructions from http://www.ext3cow.com/Applying%20the%20Patch.html .
I took me quite some time to understand what was going on. I approached ext3cow with the impression that one would have to revert back to a previous version of the fs by probably mounting it somewhere else (probably these are stored as .iso files somewhere so that they can be dumped on other media ?) . I was stumped to see something like this as I read:
[user@machine]$ echo "This is v1 of the file." > foo.txt [user@machine]$ snapshot Snapshot on .[user@machine]$ echo “This is v2 of the file.” > foo.txt [user@machine]$ cat foo@ This is v1 of the file.
Amazing. This means that I can access files at any given date in the same way as I access a file that currently exists in the filesystem. Now, there are certain drawbacks to this. Who in this world can remember the seconds since epoch the snapshot was taken ? And its not like I am going to access this snapshot seconds after I took one. There is a solution to all this, a gui interface to ext3cow. It should allow you to save these snapshots using a date-structure you want.
One of the drawbacks of the current version of ext3cow is the lack of the ability to delete a snapshot. It did exist in previous versions though.
After a terribly long period of using ext3cow, here is what I feel it needs:
1. A utility to convert ext3 to ext3cow.
2. The ability to delete a snapshot.
3. A better GUI for ext3cow
Here is my idea about versioning filesystems. Someone creates a versioning file-system that gives the user no control whatsoever over the frequency of snapshots taken and over the snapshots themselves. This would enable one to track let’s say the activities on an ATM machine ? Take the pic of a guy who enters through the door, save it, take a snapshot detailing the activities and done. If someone somehow manages to delete the current file, you can bring it back from the snapshot.
Well that’s how it is. I am going to read more about filesystems supporting versioning such as NILFS
August 9, 2007 No Comments
Feisty fawn, first observation
I got my feisty cds this morning. I installed feisty immediately and considering that one of the ubuntu devs on #ubuntu told me that feisty’s way of handling storage devices had changed, I immediately did:
shriphani@psp-laptop:~$ cat /etc/fstab # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 # /dev/sda3 UUID=1a97343a-e3ed-48e2-9db4-ea67228fb1aa / ext3 defaults,errors=remount-ro 0 1 # /dev/sda2 UUID=68033b3d-f469-4a8b-8ade-c3a9984f5281 /boot ext2 defaults 0 2 # /dev/sda1 UUID=01107bb3-77bb-41c3-b271-6019bfa8ebb3 /home ext3 defaults 0 2 # /dev/sda4 UUID=da271254-066a-46f4-b1a0-75ba2c4b494f none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
What’s this !!. a UUID describing a device ? I was a bit confused. I also saw that my IDE drive (I have an acer travelmate 4500 laptop) was being recognised as SCSI. I immediately went to #ubuntu on freenode to figure out what was wrong. I was then given the link to this.
Wow! Surely a lot of thought going into that. So we will be dealing with just one subsystem from now on in Ubuntu land.
May 8, 2007 1 Comment


