Archive for August, 2006

Bandwith tests

August 24th, 2006 by Shiva | Comments | Filed in Tools

Wanna find out if you are getting what you are paying for? Well, you can atleast get an idea of what bandwidth is actually provided to you by visiting speedtes.net

This is what I get at my office!

and this is what I get at home!

Online AJAX Training

August 24th, 2006 by Shiva | Comments | Filed in Short updates

10-week AJAX Training Course by Sang Shin

Tuning Garbage Collection

August 22nd, 2006 by Shiva | Comments | Filed in Development

The much talked about and often cursed part of Java development is Garbage Collection.

I often say, “Writing code in Java is easy, but writing good code is extremely hard”

I have listed a list of links at the end of this article that provides more detailed information.
Resources:
http://java.sun.com/docs/hotspot/gc1.4.2/index.html
http://java.sun.com/docs/hotspot/PerformanceFAQ.html#1

Return of Javascript!

August 10th, 2006 by Shiva | Comments | Filed in Tips & Tricks

After what has been ages, I have returned. Not that many are reading this, but I intend to use this for future reference in any case

I have wanted to learn javascript, and this time I found a sustainable way. Learn a language by implementing something very huge in it. I’m writing, what I must say a very kewl application at work, and am learning quite a few tricks in javascript.

1. Associative arrays in javascript:
Although, the Array() datatype, looks like a juicy candidate for building associative arrays, that is one of the most harmful things you can do. Particularly if you are using the prototype library. For more information read this post

The solution: use the Object datatype
2. How to iterate an Object in javascript:
There are a couple of really kewl ways to iterate objects:
1. for .. in
2. for each .. in

Check out the object manipulation guide

Will add more as I go along.

Btw, JSON rules - the following links on list libraries that aid in creating JSON based AJAXified applications.
1. JSON in javascript (client-side stuff)
2. JSON in Java (server-side stuff)