Wednesday, October 18, 2006

Cursing your luck? Read this.....

Jason exemplifies the traits that British researcher Richard Wiseman ascribed to lucky people in a 2003 article called The Luck Factor: "They are skilled at creating and noticing chance opportunities, make lucky decisions by listening to their intuition, create self-fulfilling prophecies via positive expectations, and adopt a resilient attitude that transforms bad luck into good."

In one experiment, Wiseman asked two groups of people - one who described themselves as generally lucky and one who said they were usually unlucky - to count the photographs in a newspaper. The unluckies spent several minutes flipping through and counting the photos. The lucky people got it in a few seconds. How? On page 2, Wiseman had inserted a message in giant headline type: "Stop counting - There are 43 photographs in this newspaper."

The lucky people, always on the lookout for unexpected good fortune, spotted it right away. The unlucky people, whose minds are closed to such signs, missed it completely.

(I grokked this from CNN money)

Monday, October 16, 2006

Lyrics that Rock...

Some songs have these thought provoking verses/lines that just stay with you for life.
These are a few that i can think of on the spur of the moment:


I know you'll be a star in somebody elses sky,
but why can't it be mine?

Pearl Jam - Black

Moving on is a simple thing
What it leaves behind is hard
You know the sleeping feel no more pain
And the living are scarred

Megadeth - A Tout Le Monde (Dark, tragic, like most of metal)

Megadeth - Peace Sells but who's buying? (All of it)

I'm running down a dream
that never would come to me
working on a mystery
going wherever it leads

Tom Petty - Running down a Dream

The Waitresses discussing politics
as the businessmen slowly get stoned
and they're sharing a drink they call loneliness
But its better than drinking alone.

Billy Joel - Piano Man (Awesome song about how everybody is trapped in lives that they don't want to lead)

How many roads must a man walk down
Before you call him a man?
How many seas must a white dove sail
Before she sleeps in the sand?
How many times must the cannon balls fly
Before they're forever banned?
The answer, my friend, is blowin' in the wind

Bob Dylan - Blowin in the Wind ( The whole song is beautiful, anti war)


Well maybe I'm the faggot America.
I'm not a part of a redneck agenda.
Now everybody do the propaganda.
And sing along in the age of paranoia.

Greenday - American Idiot (Very relevant song for the political scenario in 2004 very californian, what say ?)


Life is bigger
Its bigger than you
And you are not me
The lengths that I will go to
The distance in your eyes
Oh no Ive said too much
I set it up
Thats me in the corner
Thats me in the spotlight
Losing my religion

REM - Losing My Religion

(Losing My religion is a southern slang which means 'to lose ones temper')

We're Just, two lost souls swimming in a fish bowl
Year after year
Runnin over the same old ground, How we find
Same old Fear , Wish you were here.

Pink Floyd- Wish You were here (Pink Floyd's tribute to Syd Barret )

My child arrived just the other day
Came to the world in the usual way
But there were planes to catch and bills to pay
He learned to walk while I was away
He was talkin fore I knew it
And as he grew he said,
Im gonna be like you, dad,
You know Im gonna be like you.
And the cats in the cradle and the silver spoon,
Little boy blue and the man n the moon.
when you comin home?
son, I dont know when. well get together then.
You know well have a good time then.

Ugly Kid Joe - Cats in the Cradle

What else should I be
All apologies
What else could I say
Everyone is gay
What else could I write
I don't have the right
What else should I be
All apologies

Nirvana - All Apologies (Probably one of Kurt Cobain's best)

Wednesday, September 13, 2006

"After a While" -- All Time Favorite

"After a While"


After a while you learn

the subtle difference between

holding a hand and chaining a soul

and you learn

that love doesn't mean leaning

and company doesn't always mean security.

And you begin to learn

that kisses aren't contracts

and presents aren't promises

and you begin to accept your defeats

with your head up and your eyes ahead

with the grace of woman, not the grief of a child

and you learn

to build all your roads on today

because tomorrow's ground is

too uncertain for plans

and futures have a way of falling down

in mid-flight.

After a while you learn

that even sunshine burns

if you get too much

so you plant your own garden

and decorate your own soul

instead of waiting for someone

to bring you flowers.

And you learn that you really can endure

you really are strong

you really do have worth

and you learn

and you learn

with every goodbye, you learn...

© 1971 Veronica A. Shoffstall


(Author's note: This poem has been plagiarized, bastardized, renamed, reworded, redesigned, expanded and reduced. But it is my work, which I wrote at the age of 19 and had published in my college yearbook. Why anyone would want to claim it is beyond me, but for what it's worth, I wrote it, and if I'd known it was going to be this popular, I'd have done a better job of it. - V.S.)

Mapping Ya'all














Whew man, Orkut is really rockin these days . I totally love this new feature where they show a mashup of your friends list and Google Maps. Totally awesome, i need to increase my friends circle in the midwest! Who's place would i crash at when i go to Denver ?!!

Wednesday, September 06, 2006

Music Recommendations - Part Deux

  • Blue Oyster Cult -Don't Fear the Reaper
  • The Who - Teenage Wasteland
  • Keane -Somewhere only We Know
  • John Lennon - Imagine
  • Queen - Bohemian Rhapsody
  • Lynard Skynard - Freebird
  • Five for Fighting - 100 Years
  • Pearl Jam - Jeremy
  • Nirvana - All Apologies
  • Thin Lizzie - Whiskey in a Jar
  • Pink Floyd - Coming Back to Life
  • Ellis Paul - The World ain't Slowing Down
  • Greenday - Boulevard of Broken Dreams
  • Tom Petty - You don't know how it Feels
  • Tom Petty - Last Dance with Mary Jane

Wednesday, August 30, 2006

My Music Recommendations for the day

Songs that are on shuffle mode on my Playlist. If you are into Classic Rock/Grunge/Alternative like me, i highly recommend these tracks..

  • REM - Losing my religion
  • Breaking Benjamins - Diary of Jane
  • Tom Petty- Runnin down a dream
  • Tom Petty - Free Fallin
  • Trapt - Headstrong
  • Soundgarden - Outshined
  • Buck Cherry - Yo Crazy Bitch
  • Pink Floyd - High Hopes
  • Nirvana - Man Who Sold the World
  • Pink Floyd - Hey You
  • Pearl Jam - Better Man
  • Lynard Synard -Don't ask me no Questions
  • Jimi Hendrix - Electric Guitar Land
  • Stone Temple Pilots - Interstate Love Song
  • Greenday - Boulevard of Broken Dreams
  • Greenday - Wake me up when September Ends
  • Queen - Bohemian Rhapsody
  • The Doors - People Are Strange
  • The Doors - Rodehouse Blues
  • AC/DC - Have a drink on me

Sunday, July 09, 2006

Oriah-Mountain Dreamer : I love this poem

It doesn't interest me what you do for a living. I want to know what you ache for, and if you dare to dream of meeting your heart's longing.
It doesn't interest me how old you are. I want to know if you will risk looking like a fool for love for your dream, for the adventure of being alive.
It doesn't interest me what planets are squaring your moon. I want to know if you have touched the center of your sorrow,
if you have been opened by life's betrayals or have become shriveled and closed from fear of further pain.
I want to know if you can sit with pain, mine or your own, without moving to hide it or fade it, or fix it.
I want to know if you can be with joy, mine or your own;
if you can dance with wildness and let the ecstasy fill you to the tips of your fingers and toes without cautioning us to be careful, be realistic, or to remember the limitations of being human.

It doesn't interest me if the story you are telling me is true.

I want to know if you can disappoint another to be true to yourself;
if you can bear the accusation of betrayal and not betray your own soul.

I want to know if you can be faithful and therefore be trustworthy.

I want to know if you can see beauty even when it is not pretty everyday, and if you can source your life on the edge of the lake and shout to the silver of the full moon.

It doesn't interest me to know where you live or how much money you have.

I want to know if you can get up after a night of grief and despair, weary and bruised to the bone, and do what needs to be done for the children.

It doesn't interest me where or what or with whom you have studied.
I want to know what sustains you from the inside when all else falls away.
I want to know if you can be alone with yourself and if you truly like the company you keep in the empty moments.

It doesn't interest me who you know or how you came to be here.
I want to know if you will stand in the center of the fire with me and not shrink back.

Saturday, June 03, 2006

Stack Overflow? Not so fast

class Foo
{
Foo()
{
this("bar");
}
Foo(String s)
{
this();
}
}
public class TestFoo
{
public static void main()
{
Foo f=new Foo();
}
}

Hmm i was really eager to get a C'tor loop going to get the stack to overflow, after reading about Contructors in the java cert book by KS and BB . But the Compiler caught a recursive C'tor call at compile time. So i never got to the point where an ambiguous runtime call to Object's super() would cause a stack overflow. Smart Compiler

Friday, June 02, 2006

Jet Ski 'ing on Lake Lewisville


Went Jetskiing last weekend at Lake Lewisville in Dallas. It was awesome. A very Windy day lots of waves and traffic on the water and it was the first time i had jet skied. When you are ripping the waves all by yourself on a jetski, you literally bounce off every wave you hit. It gives you a high. Turning has to be done in wide arcs, ( the sequential left brain sort of assumes that you can make turns because you have a handle to do so) you have to get used to the training. Anything with speed thrills especially if its on the water!!! i look forward to doing this on the Ocean.

Thursday, February 09, 2006

Whats in a Language?

Sapir Whorf hypothesis theorizes that thoughts and behavior are determined (or at least partially determined) by the language. To this day it has continued to baffle researchers world over.....really interesting

This hypothesis is being used to convey the fact that learning a new programming language might alter your approach to common programming tasks. Ever since i have caught the RubyOnRails bug, my fascination with this hypothesis continues to grow.

Saturday, January 21, 2006

Taking Stock....

Exciting/ Fun things that i've done in the past 2 years:

1) White water Rafting on the Royal Gorge in Colorado
2) Halloween on the best freakin halloween party in US ofA Franklin Street in Chapel Hill, NC
3) Watched 4th of July celebrations from Brooklyn Bridge in NY.
4) Skiing on Arapahoe Basin near Breckenridge Colorado.
5) Trekking and Camping in Rocky Mountain National Park near Boulder CO.
6) Sat on the vertical drop ride on top of Stratosphere in Vegas.
7) Drag raced against Hemanth's Mustang, touching 110 mph near Dallas.
8) Earned 60$ on my first attempt at Blackjack at MGM Grand in Vegas!
9) Steamer ride to Martha's Vineyard in Massachusetts.
10) Go-Karting 30 Laps at Go-Kart racer in Burlingame CA.
11)Pub-Hopping in San Francisco and getting lost while driving a Ford Winstar.
12) Partied like a Rock star on New Years eve in New Orleans, hangover the next day was a near death experience :)

Things that i want to do this year:

1) Drive down the Pacific coast in a Convertible.
2) Wine tasting in Sonoma Couty
3) Bungee Jumping
4) White water rafting in West Virginia

Tuesday, January 03, 2006

Jam Topics

JAM (Just a Minute) was a popular event during college fests in Bangalore. Me a my friends were in a nostalgic mood a few days back and were trying to recollect a few popular Jam topics.

A brief history of JAM

Just a Minute was devised by the late Ian Messiter who came up with the idea on the top of a number 13 bus. He suddenly remembered being given the horrible task of speaking for one minute without hesitation or deviation by one of his school masters. The idea is to speak on a random topic for 60 seconds without "deviating",hesitating" or "repeating" ! If a contestant deviates,hesitates(pauses) or repeats then you can raise an objection to the JAM arbitrator and take over the mic. The scoring system is based on the participant's correct or incorrect challenges.

JAM Topics

-Sympathy, Empathy, Venkatachalapati
-Bal Gangadhar Senna said Garage is my birthright!
-Abortion is Love's labor lost, No Foetus can beat us
-My Aunt uses viagra on her face to give herself a facelift
-A psychic midget escaped from prison and the headlines read, small medium at large
-

Sunday, November 13, 2005

iPod Video Rocks!

Bought an iPod Video and i'm in love with. Its so small and delicate it almost makes you not want to touch it. Black looks so good on it.

There are a few irritations like you don't have a Giffin iTrip transmitter for a video iPod yet. You can substitute a iCarTrip which charges and tunes your video iPod but guess what?! The channel selection for the tuner starts from 88.1 FM and unfortunately in Dallas 87.9 is the only free channel ..uuugh! It does work on 92.3 with a bit of noise. I wanted to rip out the antenna on my Accord but i couldn't find it and settled instead for a much saner option:
I went and bought a tape adapter from RadioShack and it plays out of my car stereo it plays with awesome clarity and i'm so happy with it. Today i ordered a skin from a vendor called iStyles, i'm sort of surprised that Apple's ipodstore does not have skins for the video iPod yet.

Another thing that i found was tough to do was trying to copy music from my friends iPod to mine. I did not have permissions to play any song that he had purchased on iTunes on my iPod. iPod organizes all the music on its harddisks on wierd folders which look like f02, f03 and so on and does not order them from by playlist. I had to copy over 10 GB of music from my Friends iPod to his laptop to my iPod and then had to access my iPod through my itunes and drag and drop songs that i needed onto playlists on my itunes and sync them up to my iPod !!!!! Really cumnersome huh! Wonder if there is an easier way to do this.

Well once these initial things are sorted out, i must admit i just cannot live without an iPod. I now interface it to my car, my amp and use it like a normal mp3player and have it on me all the time. The photo slideshow is awesome. I haven't figured out much use for the video feature yet.
All said and done iPod video black Rocks!

Tuesday, November 08, 2005

20 Fun Things to do before you turn 30!

I just came acros a list of 20 fun things to do before turning 30. Really interesting!

1 Visit Copacabana beach in Brazil
2 Take a ride in a Hot Air Balloon
3 Go Base Jumping
4 Travel on the Darjeeling train route
5 Drive down GT Road across India (1600 Miles)
6 Do a cross country drive on a Harley across United States
7 Climb Mount Everest
8 Visit the Edge of the American continental plate, known as the crack in the earth at Pingvellier.
9 Camp in a Rain Forest
10 Take a trek to see Mountain Gorillas in Rwanda
11 Vizit Mozart's Salzburg
12 Go Sky Diving
13 Go Base Jumping in Idaho
14 White water Rafting in the Ganges
15 Go Snorkelling in the Bahamas
16 Fly a Mig 29 in Russia
17 Tango in the Streets of Buenos Aires
18 Go Trekking in Ladakh
19 Visit an Active Volcano
20 Bungee Jumping in Ottawa - The Great Canadian Bungee Jump

Thursday, October 06, 2005

I'm a Sun Certified Java Associate!

Never thought much about certifications, till i gave this one and received all the Bling bling on passing the certification. Its sort of tempting to hang such stuff in your cubicle, besides sun's color combinations for certificates rocks!

Wednesday, July 13, 2005

Passive Optical Networks - Coming Back to Light

INTRODUCTION

The last mile, local loop, access network, these are various terminologies used to qualify that part of a telecom network, which provides broadband services to business and residential users. It’s this last mile that remains a potential bandwidth bottleneck between a high capacity LAN, a home network and a backbone.

There has been a deadlock kind of a situation between consumers, content providers and network operators. More bandwidth requires more revenue from the consumers. Consumers don’t want to pay for more bandwidth because they don’t receive any service that requires more bandwidth; the Service Providers are not providing any new services because there is no network infrastructure to support these kinds of services and Network Operators are not willing to provide services, because consumers are not paying for bandwidth!!

There has been a resolution to this problem as far as long haul networks are concerned with the advent of optical backbones on the long haul networks leading to incredibly high speeds of transmission and more available bandwidth, but when it comes down to the local exchange, copper still prevails because it’s the cheapest option. Thus the consumers are not able to enjoy the benefits of high bandwidth access. The solution to this dilemma is seen in the form of optical access networks called “Passive Optical Networks”.

THROWING LIGHT ON PASSIVE OPTICAL NETWORKS

A Passive Optical Network is an optical network, which takes optical fiber right to the customer premises instead of copper. The idea of an Optical Access was conceived in 1995 by a consortium of carriers and vendors called the Full Service Access Network. (FSAN) This group now comprises of companies like Alcatel, BellSouth, Nippon Telephone and Telegraph, Fujitsu, SBC, Lucent, NEC, British Telecom, French Telecom and so on.

A Passive Optical Network is called so, because it does not use any Active electronic components (devices consuming power), from the central office to consumer’s premises. The network carries a single strand of fiber, which undergoes a multiway way split to serve 32 consumer installations. This splitting is achieved by means of a passive electronic device called a splitter. The entire process is illustrated in the diagram below.





Source: SBC Communications inc.

This single strand of fiber is capable of carrying network traffic at a rate of 155.52 Megabits per second! , Which is way beyond what existing services (like DSL) offer, thus making this, such an attractive option.


THE BANDWIDTH POTENTIAL

The reason people keep rhapsodizing about the bandwidth factor, is because of potentially wide range of services that it can generate to the consumers. Capitalizing on higher bandwidth access can make the Internet a more viable business place. A few ideas that would have run for the Oscars in the sci-fi category (if there was one!) could become a part of day-to-day life! A few services that consumers could hope to have would be:
a) Video on demand: To watch your favorite blockbusters or TV shows on demand and you would be paying only for what you watch, and the providers would gain by advertisements.
b) News Reports on demand: You would have the choice of which news feed you would like to hear from an array of reporting services
c) Video Conferencing: Colleges would be able to use video conferencing as a tool for distance education.
The major paradigm shift that a higher bandwidth could initiate is a migration from the traditional push technology to a pull technology. The consumers will now have the option of choosing the service that they would like to receive and need not be constrained by what is dished out to them. In turn content service providers could provide a more eclectic blend of services, and the network operators would stand to gain by providing the necessary infrastructure, that hold so much promise. Does this not break that deadlock that we were looking at earlier?!

LIGHT AT THE END OF THE FIBER?

Communications Industry researchers inc, (http://www.cir-inc.com/) have forecasted the following revenues for the US PON Market by 2004.
Fiber to the Home 69.3 Million
Fiber to the Curb 468.5 Million
Fiber to the Building 225.1 Million
Leading to a gross revenue estimate of 762.9 Million dollars.

Passive Optical Network Technology is a part of an evolution, and has all shades of being a viable alternative to the Last Mile Bottleneck at the access layer. There are a lot of hurdles this technology has to overcome, for example the lack of availability of fiber in the access networks, lack of vendors, distance limitations imposed by the lack of amplification or regeneration on the fiber. Barring these few limitations, Passive optical Network is currently the most Hip Hep and Hyped, access layer technology in the wings.


REFERENCES

At UT Arlington there are currently two courses offered by the department of computer science that provides valuable research experience into the fields of access and metro networks and optical networks in general. These courses are Telecom Network Design (CSE 5347) offered by Prof Kalyan Basu and Optical Networks (CSE 5392) offered by Dr Gergely Zaruba.


There are lots of interesting resources available on the net which offer lot of information on passive optical networks, a few of them are:
http://www.lightreading.com/: Carries a lot of articles on optical access technologies
http://wwwcsif.cs.ucdavis.edu/~kramer/: Research on PON by Glen Kramer of UC Davis
http://www.terawave.com/: A company that is currently providing Optical Access Solutions.

Tuesday, June 28, 2005

SCJA Exam Breakup

This post from Javaranch is sort of helpful in understanding the structure of the exam

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=84&t=000067

Friday, June 24, 2005

SCJA - Fundamental object oriented concepts 1.1

In my next few blogs i'll be preparing notes on each objective in the Sun Certified Java Associate Beta exam, which i'm planning to take on July 1st.

1.1)Describe, compare, and contrast primitives (integer, floating point, boolean, and character), enumeration types, and objects
____________________________________________________________________

The first important step is to break down the classification of integral types:

---------Integral -> (Integer)byte, short,int,long(Character) char
Primitive Types in Java -----------Float ->Float,Double
---------Boolean --> boolean

Primitive data types represent a range of values in the programming language. If you want to represent these types as objects, then there are corresponding wrapper types viz. Integer,Float,Long etc.

The range of primitive data type is worth memorizing, (I used the table from Mughal and Rassmussen)

ENUMERATION TYPES:

The enumerated type is a new introduction in J2SE 5.0 . Its a type whose legal values consist of a set of constants:

Eg: enum cars(MCLAREN,RENAULT,FERRARI,TOYOTA,BMW,HONDA,SAUBER,JORDAN);

You would use enum types whenever you would want to represent a fixed setof constants (known to you at compile type). Unlike C++ enum in Java is a Class!! Not convincing enough right?! Ok Check this out:

public enum FormulaTeams{
MCLAREN (Raikkonen,Montoya);
RENAULT (Alonso,Fisichella);
FERRARI (Schumacher,Barrichelo);
TOYOTA (Trulli,Schumacher);
BMW (Webber,Heidfeld);
HONDA (Button,Sato);
SAUBER(Villnueave,Massa);
JORDAN (Karthikeyan,Montiero);

private final String driver1;
private final String driver2;

//Note that the constructor is private, it has to be!
FormulaTeams(String driver1,String driver2)
{
this.driver1=driver1;
this.driver2=driver2;
}

public String d1() {return driver1;}
public String d2() {return d2;}

}

public static void main(String args[])
{
for(FormulaTeams f: f.values()){
System.out.println("Standings at the End of 2005");
System.out.println("Driver 1"+f.d1()+"Driver 2"+f.d2());
}
}

Pretty cool huh? try doing the same in 1.4 (I know you'll be using a data structure from java.util.*) . Ok you'll find a better more Object Oriented example here:
http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#24465


}




A Few Caveats:

a) Integer datatypes are signed integers and are represented by their 2's complement.
b) character values are all unsigned integers that denote 2^16 characters in the unicode character set.
c)Floating point representation can be 32 or 64 bit in width, due to size for representation being finite, most results of floating point computations are finite. To ensure consistency for these approximations across all JVM implementations you can use the "strictfp " modifier.
http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#24465
d)There's one limitation of enum types: although enum types are classes, you cannot define a hierarchy of enums. In other words, it's not possible for one enum type to extend another enum type (That wouldn't make sense anyhow)

Random Playlist

My recent Playlist:

Boulevard of Broken Dreams - Greenday
American Idiot-Greenday
B.Y.O.B-System of a down
Sittin here waitin wishin- Jack Johnson
Learning to Fly-Foo Fighters
Somewhere only we Know- Keane
Speed of sound - Coldplay

Friday, June 17, 2005

Data Dictionaries and Metadata:

Its amazing how many J2EE companies these days are building on the concept of Data Dictionaries generating components, the paradigm always existed in .NET and preceding object based technologies released by Microsoft. These data dictionaries seek to capture most of the UI elements that would be required on an application, into the database. These UI elements would include Lookups, Dropdowns, Typeahead lookups, Text Feilds, Users, User Roles from LDAP/AD, Labels and so on. Now if i develop a huge enterprise J2EE application which is not hosted but deployed at different locations, it makes sense for me to persist definitions for these commonly used UI elements and other Business objects on the Database and sort of call it the metadata, generate components from them and have a CRUD interface to edit this metadata and customise these components. This reduces application development to a Metadata editing process. This approach helps a lot of organizations that develop apps like CRM, ERP and so on which are based on J2EE. The engineering team can develop applications and let loose professional service people to generate their applications by editing the metadata and bringing these components to life.

Well the biggest drawback to this widely used approach? More complex the application, more humongous will be the Metadata/Data Dictionary, Plus since its assume to be a simple CRUD operation, I haven't seen engineers impose any rules to configure the metadata based on some Grammar. This creates a huge burden on the person trying to edit the compoents through the metadata in trying to build the application.