Monday, December 22, 2008
Logo Star Wars Coolness...
All I can say is WOW! That is some serious Lego coolness! What impresses me most is that it isn't just the outside, but he did the whole inside of the cave as well!
Tuesday, December 02, 2008
Flex / ColdFusion Strangeness...
... or how to determine if an Object is an Array.
So I have this Object, comes from back from ColdFusion to Flex. It's an Array that contains a Struct that is supposed to contain an Array. I use ActionScript to convert this easily to an ArrayCollection containing one or more ArrayCollections. Simple stuff, works great.
Well I should say it works great as long as the internal most Array has a length of at least 1. When the Array (in CF) has a length of 1, it gets converted to a Struct. So you end up with an Array containing a Struct, that contains a Struct. Again, pretty straight forward, as long as you understand that a Struct can't be converted to an Array, does not have a length and can not be looped through.
My solution, check the length, if it comes back as
So I have this Object, comes from back from ColdFusion to Flex. It's an Array that contains a Struct that is supposed to contain an Array. I use ActionScript to convert this easily to an ArrayCollection containing one or more ArrayCollections. Simple stuff, works great.
Well I should say it works great as long as the internal most Array has a length of at least 1. When the Array (in CF) has a length of 1, it gets converted to a Struct. So you end up with an Array containing a Struct, that contains a Struct. Again, pretty straight forward, as long as you understand that a Struct can't be converted to an Array, does not have a length and can not be looped through.
My solution, check the length, if it comes back as
undefined
, it's a Struct, else it's an Array. At least I only pulled my hair out for an hour or so to figure that out...
Monday, September 08, 2008
Da Bears!
Last night the Bears really laid into the Colts! I know a lot of people are going to say that the Bears win had more to do with the issues the Colts have, and less to do with the skills of the team, and maybe they are right. But, I would point out the fact that the Bears played the kind of game they wanted to play. Good running, and good defense. I don't know if this is a sign what we can expect for the whole season, but its a great start!
Thursday, August 14, 2008
In Case I Didn't Know...
You are a Social Liberal (71% permissive) and an... Economic Liberal (28% permissive) You are best described as a: Link: The Politics Test on Ok Cupid Also : The OkCupid Dating Persona Test |
Tuesday, August 05, 2008
Vote for Paris?
I don't normally dig on Paris Hilton, but I LOVE this...
See more Paris Hilton videos at Funny or Die
Saturday, July 12, 2008
Thursday, June 19, 2008
TinyMCE
I was helping a friend out with an ASP classic project the other day. He needed to add in a WYSIWYG editor. I normally would just go and grab FCK Editor and be done with it. However, FCK Editors ASP code is written to AScript, this site was written in JScript. Since I didn't want to waste any time rewriting the old code, I did a little Google search, and low and behold... TinyMCE!
It is super sweet, I love the options, and the mode that just replaces all Textareas auto-magicially.
Thank you MoxieCode!
It is super sweet, I love the options, and the mode that just replaces all Textareas auto-magicially.
Thank you MoxieCode!
Thursday, May 29, 2008
Master Of The Internet
Friday, May 23, 2008
Amazing Photos
Wow... that is all I can say about this guys photos, check them out.
http://www.younggalleryphoto.com/photography/laforet/laforet.html
http://www.younggalleryphoto.com/photography/laforet/laforet.html
Wednesday, May 14, 2008
Tuesday, May 13, 2008
Flex Builder Tip of the Moment....
If you are using Flex Builder and you want to go back and forward between open files, you might use CTRL-TAB. This works well, unless you also happen to have CF files open. CF Eclipse doesn't use CTRL-TAB, which has been driving me nuts, until today.
CTRL-PgUp and CTRL-PgDn act just like CTRL-TAB, CTRL-SHIFT-TAB in both Flex Builder and CF Eclipse.
Knowing this has saved me a bunch of time... Just wish I would have found it sooner.
CTRL-PgUp and CTRL-PgDn act just like CTRL-TAB, CTRL-SHIFT-TAB in both Flex Builder and CF Eclipse.
Knowing this has saved me a bunch of time... Just wish I would have found it sooner.
Wednesday, March 05, 2008
Tuesday, January 29, 2008
Subscribe to:
Posts (Atom)