Monday, February 4. 2008A Weekend's WorkThis unintentionally turned up on the Amarok blog, so apologies for that. The original post is here. I warn you, this post is not one of my best. Nonetheless I have written it — I just wanted to document what I did this weekend. I just finished importing the emails I sent when I went travelling, eighteen years of age, into WordPress. The trip is an interesting read. Certainly the first few are pretentious and make me cringe, but you can really see me grow up during the 72 days I was away. Especially when I get to Thailand and have to make it on my own. I wrote the script to turn the HTML static page I had into an RSS feed to import into Wordpress using Ruby. That was a surprising pain in the arse. I kept slipping up due to not knowing the syntax quite right, or not understanding nuances of the weak typing and type conversion. Still it’s a language which feels promising. I need to do read some better reference code. The documentation on Ruby out there is rubbish. Suggestions welcome. I was going to fix my activity-feed/life-feed thing. Especially since Steve at work is getting me all excited about DataPortability and Microformats and that. But I will have to rewrite chunks since for some reason my server no longer has the PHP SimpleXml module compiled in. Looking through my epic eight years of blog entries I realise I must spend a whole weekend at some point just categorising and tagging it correctly. Categories are tough. I don’t like my current set. Work is easy enough to classify. But Detritus? Life? Should Life be about me or about Life-issues like philosophy? I feel the latter. I may make a category called Me. Boring crap like this can then be neatly avoided by those who wish it I have to say, classification and naming is a tough problem that I absolutely love to get right, but I find it as hard as the next person. Tagging is easy but I want to be consistent with my tags. That’s the hell of web2.0 init? Tagging well. Tagging consistently. Mass tag editing is conveniently lacking too so you can’t easily change your mind later about naming decisions. Also I find myself tagging posts eg. Amarok, but not categorising them as such. I’m using the two systems separately. The category is only Amarok if the whole post is about Amarok. But if it mentions Amarok, I tag it as such. I checked up on my site backup solution. I have a cronjob running which does a backup everyday at 1:03am server time. On the last day of each month it makes a monthly backup. I created this system about six months ago after catastrophic data loss (MacFuse at fault grr!) But I’m not backing up my database. Which means I could lose all my blog entries. I don’t want to put my password in plaintext in the backup script though. Which made me wish we could do push notification across the Internet already. My backup script should be able to stick a dialog in my face once a week asking for the db password even though it’s on a completely different computer. Isn’t this just an extension of D-Bus? I cleaned up my ClaimID somewhat. I also fixed the MicroID I was broadcasting on my blog to get the verified sticker at ClaimID. I cleaned up MyPlaxo even though I hardly use it. I feel Plaxo has some interesting possibilities in the future. That being cross site and application syncing. I think they actually will allow me to sync iCal with Facebook and Last.fm events within a few months. That is pretty awesome. I also made my site OpenID 2.0 compliant, even sending the XRDS header. Although MyOpenID do all the actual authentication work. I added a Pavatar too. Which made me want to pick a new avatar image. I host my avatar at methylblue.com/avatar/, and more and more sites nowadays allow you to specify a URL rather than upload an image as your site avatar. Off the top of my head, ClaimID do and so do Blogger. Also a bunch of other sites nowdays allow you to use your Flickr avatar image, which is almost as good. At least it’s easy to change it in one place and reflect that change across your online presence. And speaking of Blogger, they now let you login with an OpenID. Which is both fabulous and interesting. Does this mean Google will be rolling out OpenID authentication across their whole suite? I can only hope so. I did most of this due to interest in what Steve is doing at mokele.co.uk. He’s combining a lot of new web technologies and making a system he calls OpenFriend. He was calling it OpenRelationship, but I think he wanted to be taken more seriously I also edited this post enough times to realise I want inline editing for WordPress. Does that exist yet? Tuesday, August 14. 2007Adapting Wocka for OSXI will prolly adapt Wocka for OSX. Installwatch, should work on OSX. I’ve already almost compiled it. It requires itself to be loaded as a library before other libraries, and it then displaces all applicable file system functions with its own so it can write the install log. It’s clever This is possible on OSX with some env variable, on Linux it’s LD_PRELOAD. If that doesn’t work though, I’ll compile my own version of make that has installwatch built in. Although this isn’t as handy since you are then restricted to installations that use make. OSX packages either install via dmg and thus are self contained directories, or use the NeXT packaging format. This format writes installation logs to /Library/Receipts. This system is awesome an very unix, and further reason I love OSX. So all wocka has to do is create a receipt for installations. No need to port pacman to OSX, or use the Fink APT db which I was considering. I always wanted wocka for debian too. But don’t use it enough. So I’ll make wocka flexible so other people could do that if they choose. Tuesday, April 17. 2007Teh Life FeedI wrote a life-feed implementation, based on the idea by Jeremy Keith. It’s here, and the source is here. It needs databasing, as for instance, the recent music feed from Last.fm is just 10 tracks, which is usually about 40 minutes. And I want at least a week’s music history. Also the feeds are downloaded in background php processes, and thus the page the user gets is usually old. So some ajax magic to update the page would be good. It’s all completely free, so take it modify it, and send me patches if you do good stuff. Subscribe to the projects category for updates. Tuesday, April 17. 2007Teh Life FeedI wrote a life-feed implementation, based on the idea by Jeremy Keith. It’s here, and the source is here. It needs databasing, as for instance, the recent music feed from Last.fm is just 10 tracks, which is usually about 40 minutes. And I want at least a week’s music history. Also the feeds are downloaded in background php processes, and thus the page the user gets is usually old. So some ajax magic to update the page would be good. It’s all completely free, so take it modify it, and send me patches if you do good stuff. Subscribe to the projects category for updates. Comments here please. Saturday, March 17. 2007Site MakeoverYay! Makeover! I gave it thought every so often over the last few months, and then finished it all up today. I’m rather pleased too that I managed to wrap my site around wordpress quite easily too. As I don’t run wordpress everywhere, just here in /blog/. I may publish how I did that at some point. It’s not too hard. But you need to do some magic. Anyway I am quite pleased with the new look. It’s about the 5th time I’ve changed the appearance now. And I have no screenshots of the old styles, which is a pity. My test will be, do I still like it in the morning? If I do, then I can relax and move onto another project. Interestingly, it looks worst in Firefox, and best in Opera, followed by Konqueror, although there isn’t much in it. And finally, yes, I know it’s not methylorange.com, but that’s just how it worked out.. shrug Saturday, March 17. 2007Site MakeoverYay! Makeover! I gave it thought every so often over the last few months, and then finished it all up today. I’m rather pleased too that I managed to wrap my site around wordpress quite easily too. As I don’t run wordpress everywhere, just here in /blog/. I may publish how I did that at some point. It’s not too hard. But you need to do some magic. Anyway I am quite pleased with the new look. It’s about the 5th time I’ve changed the appearance now. And I have no screenshots of the old styles, which is a pity. My test will be, do I still like it in the morning? If I do, then I can relax and move onto another project. Interestingly, it looks worst in Firefox, and best in Opera, followed by Konqueror, although there isn’t much in it. And finally, yes, I know it’s not methylorange.com, but that’s just how it worked out.. shrug Wednesday, February 21. 20076 Reasons You Will Love OpenIDHere are six reasons OpenID is great that other sites haven’t seemingly mentioned:
People seem a little scared of OpenID, but I’ve been using it for a few months and I find it to be absolutely a step forward in how I use the Internet. I’m having more fun now with OpenID as I can sign up for fun little services with no qualms about registration or what data I’m handing over. If you want a quick and easy OpenID, try FreeYourID.com, you get an ID of the form firstname.lastname.name, it’s free, no credit-card details are taken, and you can start using it straight away. I already registered http://max.howell.name, so bad luck if you wanted to annoy me Fun OpenID-enabled sites to try: http://jyte.com None of these sites require anything other than authentication, so they are fun and hassle free. Wednesday, February 21. 20076 Reasons You Will Love OpenIDHere are six reasons OpenID is great that other sites haven’t seemingly mentioned:
People seem a little scared of OpenID, but I’ve been using it for a few months and I find it to be absolutely a step forward in how I use the Internet. I’m having more fun now with OpenID as I can sign up for fun little services with no qualms about registration or what data I’m handing over. If you want a quick and easy OpenID, try FreeYourID.com, you get an ID of the form firstname.lastname.name, it’s free, no credit-card details are taken, and you can start using it straight away. I already registered http://max.howell.name, so bad luck if you wanted to annoy me Fun OpenID-enabled sites to try: http://jyte.com None of these sites require anything other than authentication, so they are fun and hassle free. Comments here pls! Saturday, February 17. 2007Wocka 0.5 ReleasedI have released a new version of Wocka. I rewrote it in D. I thought I’d love D and I do. And I’m sure I’ve written better less buggy code with it. Fortunately it introduces no new dependencies, and I lose the Qt dependency that was fairly unpopular. I fixed the bugs, made it more robust, and added –set-version, –set-name, and some other things like package revision incrementation when you –upgrade. Monday, December 4. 2006A Job at Last FMWell I’m really pleased From January I can work at Last FM, and they’ll pay me too! How sweet is that? Monday, December 4. 2006A Job at Last.fmWell I’m really pleased From January I can work at Last.fm, and they’ll pay me too! How sweet is that? Friday, October 6. 2006Simple WordPress Captcha PluginI got fed up clearing out the moderation queue every day, so I adapted one of the botcheck plugins for WordPress to be much simpler in terms of code size, because that was a fun project, and I had time to spare. It asks, “Are you a spam-bot?”, and the user has to type ‘no’. I think this is both amusing and capable, although very easy to bypass, but I’d be interested to see if any bot authors bother. To install:
Friday, October 6. 2006Simple WordPress Captcha PluginI got fed up clearing out the moderation queue every day, so I adapted one of the botcheck plugins for WordPress to be much simpler in terms of code size, because that was a fun project, and I had time to spare. It asks, “Are you a spam-bot?”, and the user has to type ‘no’. I think this is both amusing and capable, although very easy to bypass, but I’d be interested to see if any bot authors bother. To install:
Monday, August 21. 2006Inconsistent GUIs on LinuxIt’s a commonly repeated opinion, that on Linux all application GUIs look different, but on Windows all/most applications feel like Windows applications. Now obviously people mean the difference between, for instance, KDE and Gnome apps, and they mostly also refer to even more horrible toolkits like whatever it is that xine-ui uses. But if you actually looked closely at Windows applications, you’d notice that every major MS application uses different toolkits and “skins”, and so do all the other applications from other companies. In fact Win32 only offers a few basic controls, namely:
The menus that win32 offers are so basic that nobody uses them, they implement their own so they can add things like icons, and menu-separators. In my opinion, the reasons that Windows applications are consistent are:
Absolutely the number one reason is fonts. Windows offers a default font that GUI controls like menus, buttons and text widgets use. Apparently, the API for drawing text is different on Windows compared to X11 in that it developers end up using the right font when they roll their own widgets. On Windows, all text looks consistent. Colours are almost as important. On Windows the colorscheme is a globally accesible property, on Linux schemes are toolkit/desktop specific. If toolkits just used the same colours, people wouldn’t notice small, or even larger differences in the widget styling. So in conclusion, if Linux just standardised fonts and colors I think applications would feel consistent, just like they do on Windows. If toolkits did just these two things, their other differences would not be nearly as noticeable in general use. Frankly I feel if Linux could do these things, we’d be more consistent, since if you use mostly KDE apps, they have far more internal consistency than the Microsoft port-folio. Disclaimers It is also true that Windows appliations copy whatever is the latest MS-app appearance. MS Office 2003 has a neat style that has rapidly been copied and emulated in all other major toolkits, ie check out the latest version of Delphi, it looks similar to Office 2003, but the similarity is subtely different, eg. menus are narrower and more compact. And this makes sense since MS didn’t release any API or DLL to allow you to use the Office 2003 style, so Borland implemented their own clone. Trolltech even claimed to considering emulating it when I attended their roadshow in Cambridge. My point in this paragraph is that Windows apps emulate a general “Windows” consensus that is defined by MS, so this helps somewhat. And yes, I’m just ranting an opinion here, maybe someone who reads this would like to do something about it, as I’m not the man for that job. Monday, August 21. 2006Inconsistent GUIs on LinuxIt’s a commonly repeated opinion, that on Linux all application GUIs look different, but on Windows all/most applications feel like Windows applications. Now obviously people mean the difference between, for instance, KDE and Gnome apps, and they mostly also refer to even more horrible toolkits like whatever it is that xine-ui uses. But if you actually looked closely at Windows applications, you’d notice that every major MS application uses different toolkits and “skins”, and so do all the other applications from other companies. In fact Win32 only offers a few basic controls, namely:
The menus that win32 offers are so basic that nobody uses them, they implement their own so they can add things like icons, and menu-separators. In my opinion, the reasons that Windows applications are consistent are:
Absolutely the number one reason is fonts. Windows offers a default font that GUI controls like menus, buttons and text widgets use. Apparently, the API for drawing text is different on Windows compared to X11 in that it developers end up using the right font when they roll their own widgets. On Windows, all text looks consistent. Colours are almost as important. On Windows the colorscheme is a globally accesible property, on Linux schemes are toolkit/desktop specific. If toolkits just used the same colours, people wouldn’t notice small, or even larger differences in the widget styling. So in conclusion, if Linux just standardised fonts and colors I think applications would feel consistent, just like they do on Windows. If toolkits did just these two things, their other differences would not be nearly as noticeable in general use. Frankly I feel if Linux could do these things, we’d be more consistent, since if you use mostly KDE apps, they have far more internal consistency than the Microsoft port-folio. Disclaimers It is also true that Windows appliations copy whatever is the latest MS-app appearance. MS Office 2003 has a neat style that has rapidly been copied and emulated in all other major toolkits, ie check out the latest version of Delphi, it looks similar to Office 2003, but the similarity is subtely different, eg. menus are narrower and more compact. And this makes sense since MS didn’t release any API or DLL to allow you to use the Office 2003 style, so Borland implemented their own clone. Trolltech even claimed to considering emulating it when I attended their roadshow in Cambridge. My point in this paragraph is that Windows apps emulate a general “Windows” consensus that is defined by MS, so this helps somewhat. And yes, I’m just ranting an opinion here, maybe someone who reads this would like to do something about it, as I’m not the man for that job. |
Amarok LinksCalendar
QuicksearchCategoriesSyndicate This BlogBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||

