Archive for July, 2008
Friday, 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 »
Thursday, 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 »
Wednesday, 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 »
Tuesday, 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 | 1 Comment »
Sunday, July 6th, 2008
I’ve begun creating a site for a friend of mine who will sell diving, Asian Diving Vacation (please don’t bitch about the way it looks at this point, it’s a work in progress, the only reason I’m linking to it at this point is because there is also a lot of bitching about demos going on, so here you go demo freaks) . I’m using MODx because it simply rocks for the purpose, we don’t need any strange modules that would require something from the giant repositories of Drupal or Joomla.... Read More
Tags: css, html, Javascript, jquery, MODx, treeview, wayfinder, yaml
Posted in CMS, HTML + CSS, Javascript, jQuery, MODx | No Comments »
Wednesday, July 2nd, 2008
I really like Ubuntu with apt-get and synaptic to manage and install software, the total freedom to customize and yadayada you’ve all heard it before. However, sometimes the experience is not so pleasant, crazy actually, the first incident happened in the very beginning of my Ubuntu usage about 2 years ago. The culprit then was Beryl (now Compiz Fusion). After installing Beryl on my Nvidia powered desktop machine at home it started to randomly freeze the living shit out of it in a completely random way. It’s a total horror to have the coolest windowing in the world and it isn’t working, so close but yet so far away! That was the first time I realized I was feeling something I had never felt before as a Windows user, or in this context for that matter, envy. ... Read More
Tags: banshee, beryl, compiz, gaim, Linux, pidgin, Rants, songbird, ubuntu
Posted in Misc, Rants | No Comments »
Tuesday, July 1st, 2008
This is another step towards explaining how a registration form in Pico Lisp can work, I promise you we will get there but there is a lot of ground to cover still.... Read More
Tags: Lisp, Pico Lisp, regular expressions
Posted in Lisp, Pico Lisp | No Comments »