Archive for November, 2008
Mocking in Java with Mockito
A ran a session at the Auckland Java User Group on using Mockito. Slides are embedded below using slideshare:
As promised I’ve attached my slides and also included the example source files in a zip. To run the unit tests you will need JUnit 4.5 and Mockito 1.6.
Rockin’ Robin
Introducing Rockin’ Robin, a mashup between Last.fm and Twitter. Head over to http://robin.rapaul.com/ to check it out if you haven’t already.
The basic premise is that you enter your Last.fm username, Rockin’ Robin fetches your recently scrobbled tracks, then mashes them up with the latest tweets from Twitter. It’s an excellent way to see what the Twitter community thinks of your tracks and to find Twitter users who have similar musical tastes. Of course you don’t need to enter your own username, you can enter the username of any Last.fm user to mashup their latest tracks.
Below is a screenshot (click to enlarge) highlighting some of the mashup goodness. Electric Feel by MGMT is the recently played track, with tweets shown from different Twitter users. To view more details on the artist, track or Twitter user you can click through to Last.fm or Twitter using the links (orange text).
Rockin’ Robin is in its early stages of development, as such there are many things that should/could be done to make Rockin’ Robin more rockin’.
Some ideas include:
- Allow Twitter users to add there own tweets to the conversation from within Rockin’ Robin.
- Show more tweets for popular tracks.
- Tweak the Twitter API search to favour real user comments over radio station type tweets.
- Show shortcut links to your Last.fm friends to make mashing up their recent tracks a simple click away.
If you have any suggestions or comments please feel free to add them below.
Also stay tuned for a follow up post “The making of Rockin’ Robin” which will cover the technical side including: Accessing Twitter & Last.fm APIs, JSONP and Dojo Toolkit (query, behavior, script.io).
Search
Subscribe
Recent Posts
Tags
Archives
- Heading to #alancon in Dublin this weekend. Frames, marquee, font tags, oh my! 3 days ago
- List the dimensions of images in a directory with identify -format '%f %w %h\n' *.jpg Outputs: mypic.jpg 200 450 4 days ago
- .@rem on the cover of net magazine, should make for good plane reading http://twitpic.com/28j8u2 6 days ago
- More updates...
