Orange is my favorite color

Archive for 2006


When I’m writing Javascript or Actionscript, I like using JSON-style notation for creating objects and variables:
foo = {”status”: true
,”name”: “Brian”
,”values”: [0, 5, 11, 93, 2] }
In ColdFusion, the equivalent would be the tedious:
foo = structNew();
foo.status = true;
foo.name [...]

I have a fairly complex report system in ColdFusion (v7) that takes one or more queries and joins them together in preparation for filtering and display. Some data comes from a database call and some columns are dynamically added to the query via queryAddColumn(), specifying the datatype as we go along like so:

<cfset queryAddColumn(data, [...]

Albondigas simply means “meatballs” in Spanish. As a meal it’s a pork and beef meatball steamed and then lightly sauteed and served in a carrot or tomato soup depending on season.
After celebrating our friend’s birthday at Dona Tomas in Oakland (who have an absolutely fabulous hand-squeezed Margarita Reina), Jennifer picked up their cookbook which [...]

I’m using CFMX 7 and CFDOCUMENT to generate a PDF report I’ve created. It’s a paper form that we’ve “made digital” by placing the original form as a PNG in the background and then overlaying the database-backed information on top.
However, depending on the data, we are seeing weird resizing issues in the background image [...]

I’ve been reading the Dojo-interest mailing list for about two weeks and this quandry, or some variation, has come up 5 times already:
I have a body onload and now Dojo doesn’t work!
In my application, I had some pages with body onLoad specified. Dojo, however, attaches itself behind the scenes to this for its internal [...]

Jennifer and I ate at Bacar for the first time on Brannan Street in San Francisco’s SOMA district on Friday night. The restaurant is famous for their giant wine list - something like 38 pages of options. It’s only about 3 blocks from my house so we walked. My impression from the [...]

MotorsportReg.com retrieves feeds of events from various sources, typically in CSV. These are usually straight dumps from a database and we have no control over the output. I received a bug the other day that our RSS feed wasn’t validating as UTF-8 and this was breaking many feed readers.
I checked it out and [...]

In my application, we have a session with a 60 minute timeout. Organizers sometimes execute long running tasks or they leave their computer in the middle of something and return only to find out on the next submit (sometimes after accomplishing much work) that they are prompted for a username and password again. [...]

As I wanted to minimize the number of files included at runtime in my prior piece, I tried to narrow down my dojo.require() statements. Do this after you have done cross-browser testing!
In including only dojo.event.connect, Firefox was running beautifully. I tried in IE6 and all of a sudden the event objects being returned [...]

Having received my grandmother’s birth certificate after a single email to a public official (gratis, no less), now I need to certify it with an official apostille. Here, you might get the document from the county recorder and the apostille from the Secretary of State. I sent an email to the original Standesamt [...]