Welcome to Wonderland Labs.com
This site is my professional storefront and warehouse of good ideas and useful tech links. (don't click this -- its an intro stub.)

Kevin's Keyboard Kat
Submitted by bingomanatee on 30 June, 2009 - 22:05Warning! this page has sound -- mute your computer if you're at work
Killing off SVN entries
Submitted by bingomanatee on 23 June, 2009 - 01:47I don't have console access to WLL so I have to do everything with old school FTP. This means packing up projects like Zupal which have a signifacnt overhead of SVN files. So how do I delete the svn repository? with a handy little snippet I found on the net:
#!/bin/sh echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`
A List Apart
Submitted by bingomanatee on 15 June, 2009 - 15:16Less Than Zerofill
Submitted by bingomanatee on 12 June, 2009 - 13:48I honestly have not completely figured out where, when, or why, but my zerofilled integers are coming back at me as true (non zero padded) integers. This creates problems as in when the dates stored are four ints (0501) are parsed for the first two digits, it is the integer 501 that is parsed, not the string '0501'.
This means of course that my attempt to get the month by substr($row->date, 0, 2) gives me 50, not '05'.
The solution of course is a custom row class within your orm: (this use case taken from Zend_DB)
Another Maace Postulate Instance: Analysis Rebuild
Submitted by bingomanatee on 4 June, 2009 - 11:32In addressing an issue relating to the CleanPowerFinance.com analysis page I came into another case of the maace postulate. A two (plus) color scheme was used to seperate two regions: one was an entry area, the other was a report with detail relevant to the entry. This page revision began with the requirement to transform the select field for panel count/kw into a two-field Dojo widget that allowed entry in either field or adjustment via spinner controls.
Zend Diary 5: Pay No Attention To The Man Behind the Curtain
Submitted by bingomanatee on 30 May, 2009 - 11:29So forms finally went through the fire test of configuration and usage. The marketing people that are responsible for delivering the product to the installers. Fortunately an intern was available for entry work taking some load of the primary marketing manager.
You Don't Want a Website
Submitted by bingomanatee on 16 May, 2009 - 13:36A lot of people come to me and tell me they want a website. However this is quite often not really what they are asking me for. When people tel me they want to build a website that's code: What they really want to do is:


