Thursday, January 29, 2009

But why that long, and why that expensive !?


find ./ -name "*.as" -o -name "*.php" -o -name "*.js" -o -name "*.ctp" -o -name "*.thtml" -o -name "*.css" -o -name "*.html" -type f|xargs cat >> ./readme.txt

Unfortunately you need to actually get it done in order to use the above command :D

Monday, January 26, 2009

Jesse, Agile, Scrum, Sprints, Stories

In case you didn't browse trough the old JesterXL's blog since late last November ( and shame on you if you didn't ;) ) you missed the Agile Chronicles. An awesome tale of Jesse Warden's Agile experience since he started his work at Enablus.
Enjoy!

Wednesday, January 14, 2009

so you're an open playa, playa ?!

Finally!
The big guys got together. This is expected to happen when a technology reaches critical mass and the cash starts flowing in, of corse :)
"Open Video Player is a community site dedicated to sharing best practices around video player development. You can download player source code, reference plug-ins for advertising technologies as well as get advice from a community of designers, developers and content owners.
Let's standardize it, let's make it stable and predictable so we can really get some ROI here!
Akamai started the initiative and Adobe jumped in closely followed by Microsoft carrying a white fading torch.
Hmm, I was just reading about Brightcove today and how they're doing really really good. Don't see their logo in the partners list but then again the players they use are way ahead and way integrated with their technology...
But let the fun begin :D

Tuesday, January 13, 2009

applescript osascript stupidscript freakinscript

If you're trying to test a scpt from the terminal and you get slapped with something like this:

osascript ./myscript.scpt
myscript.scpt: execution error: No user interaction allowed. (-1713)

try to redirect the output to /dev/null like this:

osascript ./myscript.scpt > /dev/null 2> /dev/null

Not sure what the drawbacks are yet but so far it works for me!
[Update] no drawbacks, just make sure you really don't expect any user interaction from that script.

Thursday, January 08, 2009

Mix and match baby!

This fashionista project I'm working on for a NY client has inspired me to creatively tailor the folds of the CakePHP framework at the back, ActionScript 2 with Pixlib at the front while sewing everything together with the AMFPHP part of CakeSWX.
Mix and mach baby, because only quality matters and not all of us have to be fashion whores ;)

Just one thing you really need to remember. In development mode you really really really need to set the debug level to zero in the methods called by AMFPHP because otherwise the debug output will pollute the amf results and cause it to fail so randomly that you might lose a couple of hours in Ethereal until you figure it out. Although the Cake Book section for Configure::write clearly outlines this usage :p

So in your cake controllers you put something like:

...
var $components = array( 'RequestHandler' );
...
function beforeFilter () {
// disable debug
if( $this->RequestHandler->requestedWith() == 'amf' ) {
Configure::write('debug', 0);
}
}

so you disable the debug output if the request came from flash.

Have a great 2009 and remember, you are what you wear!