Tuesday, June 29, 2004

Another threat to my MANHOOD!


........... and now a new addition to that list (it was in yesterdays news). Keeping mobile phones in pant pockets may make men impotent (ofcouse keeping it in breast pocket may cause heart problems). The list keeps getting more creative. Can i live without having some fun on weekends (which basically means smoke/drink), without a job and without communicating? i dont think so.
I wonder who are those jobless people who keep doing such research.

Tuesday, June 15, 2004

Mail to a friend


Subject: RE: Info on XPATH
ok lets see
scene 1:

<root>
 <level1>
  <level2>
   <level3>
.......

2 ways to retrive level1
a. /root/level1 (my way)
b. //level1 (or the highway)

a says goto level1 under root and the search stops there.
b says get all level1's in the document it finds level1 under root but doesnt stop searching till the it has searched all nodes

scene 2:
<root>

  <level1>
   <level11/>
   <level12> <level121/> </level12>
   <level13/>
 </level1>

  <level2>
   <level21/>
   <level22> <level121/>...... there could be some more </level12>
   <level23><level231></level23>
  </level2>

</root>

search for level231:
a. /root/level2/level23/level231 (my way)
b. //level231 (or the highway again)

as u know by now "a" has no probs
whats wrong with b?
1. as u can c there are r sub trees in the main tree level1 and level2. level231 comes under level2, but this dumb xpath search all the nodes in 1st subtree.
2. when it finally comes to level2 it goes thru level22 and all its children which is not required.


scene 3:
I'll relate this to the OSHO's session that i sent u.

<language>
  <verbs>
   <fuck/>
   <eat/>
   <drink/>
  </verbs>
  <adjectives>
   <very/>
   <highly/>
   <fuck/>
  </adjectives>
</language>

search: verb fuck (notice that the element fuck appears in different places and they have different meaning)
a. /language/verbs/fuck (my way)
b. //fuck (or no way)

i wont even talk abt "a".
b retrives 2 fucks and u dont wont know what the fuck u r suppose to do with them.
u have find out their ancestors
or
do this //verbs/fuck

//fuck is less clear than //verbs/fuck which is less clear than /language/verbs/fuck

u can relate // to "SELECT * " in SQL. BAD practice

i can quote few other scenes but what the hell the mail has become too long.


-----Original Message-----
From: A friend
Sent: Thursday, June 10, 2004 8:26 PM
To: Raghunandan R
Subject: Info on XPATH


Rags if u remember u said avoid using //RootElement/etc..

U suggested to use RootElemet/eleme. Etc….

U said it is a big performance hit.

What diff does it make

chris brumme

this is some freak from MS giving me more .net than i can probably digest.

I love western ghats

got back yesterday from here. It was all about pelting rain, heavy wind, visiblity of 5 mts , lots of leeches waiting to suck you dry, guts, glory, but mainly it was all about releasing the the bad energy that i had been stacking up since our previous adventure trip. It was 7 hours of hard trek (up and down).

The sad part was when we did reach the peak (or what we thought was the peak) i couldnt look down (or look arround - the visiblity here was almost zero here), scream and celebrate what i had acheived in the most inhuman trekking conditions(i'm sort of exaggerating but i like it that way). Althou my male ego was dissatisfied it was good excercise for my legs, back and i got my lungs cleaned - for free!.

Our next target should be this.

lessons learned:
1. take off your shoes when u come accross a stream
2. if u keep coming across a stream every 500 meters or if there are lots of leaches arround or if its raining done bother to take off your shoes.
3. carry plastic bags (but dont throw them arroung - its against trekkers etiqutte)
4. carry salt or a thin steel wire (this is just a reminder) to get rid of leeches.
5. 2 socks is not enough
6. carry 2 pair of shoes if u can
7. carry glucon-d "gaan mein gaan dalde peete hi"
8. dont pack too many thing, if u cant carry them arround
9. trek regularly so that you dont become desperate to trek in rainy season

Wednesday, June 09, 2004

Mike Woodring's .NET Sample Page - contains cool code snippets

Friday, June 04, 2004

The man, The voice - Jim Morrison
......... and his Poetry



Murphy's laws. Timepass stuff (highly philosophical too)
This is the site
and this is one page that has it all

iunknown.com: Multi-module assemblies: "I'm admitting it. I've got a confession to make too: I've never written a multi-module assembly."

The Code Project - URL Rewriting with ASP.NET - ASP.NET

Thursday, June 03, 2004

how cm i havent played arround(been postponing it...) with this one?
IanG on Tap: URL Dogma

Wednesday, June 02, 2004

Accessing private members:
obj.GetType().InvokeMember("PrivateMethod",BindingFlags.NonPublic|BindingFlags.Instance|BindingFlags.InvokeMethod,null,objPrint,argsArray);
As simple as that.......

This page is powered by Blogger. Isn't yours?