-
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 XML and [...]
-
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 spoken [...]
-
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_) { [...]
-
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" p1="http://www.foo.bar" [...]
-
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 half [...]
-
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 [...]
-
27Oct
2009 Dear AGL…This is an open letter to AGL marketing department. I post it on my blog because the online enquiry form does not take text over 1000 characters and my rant was well over 2000 characters. Also there is no contact email advertised anywhere, so this is the next best thing as far as I am [...]
-
22Oct
2009 AAAAAAaaaaarrrrgghh!!! Sensorship!!! OH noes…I posted some comments on an excellent article by Miranda Devine in SMH today. Find the article here. My comment got edited somewhat, which I don’t mind at all. After all, their website their rules, they can do whatever they want.
What I did find interesting was what exactly got changed and removed. Below is the [...]