Had a monsterous last week.. I was tormented with clouds of sorrow :( The company by which i was hired has decided to defer my joining any since then I 'm spinning around in a vicious circle..All this time I was happy for my internship is coming to an end but now that I've heard this news..I'm in no more position to feel happy for anything..
I've requested my manager to try for extending my internship (piffany...i do understand)..Although he did appear a bit serious but there's a glitch to it If my results are out soon i can't have my intern extended [:(] Let's see what more life had kept in it's surprise box for me..I've completed all the formalities,few of which still require changes..
I'm inflicted :(
Sunday, June 28, 2009
Saturday, June 20, 2009
My days to be spent in Delhi (of course as an intern) have started to be restrictive..With in a week from now I'll be no more going to my office every morning complaining about why can't I continue to sleep late in the morning and other daily routines of my college..My mentor had asked me to put a stop to all the new work I was into and document the progress as of now.. Now that effectively only a week is to be spent here..I decided to have some happy moments with my friends, who were all I had in these six months ( virtually I did had many people available 24*7 yet these were the only ones which were a part of my living here)..We turned out to be going for X-Men Origins..i'm an ardent fan of Hugh Jackman ..Amidst all the confusion aroused over the issue of which theater we're meant to go to..we finally made up till the theater..I loved that part where Hugh is kissed by his girl friend in front of all his colleagues and he has a amazing smile worn while his peers start to wooing..(my my he looks awesome)..We had a great time ( What else anyone can wish for ..I had by wonderful company of the friends and Hugh's movie rolling on the screen..)
A great souvenir (accredited to me who took the initiative and also my friends who paid up the bills) ..
Now the whole week ahead I'd all my formalities to be attended..Lemme make a checklist so that at the crisis time I don't curse myself for forgetting anything..
1) complete my project report- to be submitted in the college
2) writing up a short document to be submitted @ office which has no bluffs and only the work we did
3) having a good backup of every detail so that i don't fall short of information @ needy hour
4) making a video for submitting in the project
4) last but the not the least.. having loads a fun :D
DAYS LEFT FOR INTERN TO COMPLETE:9
A great souvenir (accredited to me who took the initiative and also my friends who paid up the bills) ..
Now the whole week ahead I'd all my formalities to be attended..Lemme make a checklist so that at the crisis time I don't curse myself for forgetting anything..
1) complete my project report- to be submitted in the college
2) writing up a short document to be submitted @ office which has no bluffs and only the work we did
3) having a good backup of every detail so that i don't fall short of information @ needy hour
4) making a video for submitting in the project
4) last but the not the least.. having loads a fun :D
DAYS LEFT FOR INTERN TO COMPLETE:9
Tuesday, June 16, 2009
After a extensive day's search with me trying to modify the keywords to be specified as the search query..I successfully was able to come up with a very apt blog written by Ragesh Krishna ..Apparently even he had the same task to be performed and also the spring board (XMLHTTPREQUEST's onreadstatechange handler) probing our mind..But to the great agony since he had the command over COM programming he came up with an idea unlike me (Well that's the reason for me to have mixed feelings..I should be happy for I was able to get relavant answer or to filled with dismay since I wasn't able to come up..) Now that I do have the answer .. I'm failing to understand the flow of program and even I'm unable to integrate it with my already existing code.. The only enjoyable moment I'd yesterday was when few of my friends and I went out and grabbed something to stuff ourself with..and also a couple of icecreams ( believe me that was the best part )..Now I'm again going to get myself submerged in ATL and getting the program into my brain.. hopefully i'd be able to come up with something worth to be called as accomplishment...(Amen!!) (by the way there is very less probability accredited to the lack of sleep)
DAY LEFT FOR INTERN TO COMPLETE : 13
DAY LEFT FOR INTERN TO COMPLETE : 13
Monday, June 15, 2009
I'm running out of time allotted to me for completing the task given .. It isn't the fact that i ain't able to come with the solutions.. I certainly am having various ideas to solve the issue yet due to fact that i'm unfamiliar with the coding environment I ain't able to create anything of my own :(( the whole thing has just reduced to the efficiency of googling and any sort of help available on net(where people tend to forget that the person reading their suggestions may be naive to the technology and may be incapable of understanding anything they're penning down)..
I failed to do my homework for this week yet fortunately enough i was able to discover a way to do..I'm planning thy :
After creation of the client object and the server and instantiating them in HTML documents. .. to replicate dojo.subscribe and dojo.publish I'd have to create a callback similar to onReadyStateChange available for XMLHTTPREQUEST...This would be certainly a solution but how am i gonna code it ??? It's a million dollar question right now (although I've tried to post my queries in the blogs I see very few chances of people replying to it )
Day Left For Intern To Complete:15
I failed to do my homework for this week yet fortunately enough i was able to discover a way to do..I'm planning thy :
After creation of the client object and the server and instantiating them in HTML documents. .. to replicate dojo.subscribe and dojo.publish I'd have to create a callback similar to onReadyStateChange available for XMLHTTPREQUEST...This would be certainly a solution but how am i gonna code it ??? It's a million dollar question right now (although I've tried to post my queries in the blogs I see very few chances of people replying to it )
Day Left For Intern To Complete:15
Friday, June 12, 2009
I'm into a deep pit again .. After working tirelessly for two weeks using the internet connection providing to it's maximum content, getting grossly confused over every damn li'l details I'm again stuck up...
As I've already mentioned I'm creating a brand new object that can be accessed through ActiveXObject in HTML pages. Microsoft (apart from being always cursed by open source lovers..) has certainly extended the user's capability of control over the operating system by introducing the ActiveXObjects..Astonishingly (only for those who're naive ) these objects can also create instances of the DLLs registered onto the system.
Lemme summarize my two weeks achievements in a nutshell starting from a scratch :
1) Create a new ATL ( Active Template Library ) project. You can also opt for creating a new MFC activexobject project but it turns out that ATL has almost the same capabilities yet it is light weighted and more user friendly (and hence, less of mind boggling function names and awefull horrifying parameters management)
2) See for the sample projects available in the HELP provided by the Microsoft Visual Studio and opt for the one which approximates your needs.(I've used something similar to this )
3) Create your project (don't go for blindly copying n pasting the code available..understand every suttle details and the necessity for you doing it)
4) Build the project
5) The moment you go for building the project the dll of your corresponding project would automatically be registered (very obviously until n unless you've run into some error which would be shown up in the o/p window).
Eureka !! Once you're done all these you can create a new object by calling it through ActiveXObject
For instantiating an object of this dll you need the following syntax ( this itself took a day for me to find out~ Finally no help was available on net and I came up with this of my own)
var active_x_object=new ActiveXObject("progid");
The PROGID variable is the name which appears in the header file of the project you're creating.
Now that I'm over this problem I'm stuck it yet another one...I've to imitate the functionality provided by dojo.publish & dojo.subscribe..(for which only the All Mighty Above can show me the path)
One of the drawback is that I'm falling acutely short of time..(which is a gross loss to my mentor but on the other hand I'd back to my home yippie )
Hence...the homework for me for this weekend would be to come up with a miraculous solution.....:)
By the way from now on the countdown for my internship to complete begins..
DAY LEFT FOR INTERNSHIP TO END : 18
As I've already mentioned I'm creating a brand new object that can be accessed through ActiveXObject in HTML pages. Microsoft (apart from being always cursed by open source lovers..) has certainly extended the user's capability of control over the operating system by introducing the ActiveXObjects..Astonishingly (only for those who're naive ) these objects can also create instances of the DLLs registered onto the system.
Lemme summarize my two weeks achievements in a nutshell starting from a scratch :
1) Create a new ATL ( Active Template Library ) project. You can also opt for creating a new MFC activexobject project but it turns out that ATL has almost the same capabilities yet it is light weighted and more user friendly (and hence, less of mind boggling function names and awefull horrifying parameters management)
2) See for the sample projects available in the HELP provided by the Microsoft Visual Studio and opt for the one which approximates your needs.(I've used something similar to this )
3) Create your project (don't go for blindly copying n pasting the code available..understand every suttle details and the necessity for you doing it)
4) Build the project
5) The moment you go for building the project the dll of your corresponding project would automatically be registered (very obviously until n unless you've run into some error which would be shown up in the o/p window).
Eureka !! Once you're done all these you can create a new object by calling it through ActiveXObject
For instantiating an object of this dll you need the following syntax ( this itself took a day for me to find out~ Finally no help was available on net and I came up with this of my own)
var active_x_object=new ActiveXObject("progid");
The PROGID variable is the name which appears in the header file of the project you're creating.
Now that I'm over this problem I'm stuck it yet another one...I've to imitate the functionality provided by dojo.publish & dojo.subscribe..(for which only the All Mighty Above can show me the path)
One of the drawback is that I'm falling acutely short of time..(which is a gross loss to my mentor but on the other hand I'd back to my home yippie )
Hence...the homework for me for this weekend would be to come up with a miraculous solution.....:)
By the way from now on the countdown for my internship to complete begins..
DAY LEFT FOR INTERNSHIP TO END : 18
Wednesday, June 10, 2009
My work had got stagnated and I'm merely pondering over the ways to make it get going..All these days was terribly confused over the approach I'd be following for completing it .. The last week (well can almost say since the beginning of this month..)I ain't able to proceed at all..And today I found the solution .. The solution which was so damn basic . .all i had to go is to seek the help available in the visual studio help :).. I'm right now trying to build up a project using ATL and making a client-server scenario where the client would b responding to a triggered event from the server.. There are several codes available on the net but I wasn't able to get any of them working on my system because the difference in the versions between the IDE used...Now that I'm done with half of my work I'm contented :) and I'm looking for a way to change it.. so that I'll be able to get the whole of my work done Yippie.. and cheers for me
Sunday, June 7, 2009
Hello..
For all those who're still messed up in creating dll through C# and accessing it from activexobject embedded in js/Jscript/ECMA script.. you could look
here It provides a very good exposure to all the naive apprentices ( akin to me )..But the shortcoming of this approach is the fact that once the dll is created ( which gets automatically done provided we have .NET framework installed) for letting this dll being registered to the OS we again require a .NET framework (proves out that not everyone is contented with this condition being imposed in specific my mentor :P)
Now i chose an alternative over allowing the gadgets communicating via dll and acitvexobject..Socket programming appeared a good alternative till now . .again since my platform is restricted to windows vista either I've to go for programming is c++ ( which is easily accessible from gadget API but alas ... i ain't able to create given loads of available samples avaiable easily on net) or java ( this would again add a constraint on the client machine to have an apt version of JRE-the interpreter of bytecodes developed during compilation of any Java programs) I'm still not sure of which one to use .. (certainly the deciding factor here is my mentor's approval of allowing the constraints)
For all those who're still messed up in creating dll through C# and accessing it from activexobject embedded in js/Jscript/ECMA script.. you could look
here It provides a very good exposure to all the naive apprentices ( akin to me )..But the shortcoming of this approach is the fact that once the dll is created ( which gets automatically done provided we have .NET framework installed) for letting this dll being registered to the OS we again require a .NET framework (proves out that not everyone is contented with this condition being imposed in specific my mentor :P)
Now i chose an alternative over allowing the gadgets communicating via dll and acitvexobject..Socket programming appeared a good alternative till now . .again since my platform is restricted to windows vista either I've to go for programming is c++ ( which is easily accessible from gadget API but alas ... i ain't able to create given loads of available samples avaiable easily on net) or java ( this would again add a constraint on the client machine to have an apt version of JRE-the interpreter of bytecodes developed during compilation of any Java programs) I'm still not sure of which one to use .. (certainly the deciding factor here is my mentor's approval of allowing the constraints)
Wednesday, June 3, 2009
I had altogether a very exciting day today ... Although for most of the day I'd been cursing my mentor for having such a freaky kinda idea yet at the end of day with me calling it off a day it had been quite an eventful day .. one of my classmates had completed his intern and all set to go to his home on monday... Nevertheless .. one of my peers didn't had any worthy work which could set him engaged for the day and hence we were having very frequent breaks.. About my progress @ the work .. today turned out to be a good day too .. the task I'm set off at present is to create a dll file which will allow me to instantiate it from the ActiveXObject.. This is nothing but wrapping any object by an ActiveXObject ..
So i started with the first step.. queried for creating a "dll" file....When I googled for this keyword.. I was presented many relavant searches (which ofcourse didn't had any weightage in my case).They all suggested me to create a dll file through VB/VC++ but neither of them had explained me whether I could create objects using ActiveX or not. At the end of the day I had come out with a solution using c# and ActiveXoBject... But I wonder whther usage of C# would constraint the user to have MS VS framework to be installed .. anyways that's a question left for tomorrow's assignment ...Yippie I was happy that I was pass on the first hurdle..Now remains the task of creating a relavant class to my objective and testing it for my application (which very obviously is the major deal) ...This additional feature would certainly add a feather to the cap ..
So i started with the first step.. queried for creating a "dll" file....When I googled for this keyword.. I was presented many relavant searches (which ofcourse didn't had any weightage in my case).They all suggested me to create a dll file through VB/VC++ but neither of them had explained me whether I could create objects using ActiveX or not. At the end of the day I had come out with a solution using c# and ActiveXoBject... But I wonder whther usage of C# would constraint the user to have MS VS framework to be installed .. anyways that's a question left for tomorrow's assignment ...Yippie I was happy that I was pass on the first hurdle..Now remains the task of creating a relavant class to my objective and testing it for my application (which very obviously is the major deal) ...This additional feature would certainly add a feather to the cap ..
Tuesday, June 2, 2009
For this whole coming month I've been given a work which reduces to allowing a pair of gadgets hosted on sidebar to communicate with each other.. After a lot of brain probing the only solution I could come up with yesterday was to use file I/O streams.. I was under a impression than that's a brilliant idea and no one could come with .. But the instance I was conveying this to my mentor.. I realized that it was a blunder.. cause it would again device a famous operating system producer-consumer problem.. In addition it would also bring down the efficiency of my work (file I/O tend to make things move up to a very low pace)..
But today it turned out that I certainly have few more options .. The yet another solution that could have worked was to modify the registry values .. The gadget which had to trigger the event would write into the registry the arguments to be passed to the receiver(which could be easily accomplished owing the accessibility of Gadget API to registry ..) Additionally since registry was being involved it would take next to no time for execution..The only setback was that there would be no mechanism for the receiver to be informed about this writing being completed.(yet another cropped down instance of producer-consumer prob).
ActiveXobject proved out to be ray of hope for my task right now .. Asap i've to bring my theory to practice and formulate a quick and dirty method to test this guess (although my mentor had signalled a green flag to it ) ..Let's see how this gets routed up
But today it turned out that I certainly have few more options .. The yet another solution that could have worked was to modify the registry values .. The gadget which had to trigger the event would write into the registry the arguments to be passed to the receiver(which could be easily accomplished owing the accessibility of Gadget API to registry ..) Additionally since registry was being involved it would take next to no time for execution..The only setback was that there would be no mechanism for the receiver to be informed about this writing being completed.(yet another cropped down instance of producer-consumer prob).
ActiveXobject proved out to be ray of hope for my task right now .. Asap i've to bring my theory to practice and formulate a quick and dirty method to test this guess (although my mentor had signalled a green flag to it ) ..Let's see how this gets routed up
Monday, June 1, 2009
Before speaking of today's ongoing events .. I'd like to add up how my yesterday was.. My dad and me have made a habit of going to our mall every Sunday's evening..This time when we're deciding ..our plan was derouted from the usual ones. Although my father had been staying in Delhi since last 5 years (if I ain't suffering from short term memory loss) he never had an opportunity (rather i should say grabbed an opportunity) to travel in Metro trains here.In merely seven years of functioning it had become the most accessible mode of transport..(Not to be astonished as it's the only mode that can meet the fast life of people here).. We took a pleasure ride in it by boarding it @ Dilshad Garden to Kashmiri Gate and returned to our destination,stopping at a Nirula fastfood center in midst.We proceeded next to our mall and consequently the day ended.
Today was yet another monday.. i had to wake up early..carry out my daily routines and then reached my office on time (this time isn't rigid :D so it's my call to term it as "ON TIME" or not).
With the great impetus given by my father these two days (I did say that I'm losing the zeal to work to him) ..I started out with the hunch I had from the last two working days (Thursday & Friday)..
Right now I'm again pondering over the issue of persisting an object created in a JS when two HTML files are directly calling it..I certainly have methods to overcome the issue when dealing with two HTMLs and a single JS but don't even have a feeble idea as to how this would be again extended to sidebar gadgets ( Who said communication always solves the issues... I have to make two gadgets communicate with each other now and it's appearing humongous task right now) So please cross your fingers for me hoping that I'd complete it :)
Today was yet another monday.. i had to wake up early..carry out my daily routines and then reached my office on time (this time isn't rigid :D so it's my call to term it as "ON TIME" or not).
With the great impetus given by my father these two days (I did say that I'm losing the zeal to work to him) ..I started out with the hunch I had from the last two working days (Thursday & Friday)..
Right now I'm again pondering over the issue of persisting an object created in a JS when two HTML files are directly calling it..I certainly have methods to overcome the issue when dealing with two HTMLs and a single JS but don't even have a feeble idea as to how this would be again extended to sidebar gadgets ( Who said communication always solves the issues... I have to make two gadgets communicate with each other now and it's appearing humongous task right now) So please cross your fingers for me hoping that I'd complete it :)
Subscribe to:
Posts (Atom)

