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
What I'm Doing...
- http://twitpic.com/182k5q - Thanks for the poker cards @alexcuesta Now we can estimate like the pros! 3 hrs ago
- RT @jamescarr: I prefer story level specifications that setup their own inputs versus relying on crap that's already in the DB 18 hrs ago
- @alexcuesta Sounds like #qcon was great! Are you staying for https://secure.trifork.com/london-2010/freeevent/register.m?eventOID=2346 19 hrs ago
- More updates...
