March 2012
32 posts
Mar 31st
Mar 31st
Mar 31st
Mar 31st
Mar 30th
1 note
1 tag
Hunger Games?
Everyone I know and trust on movies said it was crap. Bad acting, not true to the book, etc. I never read it, should I see it?
Mar 28th
2 notes
9 tags
Ruby on Rails: Custom Models sans Database
I’m building an application that uses a API JSON as it’s data source. Decided I wanted it to be all ActiveRecord pretty. I found the this, which I used as a guide, but I needed to expand on it, hence this post… enjoy. Update: Modified self.find to make it more like Rails find and added self.where to do what find was doing, but what Rails where does. Note, it doesn’t...
Mar 22nd
3 notes
13 tags
How-to: Setup MySQL and RoR on AWS
Warning!! When I wrote this, I misunderstood the AWS pricing models when I was originally putting this together. The following configuration would run you about $8 per month for the first year and around $16 per month each following year. Please see Amazon’s AWS Pricing page for details. Introduction I have been working on setting up RoR with MySQL on an AWS instance and ran in to some...
Mar 20th
1 note
4 tags
Mar 19th
4 tags
Using Nginx and AWS to proxy sub-domains
Lately I’ve been thinking on ways to use free cloud services to handle a decent amount of traffic at no cost (or perhaps low cost). I have a co-worker that’s using three free Heroku accounts to serve as a backend for his iPhone application, which using a random number generator, randomly connects to one of the three servers, thus allowing him to serve three connections per second,...
Mar 18th
Mar 17th
4 notes
3 tags
Mar 15th
8 notes
4 tags
How to set up your own private Git server on Linux →
Bradley Wright: One of the things I’m attempting to achieve this year is simplifying my life somewhat. Given how much of my life revolves around technology, a large part of this will be consolidating the various services I consume (and often pay for). The mention of payment is important, as up until now I’ve been paying the awesome GitHub for their basic plan. I don’t have many private...
Mar 15th
649 notes
2 tags
“We can’t solve problems by using the same kind of thinking we used when we...”
– Albert Einstein (via @brownstone_one)
Mar 15th
“In the corporate world, you’re either bomb shelter, the sheltered or the...”
– me
Mar 14th
Mar 14th
Mar 14th
4 tags
Ruby: dynamically generated object with accessors
Hello - I was working on created a super class for use in importing various unknown data types from hashs, so I started playing around with dynamic instance variable and attr_accessor generation and came up with the following, which I thought I would share. Enjoy! EDIT: I’ve commented out the method_missing logic and instead am specifically defining the methods using...
Mar 13th
6 tags
Mar 13th
2 notes
Mar 13th
1 note
5 tags
RSpec speed-up by tweaking ruby garbage collection →
Some developers I’ve worked with have seen up to 50% gains using this. Thanks @DougMcInnes for passing this on.
Mar 12th
Mar 9th
8 notes
2 tags
Mar 7th
2 notes
3 tags
Mar 6th
25 notes
3 tags
Mar 6th
3 notes
1 tag
Mar 6th
208 notes
1 tag
“Be who you are and say what you feel, because those who mind don’t matter...”
– Dr. Seuss
Mar 5th
1 tag
“In times of change, the learners inherit the earth - the learned find themselves...”
– Eric Hoffer
Mar 5th
1 tag
“The greatest lesson in life is to know that even fools are right sometimes.”
– Winston Churchill
Mar 5th
The Twelve-Factor App →
Interesting take on Application Architecture from a maintainability and deployability perspective. While I don’t agree with everything (e.g. XI Logs), I do really like some of these points, especially “Config”, “Build, release, run” and “Disposability”.
Mar 5th
2 tags
Mar 1st
29 notes
6 tags
Mar 1st
5 notes