Hypothetically speaking…
Note: Any similarity with real life events is highly hypothetical
One of my best hypothetical friends, whom I call chutkoo, has lately been doing everything to make life difficult for himself. He forgot to submit his CV on time for his placement, and then when the D-Day was three days away, his marksheet was no where to be found. I have been telling him, hypothetically of course, to stay more in the real world, to prioritize, not to postpone things. But, even in this hypotherical world, his attempts to be better can only be termed hypothetical.
To add to my hypothetical frustration, every time something like this happens hypothetically, I get the same hypothetical assurance - I’ll take care from now on.
I can only wish - hypothetically.
For you, a thousand times over
Such a simple sentence. However, it has a meaning so deep, only when you mean it you realize its deapth.
I did today.
Generating XML instance from XSD Schema
Its easy to programatically generate XML instances from XSD schema if you have BizTalk libraries installed. All you need to do is this (Replace “http://schemas.microsoft.com/BizTalk/2003″ with the Target Namespace of your XSD):
XmlSchemaCollection schemaCollection = new XmlSchemaCollection();
schemaCollection.Add(null, “c:\\schema1.xsd”);
System.Xml.XmlQualifiedName rootName = new System.Xml.XmlQualifiedName(“BAPI_PO_GETDETAIL_Request”);
DocumentSchema docSchema = new DocumentSchema(schemaCollection, “http://schemas.microsoft.com/BizTalk/2003″, rootName );
Stream stream = docSchema.CreateXmlInstanceWithData();
//Do whatever you feel like with the stream!
The class Microsoft.BizTalk.ParsingEngine.DocumentSchema can be accessed by adding a reference to Microsoft.BizTalk.Pipeline.dll.
Update : To do the same without using BizTalk assemblies, this code will help you : http://msdn2.microsoft.com/en-us/library/aa302296.aspx
Always On, Always Online
Around 1.5 years back, I wrote this post titled Another Addict where I described how I enjoyed being online. I was in IIT Kanpur, and the connectivity there was much better than in NIT Trichy.
Long back, when all I had was a dial-up at home, internet access was quite expensive (See here). Being online meant doing nothing but looking for information you needed and disconnecting as soon as possible. I used to think that in the US, computers are always on, and always online - It must be so wonderful to just minimize Internet Explorer and continue with other things!
Well, now I’m out of college. I have corporate internet in office, broadband at home and EGPRS on my phone. I do not shut down my office computers - ever - ‘coz that way I can access them from whereever I am, whenever I want to. Always on, always online.
Basically, it has come to a stage where the only time I’m not online is when I’m sleeping. I’m obviously online when I’m in office, I’m online at home and I’m online while on the move.
Do I need to sleep more?
There are some things money can’t buy…
The ad goes like this: “There are some things money can’t buy. For everything else … ”
Wait a minute! Those some-things-money-cant-buy are the only things I crave for!
A must have Internet Explorer add-on
Love Firefox? Try Internet explorer with this add-on: http://www.ie7pro.com/
Its amazing! Mouse gestures - to close tabs or to move to next / previous tabs is cool. Even cooler is drag drop a link to open it in a new tab and drag drop selected text to google it! Block ads, search inline, restore sessions and loads more! A real must have. I have it on all my systems (Don’t ask me how many :P)


