Category: Random Coding
-
100 YouTube Subscribers!
Yay! So I’ve reach a small milestone of 100 YouTube subscribers! Besides the one or two friends that I have, most of them have discovered me either via the TopCoding video 1 or the RandomCoding Visual Studio snippets video. After creating another 4 TopCoding videos, neither seemed to have the reigning success of the first video.…
-
Facebook Unity – Keystore missing
So I just recently noticed that the Facebook team wrote a unity plugin to make your games easily integrate with Facebook! I’m super excited to get Conflicademia connected so off I went. Apparently, a while ago, I attempted this before and found an old Facebook assembly that I couldn’t get working. It also conflicted with…
-
It’s soooooo obvious!
While using the Newtonsoft Json.Net library I received the error “Explicitly define an Id for the type using a JsonObject/JsonArray attribute or automatically generate a type Id using the UndefinedSchemaIdHandling property.” When attempting to generate a schema for some types that were created that have circular references. My types were created in EntityFramework database first…
-
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…