In an effort to minimize my downtime when the funny noises this MacBook Pro is making finally amount to something – I’ve wired up a git repository to OS X’s native launchd service. The git repository hold all of my active projects – whether development projects with their own repos, research projects, consulting project. Everything. […]
Category: Programming
To Do: Just One Project Today
First quarter, things were so crazy I had gone to blocking off specific days for specific projects. I had gotten into a comfortable rhythm with my schedule and was able to move quite a few things forward quickly. Second quarter, things lightened up a bit and I went back to blocking off multiple projects per […]
Passenger + Sinatra Tip: DocumentRoot is Always /public
I was getting 403 errors after deploying my newest Sinatra app with Passenger. Turns out Passenger assumes and requires a /public folder. This app is so tiny and new, it didn’t have one yet – so I was pointing Passenger at the app’s root. Resulting in the 403 errors. Solution: Create an empty /public folder […]
Sphinx Config Problem on OS X Leopard 10.5.8
I bumped into a very strange bug trying to compile Sphinx on OS X Leopard today. After running ./configure for Sphinx 0.9.8-rc2, things looked good until: configure: error: cannot run C compiled programs. . Then nothing. Now, I’m positive that my computer is advanced enough to run C compile programs. So I peaked into the […]
How To Cache Highly Dynamic Data in Rails with Memcache – Part 3
In part 1 and part 2, I laid out my initial approaches on caching and performance in Cullect. While both of them pointed in the right direction, I realized I was caching the wrong stuff in the wrong way. Since then, I tried replicating the database – one db for writes, one for reads. Unfortunately, […]
Kernestly
This weekend I made some significant head way on one of my key 2009 projects: Kernest.com. Right now, Kernest is also the most likely candidate for my 5 minute Ignite Mpls presentation.
After a couple very rough weeks – I’m happy with where Cullect and it’s caching
After a couple very rough weeks – I’m happy with where Cullect and it’s caching strategy is. It’s slightly different from where I talked about last. I’ve also added a slave DB to the mix since my last write up. Overall, it feels more solid, and is performing at or better than before
How To Cache Highly Dynamic Data in Rails with Memcache – Part 2
In my part 1, I laid out my initial approach on caching in Cullect. It had some obvious deficiencies; This approach really only sped up the latest 20 (or so items). Fine if those items don’t change frequently (i.e. /important vs /latest) or you only want the first 20 items (not the second 20), The […]
I started building up new project today, one of the 2 initial revenue generating
I started building up new project today, one of the 2 initial revenue generating projects on my 2009 list. While it’s a way from launching, much of the heavy lifting was completed today. Conceptually, I’ve been using a proof-of-concept of this project for a couple years now. Oh, and I spent waaaay to long looking […]
all this work on command line Ruby apps has got me happily avoiding /views
All this work on command line Ruby apps has got me happily avoiding /views in this new Rails app. Ironic, considering when I first started writing in Ruby, the lack of presentation was my biggest mental hurdle.