• About

    Swaroop C H is 27 years of age. He graduated in B.E. (Computer Science) from PESIT, Bangalore, India. He has previously worked at Yahoo! and Adobe.


    Email: swaroop (at) swaroopch.com

    Read more about him

  • Subscription

    If you want to know when new stories and articles appear on this website, you can subscribe to the RSS feed or have them emailed to you.

  • Want me to write about something?

  • I'm a Wannabe Hacker

    The Glider: A Universal Hacker Emblem

Archive for the ‘Open Source’ Category

All your machines are belong to us

Friday, August 10th, 2007

I have a Windows laptop and a Linux desktop at office, and I had this problem of interoperating between the two machines. That’s when I installed a neat utility called Synergy. Now, I can copy some text to the clipboard in the laptop and paste it to my browser running on the desktop.

Then, I discovered yet another nifty feature – when I move my mouse cursor beyond the left edge of the desktop screen, the mouse moves to the laptop (you can configure this for any edge). What’s useful is that I can fully use the mouse and the keyboard and do almost anything (yes, alt-tab works) on the laptop, and remember, all this from the keyboard connected to the desktop.

What a thoughtful piece of software.

Tip of the hat to Vikram for telling me about this software.


Update: For those who didn’t get it, the title was alluding to the phrase “All your base are belong to us”.

Evolution of Adobe Flex : now open source

Thursday, April 26th, 2007

That’s right, the Flex SDK is going to be licensed under the Mozilla Public License – this means the compiler, debugger, the huge libraries – it’s all going to be open source when Flex 3 “Moxie” is going to be released.

This news was not so surprising to me because I’ve heard there have been lots and lots of discussions before on how to make Flex “open”. You have to keep in mind that a big company like Adobe is making transition from being a fully closed company to being more open – from the introduction of Adobe Labs to getting more open culture infused from Macromedia, to donating the ActionScript3 VM as open source to Mozilla, and now Flex. You can clearly see how this evolution is happening. Even the PDF format is going from a de-facto standard to a de-jure standard by the ISO organization.

Coming back to Flex, just some time ago I had noted how open Flex is, even source-open but not “open source”, we’re now taking the next big step and making even the code free. Awesome stuff.

I personally still think there’s one issue that needs to be addressed. There are two parts to the story – the production and consumption, which is, the creation and the playback. The creation part is now not just open but open source! Why not make the playback part open? If we can allow anyone to create a player that plays SWF formats, that would be great. Of course, if we make the Flash Player itself open source, that would be mind-blowing, but I think the minimum that should be done is to allow other SWF players in the market. Not that anybody can beat Flash Player (it’s very very hard)…

The news is still sinking in (it was announced just an hour ago, as of this writing). So, more coverage here:

foss.in 2006

Sunday, November 26th, 2006

The past 3 days of foss.in/2006 have been very interesting. As Gopal said, this conference is in the hallways. I’ve seen/had a fair share of amazing conversations from watching a passionate debate of companies “exploiting” people by getting them to work on their open source product vs how is it exploiting if it is voluntary (Aaron Seigo did the defending :) ) to conversations about generator expressions in Python to Java being GPLed to how the ambitious KDE 4 reminds me of Vista (although the KDE community has proved itself time and again before), to Ubuntu Dapper vs Edgy (Edgy has been causing some problems for me). Regarding the talks themselves, lot has been written and clicked already.

Audience for Keynote by Suparna Bhattacharya Hallway discussions

The most I got out of this conference was seeing the passion again. The love of programming. The love of helping others. The feeling of being part of a community. The smile on the face of a coder when he comes to know that software he wrote is helping a poverty-stricken country modernize itself. Most of all, the first point again, the love of creating something. I had forgotten that feeling.

code4bill or code2share?

Thursday, December 22nd, 2005

If you have read the article in today’s Times of India on “The Battle for Bangalore” (page 16, bottom left corner), please do read the full article in the UK Sunday Times. The Times of India story is one-sided and leaves out a vital part of the original article.

(via Praveen)

Kaun Banega KDE Hacker

Tuesday, December 13th, 2005

KDE India has been launched. The Dot has the story.

Linux Can!

Saturday, December 3rd, 2005

Watch the Linux Can! video (I took yesterday night) now!

Linux Can! Live Video

I just can’t get that tune out of my head …

Update : The video is now available on Google Video.

foss.in day 4

Saturday, December 3rd, 2005

Yesterday was such a long and awesome day.

The day started with me missing Taj’s talk on Entropy and I’m still kicking myself for that one. I attended Gora’s talk on IndLinux efforts and I got to know about the various efforts in localization and translations going on.

![69421783][Thumbnail][]

Then, Alan Cox spoke on Modern Linux Device Drivers. There was so much information that he was doling out that I didn’t quite follow, but I did get the gist and understood that kernel stuff ain’t that much of a voodoo as I thought it would be. It simply requires a lot more discipline and awareness of how design impacts performance.

![69422139][Thumbnail][]

Then, it was Welte’s turn to talk how he reverse-engineered Motorola’s EZX linux phones to allow a full free software stack to be used on the phone. It was interesting to note the various steps he takes, including using an oscilloscope to find out which probes and points actually work! I didn’t stay for the whole talk because the amount of jargon involved was simply beyond me.

![69422250][Thumbnail][] ![69422312][Thumbnail][]

Next, I was listening to Volker on the Munich City’s transition to free software. Interestingly, in the city’s evaluation, they found the proprietary solutions to be cheaper than the free software contract quotes (we are talking a difference of 10 million or more!) but they took many more considerations such as long-term costs, support, localization, etc. and finally OpenOffice+Linux got lot more points and was finally chosen by the Munich city. The last-minute offers by MS which include cuts of 7 million dollars, etc. were not considered by Munich.

![69422473][Thumbnail][] ![69422573][Thumbnail][]

After that, we were in an Advanced Python BoF with Taj, Siddharth, and many others. With Sid being present, the talk veered off in various directions and that’s a good thing. Sid was talking about how to have some feedback values put in generators and Taj gave an example of how such a problem is faced in producer-consumer setup when they are using python generators. Taj said there’s a relevant PEP that’s out there but with no consensus yet on what’s going to be done about it. There was much more discussed including decorators, metaclasses, and Ruby too (no, we didn’t bash it).

![69422682][Thumbnail][] ![69422796][Thumbnail][] ![69422941][Thumbnail][] ![69423037][Thumbnail][] ![69423177][Thumbnail][] ![69423283][Thumbnail][]

(more…)

foss.in day 3

Thursday, December 1st, 2005

Today, the keynote address was by Andrew Cowie on Inside|Outside, and it was a brilliant talk. Cowie is a very animated and fun person. The talk was about how people are on the inside or outside of the community and what it takes to cross over. He gave various examples, including himself on how he had to step in to take care of java-gnome because the original author vanished from the scene. He also explained we need to be pragmatic and show a united front. For example, he was particularly appreciative of Hari Krishnan’s posters and why it shouldn’t matter whether he used a proprietary software such as Corel Draw. Actually, Hari needed some vector drawing ability which was not available in any of the open source tools. The people who bitched about using a non-open source software would better have spent their time fixing the actual problem. Similarly, he slammed the “GNU/” thingy issue raised everytime in a conference and people actually cheered him! I liked the way he stressed “No one can tell you no” … Cowie has put up the talk slides online.

![69055413][Thumbnail][]

Then, I attended Till Adam’s talk on Kolab and got to know how a German ministry funded Kolab 1 and subsequently how Kolab 2 has become a real viable alternative to the Exchange/Outlook combination. The technical bits were interesting, like how Kolab just reuses Cyrus-imapd for everything and treats all the information as just imap mails, including memos and calendars, etc. Since Cyrus-imapd is very scalable and kolabd is a lightweight daemon, Till said that many deployments of Kolab had scaled really well.

![69055415][Thumbnail][] ![69055417][Thumbnail][]

Then, I caught the last few minutes of Dr. George Easaw talking about Moodle. He was very enthusiastic about Moodle and is using this course management system in their college.

![69057518][Thumbnail][]

The FOSS in Agriculture : OSCAR talk was very interesting. OSCAR stands for Open Source Simple Computer for Agriculture in Rural Areas and has been sponsored by the French Institute of Pondicherry. OSCAR has a database of plants and images of the different parts of the plant. Once a farmer selects how the plant looks like, the list of species that match it are shown, and the correct species can be selected. In the species page, many details are present such as the names in local languages, whether it is a weed or a plant, whether it is good or bad, etc. They have developed this software in conjunction with teams in the field coordinating with farmers. Apparently, they want the software to reach a certain stage of completion and then open source it, which would likely be around March of next year.

![69057524][Thumbnail][] ![69057527][Thumbnail][] ![69057529][Thumbnail][]

Then, Sai Sreekanth spoke about FOSS in primary education. He presented his experience with schools in Kuppam and how freely available software made a difference to the learning of the children. Interestingly, he said that training and English were not the barriers – just having a computer running with all the software loaded were enough and the kids really learn to explore on their own. He demonstrated a few software that were very useful and the audience were quite fascinated by the breadth and depth of the software such as Tux Math Scrabble, Celestia, Anagramarama, edu.kde and many more. There is a whole lot of software out there available for school education that need to be taken advantage of, especially in hinterland areas where good teachers are rare and there are budget constraints. For example, if a school can’t afford a real chemistry laboratory, then ChemConnection is an amazing piece of software where you can mix and match chemicals and see the result of the reactions. Sai pointed to many more resources such as iosn.net, ofset.org, pratham.org and Edubuntu.

![69060879][Thumbnail][] ![69060886][Thumbnail][] ![69060904][Thumbnail][] ![69067135][Thumbnail][] ![69067143][Thumbnail][]

Next, I attended Kalyan’s talk on Web Application Security. He made revelations on how insecure sites can be and how easy it could be to circumvent the “128-bit SSL encryption high-security” stuff and do nasty things. All you need is 10 min to look around the HTML code. In fact, he demonstrated how we can easily get DVD players from Rediff Shopping or Indiatimes Shopping by changing the price from say 2999 to just 2 rupees in the HTML code and then clicking submit… Don’t try this at home, kids. His stress was that cryptography gave a false sense of security, it was easy to bypass the security. What is most needed is common sense and strict input validation is one of the best ways to be secure.

![69067177][Thumbnail][] ![69068425][Thumbnail][] ![69068427][Thumbnail][] ![69068428][Thumbnail][]

Then, I attended the Foss in Education : A Panel Discussion. Yes, it’s a recurring theme in the discussions I attended today. Many points were discussed but Atul came in and set the discussion straight explaining the difference of FOSS in education and FOSS as education and why we need to differentiate between the two. The former is using FOSS as tools for education whereas the latter means FOSS becomes syllabus. Obviously, I think the former is a better idea. There were professors and students participating in the discussion actively. Gopi Garge was chaperoning the discussion and summarizing the points regularly.

![69069574][Thumbnail][] ![69069576][Thumbnail][] ![69069579][Thumbnail][]

Unfortunately, attending these sessions meant missing Kaustubh’s podcasting talk and Mrinal’s FOSS Studio talk as well.

Finally, I last attended the KDE Development Workshop by Taj and Till.

![69069582][Thumbnail][] ![69069587][Thumbnail][]

Outside, people had gathered in groups and were all discussing away. You could just feel the ideas and discussions and opinions whooshing by.

![69069590][Thumbnail][]

Update : Philip has put up his notes on why foss in education makes sense.

foss.in day 2

Wednesday, November 30th, 2005

Today morning, the first session was a Linux Kernel roadmap by Jonathan Corbet. Although I’ve never been a kernel-level guy, the talk was interesting and he clearly explained how features have been added and improved over the various versions, and how the development process has improved and become more “professional.”

![68649354][Thumbnail][]

Then, it was my turn to talk and I talked about TurboGears. The talk went pretty good and it was well-attended which made me quite happy even though I had some tough competition, heh.

![68650388][Thumbnail][] ![68650389][Thumbnail][] ![68650393][Thumbnail][]

I did make two mistakes. First was that I got worried about the time I had to finish the talk, and second, I concentrated too much on the slides. Whenever I have presented well (which has been most of the time, thankfully), I tend to leave slides as guidance for the audience, and have my thoughts free-flowing enough to be coherent and entertaining. Well, I don’t think I’ll be making these mistakes again. However, I did get good feedback about the talk from various people, and a good number of questions after the talk, which is always a good sign. For those who couldn’t attend, my TurboGears slides are online.

And one more thing … my book’s website byteofpython.info is now running on TurboGears! This is only the second public website ever running TurboGears after diggdot.us.

Then, I attended Gopal_V’s talk on programming in the Mozilla platform. He gave a very detailed approach to creating Mozilla applications and how to go about things. I must get the slides from him later, but it shouldn’t be a problem grabbing hold of him since he works in the same floor as me at Y! His slides are online.

![68650390][Thumbnail][]

I was on my way to the OpenLaszlo talk, but took a peak in the Ruby on Rails tutorial. Does Ruby on Rails really need the CREATE TABLE SQL statements to be written by hand? …. I think I prefer the SQLObject approach of having all the database-schema in one place as simple Python classes instead of having separate database creation and database manipulation (ActiveRecord) parts.. Update: The new RoR migrations feature is simply brilliant. Thanks to Mark Ramm for the tip.

Other than that, Rails looked cool. The directory structure created by rails as well as the test-driven nature was good.

Then, I got into the OpenLaszlo talk by Nirav Mehta. I had seen the OpenLaszlo demos before and used to follow Oliver Steele’s blog, but I never got around to writing anything with it. Nirav kept the audience engaged and showed off some eye candy stuff that OpenLaszlo provides from images to animation. Somebody in the audience asked him to put audio as well, but unfortunately, he didn’t have any mp3s.

Then, my friends and myself headed to the food court and then went around the FOSS Expo section. The Sun Microsystems booth was the best one and they showcased real open source projects such as Belenix (the OpenSolaris LiveCD) and NetBeans. I got a demo of OpenSolaris’ DTrace functionality and it was pretty impressive.

![68652938][Thumbnail][]

Sadly, the other stalls like the Google and Yahoo! booths didn’t showcase any open source projects at all! When Google has open sourced many projects and Yahoo! has contributed open source stuff such as the Alternative PHP Cache, why can’t they show it off and demonstrate they too are part of the community (and invite people to join the company), which I thought was the point behind the stalls…

![68651813][Thumbnail][]

Then, I saw Pramode in the Phoenix stall and it seems people are showing interest in Phoenix which was good to hear. Nearby, Anush and Tejas were in the Python stall and trying to entice people to talk about Python, heh.

Soon, we were back in the Intel hall for Jaya Kumar’s talk on GPL and non-GPL code interaction in the Linux kernel. He stressed that binary-only kernel driver modules are not a good idea and his explanation was pretty simple – it screws users on other architectures and users using different distro-compiler-etc. combinations. Another point is that they are not respecting the people who wrote the Linux kernel. He quoted Linus Torvalds saying it has to be a two-way street, if somebody wants to write something using the Linux kernel, they have to contribute back as well. Jaya Kumar was over-shooting his time slot but he had a lot of interesting examples and incidents to talk about. I think he had more than 100 (sic) slides in his presentation. Outside the hall, Jaya Kumar and Harald Welte were mobbed and they had a good time interacting with others.

![68652936][Thumbnail][] ![68652937][Thumbnail][]

Then, I attended the “FOSS in Education” BoF. Philip, Manish and Praveen were also there. The discussion involved quite a number of issues and Praveen has added a nice page in the FCI wiki regarding the discussion. The focus was mainly in creating awareness, and getting students interested, at the high school level. The emphasis shouldn’t be in simply using open source but stressing the points on why open source is good for everybody, and how the community is the core strength.

![68653470][Thumbnail][]

Phew. As you can gather, it was a long day but an exciting, educative and interesting one.

I was looking at planet.foss.in and hoping to look for any insights from the many talks that I missed today (there are 6 tracks running in parallel!), but it seems very few people write such long posts as dumb me!

foss.in day 1

Tuesday, November 29th, 2005

Today’s the first day of foss.in/2005 and I actually managed to wake up early.

When I reached the venue, I saw a looooong queue of people waiting to get into the place. It seems there was a power outage and because of that, they couldn’t do the registrations. But one of the privileges of being a speaker is that you get to bypass these queues and directly walk in, heh.

![68271611][Thumbnail][] ![68271273][Thumbnail][] ![68271313][Thumbnail][] ![68271403][Thumbnail][]

It was a delight meeting Taj again, and I was standing next to Alan Cox although I didn’t speak to him because I had no idea what to say. He has this persona around him similar to Stallman. Maybe it’s because of his long beard. It was good to meet Andrew Cowie and Dr. Tarique saab too.

![68271653][Thumbnail][] ![68271446][Thumbnail][] ![68271497][Thumbnail][]

The talks started one hour late, and first off, Atul kicked off the inauguration by explaining why foss.in is different from other conferences. Some of the points I remember is:

  • Talks are the side-show. Discussions, interactions, exchange of ideas, etc. is the real agenda.
  • There are FOSS villages, etc. where people can go and start talking, discussing, etc.
  • If 1000 people attend, and 10 people are convinced and jump in to open source and actually contribute, it’s a success. If it’s 50 people, it’s a mind-boggling success.
  • We have no chief guests. The audience is the chief guest. So we have representatives from various Linux Users’ Group to do the Indian tradition of lighting the lamp to inaugurate the start of the conference.
  • The motto of the conference is the poem ["Where The Mind

Update : First, WP was cutting off comments, and now it's cutting off posts too!? Anyway, I'm adding some of the points of the first day I still remember but it's been 3 days already... :

![68271570][Thumbnail][] ![68271810][Thumbnail][] ![68271847][Thumbnail][] ![68275699][Thumbnail][]

The first keynote speech was “Use the source, luke” by Alan Cox. Surprisingly, for a hardcore technical person like Alan Cox, he spoke very well and catered to a non-technical audience as well. He illustrated many points very well, such as learning by doing as the only practical way and stressing that reusing code should be done and is strongly encouraged. Also, he explained how bug reporting is a simple aspect of getting non-programmers involved in the community as well.

![68278613][Thumbnail][]

Danese Cooper’s talk on FOSS : Opportunities for India was very good. She stressed on various things, including teaching your daughters to code.

![68278678][Thumbnail][]

Due to the delays in the morning, the talks were running in different orders in different halls, and I missed Rasmus’ talk on XSS in the confusion.

Then, I attended Pradeep’s talk on educational content sites using Plone.

![68278827][Thumbnail][]

Gopal’s talk on DotGNU was interesting, and he explained how he became the de-facto guy because of which DotGNU was moving forward since the main developer was no longer interested and turned his attention to building model ships. Though, I had heard this talk before when we were in Kerala last month.

Next, we attended Cowie’s talk on equivalence which is a nice word play. Equivalence is useful to build java-gnome and getting it running. He explained why the current tools suck and why he needed something to simplify the entire process.

![68271760][Thumbnail][]

Finally, I caught the latter part of Atul’s talk on Impact of FOSS on Everything.