Posts from 2009

12 posts

Beyonc□, or How We Can All Learn From Other Developers' Character Encoding Mistakes

I’m sure everyone who reads this blog has noticed, at some point, the result of another developer’s mistake in dealing with Unicode or other character encodings. I’ve had a few issues myself. To the left, you can see how my Napster displayed a Beyoncé song as Beyonc□. You may have seen a black diamond symbol…

Continue reading Beyonc□, or How We Can All Learn From Other Developers' Character Encoding Mistakes

Hacked by Chinese

On our main product, in a branch on which I’m working on a Point of Sale product, something happened in the process of checking files into source control. In our case, we’re using Team Foundation Server. My guess is that the corruption happened on my hard drive for who knows what reason, but this is…

Continue reading Hacked by Chinese

Using Reflection to Dynamically Generate ToString() Output

Update: Added code to show “null” when a property is null, like Visual Studio does. If you’ve ever used Visual Studio in any iteration in any language, you have most likely used the immediate window. It’s insanely useful and lets you just type an instance of an object and if the object doesn’t have an…

Continue reading Using Reflection to Dynamically Generate ToString() Output

Buy My House!

My house is finally listed and on the market (as MLS #: N114783)! It’s been repainted, the yard has been mowed, and Amanda and I worked really hard to get the house ready to sell by cleaning everything inside. I am using Robin Ramsey of the Chris Hayes Team to sell the house, and so far I’m very satisfied with their work. This is a very important piece of my continuing quest to get out of Shreveport and move to Dallas. You have to search to see the listing on the Chris Hayes Team site, so I’ve linked to the data for the house on realtor.com. However, the pictures and captions Robin posted are linkable through their site. Here are the pictures and descriptions Robin wrote: Exterior Front: Character Galore! Privacy wall in the front that adds protection from the setting sun in the evenings. Nicely manicured yard and landscaping. This home sits on a very quiet street with unbelievable neighbors. There are more pictures and descriptions after the jump.

Continue reading Buy My House!

Strong Name an Assembly Without Source Code

Because I program in the 1970’s, part of what I do is programming against modems and serial ports. Specifically, we send medical claims over modem to adjudicators, in the event of unavailable internet access. As a customer, you’ll appreciate having your pharmacy delay you for 20 seconds rather than saying “Sorry; you can’t have your…

Continue reading Strong Name an Assembly Without Source Code

How Insensitive

Update: Added section at the bottom detailing what not to do. As part of the updater process that I wrote for a current project, a “boot strapper” program queries the database for available versions, and if there is a newer version available, it deletes the current program folder, replaces those files with the new files…

Continue reading How Insensitive

Happy 123456789 Day!

Happy 123456789 day! It just passed 12:34:56 7/8/9 right now in the United States (central time zone)! Hooray for arbitrary dates, but at least that one won’t happen like that for a while. For our friends almost everywhere else in the world, you have August 7th to look forward to for your 123456789 day.

Continue reading Happy 123456789 Day!

A Day Late and a Property Declaration Short

I know this is a bit late to the game, but this morning, as I’m refactoring a bunch of old code to be shared with a new project, I’m cleaning up the C# 2.0 property declarations we all know and love: public class SaleResponse: Response { protected bool _addressVerificationSuccess; public virtual bool AddressVerificationSuccess { [DebuggerStepThrough]…

Continue reading A Day Late and a Property Declaration Short

Out of Memory Exception While Attempting to Do SQL CLR

Update: We figured out how to make it work with the help of our DBA and Jonathan Kehayias (see comments). We increased SQL Server’s MEM_TO_LEAVE property, by adjusting the –g command line switch for the service, to 448MB. This increase of the shared memory pool gave SQL Server enough breathing room for its worker threads…

Continue reading Out of Memory Exception While Attempting to Do SQL CLR