Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact


Regular Expressions are pretty neato...

I never worked with regular expressions before. I heard how great they can be, but never really knew. Regular expressions are really cool. RegEx Sample: Number with 0 to 3 decimal places  (|\-)\d+(.\d{3}|.\d{2}|.\d{1}|) Regular expressions look pretty complex and sort of cryptic at first glance, but if you have a good tutorial to go through it one part at time they aren't really difficult to learn how to write. This site has some good tutorials on Regular Expressions: http://www.regular-... [More]

I found a bug in SQL Server 2000...

Well, I didn't find a new bug, but it is the first time I discovered a bug in SQL Server by just doing my everyday job. I'd post the code for the SQL Server user defined function that I wrote if I could, but I can't (confidential). Its nice to have a reminder once in awhile that even Microsoft's software has bugs. Server: Msg 8624, Level 16, State 8, Line 1 Internal SQL Server error.

OS-tans - these are like Anime mascots for the OS's

A small Internet phenomenon on Futaba Channel, the OS-tan (OS for Operating System, and the Japanese "-tan" (??) which is an overly cute mispronounciation of, specifically a child's slurring of "-chan" (???), a diminutive honorific for a person) or simply OS Girls are the personification of several OSes, most famously Windows, by various amateur Japanese artists. A pure fan creation, the appearance of each character is generally consistent across artists. OSes are almost always portrayed as wome... [More]

XBox II...

1) Hard Drive... Yes!  There was some speculation that MS was going to take the HD out to make it more difficult to Mod. 2) Flash based HD... Yes!!!  It was told to me that the HD was going to be flash based... small size fast access... BAM! 3) No Stupid Dongle DVD playback... Yes!!!  The reason that the first Xbox didn't have built in DVD playback is a simple one, Sony owns the Intellectual Property rights for DVD playback.  Nuf said... 4) Xbox II at E3... Hell Yes!!!&nbs... [More]

EMail (POP3, SMTP and MIME) looks complex but is in fact really simple

Email at first glance appears to be really complex, but once you look further down at how it work you will find out that Email is in fact really simple. POP3 and SMTP each only have about a handfull of command that you need to know to Send/Recieve email messages. The internet mail message format and MIME both appear complex, but are actually very simple and could be thought of as being somewhat object oriented. Really, the most complex part of email is MIME Attachments which is just complex beca... [More]

Can you have Windows 2003 Server display the Windows XP Visual Styles?

Yes, you can!! If must turn on the “Theme” service in Windows 2003 Server to enable the Windows XP Visual Styles. Then go to the Display Properties in the Control Panel and set the “Windows and Buttons“ dropdown on the Appearance tab to “Windows XP Style”. And like magic you can have Windows 2003 Server look just like Windows XP!! Sweet!!

My Latest Project: POP3/SMTP EMail Client

I have currently and in the past had so many projects that I've wanted to create but just never actually went and fully developed them. Well, I have a new one I'm working on now and will force myself to finish it. I'm working on a POP3/SMTP EMail Client. I am working on making it support POP3 and SMTP for retrieving and sending email messages. I am also going to make it support the XMTP (eXtensible Mail Transfer Protocol) which is an XML transformation of the standard Internet Message Format. I'... [More]

Virgin Mary In Grilled Cheese - Looks more like Marylin Monroe

The Vrigin Mary in a grilled cheese sandwich??? I think it looks more like Marylin Monroe. The last I checked the ebay auction was up to almost $7,000. I wanna make me one to sell!

What do Linux, MacOS and Windows all have in Common??

When you think about it, the three major Operating System's (Linux, MacOS and Windows) come down to one person/entity that controls them. No matter which Operating System you use, you are relying on a single person/entity to update/maintain your platform. Linus Torvalds contols the Linux kernel.Microsoft Corp. controls Windows.Apple Computer, Inc. controls MacOS. If the person/entity who governs the core of your OS falls off the face of the Earth, at least with Linux we all have the ... [More]

AntiMatter is a reality: not just for Trekkies!

Antimatter a reality?? Hell, yeah. It can be used for super powerfull weapons, space travel, and more. Antimatter technology doesn't have the radioactive bi-products like nucleur technology does.,14632,Soldiertech_Cool100804,,00.html?

SQL Script: Search all tables for a specific field

DECLARE @NAME_TO_SEARCH_FOR nvarchar(50) SET @NAME_TO_SEARCH_FOR = '%photo%' SELECT AS Table_Name, AS Column_Name FROM syscolumns INNER JOIN sysobjects ON = sysobjects.idWHERE LIKE @NAME_TO_SEARCH_FOR AND sysobjects.Type Like 'U%'

Minimize Microsoft Outlook to the System Tray

I don't know why they took this option out of the settings within Outlook, but the registry setting for this is still there. To minimize it to the system tray, start regedit and follow the steps below:HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 10.0 \ Outlook \ Preferences New Data Type: REG_DWORD Value Name: MinToTray Data: 1 (0 to disable MinToTray) The number in red above is the MS-Office version number; 10 is Office 2000; 11 is Office 2003.

Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registered Component

This error is a permissions problem. This is a very frustrating problem for someone who doesn't know Windows Server 2003 very well. Heres is a workaround:1. go to Administrative Tools> Component Services 2. expand COM Services 3. expand My Computer. 4. expand COM+ Applications. 5. Right click on your Application, select Properties 6. Go to the Security tab7. In the Authorization frame, uncheck “Enforce access checks for this application“ This isn't the best, since it grants every ... [More]

Color the background of items in a Dropdown box in your HTML pages.

Color the background of items in a Dropdown box in your HTML pages. It's very easy to do, just look at the below example. Highlight Black Gray DarkGray LightGray White Aquamarine Blue Navy Purple DeepPink Violet Pink DarkGreen Green YellowGreen Yellow Orange Red Brown BurlyWood Beige <select> <option value="">Highlight</option> <option value="#000000" style="background-color: Black;color: #FFFFFF;">Black</option> <option value="#808080" style="background-color:... [More]

Is Planning and Testing really that important in Software Development???

When you wrote essays in school, didn’t you plan out what you were going to write about before you started writing? The same needs to be done with software development.   Specifications documents need to be written out for all new features/enhancements, before any development begins.  That way the developers have a blueprint to work with of how the feature/enhancement is to work. This should be written from the original description that is gotten from the client that is request... [More]

VB.NET 2005's "My" namespace for Mono

Today, I started creating my own implementation of the VB.NET 2005 “My“ namespace. The target platforms for my implementation are .NET v1.1 and Mono v1.x  Heck, maybe eventually I could convince the folks over at the Mono project to put my code into their implementation of the .NET Framework, but I suppose I'll have to get alot more done on it first. If you don't know what the “My” namespace is check this out: [More]

How do you call a Console application from ASP.NET and get the results??

Here is a VB.NET version of a C# example that I found to do just that. It's really simple to do. <%@ Page Language="vb" %><%@ Import Namespace="System.Diagnostics" %><%       ''Get a file name relative to the current Web app.       Dim file As String = Server.MapPath("Program.exe")       Dim info As ProcessStartInfo = new ProcessStartInfo(file, "/arguments")       ''Redirect output... [More]

I just got Visual Studio 2005 Beta 1 (Whidbey)

I went to the MSDN Event in Milwaukee yesterday, and got the FREE DVD with Visual Studio 2005 Beta 1. This is just awesome, anyone attending the MSDN Events in August - September 2004 get this DVD. If you're not an MSDN subscriber, but want to get your hands on VS2005 Beta 1, just go to one of these MSDN Events. Hell, even if you are an MSDN subscriber, go to one of these events. Very informative.