WARNING! This post contains a spoiler for Problem #10 listed at Project Euler. Do not read the rest of this post if you’re planning to attempt to solve the problem yourself.
Archive for July, 2008
Unit Tests: Boldly Crossing Boundaries and Gently Breaking Rules
For the first time ever, OJ’s rants has a guest blogger! Long term friend and highly-respected geek, RobG has put together an interesting piece on something that’s close to the hearts of most Geeks - Unit testing. This is his first post, and I hope it won’t be the last.
Without further ado, here’s Rob!
A Better ‘nub’
During my Haskell travels I have found myself using the nub function quite regularly. For those too lazy to click the link: nub removes duplicates from a list of items. eg:
Prelude> nub [1,1,3,3,5,5,6,6,6,1]
[1,3,5,6]
Fairly simple stuff. Until recently I hadn’t bothered pondering the internal implementation of this function because I hadn’t really been too worried about [...]
Project Euler #9
WARNING! This post contains a spoiler for Problem #9 listed at Project Euler. Do not read the rest of this post if you’re planning to attempt to solve the problem yourself.
Another Quick Coding Challenge
I was about to head to bed when I stumbled across another interesting coding challenge. Since I had another half hour or so to kill I thought I’d give it a shot!
Project Euler #8
WARNING! This post contains a spoiler for Problem #8 listed at Project Euler. Do not read the rest of this post if you’re planning to attempt to solve the problem yourself.
Validating use of Parenthesis
Yet another programming challenge appeared on dev102 the other day, and I thought that this time I’d post my solution here in the blog rather than letting it get lost in the depths of the comment thread!
.NET-fu: Signing an Unsigned Assembly (without Delay Signing)
The code-base that I am currently working with consists of a large set of binaries that are all signed. The savvy .NET devs out there will know that any assembly that’s used/referenced by a signed assembly must also be signed.
This is an issue when dealing with third-party libraries that are not signed. Sometimes you’ll be [...]










