Category: Random Coding

  • Javascript is Evil – Curly brace indentation

    So I’m building a little DurandalJS SPA (single page app) test site tonight and while building the view model I do what I’ve typically done in the past when I run into Java curly brace convention, which is to plop that sucker down to the next line a la default VS C# convention. Little did…

  • Wix Windows Service – Start on install

    So I was building a wix setup project for a windows service and kept running into a wall while getting the service to start after a successful install. It kept giving me an error “Verify that you have sufficient privileges to start system services”. I searched through nearly 50 articles that led me on a…

  • Random Coding 3 didn’t happen… yet!

    Well, I was diligently playing with Nuget packaging and hoping to make a video where I create a Nuget package that hosts the VSIX that I created in random coding two. However, it seems as though Nuget doesn’t support installing a VSIX, item templates or project templates. I then sat back and thought “Unpossibleh!!!” I’m…

  • Confuzzled…

    So I was preparing materials for my “Random Coding 3” video episode and this time the subject was relating to Conflicademia in regards to the loading performance of Android and how to optimize your build in Unity so that the game has reasonable loading performance. However, as I was prepping my material and generating the relevant…

  • Random coding 2

    So I finally got around to finish the second video in the random coding series. I decided to change up how I recorded it, breaking it into multiple chunks and blending them together with Sony Vegas. Apparently FFSplit, by default record to mp4 which vegas had a hard time working with. Fortunately, I Was playing…

  • WPF notify helper – C# 5.0

    So after looking at the documentation on what’s new in C# 5.0, I read about the feature that you can get a function’s caller information that looks like the following. public void DoProcessing() { TraceMessage(“Something happened.”); } public void TraceMessage(string message, [CallerMemberName] string memberName = “”, [CallerFilePath] string sourceFilePath = “”, [CallerLineNumber] int sourceLineNumber =…

  • Enterprise Library Logger

    After a monumental hiatus, I will provide this nerdy snippet and an update on my life. Sadly, after writing a bit of code for my logging toolkit, I’m going to modify it from using Enterprise Library to Log4Net. Apparently there was some change in Enterprise Library 4.0 that does not make it directly backwards compatible…

  • Systems updating like whoa!

    Well, Vista Service Pack 1 is finally available for machines that have installed the Korean language pack and Ubuntu has just informed me that it wanted to update a whopping 115 packages. So I’ll let those occur as I drift off to la-la land. It’s 85 degrees right now in NY and it’s night time.…

  • Our Nation’s Capital

    Well to begin with, I’m writing this on a Mac. I’ve switched my blogs over to blogger.com and I stepped outside of NYC this weekend to visit our nation’s capital, Washington DC. I’ll go into some of the technical differences that I’ve experienced from working with the OS X, Windows, Unix and Linux environment. However,…