Monthly Archives: February 2012

The Obamas: The IAMA

This is why I love Reddit so much – so I know who Jodi Kantor is, I have seen her on the Daily Show and Charlie Rose.  There was some interesting info there but like all television or traditional media it was a very one dimensional set of interviews.  The same sort of questions, the same tenor in all the answers.

Apparently she also did an IAmA and a very thorough one at that.  People asked all sorts of questions and she responded with some very interesting answers.  I love the idea that ANYONE can take the role of a Charlie Rose or Jon Stewart and interact with people like Kantor in real time and asking questions in a colloquial manner that you can’t really get away with on national television.

I love new media – I love the internet.  Reddit shows the best of what the internet is about.  Real time information, INTERACTION, colloquialisms and irreverence.  It just feels more authentic.  Of course she was there promoting her book but more importantly than that she is promoting the purpose of writing a book – the exchange of ideas and information and the idea that knowledge is a discourse and not just a feeding tube of info into a persons brain.

Totally worth checking out if you like politics and are interested in a candid discussion about the Obamas and journalism: http://www.reddit.com/r/IAmA/comments/p9knf/iama_author_of_a_new_book_about_barack_and/

Posted in Politics | Leave a comment

Dr. Debugger

Here’s a question – is there academic research in the field of debugging and software maintenance.  I don’t mean things like ‘maintaining bad code is 10x more expensive than designing good code in the first place’ kind of things.

I mean has there been research into methods of debugging – whether certain tools are more useful than others, methods of finding bugs, etc

That’s a book I would read.  If you could demonstrate in a scientific way that certain methods are more efficient than others that would be a very useful tool.

Posted in Programming | Leave a comment

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Cannot create an NSPersistentStoreCoordinator with a nil model’

I’m putting the final touches on another iPhone app and am looking at starting another.  I’d like to reuse a lot of the code I have already created and more importantly all of the open source libraries I set up.  Doing this is quite easy – you can basically just copy and paste the directory and rename most of the files to your new project.

One file you will probably want to rename is your xcdatamodelid.  When you do this you run into the problem that your old core data store will not automagically migrate over.  Even if you rename this file and the references to it you will likely get an error like:

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Cannot create an NSPersistentStoreCoordinator with a nil model’

I haven’t found a great solution for this, but one workaround is to simple ignore this error.  Rather than try and rename the xcdatamodelid file you can create an all new model file and copy and paste entities from the old file.  It seems (from stackoverflow) that when you rename the model file in xcode it doesn’t rename it on the file system correctly.  By creating a new file it seems to set things up correctly – then you just have to copy over your entities (or more likely just start creating new ones them yourself).

Posted in Projects | Leave a comment

So I made an app

I was reading reddit one day and came across this post.

Seemed pretty cool – only problem was it was Android only.  People were asking for an iOS version and since the original developers didn’t have an iPhone I volunteered to make one.

3 days later this is what I had (with the help from a fellow redditor who is a designer):

It’s a pretty simple app – you point it at a barcode, it scans and figures out if the people who make that product supported SOPA or not.  It was surprisingly quick to develop and I got the chance to learn some new things – namely how to use the excellent http://zbar.sourceforge.net/ barcode scanning framework.

The app was submitted around January 9th, and is still under review by Apple.  At this point it’s somewhat academic as SOPA is essentially tabled.  Still, it was a cool project and it’s something I’m proud to have worked on.  I am looking for more hobby projects like this – nothing to make money off of but rather something which has the opportunity to make a difference, in a good way.

Posted in Politics, Projects, Technology | Leave a comment