Tuesday, December 05, 2006
Stereograms
(Click the image to see at full size.)
Create your own at http://www.eyetricks.com/stereograms/onlinetools/stereocreator.htm
Thursday, November 16, 2006
Zune XP Theme
You can download it from here. Or, you can download it from the Zune website.
Thursday, September 07, 2006
Happy Birthday Google
You can read about Google's history here. And, if you are looking for the September 7 date, you will just have to google for it.
Monday, August 07, 2006
Maintainable Software
In looking at some code today, I was reminded of Billy Hollis’s 2005 Grok Talk. If you haven’t seen it (or want to see it again) it can be found on Google Videos here.
I think the real point is that building maintainable systems is more important then just cranking out reams of code. Software spends most of its life in the maintenance phase and not in the creation phase. This is a very important lesson for developers to learn. Although it is not easy to do, there must be a conscious effort to build maintainable software.
Some things that I have found:
- Inheritance can be very useful when you are trying to create things quickly, however inheritance can be very difficult to maintain. Form inheritance is one of those things that can make development very fast, however will ultimately make it very difficult for someone else to maintain. I am talking about the case where you have a base form that tries to do some logic and then you inherit off of it and try to extend it in a way to add or change the logic.
- Another thing to think about is how many classes you have to touch in order to add a new field. You should try to keep the number of classes as low as possible. Try to separate your objects so that they don’t rely heavily on each other. Adding a new field is one of the most common ways software is grown.
- Something else that should be obvious is that less code is better and the more straight-forward your code is, the easier it will be to maintain. Of course that is easier said then done. But none the less, it is something to strive for.
Monday, July 17, 2006
Windows PowerShell
By the way, if you want to create and launch a WinForm from Windows PowerShell, enter the following at the command-line:
[reflection.assembly]::LoadWithPartialName("System.Windows.Forms")
$form = new-object system.windows.forms.form
$form.text="HELLO WORLD"
$form.showDialog();
Tuesday, July 04, 2006
Wednesday, June 14, 2006
Windows Colors
Or maybe, both Microsoft and Google are using the Olympic colors.
Thursday, April 27, 2006
Steganography
This technique can also be used to watermark images and can also be used on music and video files (just imagine what you could store in a 1GB video file).
(There is no hidden file in this image)
Sunday, April 16, 2006
Thursday, April 13, 2006
Brett’s Corner
Friday, April 07, 2006
Model-View-Controller Song
I borrowed the book Head First Design Patterns from a coworker. I wanted to read the section on Model-View-Controller. In the book there are the words to the “Model-View-Controller Song” (you can also listen to the mp3 from their website). The song is a little cheesy but I do like geek songs.