Posts

When debugging, watch your watches

I should know better. We had a section of code where a new 'document' was created in our web app. A document in this app consists of data in various tables. So, what happens is, we start adding rows to the tables in the dataset, but before we add any rows, we turn off EnforceConstraints for the dataset. Later, right before we Save the dataset, we run a method, IsValid, which turns EnforceConstraints back on, and checks the dataset's HasErrors. So, our flow works like this: CreateButton.Click   EnforceConstraints = False   ... add a bunch of rows, which may at times have Nulls where their shouldn't be.   ... Nulls get filled in.   IsValid     EnforceConstraints = True     ... If HasErrors, throw exception.   Save End Method Now, what would happen if you put IsValid in the Watch window? That's right, EnforceConstraints would be set to True very frequently. I'll go bandage the hole in my foot now.

A new idea in music.

At least it is to me. http://www.yourmusic.com/ It sounds like, you pay $6.99/month, and then order the CDs you want. Has anybody tried this or investigated?

In regards to my last post

Some may dislike my comments on a custom that many people cherish. Everybody has beliefs. Some people base their beliefs on how they were raised. Some base them on what they hear at a church. The interesting thing is, many people do not question their beliefs honestly and openly very often. I feel that I have based my beliefs on facts. Facts that I have seen with my own two eyes. There is nothing wrong with being presented with facts and coming to believe as the presenter, as long as your are testing their facts for truthfulness. My parents will confirm, I test. I have come to believe, through non-biblical sources as well as the 'Good Book' itself, that the bible is the inspired word of god. ( 2 Tim. 3:16 ) (also see New American Standard Bible ) Why You Can Trust the Bible I have come to see that if you do not believe the entire bible, or add to it, you might as well not believe any of the bible. ( Galatians 1:6-9 ) (see also New International Version ) ( 1 John 4:3 ) (see als...

My thoughts exactly

I had to post this. See more at http://www.dilbert.com/ >>> Dear Dogbert, How do holiday traditions get started? I mean, who goes first? Brian Dear Brine, Traditions are started by attractive people who are not too bright. Ugly people can’t start trends, with the obvious exception of scrapping, because no one wants to do what ugly people do. And smart people are unlikely to come up with ideas such as killing a perfectly good tree, covering it with crap, and keeping it in the living room for a month. Sincerely, Dogbert

Cancer and Nuclear Power Plants

I thought I learned about this in elementary school. Child cancer risk higher near nuclear plants: study

Up to date

To keep everybody up to date: Circuit Assembly was great. Steph is ok. She was only in the emergency room for 2 - 2 1/2 hours. They gave her an IV because she was dehydrated, and some medicine to settle her stomach. The doctor said it was a stomach virus and would run it's course. She's feeling better but week. It's important to keep things up to date. But that can be hard when you have tons of links scattered throughout your blog. Like this link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/persistappsettnet.asp from a post on January 10, 2005. The page doesn't exist. However, the page did once exist, and the Wayback machine helped me find it with this link: http://web.archive.org/web/20050909193245/http://msdn.microsoft.com/library/en-us/dndotnet/html/persistappsettnet.asp I'm taking some of the content, and I'm going to put it on my site, since it was so helpful to me.

The business trip that never was

So, yesterday, Wednesday, I embarked on my first out of state business trip for CAI. We were headed to DC. We got here at 8AM, got our rental car and were on the road by 9AM. I was driving. We got to DC and into a parking garage around 11:30 AM. Not too bad time-wise. We grabbed some lunch, a great deli on the corner of 3 St NW and E St NW, called Jacks. Took our lunch to the Judiciary building's cafeteria and ate. About 12:40 PM we headed up to the confrence/training room we were going to train in so we could be ready for the 1PM training. At 1:30, nobody was there. By about 3 PM we had found out nobody was going to be there, so we headed to the hotel and planned to be back the next morning. Just as we pulled into the parking lot of the hotel, we get a call. The attendees are at a Confrence out of state (New Orleans) all week. So, instead of training in DC this morning, I'm here back at the office.

Jump to video!

I've posted pictures, hosted my own site, and done quite a bit on the internet. But I've never posted to YouTube.com, at least not till today. Chloe Videos I never had anything worth posting before.

Happy Blogiversary to me!

Don't know if that's the word, but as of yesterday, this blog has been here for 4 YEARS!!! Wow!

Way to sell a book!

I just received a free book, 'Small Business Specialist Primer', by SMB Nation Press. It's quite a large book, I wondered 'Why get such a big book for free?' Here's a few things I note: No page numbers. You got the 12-2, 10-9, 8-2 thing going on. In the section, About the Authors, one author, a lady, has this line in her bio: Since she moved to Florida, she hasn't been to the beach. I love the beach. I don't want to do anything that would prevent me from enjoying the beach from time-to-time. Does that mean that if I read this book, I won't get to the beach? Perhaps my view will change as I read it.

Of Laptops and Builds, Time wasted in the development world

Time is money. Time is of the essence. No time to kill. Every second wasted is bad. That's the long and short of it. So, let me fill you in on how even a big(ger) development company can lost this valuable resource. Hyper IT guys who think they know it all If you can rush, and never miss a step, then rush. If you're gonna rush and miss key things, don't rush. Our IT department has a procedure in place for rolling out new laptops. Backup the old one, and (within a day or two) give you the new one with all the software the developer has been using and will need. No settings are copied, but the software is supposed to be up and running. Here's how my laptop upgrade went: Backup my laptop - IT guy asks me when I'm working till. I tell him 5PM. I'll be by at 4:30 to backup your laptop. My thoughts are, he's gonna back it up and give it to me by 5? That's pretty good. So, 4:20 he comes and takes my laptop. At 4:50 PM I ask him how long it'll be. "I ho...

Network checker

This is a simple little tool, but it shows me what I want to know. http://www.softperfect.com/products/networkscanner/

More pics of Chloe

Here they are! As a note, we will continue to add pictures to this link, so if you'ld like, bookmark it. :)

Smog

A while back I mentioned the trip my wife and I took to Wyoming. One of the most stunning differences between Wyoming, and here on the east coast, was the sky. Not the fact that you could see so much of it. Not the fact that you could see why the Milky Way is considered milky. It was simply the clearness of the air. Landing in Philadelphia, we descended into a brown haze. I guess living on the east coast, and in NY city, I never really noticed how prevalent it was. But you literally felt like you were slowly dipping into cloudy lake water. 'Well, this is Philly', I thought. But lately, as I drive into Harrisburg, I'm noticing the brown cloud that hangs over the city. And not just the city... but out into they nearby suburban developments, where kids play in their tiny backyards, and drink from the garden hoses fed by the river. Don't get me wrong. I'm no tree hugger. I've wasted my share of resources. I put my recycling out. I try to re-use what I can. (I'm ...

The problem with 'Find location by Zip code'

I live in an area where a zip code could be 30-45 minutes across. And I work in a different zip code than where I live. So let me lay out my problem. Let's say I live in the western side of 'Town A'. Further west, we have 'Town B' where I work in the Eastern half. If I do a search on my insurance company's site for doctors in the zip code of Town A, they may send me to a doctor in the eastern side of the town (remember, in this example, I live in the western side of the town.) So, I drive 30-45 minutes WEST in the morning, to go to work. Then I have a doctors appointment, and have to drive maybe 1.5 hours (passing my house) to go to the doctor. That's just silly. So, let's say I punch in the zip code for 'Town B', where I work, and they send me to the Western side of town. Here I'm working in the eastern side, so again it's all the way accross town. A 1.5 hour round trip. Could I put in 2 addresses, and let our slaves of a computer figure...

Languages going extinct

This is interesting to those groups who try to cover as many languages as possible. Languages Racing to Extinction in 5 Global "Hotspots"

So satisfying

I may have said it before, but I'll say it again. There is something so satisfying about this site: http://www.ssiworld.com/watch/shred.htm - Watch it Shred And this one: http://www.willitblend.com/ - Will it Blend

Yes it's true... no not THAT!

Yes, we're getting a new member of our family. No, not a people. Check out our new puppy , coming home October 19th. Oh yea... She's a Shih Tzu.

Updates to my site and blog

You may have notices, that the 'Sites I Visit' section to the left has changed. This parallels changes I have made on my site . I have added parts to my site's database, for Jokes , which I mentioned earlier. But now I also have a page of Quotes . The main page of my site has had it's links cleaned up. All three of these sections are not only database driven, but they also have a 'Newest!' section. This allows for you to quickly see what I've added recently. Eventually, I'd like to do an RSS feed for Jokes and Quotes... but this is a start to simplify maintenance of my site.

Sandals and Crocs get eaten by the jaws of escalators.

Never had a problem myself, but thought I'd pass this on: Crocs, kids and escalators a bad combination? My advice? Always pay attention to your children. Who wouldn't be careful with a two year old on an escalator anyway!!!