kgautreaux/blog

An ocean of noise

Code Journal #4

Today I:

  • Removed some vestigial javascript on cnmcpc.com.
  • Increased the size of the login button.
  • Made the settings button more clear.
  • Tried yet again to fix the random nav misalignment issue.
  • Added javascript to focus the email input on login.
  • Added a datepicker.

Today I Learned:

  • The block form of after_initialize if handy for setting model attributes that will be displayed on create forms.
  • html input tags have a tabindex attribute to set the tab order.
  • Routing that works in development mode might break in staging or production due to controllers not sharing namespaces.

Next time…

Code Journal #3

Today I:

  • Improved the look and usability of the cnmcpc.com site, though it is still in testing.
  • Used the rails-footnote plugin to improve debugging.
  • Added an action_button helper for creating buttons from links on bootstrap with less syntax.
  • Removed a lot of visual clutter and streamlined the cnmcpc.com site.
  • Jettisoned some unnecessary images.
  • Used a combination of partials and javascript to create a login form popover.

Today I Learned:

  • To double check authorization code paths when I change routing code.
  • That untested code paths will break when I make changes in other areas.
  • Rescuing StandardError can make…

Code Journal #2

Today I:

  • Added the ability to automatically discharge patients during WSP sync.
  • Started visually updating the site using twitter-bootstrap.
  • Updated the notification template text to send the correct time for the Central Time Zone.

Today I Learned:

  • Always call self.(attribute or method) to disambiguate in the body of a method definition.
  • Exceptions thrown in a seperate Thread will get swallowed.
  • Rails.logger messages in a seperate Thread will get swallowed.
  • Paperclip saves metadata on the geometry of an image but only for predefined styles.

Next time I will:

  • Write more tests.
  • Add functionality to restore…

Code Journal #1

Today I:

  • Built an auto-populate feature for cnmcpc.com
  • Renewed the SSL certificate for cnmcpc.com
  • Finished a blog post.

Today I Learned:

  • You can call Thread.new on Heroku without starting a background job processor.
  • Enterprise software creates horrible, horrible non-standard html markup.
  • How to create an SSL cert.
  • How to update config variables on Heroku.

Next time I will:

  • Write more tests.
  • Provide visual feedback when performing work outside the request/response cycle.

Free at Last

In seven days the calendar will click over to 10/1/2011 and a joyous occaision will commence. You probably think I’m writing about Elliott and Katie’s wedding, and it is true that it will be a joyous occaision. Shaleah and I cannot wait to see everyone and take part in the happy festivities. But that is not what I’m writing about today, because while 10/1/2011 will be Elliott and Katie’s wedding day it will be an anniversary of sorts for me.

Reminisce

I began work at Central Nebraska Medical Clinic on 10/1/2007 but before we get too deep into that history…