Recent Posts by Brad

MacGyver meet iPhone

I have multiple phones and as a mobile developer I end up switching sim cards between phones often. This is tricky with iPhone since it has a carrier that requires the use of something like a paperclip to release it. It is a slick design and helps maintain the slick profile, but it can be…

RadiantCMS customized

We are working on a very interesting project right now that allows us to adapt RadiantCMS to serve several different functions in a big picture system. Radiant is a powerful content management system that has very good design for factoring out redundancy in your web content. Think of the Don’t-Repeat-Yourself principle applied to the web…

Ruby performance work

Railsconf had several performance-related talks. This one went over a lot of interesting territory. Who knew the Date class performed so badly?? Use equivalent ops in Time or get date::performance Use String::<< instead of String::+= Tune your custom sql with virtual attributes It’s surprising that things we might not think are performance issues are problematic…

RubyMine

During his talk at railsconf, Gregg Pollack showed off Jetbrains Rubymine, an awesome IDE for ruby & rails. I wouldn’t be surprised to find out Jetbrains had a spike in their downloads coinciding with the talk. It is a nice IDE. I was happy to see it includes git support out of the box (I…

SQLite wrappers on iPhone

On a recent project that needed to keep data in sqlite, I experimented with an implementation of ActiveRecord and also sqlitepersistentobjects. I had passed up a few others that were too complicated or licensed under something like the GPL that prevented commercial work. While the ActiveRecord author has to get an award for the quickest…