-
18Jun
2010 Converting an Expression to a compiled LambdaA quick guide on how to convert an expression to a compiled lambda.
-
29May
2010 A few things you might not know about System.NullableThere is plenty of information about Nullable<T> type out there and how to use it. There are, however a few tidbits that are not quite as obvious at first glance. Nullable is a value type It’s a struct that can be null. The only reason why int? intVal = null; compiles is because C# compiler [...]
-
20Feb
2010 Unit Tests As A Refactoring ToolSo I have this class that is a bit too fat and has no unit tests. It’s way overdue for a clean up. I thought I would investigate how to refactor with unit tests. Application The application in question is a fairly normal case of a business DSL where the domain rules are expressed in [...]
-
09Feb
2010 I Like Words – Or Introduction Into Functional Programming and F#.If you hoped to find some sort of functional programming introduction here you are sadly mistaken. This is MY introduction into such said programming. Or it is more like “I’ve read up on F#, my brain exploded and spilled out into this blog post”. I would like to start off by comparing programming languages to [...]
-
04Feb
2010 #iitrial Result – What’s Next?Now that iiNet has won a a landmark court case, what does that mean for the future of Internet users in Australia?
-
02Feb
2010 Double Dispatch – RTTI vs. Pure VtableAs Jeremy Clarkson would say, I have been inundated with a request to performance test a dynamic_cast DD mechanism against the pure vtable one. The results surprised me, both in Debug and Release modes. So here is the dynamic_cast implementation: void c_rtti::foobar(a_rtti & a2) { c_rtti* c_ = dynamic_cast<c_rtti*>(&a2); if (c_) { ::foobar(*this,*c_); return; } [...]
-
28Jan
2010 Adding schemaLocation attribute to XElement in LINQ to SQLI have spent a bit of time trying to figure out how to generate an XML document with all the XML namespace paraphernalia – including schema location. I got stuck trying to create the xmlns:xsi attribute – LINQ to XML kept creating a namespace alias for me and calling it p1 like so: <rootNode p1:xsi="http://www.w3.org/2001/XMLSchema-instance" [...]
-
18Jan
2010 Apple Tablet – Make the pain stopApple marketing machine has been working in overdrive by continually circulating tablet rumours. Everywhere you go (technology wise) you are bound to hear speculation on what the damn thing is. I can’t wait utill Jan 26 when they finally announce it so we can all be over it. This Week in Tech has a dedicated [...]
-
26Dec
2009 Thanks for the Chrissie present, iiNetThanks for the quota-free day, guys, I certainly watched a lot of youtube :))
-
16Dec
2009 I believe in three douchebagsEvery time our dear Senator Conroy makes an announcement it is met with much ridicule. It almost seems that he goes out of his way to seem as incompetent as possible. The whole internet filtering fiasco has been becoming more and more farcical over the past year. I wouldn’t have thought it could get more [...]