July 2010
Monthly Archive
Monthly Archive
Posted by Sam on 15 Jul 2010 | Tagged as: Internets, Mozilla, Web development
So I released Ratebird 0.32 with the aforementioned überfix for the RYM site. Took a bit of noodling to get it to happen, but it turned out simpler was better and we got there in the end. Basically if you’re on an artist page when signed in to RYM, your ratings for that artist’s releases appear instead of the ‘rate’ text in the far right; the long-standing problem is that this doesn’t happen for split or various artist releases…until now. Hopefully the RYM guys won’t finally fix this in the immediate future, thus denying me my…er, glory?
I then noticed a typo in the install.rdf I uploaded so pushed 0.33 up with possibly the fastest Mozilla extension feature I’ve ever written – took me less than 40min to add a context menu option for library items that opens a new tab with a basic search of the album (or artist if the album tag is null) for that track. Works for multiple tracks and pseudoThreaded too, just in case. Will get back on to improving the core feature for 0.4, although it won’t be for at least a couple of weeks.
And finally, I looked at the CDN stuff again and it would appear the aforementioned Google App Engine doesn’t support PHP/MySQL – putting WordPress and this site right out of the equation. There has been some success in getting WordPress to work but it’s pretty damn fiddly and I’d probably just be better off paying for Amazon’s CDN. Will revisit at some point.
Ratebird can be found here.
Posted by Sam on 07 Jul 2010 | Tagged as: Internets, Mozilla
I finally pushed the work I’ve been sporadically doing on Ratebird over the last three months or so up to a.s.c (Songbird deserves an acronym for their addons site too).
Basically I wanted to properly sort out the preferences, and implement my greasemonkey script for RYM into the extension – which ended up being one hell of a lot simpler than I had imagined. It still took a couple of days of fiddling to fix the script up (the RYM site had changed, some things weren’t well implemented, and some things needed re-writing entirely), but the actual integration of script and extension took only a couple of hours, which totally took me by surprise. I think I can attribute this succes to a most useful wee tool, along with my recently enhanced knowledge of the way all these extension files fit together.
The next release should be just a few days away – Again on the user-scripting of the RYM site side of things, I’m implementing a fix for what I consider to be one of RYM’s most annoying bugs. After that, I’ll go back to the core functionality and see about getting my code for multiple matches hooked up. Oh, and some kind of UI telling you what’s going on, that would be nice.
You can get Ratebird from here. Requires Songbird, obviously.
Posted by Sam on 05 Jul 2010 | Tagged as: Internets, Life, Web development, Work
I passed my Zend PHP5 Certification exam today, which has been a long time coming; work and life always managed to get in the way of studying for and, crucially, booking the exam itself.
It was certainly more broad, less fiddly/fussy than the practice tests available on the Web, and thankfully with far fewer grammatical, spelling and, most annoyingly, syntactical errors. Whilst the flaws of the exam are obvious (it often favours testing recall of function syntax, specific behaviour, obscure use cases, etc. over real-world problems and coding skill or elegance of solutions), I found it a highly positive experience to really get into some of the dark corners of the PHP manual; I feel I came away with a heightened understanding of the language in general and learnt a lot about the more advanced (and interesting) new techniques available. Especially streams…that’s a funky set of functionality right there.
Maybe I’ll apply some of the techniques I learnt to this site, but first of all it needs a new design, which shouldn’t take too long now that I’ve found myself with a lot more ‘free’ time.