July 24th, 2008
The goal of this interface was in essence a combination of the military budgets example and the zooming with overview example. It turned out to be more complicated than just pasting the code from both, anyway below is a screenshot of the result so far.... Read More
Tags: flot, jflot, jquery
Posted in Javascript, jQuery | No Comments »
July 22nd, 2008
So I’m in the BKK office this week, for some reason the /etc/network/interfaces got whacked when I plugged in my Ubuntu here yesterday, no idea why.... Read More
Tags: localhost, virus
Posted in Misc | No Comments »
July 17th, 2008
As you might know already Pico has a GUI system similar to for instance Haml. That’s all very well and fine, the problem is that as opposed to Haml a typical Pico GUI script contains a lot of logic as well, I shudder to think having designers poking around in there to output the HTML just like they want it. And we are not quite yet at the point where we are doing completely CSS controlled designs, it’s a goal though.... Read More
Tags: Lisp, Pico Lisp
Posted in Lisp, Pico Lisp | No Comments »
July 16th, 2008
I had to rename a lot of files today, recursively.... Read More
Tags: fileutils, find, Ruby
Posted in Ruby | 2 Comments »
July 12th, 2008
See the prior tutorial on what kind of information the ActionScript in this tutorial needs and how it is generated.... Read More
Tags: actionscript, animation, flash
Posted in Flex, Flash and AMFPHP | No Comments »
July 12th, 2008
If you are new to MODx you might want to check out the newbie MODx tutorial before you continue.... Read More
Tags: jquery, jquery flash, MODx
Posted in CMS, Javascript, MODx, jQuery | No Comments »
July 11th, 2008
Recently I’ve had the need to extend the interface further, among other things with JSON support. I’ve used code published by Nicolas Crovatti to do this. There was one line in there though that wasn’t consistent with its purpose. If you use that code you have to replace if($i != $keys[$i]) with if($i !== $keys[$i]). On the other hand if you use PHP >= 5.2 you don’t need this function at all, you use json_encode instead.... Read More
Tags: fluent interface, json, PHP
Posted in PHP | No Comments »
July 10th, 2008
This is embarrassing, I noticed that after getting a new browser to the left - for instance when searching the whole project - and going back to the projects browser to open a new file there, the editor would crash because it could not find references to various locations. The initialize function in treectrl.rb looks like this now:... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
July 9th, 2008
What a nightmare it was yesterday and for the better part of today. The new project just failed to run with mod_rewrite on the staging server and we couldn’t understand why.... Read More
Tags: apache, Linux, mod_rewrite, suse
Posted in Linux | No Comments »
July 8th, 2008
About two weeks ago I tried a really simple way of obfuscating email. To me as a programmer it seemed a little bit naive because this scheme can be easily decoded. But Gmail does such a nice job of getting rid of spam these days anyway, I felt like I didn’t have much to lose. ... Read More
Tags: email, obfuscation, spam
Posted in Misc | No Comments »