Dholiyadhoo


11:41am, July 28th, 2007

Fun with social bookmarking sites

My fascinating (to me at least) experiment with social bookmarking.

9:32am, July 28th, 2007

Perl is king

Nay, it is God. Coupled with the usual unix shell commands, a bit of awk and a dash of sed, there’s no limit to what you can do with perl. I’ve been dabbling around with the scripting language for years, but when they landed me at the client site (which at times can be like sitting next to the mega-ton class bomb you helped build), I had to apply it in earnest.

So the PM asks me to fish out some trades that meet a very specific set of criteria from our text records. This of course, is in the aftermath of yesterday’s tumble in the US markets. The conditions are distributed among many multi-gigabyte files and I open my mouth to say “impossible” with a Dilbert-esque wave of my hand but I end up saying “very very difficult”. She says to give it a shot and I dive into the scripting. Three hours, 300 lines of perl later I have it. And I do my “I feel good, ta da da da da da da, I feeeeel good…” song and dance, which I do in place on my seat. Those who have seen it would tell you what a rare sight this is. That just lightened up an otherwise gloomy day. Now I’m not even going to look at my C++ until I know it can’t be done in perl.


4:55pm, July 27th, 2007

Crake

spacecakecloseup.jpg

The chocolate covered ’space’ cake I got for the engineering team. Looks like the ordinary outof Fabulous but that’s just camouflage. Guess everybody’ll be as high as U-2s and singing “Yo ho and UP she rises” by the end of the day. Surprise surprise. Only hope Rover’d be there for ground handling once it arrive. To be delivered pronto now. Let’s see. Hmm.. Just feel a bit nervous but this is going to by fun.


8:16pm, July 26th, 2007

ConnectU sues Facebook

Yes that’s true. ConnectU sues Facebook for Code theft. They say that the university student they hired to code for them stole their IDEAS & created facebook, & now connectU claims the ownership of Facebook.
Facebook is very popular by the time but connectU has fallen short.
Facebook created by Mark Zuckerberg is having a 31M user base & ConnectU has a 70k user base. Things will be restarted by 8th august.


7:41pm, July 26th, 2007

::: TNLRocks :::


5:45pm, July 26th, 2007

Be an Open Source Guitar Hero!


5:33pm, July 26th, 2007

Trip to Niagara

Tomorrow we are leaving for our first trip in US. We (me, Srinath, Jaliya and Jayampathi and families) will first goto the amusement park in cedarpoint, OH and then to Niagara falls, NY.

The cedarpoint amusement park seems to have lots of roller coasters and thrill rides which I was eagerly waiting to go. (I can still remember how unluck we were to miss roller coasters in Disneyland, LA.)

We will then goto Niagara falls area. We expect to travel in maid of mist to go near Niagara-Horse shoe falls to see the beauty of it. We will also goto Cave of the winds where we will feel the real water power of American Falls.

Everyone in the gang can not wait to get into the Ford E350 we hired (it had done only 4000 miles) early morning tomorrow and catch the adventure.


3:20am, July 26th, 2007

A Good Quote for SL Army

"Forgiving or punishing the terrorists are left to God.

But, fixing their appointment with God is our responsibility."



I am sure this must have been written somewhere else, but I feel this is a good quote for SL army especially with the recent victories.


3:06am, July 26th, 2007

Speed up your web pages with YSlow

Yahoo Developer Network launches YSlow, a web page analyzer which tells you why they’re slow based on the rules for high performance web sites. YSlow is a Firefox add-on integrated with the popular Firebug web development tool. So before installing YSlow you have to install Firebug.

YSlow featured with:

  • Performance report card
  • HTTP/HTML summary
  • List of components in the page
  • Tools including JSLint

Get YSlow »

, , , , , , ,

3:04am, July 26th, 2007

Deep Dive postponed

due to unavailability of INETA speakers.. we had to postpone the deep-dive ..sorry guys

new dates will be announced soon, when we get a confirmation from INETA


9:42pm, July 25th, 2007

Google Singleton Detector

Google announced that they have outsourced the Google Singleton Detector, or GSD. Simply GSD is a tool which analyzes Java byte code and detects the use of Singletons.

As they say:

It's not quite as simple as that, however. First, GSD doesn't only detect singletons; it detects four different types of global state, including singletons, hingletons, mingletons and fingletons.Second, it outputs a graph with all these different types of static state highlighted, and shows all the classes that are directly dependent on them. The point of this tool is to allow you to see all of the uses of global state inside a project, as well as how they are all interrelated. Hopefully you'll be able to locate global state that is heavily depended on and remove it.

Well... Now you might think what’s wrong with the good old singleton pattern which we always use freely in every project?  Singleton pattern is the first pattern I learned and used.  

Actually there are some problems with singletons.

Major problem is that it’s hard to write unit tests if you are using singleton classes. How that could be? Well... If your unit tests are really good those should be loosely coupled. That’s mean you should be able to execute your tests without any proper order and yet those tests should be passed. But if your class had used singleton class one method can alter a state of sth in the singleton class and that would effects in the other tests. That’s make your tests are tightly coupled with each other. So you should have to have an order in executing your tests or you should reset your singleton objects in each test.

Ok folks, let’s dig into further on this problem and of cause will try to find some workarounds, in my next blog post.

 


12:47pm, July 25th, 2007

Will the real “Geek with an Attitude” please stand up, please stand up!


7:47am, July 25th, 2007

Ubiquitous Computing


8:49pm, July 24th, 2007

Firefox Facebook

Sounds weird? Firefox now has it’s own social networking platform. Firefox lovers come & join. You ca post photos,videos, find friends who are using Firefox & it will be a better helping platform for Fx I guess. I’m already there as chanux fox [First Sri Lankan ;) ] . ah…It’s name is “SPOT THE FOX“. So go now & be a part.


5:15pm, July 24th, 2007

Win Free PMP Exam resources, Course Material


5:08pm, July 24th, 2007

Why do all good things come to an end?


3:03pm, July 24th, 2007

My regards to Broadway

Once you’ve been to Broadway, you sort of have to reassess your, er, assessment of the Colombo theater scene, which, from what I hear, has fallen into some disrepute.

broadway.jpg

So I finally did Broadway. Went to see the allegedly “global smash-hit” Mama Mia at the Winter Garden Theater (50th street on Broadway). The performance exceeded my expectations primarily because I expected it to be a girlie flop (and no, in this context, ‘girlie’ is not meant to mean ’scantily clad’). The musical featured most of Abba’s best hits, sometimes with slightly changed lyrics. I recovered from my Abba craze about ten years ago, but the performance was quite agreeable. The lead actress (the daughter) could use a few more singing lessons though.

It’s obviously not fair to compare Broadway and the Lionel Wendt, but here goes. The biggest difference, I guess is how natural the acting and dialogs are compared to local theater. Maybe it has something to do with how well an accent like the Sri Lankan accent be both natural and loud enough at the same time. Or maybe our actors are a bit too melodramatic. I really don’t think it has much to do with budget. Mama Mia had only one set that revolved to represent two locations, one elevated platform and only a few props (compared to all the bells and whistles we had in Venice). The last scene was a masterpiece (spoiler): two people silhouetted against a large moon may look cliché in a romantic movie, but on stage it looked spectacular. The effect was achieved with simple light projection. Not too many points for storyline, but that wasn’t what I was there for anyway. Oh, and less slapstick than what you’d get from a typical Stagelight and Magic production.

Getting to the theater was a drama on it’s own. The five of us boarded the subway from downtown Manhattan on a train that we thought was going uptown (our ‘leader’ had been here for years, so we followed him into the train without any doubt). A few stops later I vaguely hear “this train is… Brooklyn-bound” among the usually indecipherable subway-ese announcements. Panic begins to set in as the three guys realize the train just left the last stop in Manhattan island in the wrong direction (Brooklyn is south of Manhattan, on the other shore). Panic worsens as we realize that we have only 30 minutes to make it to the theater and that somebody has to tell the girls. Surprisingly, they neither cry nor throw things when we tell them. We make it to the theater with just one minute to spare. So everything is super, except that I have to rubberneck to see the far left corner of the stage. Dear big-haired gentleman sitting in front of Center Orchestra row T 109, I hope you’re happy…


2:38pm, July 24th, 2007

WSAS 2.0 released

We've just released v2.0 of WSO2 Web Services Application Server (WSAS). WSAS is the one which packages up Axis2 with Sandesha, Rampart etc. to make a single integrated runtime for services.

Notable features include data services (easily make a service out of relational data), support for Axis1 services, support for easily making EJBs into services and full Eclipse integration.

You can download it from here.


8:30am, July 24th, 2007

PIGDIN

gaim.jpg
A Rafale from Aeronavale Task Force 473 performs a touch-n-go on USS John Stennis, with PIGDIN in foreground

IMing is not something I do to live, but a subprocess of my day job. But on first day at work I found out all the engineers were connected via Y! IM network so we could talk without leaving desks. Previously I used Google Talk in Web, but since we were in Y! I had to use the Y! Messenger briefly. Then I remembered that old copy of GAIM I used to have on some dusty CD and brought it in and installed it. Since then stuff has been flowless [other than ogling Y!’s Weather feature plugin while I briefly used another engineer’s computer]. GAIM sometimes was a bit reluctant with file transfers, especially incoming. Then suddenly and inexplicably I lost smileys. Today I got the newest version of GAIM [I woke up in the morning and thought ‘I’m going to get the latest GAIM version today!’], renamed Pigdin apparently due to some lawsuit with AOL. It’s excelent but everyone is stuck with Y!’s messenger I don’t know why. I got the spellcheck feature by accident actually, but it’s cool. The interface is markedly polished, and processes have slightly changed, but Gaim is still Gaim.


10:43pm, July 23rd, 2007

« Previous Entries Next Entries »