Sunday, December 31, 2006
Wednesday, December 27, 2006
Things we take for granted
Today morning I happen to read this news. An earthquake has disrupted Internet connections in Asia. After all these days of my wifi, hi-speed Internet access, I kind of started to take Internet connectivity for granted. This event just reminded me of the bandwidth crunch that we have in public Internet in India. Basic Internet access such as checking yahoo emails used to be a "crawling experience" back in my hometown. Hm!
So, it is time that I took all the comforts that I enjoy a little seriously!?
Monday, December 25, 2006
Java 6 runtime on Ubuntu dapper
Java 1.6 is super fast with a lot of UI related improvements. So, always good to have.
So, if you want to have it, do the following:
1. Download the *.bin file from sun's dowload location.
http://java.sun.com/javase/downloads/index.jsp
If you are not a "Java dude", just choose to download the "Java Runtime Environment (JRE) 6"
2. Run a terminal session, and goto the folder where jre-6-linux-i586.bin is downloaded.
3. make sure that it is "executable"
chmod +x jre-6-linux-i586.bin
4. Run the installer
sudo ./jre-6-linux-i586.bin
5. This will extract the JRE in to its own folder(called jre1.6.0. Now, put this into appropriate library location
sudo mv jre1.6.0 /usr/lib/jvm
6. Set new JRE as one of the "java alternatives" as (all in one line)
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.6.0/bin/java" 1
7. Set the new "alternative" as the real java to run (all in one line)
sudo update-alternatives --set java /usr/lib/jvm/jre1.6.0/bin/java
This should print a message - Using `/usr/lib/jvm/jre1.6.0/bin/java' to provide `java'.
We are all set!
Oh and, happy christmas! let there be peace and joy - forever!
Tuesday, December 19, 2006
Eye candy - second thoughts
On a second thought, I started asking myself "Do you need all these special effects on your computer?" - Well, with XGL/AIGLX Linux seems to stretching things a little too far. Too many "on your face" kind of effects (Which are unstable at times). Things like the "dream" effect on Menus and tool tips are distracting. Thank god, like anything else, beryl is highly configurable. I disabled a lot of settings and running only necessary effects I like:
Drop shadow - Gives a real feel of focus on top most window
Desktop cube - Rarely do I switch desktop, but while I do it, it is fun.
Expose' like effect - I have stopped using the old "alt+tab". Instead, I press F9 or move mouse to a hot-spot corner, and I get tile of all open windows, from which I can chose from.
Everything else, disabled! Here is a screenshot:
Friday, December 8, 2006
Cross platform nightmares
First of all, I want to vent my anger towards this software that costs a few millions.Its production deployment involves running 1000 different scripts and copying over 1000 different files - stone age kind of way to deal with an Internet age solution.
But the actual nightmare was related to cross platform voes. There was a bunch of SQL scripts that needed to run against a DB2 database. Unfortunately, this database happens to be in a Mainframe computer. For tests, we could always run these scripts from our development PC using any damn client. But due to "processes" this has to be run via a JCL on the mainframe itself. There starts the nightmare.
Mainframe does not like a file which has more than 80 characters in a line- or at least the damn JCL was set up to behave like that. Now, we sit down and format the whole bunch of scripts ( yes, we were too short on time to write a script now) and then "upload" it to in to the Mainframe. The JCL again "Abends". One person informs that the JCL expects 72(what the heck?) characters per line. Well, we go reformat again, and upload it to mainframe "datasets". Hm! oh as I am writing this, I just realized that it was not the Mainframe to be blamed.- I got to change the title of this post.
Tuesday, December 5, 2006
Long time...
with what?
Kahlua
vodka martini
Budlight
Merlot
Jack daniels
Jim Beam
Hic!... ;)
Sunday, November 19, 2006
Netbeans 5.5 litmus test..
Netbeans (against Eclipse) .. warning: a bit of rant follows.
I created a new class, added a method and typed something like this
public void litmusTest() throws CustomException {
Red underline appears for "CustomException" - Error, yes accepted.
But where is the option to create "CustomException" on the fly?
In eclipse a bulb appears on the left gray marin, clicking which presents you options to create a "CustomException" class that extends Exception - some additional intelligence going on - and really very useful to a rapid dev. environment. WHERE IS THIS FEATURE IN NETBEANS? I had been looking for something similar across last 2-3 releases.
Another random problem.The File header documentation appears below the import statements by default.
something like ..
import java.io.File;
/*
* NetBeansLitmus.java
*
* Created on November 18, 2006, 2:07 PM
....
I am open to any IDE but I guess nothing wrong in being inclined to one that is more intutive..
Sunday, November 5, 2006
Eclipse - better usability than ever
Netbeans is going to come with version 6.0, on which ton of editor improvements are promised.
Meanwhile, I had been doing my fun stuff on eclipse. I have version 3.2.1, and there are very noticable improvements in simple things as:
the intelligent auto completion/import feature when used for commonly used class as "List" inserts Java instead of alphabetically preferred java.awt.List. Who is using java.awt.List anyway? - way to go.
Somehow, I always liked slickness of swt over swing in case of IDEs. But still, I am waiting to see what netbeans 6.0 has got. The matisse GUI builder in Netbeans was an unprecedented improvement in Java IDE history and it for sure has whet my appetite.
Wednesday, October 25, 2006
iTunes Copy protection "Cracked"
The person who cracked it is none other than DVD Jon
Now, I am wondering what is Apple going to do about this. I haven't read any news about Apples reaction on this yet. But I strongly feel that noone can stop music piracy. If a person can play song on a device, he can create a copy of it by 100 different ways. At the least, he can put the output jack in to a hi-fi stereo recorder and create an excellent copy. Or one can develop programs that will grab data from sound outpt device on your computer and create audio files.
Now if he is free to do that or not is a different question.
Thursday, October 19, 2006
Highway of death
The movie has a scene that reminded me of the "Highway of death" - a shameful atrocity that Bush sr. had succeeded in hiding from rest of the world. I remember hearing about that in my college days. Attacking withdrawing troops!! If I say that is animosity, even animals would feel ashamed. Hang your head down in shame you rats! You are not doing any good in Gulf war 2 either.
Monday, October 16, 2006
My Experiment with the "Extreme Swing app"
This application for sure showcases the power and features in Java2D in JSDK 1.6.
Setting up this project on Netbeans is very simple, given that you satisfy the dependencies properly. I will write the steps in next blog - assuming someone would read some day.
I tried setting this up in my Ubuntu Dapper with lastest Java and a little old swingx library.
Aerith ran, fetched pictures from my flickr account, but apparently due to bugs in ATI Linux drivers, the "eye candy" did really not work. Hm!
Sunday, October 15, 2006
Google code search
If you search around internet for code, google code search would be a your best tool.
Apparantly, when indexing webpages, google indexes things that looks like source code and makes them available under code search. Good idea and very useful for programmers.
Thursday, October 12, 2006
Meh!
Mustang - Java SE 6
Dolphin - Java SE 7
Sun has decided not to use cool animal names anymore !
Whatever! meh!
Tuesday, October 10, 2006
The Departed
Man! this movie is a 100% entertainer. A gangster suspense story, with almost everybody in their best form. The movie keeps you drawn till the last scene. I dont want to say too much detail and spoil the suspense. Enjoy it yourself!
Friday, September 22, 2006
Welcome to eye-candy age!
- From Linux world
- XGL + Compiz
- Gnome 2.16
- Apple OS X and iTunes
- Leopard and bundled cool apps
- Latest iTunes
- Windows Vista
- Don't know when it will come out, but offers a lot of graphical UI improvements
- Java 6
- Better support for open GL, 3D and Font rendering
- New age web applications
- Check out web reloaded
Wednesday, September 13, 2006
Apple rules my world!
A perfect example of simple and pleasing design - both in Hardware and software. I just downloaded iTunes 7 and it forces me to go back to windows. Man! what a nifty UI!!! The album art(Cover art) show case view is just out of this world(only OS X matches this). By the way, Romain Guy had a very similar java(swing! yes) application, which did a neat animation with cover arts. Check it out!
Friday, September 8, 2006
JDK 6.0 Fonts and Quaqua Look and Feel
However, I patched up the jEdit look and feel plugin to draw my jEdit using Qaqua look and feel. Actually, I did that for quite a few java swing apps that I use frequently. Yes! you heard it right, I use swing applications on my desktop. Here are the screenshots how it looks on my win XP workstation.
Oh! coming to JDK 6.0 (otherwise called the 'mustang'), it has some major face lifts for swing. One thing that will catch your eyes is Sub pixel smoothing or anti-aliasing that it supports. Way to go!
Wednesday, September 6, 2006
Viewing Malayalam web pages in Ubuntu (or any Linux)
Make sure you have installed "ttf-malayalam-fonts" in your PC.
If not, for ubuntu, do the following
sudo apt-get install ttf-malayalam-fonts
Got Firefox's Tools->Extensions and click on "Get More Extensions" - in the extensions page, search and find "padma" extension.
Or use this link if it works for you :)
Install this extension and re-start firefox. You should be able to see Malayalam pages as shown below:
Wednesday, August 23, 2006
My First Post in Blogger, a copy from my MSN space
New Google online apps and APIs
Did you notice the new applications available for you through on your google page?
Well, if you haven't, they are giving you google calendar and google spreadsheet along with your gmail. I checked these applications out, and they are pretty cool and powerful. You can even configure alerts on your google calender, that will send messages to your mail or mobile(only verizon). The spreadsheet app is yet another powerful application from google, but I guess some experience with a spreadsheet app is required before really using it.
Now, coming to tech related stuff.
First is gwt - that is google web toolkit. This toolkit is a Java API to write AJAX applications. That means, you do not have to worry about writing bunch of javascript to get cool web widgets to working - such as tables, list boxes, navigation trees etc. Go checkout
Second is the the project hosting space - called google code. This is something in the lines of sourceforge. If you want to host an open source project, say with in 15 minutes, this is the choice. You get a project homepage, issue tracker(bugzilla) and sub version based version control. I guess they are targetting small individual projects unlike huge projects hosted in sourceforge. Go create your project and check in some impressive code, who knows, may be google would hire you.
Good luck!