Pages

Thursday, April 15, 2010

My name is $%#@^%$

Not really sure who asked me, but recently at a dinner where most of the invitees didn’t know each other we were asked to introduce ourselves without using the sentence “My name is …”. So here is my (Fictional Version).
It is said that eating An Apple a Day keeps the Doctor away, OR you can throw it at him, it would keep him away too. I am more like the second scenario, Not the ‘Apple thrower’ but the Doctor.
I have been really very lucky in life, And life has thrown a lot of Apples at me but instead of running away like the doctor i added all the Apples to my orchard and made it more beautiful, and since I'm the only Adam of my garden (OK, this sentence is mainly targeting the females.) collected all those Apples and made a successful business out of it. it gives me that small measure of peace that we all try to seek but few of us ever find.
I really like to relate my self more to the Doctor in this, as it is said of ‘Healing hands’ or the ‘Hands of a Healer’ in many ancient legends. The one who can heal shall be healed.
So call me what you will,
but the ending of this i shall still
be the force of your will
‘coz my name is $%#@^%$.

Wednesday, April 14, 2010

What’s with a Semicolon; !!!

Engineering programming labs in VTU, are pretty much the same boring sessions where you copy something from the notice board and type it on the computer, ask the lab assistant how to compile the program and just copy down the output and leave the lab. But here is something for those who want to spice up their programs this is a technique i learnt in high school. How to write C/C++ programs without a semicolon?”.

A little Background:

This technique is very vastly discussed all over the internet in the past few years, but when i learnt this the internet in India was still in its infancy and our only source was the Library and if you were lucky enough a programming geek (usually 5~6 yrs older than you) with uncles in USA.

The Trick:

Conditional statements. !!
That's all.
A normal output statement in c would be
printf(“Hello”);
And in C++ it would be
cout<<”Hello”;
A normal Condition in C/C++ would look like this,
if(Test condition){
Stmnt1;
Stmnt2;
}
The interesting part is the Test condition, just replace it with your output statement that's all.

Example:

#include <stdio.h>

void main(){
printf("test");
}


see it working here http://codepad.org/QZnYTR5o


#include <stdio.h>

void main(){
if(printf("test")){}
}


see it working here http://codepad.org/cKnS605C


As you can see both the outputs are same.


The second program has no semicolons, the same can be achieved using Loops but i will leave it to you to figure it out. :-)

Friday, January 15, 2010

Tips to photograph solar eclipse.

Tips to photograph solar eclipse.
If you are excited about the solar eclipse and want to keep the memory alive with a picture, grab that camera of yours and your solar filter or commonly called as the eclipse glass.
1) Put your camera to program mode, and set the exposure to about -0.3eV, and set the sensitivity to 3200, and the metering mode brightness to be based on a central point.
2) Now position your filter on the lens, and make sure the center of your view to the sun, so that proper brightness and metering are adjusted, now click to auto adjust and take ur picture.
That's it!

-- Hemanth G
- Sent Via Nokia E90

Sunday, December 20, 2009

Thursday, September 3, 2009

My responsibilities as a software engineer

I wonder, if i can really be as responsible as i mention here, but i would like to believe some of you will.
As a software engineer, I will:
1) Make sure there are no leaky taps in my part of the building, as i hate fungus.
2) Do politics for the best cabin.
3) Make sure i have the best looking secretary.
4) Always make sure my team is efficient enough to work in my abscence.
5) Ocassionally plant crackers in my Project Managers office.
6) Write programs without semi-colons.(i can actually write any program without semi colon).
7) Move from one city to another very often and claim hilarious amounts of Travel and Reallocation allowance.
8) Write backdoors into defense softwares, and make the government pay me extra loyalty during war.
9) Create trojans and worms and hide them in minesweeper and solitaire.(So that all the suckers who depend on Windows, Do so with some action packed into it)
The topic was suggested by Mrs. Jyothi Neeli as part of a mini class assignment and is written on a lighter note let me know if you hav better ideas.
-- Hemanth G
- Sent Via Nokia E90

IGN Video: Call of Duty: Modern Warfare 2 Xbox 360 Series - IGN Rewind Theater: Flag Runner Multiplayer

IGN Video: Call of Duty: Modern Warfare 2 Xbox 360 Series - IGN Rewind Theater: Flag Runner Multiplayer

Wednesday, September 2, 2009

Lumos launch deffered

The much anticipated launch of Lumos has been delayed, due to technical issues.

The security issues faced in facebook authentication during last week has been fixed.

The delay was due to non availabilty of server, thanks to the computer science dept. We now have a dedicated server hosting the website.

Minor setups need to be made and the user interface finalized, the Privileged preview id's should be dispatched by Fri 4 September 2009.

The delay is regretted, but our dedication is to give you a stable platform.

---Lumos
-- Hemanth G
- Sent Via Nokia E90