Glutton LastFM
Two days ago I released my first Ruby gem. In coding parlance gems are software libraries created to enhance the Ruby programming language.
My gem is call glutton_lastfm. It’s a wrapper library for version 2.0 of the last.fm API. The source code and documentation is available on my github account.
This gem allows you to query last.fm for:
- artist information by name
- top albums by artist
- top tracks by artist
- top user-submitted tags by artist
- upcoming events by artist
- album information by name
For example, here’s a program that searches for tags and images related to Buck 65: artist_tags_and_images.rb
I wrote this library to:
- Learn the gem creation process. (Facilitated by the jeweler gem.)
- Better understand the mechanics of web-based APIs. (Facilitated by the httparty gem.)
- Brush up on my unit-testing skills. (Facilitated by the fakeweb gem.)
- Distance myself from years of return-code function creation in favour of exceptions.
I also wrote it as part of a larger data-mining project I’m working on. (Which reminds me that I’ve been meaning to write a post on datasets and the soon to explode dataset market.)
The glutton_lastfm source-code is released unlicensed into the public domain.
Nomic is a game in which changing the rules is a move. The Initial Set of rules does little more than regulate the rule-changing process.
Anthropologist David Graeber explores the 5000 year history of dept on the Long Now blog.
Hitler can’t get a Folk Fest campground pass.
Update: (2010-05-01) The above video was part of a video remixing meme based on the movie Der Untergang. Was it taken down by the film’s production company? Was it a fair use parody?
Old-school optimalism, which aims at pushing technological boundaries in order to fit in “as much beauty as possible”, versus new-school reductivism, which idealizes the low complexity itself as a source of beauty.
Tweets may soon include optional payloads of structured data. The purpose and usage of these annotations?
“Annotations are a blank slate that lend themselves to myriad divergent use cases. We want to provide open-ended utility for all the developers to innovate on top of.”
— Marcel Molina - Early look at Annotations
Possible Useful Annotations:
- The full URL of all shortened URLs that appear within a tweet.
- Longitude/latitude geo-locations when tweeting from GPS-enabled devices.
- Re-tweet history and/or attribution information.
- Multimedia URLs. Link a tweet to images, videos, and sound files.
- Multimedia data. The system should eventually support 2K payloads containing small images, sound clips, MIDI, etc.
- Microformats
Algorithmically generated Russian Dolls. (Open with a browser that supports html5 canvas, in other words, not Internet Explorer.)
See what your representatives are saying, and what laws they’re proposing.
Also, they provide a Hansards of the House API while in turn they make use of the How’d They Vote Postal Code API.
This is a pole covered in bubble gum. We visited friends in San Diego over the weekend. This is one of many photos of our trip.
Nature by Numbers - A short movie inspired by numbers, geometry and nature.
I recommend watching in high-def and full-screen via the above link.
See the theory page for more information on the math that inspired this video.
A search for meaning within a game within a game. This 20 minute film by David Kaplan and Eric Zimmerman gets meta faster than you can say eXistenZ. ;)
The principles of Christopher Alexander’s classic book on the use of patterns in architecture applied to the architecture of online social spaces.
Mr. Alexander’s ideas are also influential in the world of object-oriented programming.
If an activity can be learned;
if the player’s performance can be measured;
if the player can be rewarded or punished in a timely fashion;
then that activity can be turned into a game.
via: Lost Garden ✈ Ribbon Hero turns learning Office into a game
Pomplamoose VideoSongs have two rules:
- What you see is what you hear, and
- If you hear it, at some point you see it (no hidden sounds).
Some nice songs:
- Hail Mary
- Single Ladies (Put A Ring On It) - Beyonce
- My Favorite Things - Sound of Music
- If You Think You Need Some Lovin
[via]
Mobile Development
This weekend I’ll be exploring:
- PhoneGap - Cross-platform mobile app-dev using html / css / javascript.
- JQTouch - A mobile plugin for my fav Javascript framework, JQuery.
- iProcessing - The API from processing.js extended for mobile use.
- MobiOne - Windows mobile emulator for iPhone, Blackberry, Android and Pre.
Step one: Install Eclipse, PhoneGap and the Android SDK along with JQTouch, iProcessing and MobiOne.
Step two: Play around. Create a few sample apps.
Step Three: Tomorrow Andrew and I will deploy these apps to his Android phone.