Chris Pietschmann

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

NAVIGATION - SEARCH

Things I learned about Software WHILE NOT in College

This is a reply to Scott Hanselman's post "Three Things I Learned About Software WHILE NOT in College", except I'm not listing three things I learned IN College because it didn't happen (yet anyway). Things I Learned about Software While Not in College If it works, don't monkey with it. You'll just break it and then have to rewrite it Even though your main job is programming, you still have to deal with people. You may even have to deal with clients too. There are times when purchasing a c... [More]

Add iPhone style flicking support using JavaScript

I've been testing some of my code lately in Firefox 3.0 and along with all the iPhone hype, I thought I'd write up some simple JavaScript code that allows me to enable iPhone style flicking support within my own apps. Go check it out, it's actually pretty neat! And, it's entirely HTML and JavaScript code. It currently only works in Safari 3.0, Internet Explorer 7 and the Apple iPhone. Well, hopefully the iPhone, I don't have one to test it on. View Sample and/or Download Code

.NET 3.5: How to Convert from one TimeZone to another

The ability to convert directly from one timezone to another is coming (finally!) in .NET 3.5 via the addition of the System.TimeZoneInfo object. Example C# Code:DateTime oldTime = new DateTime(2007, 6, 23, 10, 0, 0);TimeZoneInfo timeZone1 = TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time");TimeZoneInfo timeZone2 = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");DateTime newTime = TimeZoneInfo.ConvertTime(oldTime, timeZone1, timeZone2);

Email/Website Outage - 06/22/2007

Good News: The website, Pietschsoft.com, seems to be back up. Bad News: Email still seems to be down. Here's the deal: My hosting provider, http://discountasp.net, got hit with a DDOS attack and consiquently my email and website were virtually completely down yesterday and today. Yesterday it was spotty, and today totally down. The outage was so bad it brought down their entire data center, including the http://discountasp.net website. Be Aware: If you emailed me from Thursday morning until ?... [More]

ASP.NET AJAX: Use "custom" objects as Extender Control Properties

I’ve been working with the ASP.NET AJAX Extensions a lot lately, and have been learning a few trick on how to get stuff done. One of the things I’ve learned is how to create a Generic TypeConverter for ASP.NET Ajax to use when serializing my server-side objects to JSON when passing them down to the client-side. Introduction When creating an ASP.NET Extender Control (using ASP.NET AJAX and the AJAX Toolkit) you can add custom properties to your Extender (using the ExtenderCont... [More]