Thursday, May 28, 2009
Ohk .. today apparently I'm out of work (although i can find tiny miny ones if i feel like) but wasn't in a mood to do them either.. and hence till now was having kinda fun .. was helping my batch mates in debugging their respective codes.. and adding my vocabulary by playing scrabble and now that I'm running out alternatives to pass my time I'm thinking of approaching my mentor for work. Let's see how does the day defolds and what surprises does it have for me as the time wraps up ..
Wednesday, May 27, 2009
These two days i was awefully stuck up at a point which appears completely flawless when you're penning it down but had a catastrophic effects on the execution of the program.
While creating a new script tag in DHTML and assigning the src attribute to any URL of a javascript, the script does get includes instantaneously but one can't be assured 100% about it's execution.
To indentify the source of the problem I've wasted my one and half day (never knew this could be the bugging me all the time) and the other half using the functions aptly to ensure that the execution is getting haulted till the javascript is getting included.. At the end of the day..by the grace of the Almighty God i was able to get to the solution (Yippie) Now it's time for me to go .. tata
While creating a new script tag in DHTML and assigning the src attribute to any URL of a javascript, the script does get includes instantaneously but one can't be assured 100% about it's execution.
To indentify the source of the problem I've wasted my one and half day (never knew this could be the bugging me all the time) and the other half using the functions aptly to ensure that the execution is getting haulted till the javascript is getting included.. At the end of the day..by the grace of the Almighty God i was able to get to the solution (Yippie) Now it's time for me to go .. tata
Saturday, May 23, 2009
I apologize for i wasn't able to write up yesterday ..The is no valid reason I could come up ..why can't the thoughts (rather i should be using several adjectives for it) prevailing in anyone's mind can settle just the way everything gets after it had rained. Was feeling terribly home sick yesterday and to worsen the current situation all my friends are already @ their home..getting busy with their own stuffs.
The morning started a bit early than it usually does (owing to the sunlight directly falling on me) ..and after the routine daily chores I decided to burry myself into the newspaper(which is very unlike of me these days)..Well I'm a bit frustated with the never ending intern ( appearantly I've only a month left). There are tiny suttle things which aren't working and I ain't able to find any lead to proceed.
IE 7 in my laptop required an updation to 8, which funnily had caused some bugs to creep into it. When ever it goes for downloading the content from the server in URL it always ends up in an dialog box showing that an errror occured in the dialog box itself ( Ironicaly it's similar to killing task manager process within the task manager )

Well complying to company's policy I'm working for. . I can't reveal my project yet I certainly can discuss the issues cropping up on the way.
For all those who are naive to DHTML (which i was few months prior to now) .. it's a web based technology that adds the capability for a programmer to create HTML DOM elements on the fly.. Since very obviously these HTML pages are to rendered by the varied kind of browsers..While programming we need to be well aware of how this is interpreted and handled by all kind of varieties.
Since I've got to work on Sidebar (which resembles IE 8 for many rendering behaviors) I've to majorly deal with internet explorer(I never complained of using microsoft services prior to this). Appearantly..adding events to DOM elements in IE is done a bit differently(which is termed as LAZY eventing) For example:
" html_dom_element.onclick=function_name;" would work perfectly when viewed in FireFox and Opera ..But it won't on IE.
To get it done in IE.. the mere change to be brought is to calling function_name indirectly.
" html_dom_element.onclick=handle_function_name;" and it turns out that handle_function_name calls function_name.In case,you need to pass the same DOM element you're referring to while this function was called .. you need to add this parameter.
(Gosh !! So damn easy and minute detail yet believe me it took almost half a day to discover it)
Further..few details about SIDEBAR.. Sidebar serves as a engine to host "gadgets" ( as called in Vista) When ever the user prefers for running the sidebar..when viewed in the task manager there are two processes running with the same name. One of them serves as the engine for those gadgets provided by default and the later one for those which the user creates(typically by downloaded or through his own intelligence). Sidebar can be related to IE 8 in many respects..The baseline is that when any request(AJAXor any window.open) goes from sidebar to any of the server..the server recongnizes the source application as IE8..Inspite of this to distinguish IE8 from sidebar ...one the HTTP request headers (REFERER) is modified to "x-gadget". The XMLHTTPRequest which is apt for IE8 environment for AJAX requests doesn't stands valid for sidebar..you need to opt for ActiveXObject instead...(phew!! these are the facts which took several days for me to know)....Now that I'm through learning all these.. I've a brand new prob cropped up..
When I dynamically issue a script tag for HTML to be included..does the js mentioned in src of the tag gets stored in the cache ?? And if for sure it does gets..why isn't sidebar having the same resemblence ???
Well...Feeling hungry so gotcha go ...need to assure that I certainly am reaching to the solution otherwise which my project is nothing but a fallacy...:(
Anyways ...alohaa
The morning started a bit early than it usually does (owing to the sunlight directly falling on me) ..and after the routine daily chores I decided to burry myself into the newspaper(which is very unlike of me these days)..Well I'm a bit frustated with the never ending intern ( appearantly I've only a month left). There are tiny suttle things which aren't working and I ain't able to find any lead to proceed.
IE 7 in my laptop required an updation to 8, which funnily had caused some bugs to creep into it. When ever it goes for downloading the content from the server in URL it always ends up in an dialog box showing that an errror occured in the dialog box itself ( Ironicaly it's similar to killing task manager process within the task manager )

Well complying to company's policy I'm working for. . I can't reveal my project yet I certainly can discuss the issues cropping up on the way.
For all those who are naive to DHTML (which i was few months prior to now) .. it's a web based technology that adds the capability for a programmer to create HTML DOM elements on the fly.. Since very obviously these HTML pages are to rendered by the varied kind of browsers..While programming we need to be well aware of how this is interpreted and handled by all kind of varieties.
Since I've got to work on Sidebar (which resembles IE 8 for many rendering behaviors) I've to majorly deal with internet explorer(I never complained of using microsoft services prior to this). Appearantly..adding events to DOM elements in IE is done a bit differently(which is termed as LAZY eventing) For example:
" html_dom_element.onclick=function_name;" would work perfectly when viewed in FireFox and Opera ..But it won't on IE.
To get it done in IE.. the mere change to be brought is to calling function_name indirectly.
" html_dom_element.onclick=handle_function_name;" and it turns out that handle_function_name calls function_name.In case,you need to pass the same DOM element you're referring to while this function was called .. you need to add this parameter.
" html_dom_element.onclick=handle_function_name;
\\--rest of your code--
function handle_function_name(){
function_name(this);
\\--rest of your code--
function handle_function_name(){
function_name(this);
}"
(Gosh !! So damn easy and minute detail yet believe me it took almost half a day to discover it)
Further..few details about SIDEBAR.. Sidebar serves as a engine to host "gadgets" ( as called in Vista) When ever the user prefers for running the sidebar..when viewed in the task manager there are two processes running with the same name. One of them serves as the engine for those gadgets provided by default and the later one for those which the user creates(typically by downloaded or through his own intelligence). Sidebar can be related to IE 8 in many respects..The baseline is that when any request(AJAXor any window.open) goes from sidebar to any of the server..the server recongnizes the source application as IE8..Inspite of this to distinguish IE8 from sidebar ...one the HTTP request headers (REFERER) is modified to "x-gadget". The XMLHTTPRequest which is apt for IE8 environment for AJAX requests doesn't stands valid for sidebar..you need to opt for ActiveXObject instead...(phew!! these are the facts which took several days for me to know)....Now that I'm through learning all these.. I've a brand new prob cropped up..
When I dynamically issue a script tag for HTML to be included..does the js mentioned in src of the tag gets stored in the cache ?? And if for sure it does gets..why isn't sidebar having the same resemblence ???
Well...Feeling hungry so gotcha go ...need to assure that I certainly am reaching to the solution otherwise which my project is nothing but a fallacy...:(
Anyways ...alohaa
Friday, May 22, 2009
At the end of the this day,I have many things to regret upon. Due to the fading zeal (the reason of which I ain't able to sort out ) within me..I was a bit reluctant to come to the office. But once I did I remained focussed the whole day . By noon, everything that was in my mind for doing today, was completed . I thought of allowing my mentor to know, but my intution suggested to withhold myself from conveying it..And just as according to my senses.. what ever i claimed was working..fell into a special case and alas, i was wholly disappointed.To adden up, my other team fellow, had to seek for other alternatives for passing in time. I had to clear off all the shortcuts I've taken,but it turned out that for this to happen..I had to create yet another one :( .There are several issues cropping up as of now the causes of which are known, yet I can't control them to make them happen ideally. hmmm and about yesterday's ruroni kenshin .. couldn't draw them.I do sketch well(believe me i ain't boasting myself) but nevertheless I can't compel my heart to do it(in short this is where the difference between me and an artist lies). Also we were invited to attend a party by one of our mentors..Was feeling awkward to go into someone's party who is much older to me (agewise and position wise as well ) Luckily,had some friends to accompany me ..so the awkwardness was reduced to certian extent..I've yet another feeling which tells me that my mentor is losing interest on our project :(( I just pray that I stand corrected once my internship is through. In and all ..I can say there's nothing productive came out of today :((
Thursday, May 21, 2009
Today .. it turned out to be lucky day ..well frankly it can't be termed as lucky although yet my work in which i was stuck for almost 3-4 days was completed. I'm awfully bored up right since the noon ..even though my eldest sister was attempting to add up to my low zeal (she actually had a new mobile to be bought..toh was constantly seeking my views). I've decided that once I'm reaching my home today I'd be drawing a fabulous posture of ruroni kenshin (an anime which I'm reading ). I'm toooooooo bored to even write up this !! I'm trying to leave asap ..Can't wait to sketch ruroni ..:)
Wednesday, May 20, 2009
Seldomly, at times circumstances may arise,where we tend to overlook very obvious facts which pertain to anything and everything around you. I had quite a number of instances explaining this fact in a single day. I'd start my day with a hunch I assumed struck me yesterday. After quite a little probing my brain,I've realized that the baseline itself wouldn't allow such a thing to happen. Hence I'd to seek for an alternative allowing me to bring the same desired output. As it could be guessed.. the solution turned out to be the one which was very damn obvious. It was lying just in front me and I didn't bother to even consider as one of my alternatives. Although, I'm again seeking the way to proceed further (this further is a bit farther from the yesterday's further),yet I'm satisfied for the mere reason that I'm moving ahead with the solution. Nevertheless, my intelligence could be questioned for neglecting the so very obvious facts... After rejoicing over the success of overcoming yesterday's challenge I had to prepare myself for the next ones... The weather since yesterday has turned out very unpredicatable. The sun is at it's full power at times..but there were also few hours where it appeared that the dusk is already on its way. The whole environment turned out dusty tooo (I was a bit bothered about my clothes which I've put on the line for getting up dried while coming here). I take the benefit of me being the youngest amongst all of my peers at the office by talking to (almost) everyone with what ever I've in my mind.
After a tiny miny dispute with one of my friends over the difference in approaches..I felt like discussing the correctness of my belief with yet another guy from my college(certainly,he's much more mature than I'm). In a very easy brief talk he said me few things which we tend to overlook many a times (alteast I did for sure!!). He made me realize that moaning over the issues which aren't in our control or for which worrying won't bring any difference is worthless.. This may appear very simple fact yet I do have many folks around me who don't appear to realize it.
Ignorance may be considered as a bliss..and half knowledge may even be dangerous but I believe there are many facts..news which aren't meant for you..and if any case we acquire them..we lose our peace !(Guess that's why its called Curiosity killed my crow).I may appear disinterested to many over few issues to many around me..but believe me.. I'm better off without knowing them..
Hmmmm..anyways it's the time for me to call it off a day (Damn..now I really am worried about my clothes hanging up there :( ) See ya tomorrow and hope it does really rain today [:D] (unlike yesterday's power cut longing for hours)..
After a tiny miny dispute with one of my friends over the difference in approaches..I felt like discussing the correctness of my belief with yet another guy from my college(certainly,he's much more mature than I'm). In a very easy brief talk he said me few things which we tend to overlook many a times (alteast I did for sure!!). He made me realize that moaning over the issues which aren't in our control or for which worrying won't bring any difference is worthless.. This may appear very simple fact yet I do have many folks around me who don't appear to realize it.
Ignorance may be considered as a bliss..and half knowledge may even be dangerous but I believe there are many facts..news which aren't meant for you..and if any case we acquire them..we lose our peace !(Guess that's why its called Curiosity killed my crow).I may appear disinterested to many over few issues to many around me..but believe me.. I'm better off without knowing them..
Hmmmm..anyways it's the time for me to call it off a day (Damn..now I really am worried about my clothes hanging up there :( ) See ya tomorrow and hope it does really rain today [:D] (unlike yesterday's power cut longing for hours)..
Tuesday, May 19, 2009
If legendary,brilliant William Shakespeare had even a scratch of idea that software engineering would emerge as this humongous profession he perhaps would never be inspired to pen down the quote "What's in a name". With day starting up with me sleeping for nearly half a day, I was grossly unmotivated to attend to the office, was forced to come anyways due to the absence of any alternatives. I'd to commence actual noteworthy work today, which i did after a hour or so. The entire day was swirled around "functions" and finding their call stack. Was so damn confused with look a like functions that I'd to jot them down on a piece of a paper to avoid any further slow downs. The mind set was further deteoriated with my mind wandering to the new comics I'd started yesterday.
The ability to analyze and the debug your own code for application carries a huge importance while you're coding for any application. Since, you're the originator of the code, many a times , many sequences could appear very obvious.The good debugger would know when to put down the cap explicitly meant for developers and to begin analyze the given situation as a freshman. I'd had a hunch in the morning which i believed would enable me chasing wild thoughts of mentor. But to my dismay,as the hands of the clock were moving apart and getting closer,I was finding my situation to be worsening.With each attempt being revealed as nothing but vain ,my obstination of getting the result was increasing exponentially. Every attempt made me a bit closer to the ideal one..At last..I made to get the solution ( although it still isn't a generic one).Yet,now i see the path getting really stiffened, and difficult (I've crossed my hands hoping that i'm exaggerating the complexity of the question).
I'm conflicted over the thoughts of starting anew tomorrow and moving ahead right way(which i think is more apt as there still is lot amount of time for my return). The decision is all very prejudiced. Got to move ahead bcoz i desire to acheive this functionality asap :) Alohaaaaaaa
The ability to analyze and the debug your own code for application carries a huge importance while you're coding for any application. Since, you're the originator of the code, many a times , many sequences could appear very obvious.The good debugger would know when to put down the cap explicitly meant for developers and to begin analyze the given situation as a freshman. I'd had a hunch in the morning which i believed would enable me chasing wild thoughts of mentor. But to my dismay,as the hands of the clock were moving apart and getting closer,I was finding my situation to be worsening.With each attempt being revealed as nothing but vain ,my obstination of getting the result was increasing exponentially. Every attempt made me a bit closer to the ideal one..At last..I made to get the solution ( although it still isn't a generic one).Yet,now i see the path getting really stiffened, and difficult (I've crossed my hands hoping that i'm exaggerating the complexity of the question).
I'm conflicted over the thoughts of starting anew tomorrow and moving ahead right way(which i think is more apt as there still is lot amount of time for my return). The decision is all very prejudiced. Got to move ahead bcoz i desire to acheive this functionality asap :) Alohaaaaaaa
Monday, May 18, 2009
With all my friends leaving for their home I'm left alone in this bizarre city which may entice any newbie with its blinding superfoulus lights. My day was a yet another "Monday" ,with me waking up early,trying to enable myself for the reason that I'd be reaching my office on time. Although the time was running by fast enough, I didn't wanted to hasten up, as that'd leave me an effect lasting for the whole day. Nevertheless I wanted to be on time for no great reason. I couldn't have my breakfast as the maggie which i bought yesterday turned out to be a chicken one[:(] ..left my home empty stomach. Fortunately, I was allowed to get into one of my father's institute's buses and was through half the way in merely half an hour (which generally takes me an hour or so in private buses..thanks to the all new methodolgy private buses in delhi follow).Once i got down the bus, refreshed myself by drinking tons of water (otherwise which I'd become a dry kabab owing to the extreme temperature here..) I boarded the bus which this time will take me to my final destination. The bus was filled with numerous people-men,ladies,children having their loads of luggage (which if allowed can replace all the living creatures inside) and ofcourse me. With a huge shriek cry of some infant, the domino effect of every single infant crying in the bus started, my brain was getting heated up cause of all the surroundings and obviously the heat as well. Miraculously, amidst all the hustle bustle I fell into sleep for more than half an hour and the next thing i found when i woke up was that my destination was only 5 mintues far. Stepped into my office 10 minutes earlier i usually do. I started up my work after my daily chores ( filling up my bottle, checking out all my mails ). The increasing share market (the unexplained unexpected 20% hike) added up the today's spice. Was completely clouded up by news of share market and it's countereffect on IT industry for almost a hour or two . Now I've lost my interest to get back to the work . But Alas.. neither I nor anyone can help me over this fact.. I've to return to the server environment trying to mimic one of it's functionality which I assume can't be acheived .. Need to bring out a solid good reason which would make my mentor abandon the whole idea :D .. Chao
Subscribe to:
Posts (Atom)

