SyntaxHighlighter Build Test Page
Thoughts from a C# Developer

Archives / 2008

  • Preventing TinyMCE from stripping embed tags from rich media code.

    Friday, December 12, 2008
    For those who have never used the TinyMCE WYSIWYG pluggin, it's one of the industry's best kept secret; add this pluggin to your website, and you've got an instant Microsoft Word-like interface that supports pretty much all the different browsers and it's variations. Some of the things I've taken advantage of include creating custom toolbar buttons and leveraging their compressor paradigm to keep the scripts lightweight. Pretty neat indeed. Now with that said, I've come across one issue which wasn't very clear initially on how to solve, because it had long been a bug since it's predecessor versions; I was
    Filed under | 0 comments »
  • Remote Server Administrator Tools (RSAT) for Vista

    Monday, November 10, 2008
    I am moving to Vista. Reluctantly at first, but I've found this operating system to be quite feature rich and powerful; and so far I see no reason why to uninstall it (6 weeks and counting). It was probably the exposure to the volume of apple commercials that convinced me that Microsoft and Vista were the plague -- and as a developer I should do everything to avoid it. With that said, I've dev'd primarily on my XP instance in the past, and one of the tools that I need on occasion is the handy remote desktops application available only in
    Filed under | 0 comments »
  • Initialization failure: WMI provider and SQL Server 2005

    Sunday, November 09, 2008
    Ever open up the SQL Server Configuration Manager and receive this message? I have; and an initial google search bring up a bevy of solutions. Unfortunately, the first several offerings did not solve my problem -- which prompted me to dig a little deeper. Apparently, I had corrupted my WMI repository somewhere along the line; and after some reading, the WMI can be corrupted after multiple restores of a database... which I'm definitely guilty of. So the solution? rebuild the WMI. Piece of cake, right? Luckily, I stumbled across this blog link which detail these instructions (which can be batched
    Filed under | 0 comments »
  • AssertExtraSocks()

    Friday, November 07, 2008
    A word of advice to anyone traveling for more than a day -- pack extra socks. I made above the mistake and walked out of my house with just the one pair on my feet. The Microsoft PDC conference was slated for 4 days; and lets just say by the third day -- my feet were pretty smelly. It also didn't help that I stayed in the ghetto with no Target, Foot Locker or anything else in sight; I had to block out an hour on day 3 to find something quickly. 3 Day old pair:   New Socks:
    Filed under | 0 comments »
  • My Motel in the Ghetto

    Thursday, November 06, 2008
    We made plans for our Microsoft Convention a little too late, so we ended up staying a 50 dollar a night motel in the Ghetto. Think of "My Name is Earl"  when you see these photos. Even the locals are nice and friendly!
    Filed under | 0 comments »
  • Fallout 3 Rocks

    Thursday, November 06, 2008
    So I've been playing Fallout 3 on the PS3 recently and it kicks some serious ass. Some of the best things about the game? Intense close-combat fighting scenarios, body dismemberment, fluid graphics and excellent gameplay. Fallout 3 is an RPG/first person shooter hybrid which uses the Oblivion engine as its base. Where they differ is the combat systems, however the RPG/gameplay experience is just as rich. The game takes place in a post-apocalyptic setting in the late 22nd century, though its story and artwork are heavily influenced by the post-World War II nuclear paranoia of the 1950s. It was originally
    Filed under | 0 comments »
  • Dynamic Typing in C# 4.0

    Monday, October 27, 2008
    I'm here at PDC 08 and attended a great session by Anders Hejlsberg for some of the things coming down the pipe for C# 4.0. One of the more exciting offerings is the idea of resolving names in your code at runtime instead of compile time via dynamic lookup. There is a new static Type called dynamic which it's usage pattern is such: dynamic calc = new Calculator (); int sum = calc.Add(10, 20); In addition, it can be used in as a argument modifier for methods: void RunCalculator(dynamic calc, int num1, int num2) { calc.Add(num1, num2); } This is
    Filed under | 0 comments »