Monday, November 28, 2011

Very intersting on Sardars...

कुछ दोस्त मिलकर डेल्ही घूमने
का प्रोग्राम बनाते है और रेलवे
स्टेशन से बहार निकलकर एक
टेक्सी किराए पर लेते है , उस
टेक्सी का ड्राइवर
बुढ्ढा सरदार था,

यात्रा के दौरान
बच्चो को मस्ती सुजती है और
सब दोस्त मिलकर
बारी बारी सरदार पर बने
जोक्स को एकदुसरे को सुनाते है

उनका मकसद उस ड्राइवर
को चिढाना था . लेकिन
वो बुढ्ढा सरदार
चिढाना तो दूर पर उनके साथ
हर जोक पर हस रहा था ,

सब साईट सीन को देख बच्चे वापस
रेलवे स्टेशन आ जाते है ...और तय
किया किराया उस सरदार
को चुकाते है , सरदार
भी वो पैसे ले लेता है , पर हर
बच्चे को अपनी और से एक एक
रूपया हाथ में देता है

एक लड़का बोलता है
"पाजी हम सुबह से आपकी कोम
पर जोक मार रहे है , आप
गुस्स्सा तो दूर पर हर जोक में
हमारे साथ हस रहे थे , और जब ये
यात्रा पूरी हो गई आप हर लडके
को प्यार से एक-एक रूपया दे रहे
है , ऐसा क्यों ? "

सरदार बोला " बच्चो आप
अभी जवान
हो आपका नया खून है आप
मस्ती नहीं करोगे तो कौन
करेगा ? लेकिन मेने आपको एक-
एक रूपया इस लिए दिया के जब
वापस आप अपने अपने शहर जाओगे
तो ये रूपया आप उस सरदार
को दे देना जो रास्ते में भीख
मांग रहा हो , इस बात
को दो साल हो गए है और
जितने लडके डेल्ही घूमने गए थे सब
के पास वो एक रुपये
का सिक्का आज भी जेब में
पड़ा है ...उन्हें कोई सरदार भीख
मांगता नहीं दिखा


" MORAL: The secret
behind their universal
success is their willingness
to do any job with utmost
dedication and pride.

A Sardar will drive a truck or
set up a roadside garage or a
dhaba, run a fruit juice stall,
take up small time
carpentry.. but he will never
beg on the streets

Because Sikhs contribute:

* 33% of total income tax

* 67% of total charities

* 45% of Indian Army

* 59,000++ Gurudwaras
serve LANGAR to
5,900,000+ people
everyday &


All this when THEY make
only 1.4% of the total
INDIAN POPULATION.

Press like if you agree to this
Post..\♥/

Monday, November 7, 2011

Language communities of Twitter (European detail)

Wonderful...

Saturday, November 5, 2011

Something is not right...

Its been a while since I wrote here, and today seems to be a good reason...

In today's Sunday Times of India, there are at least 2-3 articles that made me thought, "its not fair".

Comment on Sonu's exit by fellow strikers at Manesar Maruti Plant
After Sonu Gujjar's exit from the company, there are people in worker's saying that he did not know anything of labour laws, he just chose some populist issues and rode the wave.  My question to those workers is, "where was your feeling about Sonu's lack of knowledge when you were supporting his strike for umpteen days.  Now that he's not there, you are quick to come out and talk against it"

Notwithstanding his sudden disappearance, combined with reports about he and some other leaders receiving huge sums of monies for exit from Maruti, the intention should not be doubted.

Low wages in Gujrat in addition to low strikes rates
An article talks about why industries have been successful in setting up shot in Gujrat compared to other states, example in case being the Tata Nano plant.  The article further provides some statistics about how labour in Gujrat is paid less compared to rest of the country and some other states competing for such industrial units.

There is another factor, the state govt has setup a law/amendment to central law, that allows businesses to hire/fire workers rather easily.

My point then is, is it worthwhile for Gujrat govt to push for relatively higher wages for the labour when it can provide the business entities an assurance for a relatively calmer working environment, less losses, and therefore more productivity.  But I doubt if something in that direction is being thought about by the state government.


The new media council and Justice Katju's remarks
The media today is rather more powerful and is troubling govt by uncovering rather large list of scams and corruption instances.  In such a situation why is it that govt is trying to put a restrictive institution on the media freedom, rather than looking inside and figuring out as to why is it that there is so much muck to be found out and thrown all over the place ?

The idea that the media should be controlled by a panel consisting of govt representatives among others is highly prohibitive to the freedom of press that is given as a right in the constitution...

Friday, October 14, 2011

Data Lineage.. what is that ?

It is one of those buzzwords, that keep doing the circuit every once in a while. Almost every enterprise wants to do the analysis regarding this, and is almost always hard to find people with knowledge/experience doing this kind of analysis.

For the unaware, Data Lineage is basically (really in very short words) a study of the data from its source to its eventual target, similar to what we'd do for our generation tree, we analyze the generation analysis of the data we are dealing with.

Starting from the source of the data, it travels through different subsystems, sometimes going through transformations, and thus possibly changing shape too...

Informatica had a very interesting blog post around this (already in 2007), which can turn out to be fairly informative.


Tuesday, September 27, 2011

Informatica & hadoop... solutions for future ?

Distributed computing using hadoop has taken the IT industry by a whirlwind in the last few years.  After getting almost "adopted" by yahoo, hadoop has progressed quite fast, and is now maturing slowly but steadily.

More and more enterprise solution providers are annoucing their support for the hadoop platform, hoping to get a pie of the big Data business chunk.  Its possibly a fair thing to expect that the leader in Data Integration business solutions space, Informatica has also announced a tie up with Cloudera, for porting Informatica platform to hadoop.

Though the exact details are yet to come out, the possibilities are endless.  With hadoop (and its inherent distributed computing based on map/reduce technology), informatica can actually think of processing big data in sustainable time frames.

For one my customers, I deal with about 200 million rows of data per day in one job.  Besides the issues with oracle in tuning the query etc, the informatica component itself consumes times in terms of hours.  With map reduce in place, I hope to get that in minutes, oracle issues notwithstanding.

Although word about hadoop is spreading quite fast, its adoption (from buzzword to actual usage in enterprise) is not as fast.  To aid their cause, Informatica and cloudera have started an interesting series of webinars, termed as "hadoop tuesdays".  Its free to join, and they get experts to talk about various related issues around hadoop and big data and informatica.  Its been very useful and informative so far.

Monday, July 25, 2011

Switching defaults in Ubuntu

Ubuntu allows you to have multiple alternatives installed for many software.. for example, java.
You can have the default open jdk installed, and then you can actually have the Sun version installed.

For example, to see what alternatives are installed for your software, try going to /etc/alternatives. Here you'd see many pieces of software with alternatives listed.

With these software installed, you would need to point your system to use one of them as the default, this is important especially after installing a newer version of the software.

In such a case, to switch the alternatives, you need to use this

sudo update-alternatives

If you do a man on update-alternatives, there is a plethora of options to use.

For our example, to configure the default for java, use this

sudo update-alternatives --config java

Friday, July 1, 2011

Clouds...


Clouds..., originally uploaded by s_raghu20.

Clouds...

Monday, June 13, 2011

Angry monsoon clouds over bangalore....

Angry monsoon clouds over bangalore....

Dusk...


Dusk..., originally uploaded by s_raghu20.

Dusk...

Saturday, June 11, 2011

Sunset in blr


Sunset in blr, originally uploaded by s_raghu20.

Sunset in blr

Filled with water...


Filled with water..., originally uploaded by s_raghu20.

Filled with water...

Sunset in blr....


Sunset in blr...., originally uploaded by s_raghu20.

Sunset in blr....

Saturday, May 28, 2011

...And, he goes to school now :)

Well, we might not realize how time flies, but it does.  As if it was yesterday, the kid was born, and we were happy about the addition to the family..   Now, already he's onto his first day at play school and I feel like, Oh my god, he's already 2.5 yrs. :)

But, thats what it is, we've chosen KidZee as his first school, and I think they are one of the better ones.

Before choosing a school for him, we did quite a bit of research, spoke to friends, read reviews about the schools here and there and what not.  At the end, the things that mattered most to us were -

1. The space available in the school - obviously, should be ample, a cramped 2-3 bhk apartment/home cant serve as a play school. The playground should actually be a playground, not some sacks of sand on a 4x4 area serving as the playground
2. No of kids in total at a given point of time - some schools have sections A,B,C,D.... effectively crowdingthe place so much that its an effort to be there, let alone enjoy the place
3. The ratio, that is how many kids per teacher - some schools have upto 30+ kids handled per teacher. At this tender age this is nearly an horror story for a single person to take care of so many.  Kids need individual attention, so, lower the number of kids per teacher, the better.
4. And, the location - We had to reject one of the schools just because they were so close to a large road.  The noise and pollution from the road would come in all the time, it would be counter productive to send the kid to such a place.

Of course other subjective things are there anyway, like the repute of the school, the reviews from friends, sometimes internet reviews also help (mostly negative things)

Well, the chosen one fit on all of the favourable things in the optimum ratio.  Lets see how it goes...

Some of the snaps at the place -



Wednesday, April 20, 2011

HTML 5

I attended the .WEB day of GIDS (The Great Indian Developer Summit) 2011 edition.


Among many talks, there were two focusing on HTML5. One by Scott Davis (of http://www.thirstyhead.com/) and Venkat Subramaniam (of http://www.agiledeveloper.com) .  Scott's talk was more on the conceptual and capability side of HTML 5.  Venkat focused more on the implementation and initiating newbies to HTML 5 coding.


Before these discussions, I would not have been able to say much on the capabilities of HTML5. It was more of a buzzword before, however, now its more of another technology holding lot of promise.   I think that should say a lot for the two speakers, that within two sessions, they have been able to lift the standard of know how around a cutting edge technology from buzzword to daily use.


Both these talks, put together were able to provide a rather complete picture. Enumerate the benefits, major improvements, new tags which are bringing in so much functionality to native HTML without need of any third party libraries, plugins etc.


Of course its cutting edge today, since not all browsers support all of the HTML 5 specification. The specification is huge in itself anyway.  As one of the speakers put it, the HTML 5 spec is a combination of HTML plus all of CSS 3 plus a lot of RIA functioanlities based on JavaScript libraries.  One can say that html5 is rather heavy from browser engine side, however, it intends to provide all the features across the browsers (eventually).   Since its a huge spec, not all browsers implement it  ** completely and ** uniformly.


There would be a time when all the browsers (at least the leading ones) would implement it completely (or almost all of it), but till then, the developers would have to live with polyfill (polimorphically backfill) the html5 functionality for non supporting browsers.   A javascript library at www.modernizer.com is a big help in implementing this transparently.


As Scott very aptly put it, "We'd program for the faster animal in the herd, and allow the rest of the slower ones to polyfill. As and when they catch up with the fastest one, need for polyfill will automatically go away".


From what I see in html5 spec (what ever part that I have come to know), it looks very very interesting and powerful.  Lots of current functionality that is implemented today with the help of third party libraries/plugins is going to be implemented natively.


And, let me not forget to mention the one single most important innovation that is coming through with html5, semantic web.  Its not really a set of tags or something similar, rather a concept.   There are tags available in spec, which actually indicate the semantics (meaning) of the content. For example, there is a tag called


. This tag wont do much on its own, but when someone is reading the code, or for that matter the parser program is going through the code, the tag name already says that its a footer.  The tag name actually means something.  This also paves way for future improvements on the implementation side.


Perhaps a separate post for html5 possibilities for mobile applications, a huge area in itself.


Resources

  1. www.html5rocks.com
  2. www.html5doctor.com
  3. www.diveintohtml5.org -> this is a unique one, a complete book on html 5, which is available free of cost, completely online.  One of the finest resources for html5.
  4. www.html5demos.com
  5. www.modernizer.com  -> javascript library for polyfill



   ## Technorati - CJYMQNJWMX9K

Sunday, March 13, 2011

convert Informatica Session Logs to text/xml format for out of tool readability

There was a situation recently when the infa repository was not able to point us to the old session logs.
However, the file system still had those files.

But the session log files are in binary format by default. If you didnt ask for backward compatible session log files, you'd get a binary format of session log file on file system. This is done to allow better importability of the session log files for infa support guys.

So, I had a few log files in binary format, and needed to analyze them.
Informatica provides a subcommand for infacmd to achieve that conversion.

The convertLogFile subcommand takes three parameters. Syntax is as follows -


convertLogFile <-InputFile|-in> input_file_name
                 [<-Format|-fm> format_TEXT_XML]
                 [<-OutputFile|-lo> output_file_name]


so, when you launch this, you can specify the input file to be converted, the format as TEXT or XML and the output file that you'd want as a result of conversion.

An example call would look like this -  (expecting server on unix)

infacmd.sh convertLogFile -in /path/to/binary/format/sesslog/file -fm TEXT -lo /my/home/text/format/sesslog/file



Monday, February 21, 2011

Just found out about this amazing thing...

A research initiative at Stanford University, Data Wrangler.. Wonderfully helping for analysts.

Try a demo video here -




And read more about it on http://vis.stanford.edu/wrangler

Wrangler Demo Video from Stanford Visualization Group on Vimeo.

Saturday, February 19, 2011

Exadata - is it really worth the hype

Well, I am not going to try to answer that, rather, more on the question side...
Recently one of my projects moved to exadata device. There was so much talk around that, the queries and db processes need not be looked into, exadata will take care of them already.

However, two things happened.. first, there was a technical talk on the device's configuration. The device turned out to be a mammoth piece of hardware. In nutshell, its a 8 node cluster, each node having 4 cpu's.  Each CPU has around 2-4 GB of RAM. Then there is this high speed secondary storage which can hold a lot of cache.

The nodes are interconnected using a special switch which can transfer data faster than Gigabit networks.

With such hardware configuration, any software can claim the kind of performance gain they claim. Not to undermine the performance gains, I just want to say that the hype around the out of the world performance gains, is actually the result of better hardware, not really revolutionary software.

I, personally was expecting something of that type from Oracle, since they lack in that area. Except Teradata, there is almost no player who delivers that kind of Data Warehouse architecture and performance. and I was hoping that Oracle would do something around there and bring out something.

And, the second thing, one of the processes tried to load data to an exadata instance using informatica. Initially we left things at default so that exadata can tune it itself and we should not force anything.  However, there too, exadata failed big time and couldnt put in any perf gain. At the end, all the tuning had to be done by us only.

So, the other claim of exadata regarding intelligence to pick up processes and fix them on its own also went down for us.

Though I agree that its rather new for its own evolution, i believe oracle marketing should be doing a better job.:)

The wavy Tricolor



The wavy Tricolor, originally uploaded by s_raghu20.
This was captured at the Aero India 2011, the bi-annual air show held in Bangalore. It was my first ever attempt to watch and shoot these metal birds.

I have realized that the sharpness of some of the shots is less than ideal, perhaps a function of their speeds and movement. Also a function of my reflexes and my equipment.