chris finne

Chris Finne's Blog

The topics are primarily professional and since I'm a "software guy", that means Ruby, Ruby on Rails, jQuery, Amazon AWS, Slicehost, Sphinx, Solr, SMPP and many other technologies that I work (and sometimes struggle) with.

freeze - I can Modify CONSTANTS in Ruby

25 Mar 2012

STOP THE PRESSES!

I can modify a CONSTANT!

Whoa, that's a bit scary. I've been coding in Ruby for 5 or 6 years now. I probably knew this before and forgot. After all, when I was first learning Ruby, I read Programming Ruby and this concept is likely in there (but i'm too lazy to confirm it right now). I know I'm making myself look like an idiot for going this long without fully internalizing (or forgetting) this, but oh well. I'm writing this for my own benefit. I won't forget this concept after spending a while explaining this...

  • 25 Mar 2012 » freeze - I can Modify CONSTANTS in Ruby
  • 05 Dec 2011 » Ruby - Is a Phone Number Valid for SMS?
  • 15 Oct 2011 » Parse American Dates with Ruby 1.9 (in Rails)
  • 23 Sep 2011 » Rails 3 to_s(:db) when database time is NOT UTC
  • 22 Jul 2011 » Ruby Rails Initialize BigDecimal with commas in the String
  • 19 Oct 2010 » Screen Free Day
  • 23 Sep 2010 » Top FAILS from Apples Mac OSX
  • 04 Sep 2010 » Apple Showdown Magic Mouse vs Magic Trackpad
  • 16 Aug 2010 » Rails Fixture Name Starts With Test
  • 03 Jun 2010 » Indexing Sphinx on Amazon AWS EC2 With MySQL RDS and Compression
  • 03 Jun 2010 » How to Enable MySQL Compression With Rails and the MySQL Gem
  • 03 Jun 2010 » Best Solr Setup for Indexing Large Rails App
  • 29 May 2010 » Solr JAVA on Mac
  • 26 May 2010 » Business School Recommendation Haiku or Dr Seuss
  • 04 May 2010 » Improving Sphinx Geo Query Performance on Amazon EC2
  • 03 May 2010 » Best Web Site Uptime Monitoring Service
  • 19 Apr 2010 » Remember When
  • 18 Apr 2010 » Migrating From Slicehost to Amazon AWS EC2
  • 13 Apr 2010 » Reminder To Setup Iptables and hosts After Cloning Slicehost
  • 12 Apr 2010 » Amazon SimpleDB SignatureDoesNotMatch error when putting UTF-8 Characters via a HTTP POST
  • 09 Apr 2010 » Multi Server Thinking Sphinx
  • 09 Apr 2010 » God Events not working on Slicehost Ubuntu - Resolved
  • 05 Apr 2010 » Amazon AWS SimpleDB for Website Analytics
  • 04 Apr 2010 » mongoDB fails for website analytics use case
  • 26 Mar 2010 » Reflections on Up In The Air
  • 24 Mar 2010 » New Site
  • 17 Jan 2010 » Projects