-
April 27, 2011
Using IronJS 0.2 on Ubuntu 10.10 The new 0.2 code drop for IronJS has been available for a week or so now, and I just went through the process of installing the necessary tools for coding against it with Mono on Ubuntu so I thought I’d give it a quick writeup here. For starters, IronJS requires Mono 2.10, which is…
-
March 29, 2011
Refactoring, performance and programming languages I read a post on James Gosling’s blog today where he detailed an example of refactoring a bit of code to improve its performance. On first sight I didn’t agree with this as refactoring (seems more like a “de-factoring”), but according to the strict definition it counts as refactoring. Here is his example: for(....) {…
-
March 13, 2011
Embedding IronJS – Part II Over the past year or so I have been working on-and-off on a project called Node.NET in which I have experimented with embedding several different Javascript implementations within the .NET framework. Many different implementations exist including one integrated CLR implementation from Microsoft called JScript.NET. Although JScript is well integrated and allows us to write everything…
-
February 20, 2011
Consuming XML Web services in Backbone.js using Jath Update: This article is getting a lot of traffic lately so I want to draw attention to a discussion in the comments. Backbone no longer requires the patch that I have described below to work with XML. However the use of Jath to parse the results remains the same. Check out this…
-
February 19, 2011
Why aren’t there generic properties in C#? I ran across something interesting today about the C# generics language feature and its underlying CLR support. While maintaining a library of helper functions I thought it would be nice to be able to index into a collection of mixed-type properties and cast the result using a type specified by a generic type…
-
February 6, 2011
Introducing Batbelt bootstrapper for Windows Superheroes always have their bag of tricks, able to pluck just the right tool for the job out of their bag. Unfortunately, this requires some suspension of disbelief and in real life we can’t have everything at hand all of the time. However, in the digital realm, can’t we have our cake and eat it…
-
January 27, 2011
MockCrm for testing MS CRM code I’ve been debating whether to release some code I’ve been playing with for a while for unit testing Microsoft CRM projects. I had hacked something together back in CRM 4 to test a project that was slow and tricky to test manually against a real CRM installation. But there wasn’t good test coverage on…
-
January 11, 2011
Code reading: ASP.NET MVC I’ve been looking around for a good RESTful API framework for .NET to possibly implement an API design that I’ll be working on soon. One of the things I’m considering (other than WCF) is using ASP.NET MVC as a Web service. I’m not going to go through the whole MVC codebase here, but I was digging…
-
January 10, 2011
Using Haskell with Microsoft .NET I’ve been learning some Haskell recently since I ran into people at the Hacker Dojo who are putting on Haskell events . After running through the basic tutorials the first thing I like to do is to try to get it working with another platform that I already know well. I’ve done this with Ruby…
-
January 8, 2011
JS1k Xmas Edition post-mortem I submitted an entry for the JS1k Xmas competition but I never posted anything about it here. I was very busy at the end of the year but one night I was feeling exhausted with everything so I sat down and started hacking around with some ideas for a Javascript game. An hour later I had…