08 Feb
by: Matt in Development, Django, Infrastructure, PHP, Python, Ruby, Ruby on Rails
tags: deployment, Django, mod_wsgi, mongrel, passenger, php, phusion passenger, Python, rails, ruby, subversion
I finally got around to setting up a more sophisticated deployment system for some of my apps. These apps include some built on a custom PHP framework and others that are Python / Django apps. I figured I’d share my experience…
Why is a high-level deployment infrastructure important? Deployment is something that should [...]
30 Nov
by: Matt in Book Reviews, CSS, Clojure, Development, Django, Infrastructure, JavaScript, PHP, Python, Ruby, Ruby on Rails
tags: book review, clojure, Development, Django, php, programmer, Python, rails, ruby, Ruby on Rails
Send this to your significant other/parent/relative/friend so, instead of that sweater, you get one of these nuggets of awesome this Christmas.
The Pragmatic Programmer: From Journeyman to Master
Write better, cleaner, more maintainable code. Learn how to manage your projects and focus on shipping your product. With insight that covers the gamut of software development [...]
31 Jul
by: Eric in Development, Ruby, Ruby on Rails
tags: hacker news, rails, ruby, Ruby on Rails, twitter
Motivation: SD News is a “social news site” (basically a Hacker News clone), written in Rails, that I work on as part of my efforts with a Christian publishing company I run with some friends. As part of the administrative backend, I wanted to be able to send posts to our Twitter profile. The site [...]
01 Jun
by: Matt in Development, Django, PHP, Python, Ruby, Ruby on Rails
I like Python. I like Ruby. I like C, C++, and Objective-C. I like Java. I also (actually) like PHP. I like programming – get it? Use whatever gets the job done and done well. Use whatever achieves the performance and scalability you require for a given task. [...]
20 Mar
by: Matt in Development, Django, Python, Ruby on Rails
I’ve spent more time with Django the past couple days. Read my installation guide and my first impressions to get caught up. I wanted to address a couple issues I came across as I was exposed to certain architectural designs of Django.
It might be helpful to note which books available today cover Django [...]
Came up with this snippet while writing a Rails log file parser. It will take any number of seconds and convert it to Xm Xs format (which was useful for my display purposes):
def convert_seconds_to_time(seconds)
total_minutes = seconds / 1.minutes
seconds_in_last_minute = seconds – total_minutes.minutes.seconds
"#{total_minutes}m #{seconds_in_last_minute}s"
end
convert_seconds_to_time(630)
=>”10m 30s”
I didn’t [...]
I always lose this snippet of code, which will run RCov for all your controllers and models, and output the results to the /public folder of your Rails app:
>rcov test/functional/*.rb test/unit/*.rb –output=public/rcov –rails
04 Feb
by: Eric in Infrastructure, PHP, Ruby on Rails
tags: apache, centos, memcached, mysql, php, rails, ruby, slicehost
I recently purchased a VPS from SliceHost.com. After ruling out a shared host and deciding on a VPS setup, SliceHost seemed to offer the most for my money. My initial setup is the 256slice, which offers 256mb RAM, 10GB of storage, and 100GB of bandwidth for $20 a month. Being able to [...]
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.