Friday, October 08, 2004

Talking too Fast

This morning I was on the phone with another developer. He is lead/Sr. developer of one of our vendors. He was talking about some new functionality that they were rolling out and the new middle tier that they were going to be using. You know all the technically mumbo jumbo, that makes most people's eyes glaze over, and give you that blank, "If I just keep looking at him, maybe I will have a clue as to what he is saying" stare. Anyhow, I noticed that he was talking really fast. I thought about that, and when I am talking about a tech project that I really enjoy, I talk really fast too. It makes me think that the connections in the brain that we use for tech stuff move so fast that our poor mouths just can't keep up. It's really funny to hear a guy that in a social situation, you can maybe get 100 words out of in two hours, give you 1000 words in 2 minutes when talking about the tech projects.

 

Thursday, October 07, 2004

Cool New/Old Trick

I am rewriting part of an application in ASP.NET however, it is still going to need to be in a directory that is mostly classic ASP. In my classic ASP pages, I have <!--#include virtual="mynav.htinc"-->. Well if I were writing the ASP.NET application from sratch I would put the navigation in a .ascx file. However, being that this is a joint resident application, I don't want to do that, because that would mean I have two files to update instead of just the one. (being a lazy programmer, I don't want to have to update an additional file). So how do I use the old .htinc file in my new ASP.NET application. The answer my friends is response.writefile. In your aspx page you simply write the file in. It will read the file, and write the content to the page as it is rendered, just like the virutal include would.

<%

Response.WriteFile("mynav.htinc");

%>

Monday, October 04, 2004

The little Boy and the Monster under the Bed

So this morning, the Little Boy wakes up pretty early, so he comes in to sleep with us. Now I am sound asleep and reportedly making "sleeping noises" (snoring). Anyhow the Little Boy snuggles in to bed with me and My Beautiful Wife and as I snore, he says, "What's that noise?", to which my Beautiful Wife replies, "that is Russ making sleeping noises". The Little Boy says, " no it's a bear!"

Now this really tickled me. You see when I was just about his age, I remember getting up in what felt like the middle of the night and headed to Mom and Dad's room. At the time their room was at the back of the house, so I had to traverse the hallway and my sisters room to get their room. What now amounts to a little less then 20 feet felt like a mile. Right as I get to the door of their room, which was open. I hear this sound. It sounded like a roar, a lion's roar to be exact. So I turned tail and ran back to my room and jumped into the bed and hid under the covers. I remember thinking that Mom and Dad took there sleep pretty seriously, because they had a Lion living under there bed to protect them while their were asleep. Of course now that I am older I know that it was just Dad making "Sleeping Noises".

So my guess is that when the Little Boy has children of his own, and he makes "sleeping noises", his kids will think it was a tiger. Keeping up the family tradition. Lions and tigers and bears, oh my.