By barneyb on May 28, 2010
Joshua (a coworker) and I have been talking about gravity simulation for a while, and this week I threw together a very simple model to do exactly that. This grew out of a game called Flotilla that he came across somewhere and has been working with the developer to add a network multiplayer mode. Flotilla, [...]
Posted in development, groovy
By barneyb on May 14, 2010
I did a little experiment last night using Processing, which is a Java-based visual programming environment that I've repeatedly run into in various different contexts, but had never really done anything with. I've become completely addicted to Galcon Lite on my iPhone, and figured it was a "sample" to build with Processing. Note that I [...]
Posted in development
By barneyb on April 23, 2010
This afternoon I presented on Polyglot Programming at cf.objective() 2010. Unlike most presentations I give, this one has almost no code, so the slidedeck (as a PDF) is the whole shebang. The in-deck content is admittedly light; really just an outline to follow along as I talked. The short version of the verbal part is:
Using [...]
Posted in cfml, development, groovy
By barneyb on April 14, 2010
Unlike my last several posts, this one isn't ORM related. At least not directly. If you're using ORM, you necessarily care about your domain model's integrity, as it's a prerequisite for ORM doing it's job, but it has nothing to do with ORM specifically. The point of a domain model is to be a representation [...]
Posted in coldfusion, database, development, orm
By barneyb on March 30, 2010
I use tabs for navigation a lot. Not for in-page DOM swapping, but for expressing a list of available pages along with indicating which on you're on. Pretty much every tab "system" is centered around client-side manipulation, rather than just presenting server-generated markup. And the few counter examples don't do it in an encapsulated way, [...]
Posted in css, development
By barneyb on March 2, 2010
One of the problems with statistics is that they work really well when you have perfect data (and therefore don't really need to do statistics), but start falling apart when the real world rears it's ugly head and gives you data that isn't all smooth. Consider a very specific case: you have items that people [...]
Posted in development, potd
By barneyb on February 12, 2010
I've been playing with FW/1 a bit on a personal app, and it has proven incredibly frustrating due to multiple manifestations of a single problem: your Application.cfc HAS to extend the framework in order to use the framework. My complaint really has nothing to do with FW/1 in particular, the exact same argument could be [...]
Posted in cfml, development
By barneyb on June 2, 2009
I'm not sure when I started, but I've documented things in the first person for quite a while. Fusedocs promoted this format, and was probably a significant influence, though I recall doing it back in college as well. It's clearly not new or uncommon, but I just had a gentleman email me about it (based [...]
Posted in development, personal
By barneyb on May 26, 2009
About a week ago, Marc Funaro wrote an interesting blog post about CFML and OO. The prevailing opinion (via Twitter, blogs, etc) is that Marc is incorrect/inaccurate/inexperienced/whatever, and I disagree completely. He hit the nail on the head.
HTTP is a stateless, request-response environment. Nearly all web applications interface with a SQL database, which is also [...]
Posted in cfml, development, personal
By barneyb on May 26, 2009
I know I'm late to the "cf.objective() recap" party, but I've been both crazy busy and rather tired, so I haven't got to it until now.
First, I'd never been to Minneapolis before, and from the little I saw, it's a pretty nice place. Obviously I missed the "buried under snow" part, and that definitely puts [...]
Posted in cfml, development, personal