Operating systems, iYum and Flash 9
Posted by Anurag on 24 October, 2006
Introduction - Operating systems and me
Its been long since I wrote an entry here, but this one has a purpose rather than being a pass time. I’ve always been interested in operating systems. Ever since I knew about computers, I wanted to make my own operating system. MSDOS used to be my dream at a time, then Windows 3.1, then Windows 95, Windows 98, Windows ME, Windows 2000, Windows Xp, Redhat 7.2, Redhat 7.3, Redhat 9, Fedora Core 2, Fedora Core 4, Ubuntu, Kubuntu and now Fedora Core 5. I’ve been updating my knowledge at each step, changing the dream everytime.
BASIC and the OS dream
In the beginning when we began with ‘BASIC’ (Beginners All-purpose Symbolic Instruction Code), we learnt to write ‘graphical’ programs in it. We wondered that all world has been programmed in BASIC and that learning to create a ‘WINDOW’ using the graphics of BASIC will enable us to write an operating system. As if thats the only missing link in our knowledge. Back then, our computer instructors used to say that operating systems are very complex things and can’t be made by someone as such. I accepted his point of view, but didn’t let the dream die.
When I came to IIIT
When I entered IIIT, the exposure to a new environment, different from the old and familiar Windows, which I had been used to since 1994, gave a new outlook to the whole thing. And the fact that Linus was able to make an OS of his own made my will even stronger. Though now we know that Linus only made the ‘kernel’ of the whole operating system, which is only about 3% of it (I read it somewhere).
Anyways, this was just to tell you about my strong desire to work in the field of operating systems, though I haven’t been able to do so. This was also to tell you about my familiarity with both platforms, as some people stereotype me as a ‘Linux person’. I use what I like more and its not completely impossible that I’ll switch to Windows Vista if I find it better.
iYum Repository
When Sugandh mailed about having a IIIT Yum repository, I was very excited about it. I had some idea about it. Initially, Sagar and I began working on making the Yum Repository for Fedora Core 5 - 32 bit. Sugandh talked to the faculty and got us resources. We installed a new system there, and I wrote some shell scripts initially. Later Sagar helped me out with some python too. Finally we made a mechanism to create Fedora Core 5 -32 bit repository. It downloaded about 7700 packages from the internet, about 12 GB of data.
And a set back
But you see, bad scripting and organisation resulted in a catastrophy. The script automatically deleted all packages naming them as ‘old versions’. This was a huge set-back. We decide to revive. I am very good at this I’d admit - reviving. People generally lose interest, hope, faith - after a crash. I, on the other hand, rebegin from wherever it is. Even if it means building from ground up.
Reviving
Sagar almost lost faith, while I was getting fascinated by the whole thing. It opened a new path of imagination for me. Besides, I was getting in touch with the power of Python, which I never acknowledged or experienced before. I designed a new mechanism for the Yum Repository.
New plan
Why should Yum Repository download all packages from everywhere? Why should it download any RPM for Fedora Core 2 if there isn’t any PC running it? Why should 100 others with Fedora Core 5 wait because Fedora Core 2 is being updated? Everything was so straightforward, ask the users to generate the requirement, and download only that.
The design
I designed the two tier architecture of the iYum network. The client runs a service in the background, constantly reading what packages the server ‘can’ download, comparing with what packages are old or not-installed. It sends back a list of those packages to the server. The server process combines the lists from various users and downloads the requirements. Thus, an automated system takes birth, which can expand itself as an when needed, as well as shrink itself when a particular operating system is getting obsoleted.
The actual work
I kept on telling Sagar to work, but he had his other commitments like his DIP project, BTP, etc. So, slowly and gradually, I coded the entire thing. The iYum client service, made in Python as well as the whole server and its webpages. The iYum client is currently a non-GUI thing, but my vision is to make it into something like synaptic or yumex. I might use yumex code to do so too. Anyways this is just a dream.
Flash player 9
Adobe took over Macromedia. The new version of Flash, Flash 8 came into picture. But, as Linux is not a popular platform, they didn’t work towards developing a version for it too. As a result, all Linux users were forced to use the old version, Flash 7. Many internet sites insisted on Flash 8, like the popular news site, www.ibnlive.com. Finally, Adobe has kept its promise to release a version 9 for Linux. It prerelease versions include a browser plugin and a standalone utility to run Flash 9 on Windows, Mac and Linux. Enjoy! Here is the link.
BTP
On 9 of October was a great day for me. Jawahar sir scolded me like anything for not working on the project. Initially I was very depressed and angry, but now I am happy that he did so. It brought me on the right track again, the track of working! He explained me very nicely about the BTP viva and report today, and about the future plans. I’ll be giving it my best during these couple of days. Wish me luck!
Fedora Core 6 and Vista
I heard FC6 was coming today, haven’t seen any news about it. The Fedora website is down for maintainance. Regarding Windows Vista, I am very keen. Recently I’ve read many blogs supporting and against Vista. I want to see what has Microsoft offered this time. Hopefully it’ll be something good.
Anyways, bye for now. Ciao.
Posted in Development, Events at IIIT, Life at IIIT, Linux, Project work, Studies and Courses, System software, Utility software | 1 Comment »


