Archive for August, 2004

Trick to displaying Multiple Query Columns for a list

I was answering a fellow CFer on a mailing list called CF-Talk and he was asking how to eliminate the extra commas you get if you have multiple columns from a query that you just need to output as a list (ex. “joe, billy, kyle”). If you do this (look below) you will get extra commas if a column is blank.

<cfoutput query="yourQuery">
<p>#friendname1#, #friendname2#, #friendname3#, #friendname4#, #friendname5#</p>
</cfoutput>

Your output would be:

john, , william, samuel,

I use this technique to avoid this issue. Loop over a list and you woun’t run into this.

<cfoutput>
<cfset Practice = "john,jane,clyde,bobo,sammy,beth">
<p><cfloop index="i" from="1" to="#listlen(Practice)#"><cfif i GT 1>, </cfif>#listgetat(Practice,i)#</cfloop></p>
<cfset Practice = "john,,clyde,,sammy,">
<p><cfloop index="i" from="1" to="#listlen(Practice)#"><cfif i GT 1>, </cfif>#listgetat(Practice,i)#</cfloop></p>
</cfoutput>

Gmail Finally!

I got my Gmail account!! A buddy of mine sent me an invite.

If any of you feel like emailing me that would be cool.

Ducks and the winner of them

My daughter Amanda was at a baby shower and she had won a bunch of ducks. This picture was take to commemorate this event.

Blackstone Event Gateways, Ben Forta Explains

I was surfing the CF blogs out there and came across Ben Forta’s Blog entry (CFCs, The Entry Point to Blackstone Gateways) talking about blackstone’s (ie the new version of cold fusion server coming out) event gateways. Apparently they are tied to CFCs.

I think that this is a great step forward for CF. i will now be able to compete with the java developers in my company on a level that might even convert them to CF. In the very least we would work much more closely together instead of competing for projects (well, one could hope).

Quicksilver

I just rediscovered Quicksilver. Damn this is a great app. I had heard about it a while ago but totally forgot about it. I’m glad Chris Corfield blogged about it.

I’m a Mac guy and this is a totally Mac app. Sorry PC people your missing out on a great productivity app.

Shake it

You’ll have to figure this one out for yourself

“I want you to shake it so well that I forget about tomorrow”

– Me

Apple’s Mac and Microsoft’s OS

What could have been done to push Apple to be as large and as powerful as Microsoft? Not very much and that little bit would not of been done by the revolutionary thinkers that Apple had at the time. I agree with what John Gruber said in his article The Art of the Parlay, Or: How I Learned to Stop Worrying About Platform Licensing and Market Share. Take a look think about it, there are some lessons there that can be used as a regular working stiff, developer or otherwise.

My excitement for Blackstone’s new “Event Gateways”

I have read about it before and InfoWorld’s article Macromedia to boost reporting, clients in ColdFusion tool also mentions it. But you will find in a reposting from a newsletter that I get from SD Times much more detail about this new “event gateway”. I’m excited about ti and I think that you will be too.

edit: You can now find the article online.

Continue reading ‘My excitement for Blackstone’s new “Event Gateways”’

My Framework

I was reading a post about frameworks and What framework do you use? on Mark Mandel’s blog and it reminded me that I wanted to write about the one I created here. It’s function for the small applications that you could create and the large, very complex, ones. I have used for both.

In the next week or so I will be writing about this framework and what has inspired me in my journey of discovery in creating it.

BlueBug out to getch’a

I was floatign around and ran into this article on Wired.com about the vulnerabilities of bluetooth and your cell phone. I find it truly fascinating that this is happening. While not unexpected it certainly should of been looked out for.

I think that this is a low risk as a normal person but fame is the flame for the moth of a paparazzi to use this to glean information about your favorite celebrity. I’m not leaving out spying either but that would be even less common.

I did some digging and found this report by Salzburg Research - Agentsmith. some interesting detail for the technophile.