Control Google Bot With The New X-Robots-Tag

Google has extended its support for Google Bot restriction by giving us web developers a new tool to stick in our belt. It was announced today on the Google Blog that you can now control access to your non-HTML files on your website with a simple header. The header X-Robots-Tag will allow you to do everything the normal Robots Meta tag will, but now you can do it for the PDF, Word, Image, and any other document you can think of that is served via HTTP. They also announced on the same post a new type of exclusion cause that lets you set when the document will be unavailable, see below for more information on this new feature as well as currently supported ones for use with X-Robots-Tag: ...

July 31, 2007 · 2 min · 413 words · Nick Berardi

Evolution Of LINQ And Its Impact C# 3.0

One of the things I love to learn about is the history of how things come to be. Specifically my interests have always been in the evolutions of religion and the tech world (yeah I know pretty much polar opposites, but that is what I like to learn about). I came across an interesting article in my MSDN subscription that talked about how language features of C# 3.0 came to be. The features I am talking about are: ...

July 9, 2007 · 2 min · 248 words · Nick Berardi

Less Rules Imposed The Better

Recently I read an article from Jeff Atwood, where he basically claimed the brevity leads to better code. Personally I think his example he gave: if (s == String.Empty) if (s == "") Is just plain wrong, and this is the comment I put on his website: I think this is a very bad example using "" and String.Empty. Because essentially "" is a magic number of sorts, I am talking totally theoretical here, I know that "" is never going to change from representing a empty string, but what happens when developers start using “\n\r” instead of Environment.NewLine, not only does it cause a problem if you move to Mono on Linux it also requires a higher knowledge level to understand what “\n\r” means and you even have to remember what order it goes in. ...

June 1, 2007 · 2 min · 268 words · Nick Berardi