Nathan Colgate RSS

This is the personal blog of Nathan Colgate Clark. I work at Brand New Box. I developed a content management system for churches.

Archive

Aug
18th
Mon
permalink
We think that City Gates, one of our Rails applications, might have sprung a little memory leak… something to the tune of 5MB/hour.  In an effor to remedy this, I’ve been using Scott Lairds MemoryProfiler.  And being the visual guy I am, I wanted more visually appealling data to look at (if I’m going to have to trouble shoot something as nasty as this, it might as well look nice).
So I wrote a simple flex application that parses the log file into a pretty graph.

We think that City Gates, one of our Rails applications, might have sprung a little memory leak… something to the tune of 5MB/hour. In an effor to remedy this, I’ve been using Scott Lairds MemoryProfiler. And being the visual guy I am, I wanted more visually appealling data to look at (if I’m going to have to trouble shoot something as nasty as this, it might as well look nice).

So I wrote a simple flex application that parses the log file into a pretty graph.

Aug
13th
Wed
permalink

This guy comes across as a little crazy… but his work is amazing… which gives me reason to pause and reflect on my own artistic endeavors may have been received.

Aug
6th
Wed
permalink

Found this the other night with the Coopers. So funny.

Jul
18th
Fri
permalink
An information architect from KU is running for office in Kansas City, and he’s doing it with style, including an XKCD-style comic and this quote:

“Running for Office: It’s Like A Flamewar with a Forum Troll, but with an Eventual Winner”

via Matt

An information architect from KU is running for office in Kansas City, and he’s doing it with style, including an XKCD-style comic and this quote:

“Running for Office: It’s Like A Flamewar with a Forum Troll, but with an Eventual Winner”

via Matt

Jul
1st
Tue
permalink
Wow.  This hit a lot closer to home than I’d like to admit.

Wow.  This hit a lot closer to home than I’d like to admit.

Jun
26th
Thu
permalink
Jun
12th
Thu
permalink
Jun
10th
Tue
permalink

Nice BackgroundRb.yml Config File

Here is a handy configuration to easily run BackgroundRb in both development and production environments without having to worry about multiple backgroundrb.yml files:

:backgroundrb:
  :ip: 0.0.0.0
  :port: 11111     # use port 11111

:production:
  :backgroundrb:
    :port: 22222      # use port 22222
    :lazy_load: true  # do not load models eagerly
		:debug_log: false # disable log workers and other logging
    :environment: production # use rails production environment

Then in development:

ruby script/backgroundrb start

and in production:

ruby script/backgroundrb start -e production

The backgroundrb environment variable loads all of the production variables from the config.yml file (including the rails environment), this isn’t obvious from the documentation and kind of confusing with the double environments.  Hope this helps.

Jun
5th
Thu
permalink
Seeing Triple - This is what happens when you start sharing google calendars with your business partner and your girlfriend.

Seeing Triple - This is what happens when you start sharing google calendars with your business partner and your girlfriend.

Jun
4th
Wed
permalink