XStringBundle NS_ERROR_FAILURE

I got this error message on Firefox Error Console after adding fr-FR locale to BuildMonitor, which caused it to fail initialising the status bar feeds.

1="[Exception..." 2="Component" 3="returned" 4="failure" 5="code:" 6="0x80004005" 7="(NS_ERROR_FAILURE)" 8="[nsIStringBundle." 9="<div" id=":sd" 10="class="ArwC7c" 11="ckChnd">GetStringFromName" language="Error:"]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: XStringBundle :: getString :: line 17"  data: no] Source File: XStringBundle Line: 17</div>
Googling gave me some clues but still nothing obvious to solve the problem. At first I thought it has something to do with the non-ASCII characters, so I did a binary-replace on the property values, but still no luck. It’s only after I cat-ed the file then I noticed an empty space before the first property key. This empty space turned out to be a weird character that didn’t show up on Eclipse text editor, gedit, and vi.

Read more

Share Comments

BuildMonitor v0.9 - Usage Video

BuildMonitor v0.9 has been released, you can get it from the usual place.

The most useful improvement from this release is the ability to add new feed via right click menu of a link. Other improvements include the ability to remove the feed via status bar right click menu or from preferences menu. It’s also now possible to rearrange the order of the feeds via preferences menu.

I made a quick video (using recordMyDesktop) showing how easy it is to monitor Hudson feeds using the Firefox Add-on.

Read more

Share Comments

100+ Custom Emptiness

Five months since v0.1 was released, Emptiness Theme has been downloaded 5,867 times and given 4/5 stars average rating. Not bad. Even though it’s not as popular as other themes with fancy graphic design, I think Emptiness has its own target audience with it’s simplistic style.

I’m particularly happy to find (via Google search) more than 100 blogs using Emptiness Theme with customised header image and some with customised css. Check them out on my Picasa Web album.

Read more

Share Comments

BuildMonitor v0.8

BuildMonitor v0.8 is finally here, you can download it from Firefox Add-ons page. This release has a number of nice improvements…

Multiple feeds monitoring

Now you can monitor multiple Hudson instances by configuring their feeds in BuildMonitor preferences. All feed status icons will be displayed on the Firefox status bar, you can mouseover or click each icon to get the build details for the corresponding feed.

Feed status display

The way BuildMonitor uses the orbs to represent the health summary of the feed in v0.7 has been a source of confusion to the users. Many users thought that the orb indicates the latest build status, and not the overall health of the feed.

Read more

Share Comments

Multiple Feeds Monitoring

Patrick Struhs left a comment on Hudson Build Monitor page, suggesting “A nice feature would be to be able to monitor more than one server easily,” and that’s what I’ve been working on sporadically this week. I started with the statusbar panel, the goal is to keep the UI minimal but still provide enough information. I’ve also got the multiple feeds processing pretty much done.

This is how the statusbar panel looks like in 0.8-SNAPSHOT. I used Tango Icon Library to keep it consistent with Hudson. The above screenshot shows the status of six feeds, the first one is a Netbeans feed with a warning, the second and fourth ones show an error icon indicating a problem with the urls, the third one is a JBoss feed - currently downloading, the fifth one shows the no-build icon, and the last one shows that the feed is currently queued waiting to start the download.

Read more

Share Comments

Citysearch.com.au On Nintendo DS

This is my first attempt at using Opera on my Nintendo DS, recorded using Panasonic Lumix. The video was edited using Kino with sound effects from The Freesound Project. For the record, I did my best Indonesian accent, notice the ‘rrr’, the ‘sss’, and the ’d’ replacing the ’th’.

I had a go at browsing Citysearch.com.au to see how it looks like on a handheld device. I think the site is still quite usable, the default CSS works fine. Business Finder HTML chunk need to be moved further down so verticals content is served first. Spoiler: starting from 5:00, I was trying to figure out how to click a link using the stylus and it took too long after 2.5 minutes, so I stopped the video. If you got bored, fast forward to the end where I gave myself an applause. Spoiler 2: at around 2:40, my brother made a voice cameo appearance by asking for the bus timetable.

Read more

Share Comments

Kaptcha v2.3 And BuildMonitor v0.7

Jon released Kaptcha 2.3 which includes a patch I submitted about 2 months ago. This patch replaced imaging library with pixels. If you look closely at the new kaptcha image…

you will notice that the water effect (at the centre of the image) is now visible with pixels, whereas it wasn’t at all with imaging library in the original simplecaptcha implementation. I tested various settings of the water effect, and opted to minimise the effect so lowercase letters on a small font size are still easy on human eyes. Another change with 2.3 is the ripple effect on the characters. It’s not too obvious on the above image, but it’s more visible on uppercase letters with larger font size.

Read more

Share Comments

BuildMonitor Development Notes

Usage Scenario

When I first developed BuildMonitor, I thought that the typical users would be something like a team of 5-10 developers working on a project, and they would be located in the same building.

After v0.1 was released and feedback started coming in, I learned that some users want to monitor 10-20 projects on the same Hudson instance, there are projects with developers scattered across different time zones, and there was someone who asked for non-English translations since Hudson itself has been translated to 7 languages.

Read more

Share Comments

Shelfari Bug Report

I like Shelfari. I like it a lot that I even bother creating a bug report video.

In this video, I edited my profile, set my location to VIC, and saved it. Shelfari then displayed the correct location (VIC), but then I switched the screen to another page, and returned to the location details. This time Shelfari displayed just VI. I repeated it again with a different page and the same problem occured.

Read more

Share Comments

BuildMon v0.1 - Bringing Hudson Orbs To Firefox

Update: documentation and screenshots have been moved to Hudson wiki.

I’ve just released BuildMon Build Monitor v0.1, a Firefox Add-on that displays Hudson Build status on Firefox status bar panel. You can install it from https://addons.mozilla.org/en-US/firefox/addon/7522 .

This add-on is currently sandboxed (only registered users can click the ‘Add to Firefox’ button). It still needs at least a user review before I can nominate it for public access. So if you can help with a review, it will be highly appreciated. I’ve tested it on Firefox 2.0.14 and 3.0RC2 (Gran Paradiso), on Windows Vista and Ubuntu Gutsy Gibbon, against Hudson 1.211’s feed.

Read more

Share Comments