porges

Tag: Broken

Unicode as she is broke

Do you think your string-handling code is robust? Are there any problems with the following snippets?

NullPointerException

Why is this such an insidious error in Java? (An opinion piece!) A Comparison Firstly, I’ll show a short comparison between some Java code and some code from a language that doesn’t have NullPointerExceptions, but does have something that allows you to accomplish anything you might want to do with null pointers. This Java code: [...]

How to say nothing

Has no one told the people behind the Workflow Management Coalition that April Fool’s passed over two weeks ago? Intrigued at what I first thought was a joke, I downloaded one of the proudly-presented documents on the front page: Understanding the BPMN-XPDL-BPEL value chain. I chose it because of the three as-yet-unknown acronyms in the [...]

Easy, persistent, local DNS cache to reduce lookup times

Important Update! Don’t use this method any more! I have a much easier way to do it in a more recent post. But for posterity… First install resolvconf and pdnsd: sudo apt-get install pdnsd resolvconf. Resolvconf handles the messy interaction between different programs fighting over the /etc/resolv.conf file, and pdnsd provides a persistent DNS daemon, [...]