Comments Off

Selenium Trick: Using a different DNS

By Robert | Filed in Java | Comments Off

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…)
Read the remainder of this entry »

Tags:
digg del.icio.us TRACK TOP

Maven – still giving me the shits

By Robert | Filed in Java | One comment

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.

digg del.icio.us TRACK TOP

OSGi Diaries – Creating A Bundle

By Robert | Filed in Java | 4 comments

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.
Read the remainder of this entry »

digg del.icio.us TRACK TOP

OSGi Diaries – A short series

By Robert | Filed in Java | 2 comments

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.
Read the remainder of this entry »

digg del.icio.us TRACK TOP

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.

digg del.icio.us TRACK TOP

Comments Off

Two weeks with Twitter…

By Robert | Filed in General | Comments Off

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”.
Read the remainder of this entry »

digg del.icio.us TRACK TOP

Comments Off

Software and Obama’s Victory

By Robert | Filed in Agile Development | Comments Off

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.

digg del.icio.us TRACK TOP

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.
Read the remainder of this entry »

digg del.icio.us TRACK TOP

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.
Read the remainder of this entry »

digg del.icio.us TRACK TOP

Hudson Plugin for Eclipse

By Robert | Filed in Java | One comment

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.

Read the remainder of this entry »

digg del.icio.us TRACK TOP