By barneyb on December 23, 2010
The initial implementation of the listObjects method on my Amazon S3 CFC didn't include any means for paging through records. The default behaviour of S3 when doing a listObjects request (a GET of the bucket) is to return the first 1000 keys in alphabetical order, and then truncate the result.
There are now two more parameters [...]
Posted in random
By barneyb on December 21, 2010
If you don't know, Quadrilla is a simple modular wooden marble run. The kids spent much of the day running marbles through a couple of the instructions-included models. Not just one at a time either; the only thing constraining the number of marbles running at any given time was the speed which they could pick [...]
Posted in personal
By barneyb on October 27, 2010
About a year and half ago I got a Das Keyboard Ultimate for work, but immediately had some major issues using it. Fortunately, the 10-year-old keyboard it was replacing wasn't completely unusable, so I just switched back. That keyboard finally gave up the ghost a couple weeks ago, unfortunately, so I was stuck with the [...]
Posted in personal
By barneyb on September 27, 2010
I saw this today, and thought it hilarious:
Java, being a mainstream programming language, has attracted major software companies to pour money and human effort into it. As a consequence, a lot of good integrated development environments (IDEs) are out there. Of course, there is nothing wrong with being a real programmer by using the good [...]
Posted in development, java
By barneyb on September 19, 2010
A number of years ago I build this little app called EventLog. It's a really simple data journal: you enter a set of a tags and a timestamp (defaulting to "now"), and it saves it off to a database. Then you can build all kinds of reports and such based on your data to help [...]
Posted in random
By barneyb on September 15, 2010
2011-05-17: A richer version is available at http://www.barneyb.com/barneyblog/2011/05/17/even-better-inline-progress-bars/.
If you've ever built a web app that does background and/or batch processing of stuff, you've invariably created a bit of markup like this:
#numberFormat(sentEmailCount, ',')# of #numberFormat(emailCount, ',')# sent…
which then renders like this:
Wouldn't it be nice to create this markup (simply with a wrapping span) instead:
#numberFormat(sentEmailCount, ',')# of [...]
Posted in javascript
By barneyb on September 2, 2010
Today I identified a subtle bug with the listObjects method of AmazonS3.cfc dealing with delimiters. If you supply a prefix that ends with a trailing delimiter, certain paths would be returned partially truncated. Removing the trailing delimiter solves the issue, so there's an easy workaround, but I've added a snippet to take care of that [...]
Posted in amazon, cfml
By barneyb on August 25, 2010
Just a heads up that the server hosting barneyb.com and all it's various offspring (PotD, EventLog, etc.) will be going down about eight this evening to replace a faulty cooling fan. Total outage should be less than 15 minutes, and it will be a complete outage (the IPs will be dead).
Posted in meta
By barneyb on August 16, 2010
So tonight I built cron in CFML. Again. Because it's missing from both the language framework and every runtime. Am I the only one who constantly fights this battle? In the past four years I've built four distinct cron implementations in CFML and it's completely retarded.
The JRE provides TimerTask, but it's a [...]
Posted in random | Tagged cfml
By barneyb on August 3, 2010
A couple years ago I wrote about using YUI Compressor to do built-time aggregation and compression of static assets. That works well and good if you have a build environment, but that's not always the case. So, still using YUI Compressor, I set up a simple script that'll do runtime aggregation and compression of assets [...]
Posted in cfml, javascript, tools