By barneyb on February 26, 2010
I made another minor update to my Amazon S3 CFC this evening, this time to support PUTting public objects. To this point, the CFC left the default ACL on new objects PUT on S3, meaning that you needed an authorized URL (via a query string signature) to retrieve them. That was the use case I [...]
Posted in cfml, tools
By barneyb on February 18, 2010
The next Sudoku solving strategy I want to dig into is called "hidden single". Here's the implementation to start with:
class HiddenSingleStrategy implements Strategy {
static getTests() {
[
new Test(
'0' * 9 + '000200000' + '0' * 9 [...]
Posted in groovy, sudoku
By barneyb on February 18, 2010
I just set up the WordPress plugin so I can do some formula stuff here. This is just a little test post with some example formulas taken from my sun/earth collision model.
Euler's Identity (at different sizes):
Gravitational Constant:
Force due to gravity:
Inline also works (e.g., ).
If you use shortcodes within a paragraph (e.g., [...]
Posted in meta
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 February 12, 2010
Last night I finally kicked JRun to the curb and replaced it with Tomcat on my personal server. I knew JRun was a pig and that I'd get some improvements by switching, I'd just never gotten around to doing it. I don't know why I waited. Here are two graphs from my server, see if [...]
Posted in coldfusion, meta
By barneyb on February 3, 2010
And just to be clear, when I say "feature" I actually mean "completely broken behaviour," though for a change of pace it's not with the compiler. Probably. Hopefully.
Consider this innocent-seeming code:
<cfquery datasource="dsn_A" name="">
insert into test (s) values (
'dsn_A – record 1'
)
</cfquery>
Every CF app has this (or equivalent) [...]
Posted in coldfusion
By barneyb on February 2, 2010
From an email Sean Corfield sent to the Fusebox5 mailing list (http://tech.groups.yahoo.com/group/fusebox5/message/4566):
I just wanted to provide a brief update on [Fusebox and 4CFF]. 4CFF discussed Fusebox with TeraTech (specifically John Zhu of 4CFF and Michael Smith of TeraTech) and were unable to reach an agreement on Fusebox joining 4CFF. One particular sticking point was that [...]
Posted in cfml, fusebox, personal
By barneyb on January 27, 2010
I just pulled down the latest and greatest from WordPress's SVN repository to give the new 3.0 code a whirl. Specifically, I wanted to see what was happening around the WP.org and WPMU merge that is one of the big features of 3.0, since I run a bunch of WP.org blogs that I'd love to [...]
Posted in wordpress
By barneyb on January 27, 2010
A couple days ago I posted about implementing a Sudoku solver in Groovy as a sort of cross-training exercise, and promised to delve into the strategies a bit more. So here's GameRulesStrategy:
class GameRulesStrategy implements Strategy {
static getTests() {
[
new Test(
[...]
Posted in groovy, sudoku
By barneyb on January 25, 2010
I just upgrade to Subclipse 1.6 and it has an awesome new feature: diffs right in the commit dialog. It seemed a common use case for myself that when it came time to commit, I'd open my commit dialog and cycle through the files writing my commit message in Kate because I couldn't type while [...]
Posted in aside, eclipse, tools