Wednesday, April 23, 2008

BREAK; OUT;

How would you behave, if one girls starts sobbing in you office cafeteria and begs for some private space (aka begging everybody to leave the place). Nothing ?? Well that's not what i felt when it happened to me.

Amazingly my office cafeteria is called "BREAK-OUT' zone. Not bcos people freak out in there but bcos freaky people try to break out tough problems (ofcourse company work) that they think is blocking their head. Well many of us just drop in to see the beautiful Hyderabad from 7th floor. Even the rocky terrain of "Banjara hills" looks like paradise when you desire to get out of the office. Well thats a completely different story. Someting not normal happened apart from the coffee machine choking for milk and overburnt milk heater. A lady sitting with all her composure suddenly started shouting (with deep asseration) "WIll you all please Shut-up ??" she said few more line in a jest meaning "She wanted some personnel space of her own".

Well that's not it, it makes me think upside down. My company is one that picks so called "the elite" ones IITians, ISMites ( :D ) and NITians. These supposed to be the most toughened students morphed into cutting edge professionals. They are not only trained to be technically skill-full but also tough management, psychology, economics and stress management. But i see all this going into vain.

Well why ?? Is a valid question.
Who am i with all professionally skilled but composed of completely depleted personality. One who cant keep bothering stuff inside his own head. One who is feeling empty even after working 12 stringent hours. One who is having zero personal life but only night life. One who cant pursue other carving stuff in my life, just because i want to grow professionally ??. Well its not like that people are weak mentally. Maybe they are but life makes everybody grow stronger. Help them face hardship with a smile in face. Then what can be so drastic in that persons life, that she had to break down in-front of everybody??. Isn't she also one of the same annealed student who has been grilled to be tough and strong.

Guess there's some flaw in our system.

OR maybe the cafeteria is intentionally labelled "BREAK-OUT" zone. Guess this being a US company where "BREAKING-OUT" is much common and HR having prior experience prefers letting people "Break-Out" instead of pouring all troubles on them.

Some day i will also utilize the "Break-Out" zone to break out on somebody on whome i would like too.

Well there's no conclusion of this posting, i just thought so hard...i had to type it down.

Friday, April 18, 2008

getCodeReviewSuccessRate()

Well one of the most frustrating fact for a Software Developer is that in backdrop lies a cruel tester. No offences attached, even when it's been told ..told and again told that testing is an required phase...and bugs detected are nothing personal...i still dont feel COMFORTABLE with this concept of testing. Well howz its not personal man ?? I wrote the whole code, so more bugs means lesser reliability index for me. So at core i would hate a tester. Esp if the testing is done in semi-understood state, where all well thoought concept are questioned/categorized as bugs. Well i guess, this a non-evasive situation where all you can do is pray (or bribe).

From the eyes of an tester (beholder), its his duty to cleanse the code. Form my p.o.v he is the "devil crawling outside my door".



NativeTester *objOldTester = new NativeTester("AIRHEAD");
NewAgeDev *objOldTesterToNewDev = reinterpret_cast (objOldTester);
if(!objOldTesterToNewDev->canICode())
{
std::cout<<"REMEMBER I WAS A AIRHAED ?? HOW CAN U EXPECT ME TO CODE";
}
return somebug;


Well it's me...i was born and brought up as Software Developer...but what about the person who is typecasted to an developer ?? Well i guess he will be elated everytime he finds a bug in his code. Awwh man awesome, my code has a bug. :D...
Comon man u no tester now ... dude u need to fix it well now, so dont be happy.

Below is one of the screen/code walkthrough session stuff ( ie: WTF/min )



As truly said "Coding is routine, buggs are the real twisters".

Sunday, April 13, 2008

Blogger->timeWasteCalc()

Few days on blogspot and any programmer can see its unlimited potential.

But here's a stuff for fun, its simply a time counter that clicks every second and calculates the time spent over the page. I added this to my page. Quite unrealistic but it ready to go on for days :D/

Howz the look man ??


Where's the code??.


<div id='TimeKeeper'>
<script type='text/javascript'>
function TimeCounter() {
var tDay = document.getElementById('tDay');
var tHrs = document.getElementById('tHrs');
var tMin = document.getElementById('tMin');
var tSec = document.getElementById('tSec');

iDay = parseInt(tDay.childNodes[0].nodeValue);
iHrs = parseInt(tHrs.childNodes[0].nodeValue);
iMin = parseInt(tMin.childNodes[0].nodeValue);
iSec = parseInt(tSec.childNodes[0].nodeValue);



if((iSec+1)==60)
{
tSec.childNodes[0].nodeValue = (0);
iMin++;
if(iMin==60)
{
tMin.childNodes[0].nodeValue = (0);
iHrs++;
if(iHrs==24)
{
tHrs.childNodes[0].nodeValue = (0);
iDay++;
tDay.childNodes[0].nodeValue = (iDay);
}
else
tHrs.childNodes[0].nodeValue = (iHrs);
}
else
tMin.childNodes[0].nodeValue = (iMin);
}
else
tSec.childNodes[0].nodeValue = ( iSec + 1 );
}
var stop = setInterval("TimeCounter()",1000);
window.onload = TimeCounter;
</script>
<h2><a
href='http://samcoder.blogspot.com/2008/04/blogger-timewastecalc.html'>
HOW LONG DID I WASTE YOUR TIME
</a></h2>
<table border='0'>
<tr>
<td><span id='tDay' style='font-size:35px;'>0</span></td>
<td><span style='font-size:35px;'>:</span></td>
<td><span id='tHrs' style='font-size:35px;'>0</span></td>
<td><span style='font-size:35px;'>:</span></td>
<td><span id='tMin' style='font-size:35px;'>0</span></td>
<td><span style='font-size:35px;'>:</span></td>
<td><span id='tSec' style='font-size:35px;'>0</span></td>
</tr>
<tr>
<td>DAY</td>
<td/>
<td>HRS</td>
<td/>
<td>MIN</td>
<td/>
<td align='center'>SEC</td>
</tr>
</table>
</div>



What the hell i do with this code??
You need to add this code to Blogspot template.


Can you be more clear??
Just search for the code in the template's HTML View.

<div id='sidebar-wrapper'>



Is that all for the ticker??
No.You also need to add the top code.

Well that's all for the counter :D.

!SPIT()

Admist many a things, it happened to me once and i thought about it multiple time.

Well i saw a orphan "SPIT" lying on road, well that's a very common experience in India. I saw it, felt disgusted and automatically quenched my tongue back to help my saliva glands secrete a personal bout of saliva, which i will wobble inside my mouth to create spit. All this was a daemon process which is a reflex and i would spit on the spit, as an ovation or holy water that my spit is sacred enough to nullify someone's disgusting spit.

Well but post this event i thought, if i also spit then i burn down to the same category of the disgusting person and well my spitting doesnt change much (as the road's already marred). But then i had to do something from this to happen and atleast i dont want to be an active contributor to such an nonsensical but important stuff . What could i do i thought, as i was being torn into two segment the "Indian Action" and the "Non-Indian Developed Country Action". Well if was in Singapore maybe some police man could have spotted me and billed a 50$ fine. But in India i am all liberated. There's no-body to govern me in here, leave that no-one will even notice that i am spitting (over a spit). And if someone do notice it, at max he/she will gimme a screwed and disgusted look (as if it matters to me). Or if he/she is true indian in nature, he/she will spit back on the same spot or at somewhere in a near vicinity.

Is it important that what i am doing, some one has to discontinue right. Maybe i should be the bearer for the noble cause. To keep even my country clean ( well many Indians dont extend their toughts of cleanliness beyond the premises of their dwelling ).

But then for a new civilization to rise, the older one has to crumble. I had to squash my own instincts , crush them to dearth, i had to do it. I had to swallow the bout back again. I felt the path the saliva followed inside my body, and felt how my mind was liberated. I felt all this in a moment go. But i would like to remember for the rest of my life.

Well my Indian instinct was killed for this stuff but i was back at bargaining while buying Stevens from a local book shop. :D

Well not all Indian habit are bad.

Monday, April 7, 2008

NewtonVirus *objNV = new NewtonVirus();

Well what more to say, it can destroy a days work, or atleat provide you with coffee break. Play it over a proud Mac user.

Category :Fiction, virtual reality, call it animation

sam->initBlog()

Well here i am.
Where ?? Blogging sphere man. Well amazing this was the last stuff on earth that i intent to do but after much tracking bhale and miss un-know blogs i realized that even i can/should blogg. Well this is no offence meant for either of two. They inspired me in their own way.
  • Bhale -> is close enough to be friend, he inspired first by compiling awesome blogg and then pestering me to join in the band. well thanks bhale for your brave effort. Getting a programmer out of his programming routine is kinda accomplishment.

  • Miss un-know -> well i mean no-one to her neither she means anything to me. But then there's certain qualities of few people that glare like sun. As i asid to her, she makes mundane common stuff look vivid & colourfull.Read this post of her, and i bet there's hardly a way you can resist blogging. But then its all exaggerated.

Well thats they, but i am i.

Leisure is something i, we and you like. Reading blog is same, its pleasure to learn about others (without the pain of asking them). But blogging is tough, you need to put your thoughts into words (god help me in doing that). But all this is not much of problem, the real problem is someting very subtle (But i will declare it).

Real reason for not blogging :D
i am a hard core programmer, i was intending to build my own website which would have its own blog section (but blame it on my busy schedule), and would never appreciate myself using blogspot for blogging (though its made specifcally for this). Well thats my funda. But still i will blog, help the world learn abt me and unserstand me (if anybody cares to do so :D).

Someday i will rise to the level of regular blogger, then i can say "haoo" (reference movie 300). In the name of blogg and almighty google. i will blog.