Subscribe to
Main blog
Tumble Log

Category Archive for 'Code'

Patron 0.4

The 0.4 version of Patron has been released. This version addresses feedback from the initial public release and fixes a few minor bugs:

Fixed a bug in the Patron.version method Added HTTP proxy support Enabled SSL and Win32 support Added ability to download data to a file with GET Fixed a bug where header values were prefixed with a space Made […]

Read Full Post »

Using DTL templates with Nitrogen

One thing that I did not like about working with the Nitrogen web framework is the way that view rendering is handled. Nitrogen calls the function main/0 in your web modules which, by convention, returns an instance of the template record. This record points to a template file that has HTML code with a little […]

Read Full Post »

I was recently given the opportunity to release several of the projects I was working on at The Hive as open source. These projects are libraries that we built to address specific problems we ran into but were not core to our business. Most of these were always destined to be released, it just took […]

Read Full Post »

QLMarkdown 1.1

There is a new version of the generator available. I didn’t have anything to do with the new release other than zipping up the final product. Michael Dominic K. added some nice new features. You can download the goodies here or grab the source from GitHub.

Read Full Post »

Nitrogen

I have been using Erlang extensively for the last 6 months or so and it is a very nice language. While I have enjoyed working with the language, I wasn’t really impressed with the existing Erlang web frameworks. Mochiweb is nice enough, and I use it to power an application with an HTTP based ReSTful […]

Read Full Post »

app_version Updated

I have updated my app_version Rails plugin to support getting build numbers from Git. This is of necessity a little kludgy. The plugin allows you to specify either ‘git-revcount’ or ‘git-hash’ as the build. ‘git-revcount’ will set the build number to the number of commits on the current Git branch and ‘git-hash’ will set the […]

Read Full Post »

app_version plugin is now hosted on GitHub

I recently changed hosting providers and I am still in the process of moving everything over. One headache that I don’t need is recreating all of the Subversion repositories that I had hosted on the old service. So, I have decided to move the code for my plugin to GitHub.

The plugin’s code is now […]

Read Full Post »

OOP is a tool

I spotted this comment to a lengthy article about the proper use of inheritance in Object Oriented programming:

On one of the ‘communities,’ someone had a sarcastic response to the Final == Good article: To boil the article down: OOP is hard. Let’s make it as non-object-oriented as possible so that […]

Read Full Post »

Creating a ‘returning’ macro in Lisp

I have been reading Practical Common Lisp and learning quite a lot in the process. However, I began to see a pattern emerging in the code that deals with objects that is also very common in Ruby. The pattern emerges where you have a class and you want to perform some initialization beyond what the […]

Read Full Post »

I have a Rails application with a small SOAP service that is used for integration. Today I updated the site to Edge Rails and noticed a ton of strange errors related to ActionWebService. The first error looked like this:

Expected app/controllers/my_controller.rb to define MyController

I remembered hearing that ActionWebService was going to be moved out of […]

Read Full Post »

Older Posts »