August 2012 Archive
-
Installing MongoDB with MacPorts on MountainLion
Technically this should be as simple as:
sudo port install mongodb
Unfortunately, the mongodb port depends (for now) on devel/boost <= 1.49. The boost port was recently upgraded to …
-
Virtual Hosting, Rails, NGINX, Apache, Passenger, Ubuntu
I’ve become a fan of RVM, which allows you to create pseudo virtual environments called “gemsets” that can be version-locked to the specific needs of your individual projects. In …
-
"ractivate", the Missing Script for RVM
When developing multiple projects in Ruby using RVM, I’ve found that it can be difficult to keep track of which binaries and gemsets you are using, and installing gems …
-
Installing Ruby on Mountain Lion/MacPorts
If you use MacPorts, the following should get Ruby installed and working on your machine.
Install RVM
Taken from the RVM website:
curl -L https://get.rvm.io | bash ...
-
Mighty Germany
Many people, especially conservatives, point to Germany as a shining example of austere success—but the country’s present success is superficial.
Nouriel Roubini writes an article on the cost of …
-
Rails "through" vs Django "ManyToMany"
Ok, Rails & company have a lot of great points—I love RSpec—but I’ve noticed a few areas where Rails can improve. Here, namely, I see a big difference in handling …
-
The Veil of Opulence
Benjamin Hale offers a great point of view to consider when looking at our political choices—and many non-political choices for that matter. It’s really a great article.
The veil …
-
Why RoR is Awesome (part 1 of many)
I finally took the plunge. I’m learning Rails. And holy shit.
RoR has a philosophy of being RESTful, which means using what’s already built (HTTP) rather than reinventing …
-
Testing Management Commands
I think to be a good Django citizen it would be appropriate to write tests ensuring that standard management commands work with your application. I thought of this after dealing …
-
HTML5 Navigation Bug When Returning From External Site
So HTML5 navigation is in full swing, and it’s awesome. If you aren’t implementing it yet, start. I found a bug in Chrome, though, (and possibly other browsers …
-
Django Model Managers via Related
It is fairly common practice to use a custom model manager when you have a certain field(s) that you know you will be filtering by a lot. I found …
-
Book Review: Call of the Wild
The Call of the Wild by Jack London
It took me an impressively small amount of time to read this book partly because of short length, and partly because it …
-
Book Review: Brave New World
Brave New World by Aldous Huxley
I think what is most remarkable about this book is that it foreshadows the world we live in today on several levels. From anti-depressants …