Gururaj’s Rumination

Rumination – The word says it all…

India is Language neutral

with 5 comments

I didn’t know the reality till today until I had this debate on ‘Politics in India’ with my friends father who told me that Hindi is not a National Language.

Here’s the direct reference to the fact from Wikipedia regarding Languages of India and below is the excerpt from the same

Article 345 of the Indian constitution provides recognition to “Official Languages” of the union to include any one or more of the languages in use in the state or Hindi language adopted by a state legislature as the official language of that state.

As per the Article 345 of the Indian constitution Hindi is Official Language but doesn’t hold the National Language rank. An Official Language is one which is used in Courts, Parliment, and Administration.

I still remember being thought in the school that ‘Hindi’ is our National Language, Tiger as National Animal, and Peacock as National Bird. But what baffles me is how the State Government’s didn’t object of such false content being used to teach the young minds. Anyways, the intent is to educate the readers but not raise any obnoxious questions or hurt anyone’s feelings.

Bamboozler

with 5 comments

TN Number in Kannada

Bamboozling... TN Number in Kannada

While heading back home late night this Yamaha in front of me caught my sight by surprise… What’s so unique? On contemplating I could sense that it’s actually a TN bike but may be he had not paid Road Tax in Karnataka and to escape from the traffic cops this guy had put the registration number in Kannada or my theory is all wrong. But, really an intellectual – Kudos to this guy🙂

Written by Gururaj

January 10, 2009 at 10:26 pm

Goodbye 2008 and Welcome 2009

with 4 comments

Year 2008 had full of surprises both good and bad, both personally and professionally. But all in all it had not been so good to me though. I bid goodbye to Year 2008 and welcome Year 2009 with new hopes in my eyes – there’s always a light at the end of tunnel.

Resolution: ‘Stay focused, and think well before acting – there’s no Undo option in life.’

Wish you all a Happy New Year 2009!!!

Written by Gururaj

January 1, 2009 at 2:42 pm

Enum.IsDefined and Performance issue

with 2 comments

Till today I’d never used Enum.IsDefined method to verify whether a value is defined in a given Enum. My first encounter with Enum.IsDefined happened a day or two before when I stumbled on this while analyzing existing code for performance loopholes. I found a method which happened to verify whether a value is defined in the given Enum and flag if it’s not. I’d never imagined that Enum.IsDefined can be so expensive that the performance of the component will go down exponentially based on the volume of the data it has to process. To understand better why it’s expensive lets first understand Enum.

Enum is a ValueType and every Enum derives implicitly from System.Enum and this in turn derives from ValueType. To understand in more detail here is the extracted description from the C# Language Specification

11.1.9 Enumeration types

An enumeration type is a distinct type with named constants. Every enumeration type has an underlying type, which shall be byte, sbyte, short, ushort, int, uint, long or ulong. Enumeration types are defined through enumeration declarations (§21.1). The direct base type of every enumeration type is the class System.Enum. The direct base class of System.Enum is System.ValueType.

Given the definition, the below code snippet declares a ‘Status’ enum type. And from definition the underlying type of ‘Status’ type will be Int32. This means that ‘InProgress’ is named a constant for value 0 and ‘Success’ is named constant for value 1 followed by ‘Failed’ as 2. The point to be noted here is that the first named constant always starts with 0 and the subsequent constants have incremental value.

                enum Status
                {
                                InProgress,
                                Success,
                                Failed,
                }

Read the rest of this entry »

Written by Gururaj

December 24, 2008 at 9:57 pm

Posted in Technology

Tagged with , ,

Reliving 2000 on KD’s wedding

with 15 comments

The train slowly cripples to a halt at Raichur station at 8:30 AM on 14th Nov. Vijay, Nitin & Shilpi, Veeresh and Gururaj got down on platform and hotfooted towards the exit to reach home at the earliest. All were in hurry to reach home and get ready and head to Shaktinagar for their dearest friend Rajeshekar aka Rajesh aka Raj aka KD wedding.

One hour before, when the Train crossed the Marichatla station, 2 Project Leads, 1 Developer and a HR (by their profession) were exercising their thought process maps to come out with a foolproof strategy. NO! they were not discussing about how to meet project deadlines, set goals for ‘At Standards’ v/s ‘Exceeds Expectations’, measuring productivity, or how to gracefully layoff a 9 year senior programmer who’s working on par with a fresh bee. The task beforehand was to reach the wedding hall before the sacred knot was tied i.e., 12:15 PM, which in consideration with their track record was an uphill task. After lot of brainstorming Veeresh (Project Lead) pursued Nitin (HR) to get his Omni ready to be used for commuting to marriage hall. While they were bargaining on the pickup time Gururaj (Developer) called up home to get his hot water bucket ready. Vijay (Team Lead) easily agreed upon to accompany Gururaj as his favorite dish Idlis were also getting ready at Gururaj’s home. Unconvinced by Veeresh and Nitin’s formulae Gururaj and Vijay decided to mange their own commute.

Gururaj and Vijay reached the marriage hall 1 hour before scheduled sacred time. Everything was going in unison; Read the rest of this entry »

Written by Gururaj

November 18, 2008 at 12:52 am

Unplanned but memorable

with 12 comments

Sometimes you plan certain events but they won’t give you much excitement or even may turn sour. Like  planned event unplanned events too may turn exciting, refreshing and even most memorable sometimes. One such memorable and refreshing event was International Friendship Day celebrations I’d with my small group of friends. And luck strikes again on the blissful day ‘ಕನ್ನಡ ರಾಜ್ಯೋತ್ಸವ ದಿನ’ (Nov 1 – Kannada Rajyothsava day). Nov 1st marks the beginning of ‘Kannada Rajyothsava’ and extends throughout the November month and is celebrated with much fervor and liveliness throughout Karnataka.

We didn’t had any special plans for the day but since it happened to be weekend we just planned for a movie. Again Nitin was our event-manager; he was responsible for deciding the Movie and a nearby Threate and then convey the same to everyone in the group. Since it was ‘Kannada Rajyothsava’ too nobody in the group were sure whether theatres were screening non-kannada movies. Nitin took the initiative to call the theatre and find out whether Hindi movies were played on the day. Since nobody at the theatre didn’t answer his phone call he went to sleep without informing anyone – Thanks to his acuteness😦 And we were in illusion that he was working out the plan🙂 Rajesh our busy body for the month (he’s getting married this 14th. You know how life will be busy during this transition period) called up to ask about the plan and was too frustrated cos our event-manager didn’t answer is phone calls🙂 I too started calling him up and luckily his wife (Shilpi) picked my call. Gods grace things started ticking again from where they abruptly halted after his sleepy break :-0

He outlined a simple plan: Movie – Golmaal Returns, Theatre – Sagar in majestic area and Timing – 7:30 PM show. Everyone in the group were informed Read the rest of this entry »

Written by Gururaj

November 2, 2008 at 1:22 pm

Now on LinkedIn

leave a comment »

I finally created an account on LinkedIn only after seeing a WordPress post/update about WP application support on LinkedIn. This was enough for me to realize how important it is to have a LinkedIn profile. I’d come across LinkedIn in the past too but I ignored it thinking it’s of no use but now I realize it’s more important to have a LinkedIn profile than Orkut profile for any professional contacts.

On one side Orkut is to socialize with people or friends, on the other side LinkedIn is for professional contacts. In just one day I’m able to explore many things and also able to see how helpful it can be in professional growth.

This is going to be the first post which will appear on my LinkedIn profile. This also means that I’ll have to keep writing on topics which can also appear on LinkedIn profile🙂

See you on LinkedIn then…

Written by Gururaj

October 31, 2008 at 11:03 pm

Follow

Get every new post delivered to your Inbox.