Author Archives: Diziet

I lied, I love databases too much and core data is a weird one.

Strictly speaking this isn’t a post about core data, honest. It’s ACTUALLY a post about how iPhone applications are deployed and updated. My shipped application contained two data models, my new application also contains two data models. One of the … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Another Core Data post. Last one for a while I expect.

It seems that when you create a mapping model for core data migrations using XCode (3 or 4) it will not create mapping models for abstract entities you could try here. If you do not create this manually within your … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Using Core Data’s automatic migrations to update data

It’s not brilliantly efficient but it does reuse existing importing code and it does work reliably and well.  If I update the app to include new recipes I only want to include them once.  When the app is first launched … Continue reading

Posted in Chef's Book, Programming | Tagged , , , | 2 Comments

Ownership of user created content.

I want to implement some concept of ownership/authorship in Chef’s Book.  Not for any reason of control but as a way of letting users swap recipes without data loss or unnecessary duplicates.  The problem is if I email a recipe … Continue reading

Posted in Chef's Book, Programming | Tagged , , | Leave a comment

Whilst the mac is away we play with android.

Seeing as my mac is temporarily indisposed seeing as it no longer charges from the magsafe connector I’ve been fiddling with android/eclipse getting a rudimentary chef book app running there. I must say the layout of interfaces comes as a … Continue reading

Posted in Programming | Tagged , | 1 Comment

A small script hacked up to monitor directories.

This is something I knocked up a while ago just to keep an eye on a directory structure for permissions changes, excluding upload directories and other things: #!/bin/bash ignore[0]=”./public_html/blog/wp-content/uploads” ignore[1]=”./bb-attachments” cd unset unsecure i i=0 while IFS= read -r -d … Continue reading

Posted in Programming | Tagged , | Leave a comment

Application Accepted!

Well that was quite smooth, the application is now in the App Store Right Here!. In other news it appears I’d completely forgotten in my rush to get the site live to include LV partitions for the site and it’s … Continue reading

Posted in Chef's Book, LVM, Miscellany, Programming | Leave a comment

Application Submitted!

Well actually it was submitted last Friday, but with the announcement of the iPad 2 and everything else I’m not expecting it to go live this week. Suffice to say I’ll be posting a store link or page link here … Continue reading

Posted in Miscellany, Programming | Tagged , , | Leave a comment

So two weeks work later.

And I have a reasonably themed wordpress install, integrated with a reasonably themed bbpress install. Not bad having never touched html or css before. Now I just need to gather those screenshots up. So, it’s kinda live: Chef’s Book I … Continue reading

Posted in Miscellany | Leave a comment

DynDNS.org + Bash + Router == A tiny bit safer.

Pondering how to lock down a few bits to just an IP or two I hacked together this awful bit of bash: #!/bin/bash function valid_ip() { local ip=$1 local stat=1 if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then OIFS=$IFS IFS=’.’ ip=($ip) … Continue reading

Posted in Programming | Tagged , , | 1 Comment