What Large Amounts of Caffeine Can Do

Since leaving RewardSnap in the summer of 2011, I took about a month off, and then got back to business. This post is an update of what I've been working on and interested in since then:

Current projects and interests:

  • RailsThemes.com (new project!)
  • consulting/contracting
  • Awesome Controller
  • Desperately Seeking Validation
  • office hours
  • Hamming Lunches

RailsThemes.com

A new project!

I had been putting together various websites using purchasable themes from sites like ThemeForest, and it took at least a couple of hours each to translate the HTML and CSS to a format that Rails is happy with that looks like the theme is intended to look. I explained my solution idea to Eliza–basically a themes site for Rails apps–and she started running full speed with it. She called me up the next day and was like, "so I figured out the launch schedule for this." I was like, "whoa, whoa, I don't remember signing up for this officially."

Anyway, I drove to Tennessee Tuesday and we worked until noon on Thursday on ramping up the project. We have a great designer, Luke Flener, for the initial templates and site design, I'm working on the development back-end side of things, and Eliza is heading up the marketing and user-facing development. There's still quite a bit of work to do before our launch in April. Over the course of the last couple of days, we worked on

If you're interested in project updates or to eventually purchase a design for your Rails project, check out RailsThemes.com. Also, if you are interested in contributing designs, we are interested in talking with you about it. Thanks!

Read on →

WordPress "No Such User Here" Error With Formidable Forms

I set up a domain on Google Apps with some email addresses, and wanted to send contact information from a WordPress form that was using Formidable. However, the emails weren't being sent correctly from the form. When I sent a message from my Gmail account, the message went through correctly (I set up another email on the same domain for testing purposes).

Inspecting the mail error logs (for me on the shared hosting, was at ~/mail/new/*), I got things similar to the following:

Read on →

Wordpress Posts Not Saving

I was having a problem where Wordpress post drafts on my main blog were not saving. I would press the schedule/publish/update button when I was in the HTML view mode (the default mode that I edit in), and the text would change from a monospaced font to a non-monospaced font. Nothing would happen otherwise. I would press the button again, and all of the text would completely disappear, and my work would be lost. Nothing would save to the database. I had to go into the quick edit mode on the all posts page to actually edit anything. Clearly this was unacceptable.

Here are the steps I took to fix it:

Read on →

Titanium and Database Download From Server

My goal: to have a mobile app that downloads its initial database from the server instead of pulling the data down through the normal API one at a time. This was for speed reasons, and there are probably other implementations and methods to try. Basically, if the app has never synced, pull down the database.

A bunch of posts on the subject (not exactly what I needed, but helpful): Using a local database with Titanium Update database and table content DB install from remote sqlite file The official database documentation Some helpful SQLite documentation for generating the dump from your database A nice way to programmatically modify the table that you dumped with some examples

Read on →

RR for Test Doubles Presentation

Here is a presentation that I gave to the Indy.rb Ruby user group in Indianapolis. It covers the advantages of using RR (double Ruby) for concise mocking and stubbing and gives some real-life use cases to inspire thinking about testing using test doubles.

(Slides no longer available.)

Read on →