Monthly Archive for May, 2008

Why I am a sucker

Ken Rockwell:

The Nikon D60 is a “sucker” camera sold mostly to people who are not professional photographers, but who are impressed by meaningless megapixels.

I guess I’m a sucker then, since I just bought a new Nikon D60. But Ken also writes:

The D60 is an excellent camera, but for most of the people who will buy it, it’s the same thing as the $300 less expensive D40. I’d suggest getting a D40 and putting the $300 towards more lenses and/or a bouncable flash.

Nikon D60The fact is that for me the difference would have been only about 70€, since I could get the D60 for £391 (about 490€) at the Gatwick duty free shop, where they do not have the D40, which I was only able to find in Italy for about 420€. I guess that with some research I could have found the D40 in London for a much better price, given the current, favorable EUR-GBP exchange rate, but I decided that the convenience of taking out my credit card and grabbing the D60 while on my way to the boarding gate was too good to miss.

The D60 is also quite a bit cheaper than the Canon 450D, which is a very nice camera too, but I wasn’t prepared to pony up the extra money.

In the end, I give you the permission to call me a sucker, but I’m pretty happy so far with my purchase, and this consideration very much trumps everything else.

Poll: Do you believe in God?

As this very scientific poll shows, half the residents of the Vatican are atheists? Who’d have thought?

Vatican-atheists.png

Via: PZ Myers.

Lazy Web: Atlassian Confluence Search API usage

This is for any Atlassian Confluence developers or contributors reading my blog. I am trying to develop a simple plugin and wanted to use the Confluence Search (v2) API but couln’t find much in the way of documentation or examples.

So I posted a question to the Confluence Forum but got no reply in three days :( . Should anyone be able to help me, the forum thread is here but I am also reposting here the text of the question:

I’m looking for examples and guidance in using the Search (v2) API in Confluence, specifically from a plugin.

I got hold of a SearchManager via Dependency Injection and obtained some results with code like the following

SearchQuery query = ...;
Search search = new Search(query, null, null);
SearchResults results = this.searchManager.search(search);

My problem is that I have no idea about which implementation of the SearchQuery interface to use and in particular how to specify a phrase to search for, since no subclass seems to provide for a way to set a query term.

Thanks in advance.

Please, help us grow!

sourcesense-logo.gifIt’s that time of the year again when we make plans for the growth of our company and we realize we need more people.

We’re looking for developers who would like to work for a small company with a strong orientation towards Open Source, as in wanting to actively participate in Open Source communities and give back as well as take. We like agility, focus, getting real. We like to communicate openly: Open Source is mostly about communicating with your peers, after all. We have strong international ties, so you could find yourself traveling a bit, mostly across Europe, but we can also offer telecommuting arrangements if you like working from home.

What we need mostly are young software developers who are well versed in the Java language and its platform. You will need to become familiar with one or more of the products of our partners. This means: Alfresco, Atlassian, JBoss, Terracotta, Hippo CMS and others. Ideally we’d like to have at least one product specialist for every one of those, helping customers implement solutions based upon them. Working towards this goal, we will define with you an appropriate learning path.

If you’re interested, send your resume (in text, HTML or PDF formats only; any other format will be rejected immediately) to recruitment@sourcesense.com. We’d love to hear your story.

Ouch

I think this goalie was a bit too vehement, don’t you think?

Goalie

What’s more amazing is that all he got was just a yellow card. What did he have to do in order to deserve a red card? Spit on the adversary’s grave?

For the record, this happened during the Hamburg vs. Werder Brema match in the Bundesliga. More shocking pictures here.

Being Your Own OpenID Provider

I tried twice today to set up a this domain as my OpenID, delegating first to Yahoo! then to my GMail account (using http://openid-provider.appspot.com/ which is almost there but not quite yet). Ended up setting up my own OpenID provider using phpMyID, which might be a bit rough at the edges but works as advertised.

I was only briefly stumped because for some reason, hashing my password using openssl did not give the same result as hashing it via PHP. Turns out I had forgotten to use ‘-n’ with ‘echo’ D’oh!

Somehow I was hoping this OpenID stuff would have been a bit easier…