How to push a UINavController into a UINavController

For Remindo, I wanted to use the same view for both add and edit. I want the edit version to slide in from the right (navController style) and the new version to slide up from the bottom (modal style).

The edit UI actually has different levels of screens for editing (for specificity of date/time), so it needed to be it's own UINavController, which it turns out is very difficult to push onto an existing navController.

I am working on a full tutorial on how to do this, but until then this link is how my IB files are setup to allow this to work.

I think the new Honda Insight is a failure. Why? Because it gets the same gas mileage as my >5 year old Honda Civic Hybrid. I mean in 5 years it doesn't get over 42 miles per gallon?

Tt Tea Mugs

http://www.tekniqal.com

Various videos about basic Ruby concepts.

Tweetie for mac

Rating: 4.5

A very good twitter client for the mac that is definitely my current favorite.

Charles Proxy

I may need this in the next few days for debugging.

Panasonic All-in-One Cordless Hair/Beard Trimmer (ER224S)

Rating: 5.0

The Trimmer

I picked this up a couple weeks ago and I couldn't be more pleased. The main selling point to me is that it's water proof. Being able to do a quick trim while in the shower is fantastic.

This could be used to cut my hair as well, but we already have a set of Wahl clippers for that. I can say it does function well to clean up the details of a hair cut.

Picked it up at Target for ≈30-40 $'s.

I've commited changes to show admin controls when I am logged in. Fancy.

install_convert

This is my bash script to install everything I need for ImageMagick. I am going to try to keep it up to date as versions of things change. Feel free to fork and add new versions or libraries that might help.

Passenger runs on nginx now

I really like nginx and use passenger with apache, so I might switch to this for a current project.

iPhone Screencasts from The Pragmatic Studio

Ruby Best Practices Blog

Maybe I should try to get this blog running on app engine

The previous blog, in case you care

Dreamhost & Sinatra - Part 4

Well, it seems that a simple Gem.clear_paths is all that I needed. Or at least it appears to have helped out.

I found this out on the phusion blog.

You can see my dreamhost specific ruby code on github

Dreamhost & Sinatra - Part 3

I am going to try this for a while:

 module Gem
   def self.default_path
     [AppConfig[:production_gems_path], default_dir]
   end 
 end

Hopefully that will work.

Dreamhost & Sinatra - Part 2

OK, so passenger is randomly complaining that it cannot find my gems. It's purely random. I cannot isolate it. ENV['GEM_PATH'] = AppConfig[:production_gems_path] doesn't seem to work 100% of the time (95% maybe).

Weird.

Dreamhost & Sinatra - Part 1

So, I look this morning and nathanherald.com is down, passenger is complaining that it couldn't find the sinatra gem. This is all very strange, since it was running last night.

A simple touch restart.txt fixed it, which is even more weird since one would think that it wouldn't just randomly forget where my ruby files are. My current hypothesis is that when passenger killed my sinatra process for being idle, it did something weird and forgot where my gems were when it needed to bring it back up.

I have setup a cron job to touch restart.txt every 4 hours. That should keep passenger in the loop while I research this issue.

So, this is my new website. I finally got something up here that I don't think is absolutely terrible. I will be migrating the content from all my past sites to this one slowly, so sorry for everything to disappear all of a sudden.

I wrote this blog in sinatra and you can see it here in a github repo. It's running on dreamhost (which isn't that bad for sinatra apps).

There are a few things that do not work at the moment.

  • There are no comments. Coming soon.
  • The search doesn't work at all.
  • The feed is a bit wonky at the moment.

Any feedback? Please, fill out the contact form.