Author Archive

Selenium Trick: Using a different DNS

Thursday, July 15th, 2010

I love Selenium. It’s a great tool, that does a damn fine job. But one thing I’ve been wanting to do for a while is to get it to use a different DNS server to the box it’s running on.

Here’s how you do it:

java -Dsun.net.spi.nameservice.provider.1=dns,sun -Dsun.net.spi.nameservice.nameservers= -jar selenium-server.jar

(Caveat: may not work on non-Sun JVMs. Does work on OSX, though…)
(more…)

Tags:

Maven – still giving me the shits

Friday, February 26th, 2010

Some months ago, I wrote about how the Maven Eclipse Plugin 2.7 release didn’t fix a bug introduced in 2.6

Well, neither does the newly released 2.8 version.

Guys, I know you didn’t hear me earlier, but for pity’s sake – DO NOT RELEASE SOFTWARE while you still have critical bugs open. If you don’t want to fix the bugs, edit the issue so it’s no longer bloody marked as critical.

Tags: , , ,

OSGi Diaries – Creating A Bundle

Tuesday, September 22nd, 2009

In the first installment, I outlined a simple web application. In this post, I will be turning that application into two parts – an OSGi bundle, with a client web app.
(more…)

Tags:

OSGi Diaries – A short series

Monday, September 21st, 2009

I’m going to be spending some time over the next couple of weeks learning about OSGi – there is an application at work that we want to try and make more modular. In particular, we’d like to be able to share the back tier with more front end clients. The more conventional modularisation techniques, such as EJBs, have been tried and didn’t work fairly well. Simply creating more deployments is prohibitive, due to hardward And before someone asks “why not just stick a web service on it and share that way” – some of the front end clients will be those web services. To cut a long story short, one of the options we want to check out is OSGi.

The only problem is that there isn’t much in the way written up on the web about writing OSGi components – at least not without invoking magic tools (e.g. Maven plugins) that don’t work on any version of any tool developed six months later. Which is odd, because OSGi, as a spec, doesn’t look that hard to write too. So, I thought I’d write up a series describing the initial investigative spikes, starting as close to the metal as possible and working up.
(more…)

Tags:

Why positive thinking works – in my opinion, anyway.

Wednesday, September 9th, 2009

I saw an an article on Seth Godin’s blog about positive thinking. Godin makes the valid point that people who think positively tend to succeed more, in part because their confidence means they don’t second-guess themselves. You can easily waste a lot of energy debating what to do.

A point that Seth didn’t cover is that positive thinking means it’s more likely you will attempt something new: if you feel you can accomplish a task, you’re more likely to try. Sometimes, when you try something new, you will succeed. Other times you will fail. When you fail, there’s a chance you will learn – and learning makes it easier to succeed next time.

One of the key take aways of agile development for me is “experiment, and fail early”. Fail early, fail often, fail cheaply. And learn every time.

Two weeks with Twitter…

Monday, August 17th, 2009

A little over two weeks ago, I succumbed and decided to see exactly what the deal with twitter was. It just didn’t seem like a wonderful tool – SMS for the web? Really? But, in the spirit of inquiry, I thought I’d give it ago. Now, a bit over two weeks later, I can say “I’m glad”.
(more…)

Software and Obama’s Victory

Friday, July 31st, 2009

from Martin Fowler: Software and Obama’s Victory. I like the last org model shown; it would be very interesting to work in a company structured in such a fashion, with middle management acting as guides & facilitators, instead of intermediates, filters and superiors.

Tags: , , ,

Warning: get off housing gravy train – ABC News (Australian Broadcasting Corporation)

Thursday, July 30th, 2009

There’s an opinion page on the ABC News page about the increasing rise in house prices (and the subsequent fall in housing affordability). The solution presented: build more housing (not necessarily houses – apartments are okay too), thus increasing the supply. Unfortunately, that won’t help.
(more…)

Tags: , ,

Wage growth does not automatically equate to inflationary pressure…

Tuesday, July 28th, 2009

One of my coworkers tossed out this line today: “We can’t just increase the minimum wage, because that would cause inflation”. I said at the time that didn’t have to be the case, and I just thought I’d capture my reasoning in writing.
(more…)

Tags: , ,

Hudson Plugin for Eclipse

Wednesday, July 8th, 2009

Lusting over the Atlassian Connector’s support for Bamboo made me decide to check out what support there was for Hudson in Eclipse. So I checked out the Hudson Eclipse Plugin. My thoughts: not bad, but not great – a lot of potential is there, though.

(more…)

Tags: ,