Recent Comments
Archives
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
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 backups, Chef's Book, lastfm, Music, Programming, Rsync, Steam
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 Cooking, ipad, iphone, New Vegas, Programming
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 comedy, films, Holiday, movies, Programming
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
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 dealloc, Dragon Age, memory management, Programming, retainCount
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 bugs, gdb, Humour, I Kissed a Girl, Joke, Katy Perry, Music, Programming, Tribute
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
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 games, iphone, OpenCV, Programming, reading
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