Last.fm Real-time Stats is going to be OSS, sometime…

I’ve decided that Last.fm Real-time stats is going to be open source software. It’s been in consideration for a long time now, but it’s final. And I’m ever more liking the idea. At first I was a bit scared of just giving away my hard work, but now I think it’s more than that. I think it’s key to showing what you really created. Just showing the interface doesn’t tell much about a project.

So today I was looking at some work half done:
Bad Function
Can you spot the mistake?
More is the spoiler.

The return($id[0]); should be return($id);. This probably sneaked in when I changed to use list in the line above, but since PHP string is actually an array of chars, $id[0] will just return the most significant digit of $id, like $id[0][0] had done if the line above had been $id = mysql_fetch_…

There’s still a lot of work to do. I can’t just release it. It’s not finished. It’s half way in development. Well I could just release it for sure, but I couldn’t live whit this. The project still needs a big change to it’s fundamentals. It’s still based on a flat database, because it started as a quick off spin from another project to create a dynamic forum signature. Only later I created multi-user by adding a user-id. Now it needs to become fully relational. Trackname has to become trackid and artist name needs to be artistid.

I hope to soon release it, but that’ll just depend on the time and effort on my side.

One Response to “Last.fm Real-time Stats is going to be OSS, sometime…”

  1. Tmuts Says:

    paul, heb dit allemaal nog nooit gezien! ziet er gaaf uit allemaal

Leave a Reply