Pages
Categories
Archives
Monthly Archives: December 2006
Tip for a forgetful software developer
Lately, when writing JUnit tests I’ve been doing things like: ... String result = some.method(); assertTrue("Expected " + expected + " but was " + result, result.equals(expected)); ... However, a similar result can be achieved with the semantically more accurate ... assertEquals(expected, result); ... This is even easier to type I did know this, honest!
Posted in Software, Work Leave a comment
The Lockdown: Locked, but not secure – Engadget
Just noticed this on Engadget. It’s a discussion about the security of doorlocks, it will need further investigation on my part. The Lockdown: Locked, but maybe secure (part 1) refers to the previous articles: The Lockdown: Locked, but not secure (Part I) – Engadget The Lockdown: Locked, but not secure (Part II) – Engadget
Posted in Personal, Security Leave a comment
Software Deployment info
These are some links for me to read, that may be of general use to anyone development Java software using Maven Java/JAR Adding Classes to the JAR File’s Classpath Maven: [#MPDIST-22] Use <dist.bundle> property of dependencies to include dependencies – jira.codehaus.org
Posted in Software, Technology Leave a comment
IRCSET – Embark Initiative – Grant Schemes