Thursday, July 06, 2006

BabyTux Digest launched, in style ...


We are off the ground finally and the BabyTux Digest is 'officially' in circulation as an e-magazine.

A bunch of people gathered at the 'Commons' Last evening for the launch. The final draft of the digest was presented by Arunan and most of the articles were explained by some of the authors present. Bud and I mentioned a few things about how it all started and future plans for the digest. Hasmin had some interesting ideas on marketing Free and Open Source Software (FOSS) in general, using popular idols as spokespersons. One of the best ideas I have heard in a while, which might work very well, if put to work.

Kudos to all the authors who contributed articles and reviewers for their feedback. We already have around 14 authors ready to submit articles. This means a lot, since the digest is driven by the Sri Lankan FOSS community, voluntarily, with no monetary rewards whatsoever, at the moment.

BabyTux digest is a free publication (Free as in 'Freedom' AND Free as in 'Beer') under the Creative Commons license.

Pics of the event are in Flickr

Download the digest and have a look. A dedicated site will be up shortly.

Monday, June 05, 2006

Ubuntu Dapper Launch @ Sri Lanka...



I had a great time at the Sri Lankan Dapper launch party last Saturday at The Excel World. I sincerely believe that 'Ubuntu' will be the Linux distribution that made Linux mainstream among the desktop users. With the Dapper release, they have improved so many things, which makes their moto "Linux for human beings" very realistic.

For example, one of the first things I noticed last Saturday was how 'transparent' networking has become in Dapper. I have an Ethernet at home and was working on that right before I packed my laptop and came to the launch party. On arrival and while booting my laptop, Ubuntu has managed to detect the wifi at Excel World, connected to it and changed my default gateway to 'eth2', which is my wireless card. The result ?? The moment I finished booting, I have connected to Yahoo Messenger (with Gaim) and GMail (with firefox) with no interaction on my part at all. That's not all. When I went home that evening, it did the same thing backwards, so that I was connected to my home Ethernet. Sweet !!!!



We managed to burn and give away quite a few Dapper CD's (Ubuntu, Kubuntu, Xubuntu and Edubuntu).

Half way into the party, an effort was underway to build a RAID using USB Flash Drives and a Hub, which never saw completion due to our short attention span to anything other than Ubuntu Dapper.



Mahangu, who was the chief organizer of the event, has posted pictures in his flickr gallery.

Monday, May 29, 2006

@ the Honda Meet

Last Saturday I had the chance to get involved in the first Honda Meet in Sri Lanka and man there were some 'seriously' riced up hondas there. As a guy who is more into the 'clean' outlook as opposed to the 'ricey' look, I loved the elegant, black Honda S2000, which was there.

Our guys at autoLanka has done an excellent job in organizing, I must say. Pictures of the event are on the sites gallery. Great photography Preveen (our 'official' photo dude).

Friday, May 26, 2006

Gambas Tutorial from FOSS-ed for Hackers

The session I did on Linux GUI programming with Gambas, is available online now, along with most of the other sessions. This tutorial should help as a starting point for guys familiar with GUI development in VB to migrate to Linux programming.

Happy Hacking !!!

Thursday, May 25, 2006

Kaffeinate yourselves

Bud, Arunan and I have decided to launch a GNU/Linux magazine for the Sri Lankan GNU/Linux newbie. My article on Kaffeine is available from yesterday.

The next article due by me is on amaroK. However, I need to do a dist-upgrade from my Ubuntu Breezy to Dapper to get the latest version of amaroK.

So.. Go Kaffeinate yourselves in the meantime... :)

Wednesday, May 24, 2006

FOSS-ed for Hackers

A very productive two days at the FOSS-ed ended yesterday.

The first day was graced by Professor Lawrence Lessig , a co-founder of Creative Commons who did an excellent presentation on the concept of 'commons' and the importance of 'freedom' for innovation.

This time I got the opportunity to conduct a session as well on Gambas. It was a good audience who were keen to learn. I guess FOSS in Sri Lanka is becoming mainstream. It's apparent by the large number of corporate participants along with the university students.

Wednesday, May 17, 2006

Google Web Toolkit :: First Impressions

Get it here

Just got the toolkit up and runing along with a project in Eclipse. I have been trying all sorts of javascript libraries trying to develop a satisfactory AJAX PoC for a while now. I was not very happy with the results.

With the Google Web Toolkit, I (mostly a java guy) was able to get a basic 'Hello World' AJAX application running in record time. Eclipse integration is simply great, which brings in the ability to debug AJAX applications in a 'civilized' manner, among other things.

The documentation and the samples were very helpful in ramping up. I'm now looking at the RPC and the surrounding architecture. I think this would be the toolkit that made AJAX 'usable' for a broader subset of developers.

Hope to see great things in the coming days ....

Wednesday, April 12, 2006

Installing CDAX on Linux

The text below applies for the CDAX version 5.4 (and will apply for past and future versions if the issues are not solved).

First and foremost, for the moron who developed the installer and hosted it at the site ... Thanks for nothing !!!. Go and;

a. Read the installer creator's manual before writing installers with it.
b. Learn Linux before pretending you know how to write installers for it.


For the rest of you guys here's how to clean up this mess and set up the CDAX software on your preferred Linux distro.

After downloading the .bin file and giving it execute permissions, don't even think about running it again and again. It's a bloody waste of time. Just go to step 1 below.

Before going to step 1, let's dissect what this guy has done. After running the installer and it dying out, there will be 2 log files generated in the same directory. These are named 'errors.log' and 'jinstall.log'. The most important information can be found on the latter. Going through it we can see what the 'wannabe' installer maestro has done.

First, he has turned 'off' the JVM search functionality, which means irrelevant of the fact that I already have an up-to-date JVM installed, the installer will install it's own JVM. (In case you were unfortunate enough to download that 30 MB installation using a dial-up connection, keep in mind that the bulk of that file was the JVM and not the actual CDAX software. He should have put two installers with/without the JVM included.)

Then after extracting his JVM to my hard drive, the installer tries to execute the 'java' executable inside it, without bothering to set execute permissions first. Obviously the installer goes south from that point on.

So that about sums it up for the dissection. I hope I wasn't too harsh on the guy. On second thoughts... No I don't hope so. If you are putting out a software (along with the image of your company at stake) on the line, you should spend time to find out whether the installer works on all platforms. I wonder what the story is with the Macintosh users.


Now let's see how I got this thing working in my Ubuntu Breezy.

Step 1: Run the installer with sudo (or as root, whatever fancies you ...)
Step 2: After the installation fails :) Go to the directory where the installer puts its JVM in. That would be /usr/local/bin/jvm/jre1.5
Step 3: Give the 'java' executable execute permissions, so that it can be executed by a normal user.
Step 4: Run the installer again as a normal user. Voila !!! The wizard starts and it's point and click time from there on..
Step 5: Now to get rid of this VM (if you already had one installed and this was force installed). Deleting this VM and creating a simlink to your original 'java' executable should cure that irritation.


Hope this helps ....