Semi-random notes on programming, adoption, and life in general
Tuesday, September 20, 2005
Writing sensible email messages
Thursday, September 15, 2005
Wednesday, September 14, 2005
Converting a vintage cassette recorder into an external Hard Drive
Thursday, September 08, 2005
RE: The Pod Replaces Tripods (And has Nothing to do with iPod, Thank God)
One of the worst hassles about having a tripod is that you have to carry it around everywhere. I don't know about you, but I don't have too much space in my messenger bag for a decent-sized tripod. The Pod, from the tripod experts at Bogen, aims to solve that by providing a simple and stable camera support without the use of a tripod. It looks like a tiny beanbag at first, but attach any camera or camcorder to its universal locking bolt, and you have an instant tripod replacement. It contains plastic beans, is Velcro-sealed, water-resistant, and has a non-slip base for additional stability when positioning the camera. And since it's only 5 x 2 inches, I could probably slip it in my bag, no problem. Now I can finally take a non-blurry evening shot with my dinky little camera. They come in yellow, red, and blue, and currently sell for $21 each.The Pod [Bogen Imaging]
[Via Gizmodo]
Wednesday, September 07, 2005
Updating BrowserCaps to support "down level" browsers
slingfive.com has updated versions of the BrowserCaps section to correctly identify most of the other browsers and the features that they support. Your pages will look better in FireFox and Opera and should load faster too.
Tuesday, September 06, 2005
10 Things You Shouldn't Do with SQL Server
10. Add a Low Privilege Account to the Admin Role
9. @@IDENTITY vs. SCOPE_IDENTITY
8. Fetch Semi-static Data on Each Request of a Resource
7. Include SQL Data Manipulation Language in Application Code
6. Abuse SELECT *
5. Create Stored Procedures without Exception Handling
4. Prefix Stored Procedures with "sp_"
3. You Don't Protect the Database Connection String
2. Accept All Input
1. Access the Database from the Application with the "sa" Account
[Via dotnet junkies]
RE: Dynamic Behavior with the Decorator Pattern
The Decorator pattern is a means to transparently add responsibilities to another object on the fly. In some cases it's a simpler solution than creating additional subclasses through inheritance. A decorator is implemented by creating a class that wraps access to another class. The decorator implements the exact same public interface as it's inner member. That sounds like a lot of gobbledy-gook to me too, so let's jump into a code sample.
Click here to see the full article.
[Via Jeremy D. Miller -- The Shade Tree Developer]