Archive for October, 2008
Friday, October 31st, 2008
So Flash Player version 10 won’t stand for any automatically opened file select windows, there goes our flash uploader down the drain, the article is still good as a reference though if something here is unclear, it’s much more verbose. It’s just that the old logic needs a button and I’m not going to learn how to do that in Flex at the moment. And the whole point of that scheme was to make the uploader invisible and therefore design agnostic. Oh dear Adobe people, what on earth are you thinking?... Read More
Tags: actionscript 2, flash, jquery, PHP
Posted in Flex, Flash and AMFPHP, Javascript, jQuery | No Comments »
Friday, October 31st, 2008
The onStyleNeeded method in scintilla.rb used to look like this:... Read More
Tags: scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Thursday, October 30th, 2008
Back in September I made some changes to the blog, all recommended by various “experts” (witch doctors), did it result in more Google-traffic? Hardly, this is a graph of what I’ve gotten from Google the past few months:... Read More
Tags: google, SEO, Wordpress
Posted in Misc, Wordpress | No Comments »
Tuesday, October 28th, 2008
I’ve been a great fan of the Reuben theme, originally by akka, in fact it is the only theme I’ve ever used on Linux. The other day I needed some change though, I’m also a sucker for dark themes, I hate the glare of white backgrounds, luckily Reuben is somewhat beige which takes the edge off the worst.... Read More
Tags: black reuben, gnome, gtk theme, Linux, metacity, reuben
Posted in Linux, Misc | No Comments »
Sunday, October 26th, 2008
I just found myself wishing for automatic CRUD, for quick and simple administrative tasks, as it turned out a very easy thing to add. The first thing we have to do is move the label selection from having to be explicitly declared in the insert/update form - like we are doing now - to the model:... Read More
Tags: Doctrine, PHP, Smarty
Posted in Doctrine, PHP, Smarty | No Comments »
Thursday, October 23rd, 2008
I think I’ve finally managed to get a handle on prototyping with JavaScript, after all that lisping and jQuerying it turned out to be a formality in the end. I have to thank Steve for finally getting my ass off the couch though.... Read More
Tags: inheritance, Javascript, prototyping
Posted in Javascript | No Comments »
Wednesday, October 22nd, 2008
I just realized that the blog just passed the one year mark. It’s been a blast!... Read More
Tags: adsense, earnings, kontera, tla, tnx
Posted in Misc, Zend Framework | No Comments »
Tuesday, October 21st, 2008
I just found myself having encoded HTML within parts of the DOM (don’t ask me why) and I thought it would be cool to be able to parse it and encode/decode the parts where it’s needed. I ripped out some relevant lines from prototype js and made this plugin:... Read More
Tags: html decode, html encode, Javascript, jquery, regex
Posted in Javascript, jQuery | No Comments »
Saturday, October 18th, 2008
I just had to sort a list of DIVs by date with the newest date first. To add complexity to the problem the dates could be either in Atom or RSS2 format. The sorting itself is done with TinySort. A really useful little library.... Read More
Tags: date manipulation, jquery, sorting, tinysort
Posted in Javascript, jQuery | No Comments »
Thursday, October 16th, 2008
I just installed Intrepid on my dual head machine at work and the experience was without flaw, easier than ever.... Read More
Tags: ati, dual head, intrepid, Linux, ubuntu
Posted in Hardware, Linux | No Comments »