Tag Archives: Programming

Using a UITextField like an ATM keypad.

A small snippet of code that uses a UITextField like an ATM keypad. E.g. You start typing in a sequence like this: £0.00 -> £0.02 -> £0.20 -> £2.05 -> £20.50 Elsewhere define and store a reference to a NSNumberFormatter … Continue reading

Posted in Programming | Tagged , , , , | 2 Comments

Backing up Steam with CWRsync

This may or may not be of use to other people, and seeing as I’ve not written a blog post for ages, I thought I’d post it here. Before demolishing my PC last year and building a new one once … Continue reading

Posted in Games, Programming | Tagged , , , , , , | Comments Off on Backing up Steam with CWRsync

Progress doesn’t always feel like progress.

So many changes have been made, which doesn’t always feel like you’re getting anywhere. I’ve made it so that Recipes sent in any form are transmitted as JPEG’s at 50% quality, it seems you can set the quality level of … Continue reading

Posted in Cooking, Games, Programming | Tagged , , , , | Comments Off on Progress doesn’t always feel like progress.

I’m still here. A smorgasbord of stuff.

It’s been a while since I posted anything so this is a bit of a mish mash update. The holiday in Madeira was excellent. In particular the Monte Palace gardens which included an excellent exhibition of minerals, I bought the … Continue reading

Posted in Miscellany | Tagged , , , , | Comments Off on I’m still here. A smorgasbord of stuff.

So so close.

Just two bugs away, probably, from having something working in its entirety. E.g. everything else is additional features rather than core functionality. Current bugs: 1 – Render of StepTableCell is outside the bounds of the cell for reasons unknown, it’s … Continue reading

Posted in Programming | Tagged , , | Comments Off on So so close.

A summary of the day.

Good day.  Silly exc_bad_access bug resolved.  A macro in gdb to print the retainCount (mentioned in a previously posted link) is indeed very handy.  Spamming this through the code was also useful: NSLog(@”%@ <nameoffunction>”,self);   <— (or with another %@ … Continue reading

Posted in Games, Programming | Tagged , , , , | Comments Off on A summary of the day.

I squished a bug.

Two days chasing down a bug and the first thing to enter my mind is “I squished a bug”. Yeah I own the album and the song was stuck in my head. So…… “I Squished a Bug” an ode to … Continue reading

Posted in Music, Programming | Tagged , , , , , , , , | Comments Off on I squished a bug.

How to populate CoreData at runtime from a remote source.

To me it seems that documentation on populating apple Core Data based stores is sorely lacking instructions on how to populate the database at runtime from remote sources. Most people electing to populate an SQL Lite database and then just … Continue reading

Posted in Programming | Tagged , , , , | 2 Comments

A little bit of this and that.

Quite a few things have vied for my attention this week. I ploughed through 2 books, namely The Girl who Played With Fire a book on Obj-C. I’m now reading The Girl who Kicked the Hornets Next and Living Next … Continue reading

Posted in Literature, Miscellany, Programming | Tagged , , , , | 6 Comments

OpenCV is pretty darn excellent.

It’s a heck of a lot faster than my code, the canny/sobel operators especially. Also it works. See photos for more. The first is the original with 5×5 blur to reduce the noise, the second is adaptive threshold and the … Continue reading

Posted in Programming | Tagged , , | 2 Comments