Recent Comments
Archives
Author Archives: diziet
Yakuza 3 played by real Yakuza!
This is awesome, an american reporter (I think) who worked in Japan for years covering the tokyo underground managed to persuade 3 real Yakuza to play Sega’s awesome Yakuza 3. The first 2 were good and the fourth is very … Continue reading
Posted in Art
Comments Off on Yakuza 3 played by real Yakuza!
Gym diary. Part 1 of X
Well today was a first chance for a free personal trainer less session at the new gym. It broke down like this: 2km rowing at 7 in 9 mins~ 20 reps shoulder press at 8 1km jogging at speed 9 … Continue reading
A tiny tiny CoreData revelation.
Following on from the previous discovery of all the useful debugging features, including the Build & Analyze feature and the Performance Tool stuff, the argument to debug core data has one problem. It doesn’t display your parameters. So change that … Continue reading
Posted in Programming
Comments Off on A tiny tiny CoreData revelation.
More Objective-C cocoa gotchas.
Firstly… when you’re chopping and changing lots of files in and out (and using the refactoring functions to rename classes by highlighting the name and hitting apple-option-j) you can get linking errors of all sorts afterwards and strange crashes saying … Continue reading
Posted in Programming
Comments Off on More Objective-C cocoa gotchas.
CoreData and to-many relationships.
I’ve had a problem with a category being able to reference many subjects but a subject only having one category. Kept getting a fault for the relationship. The error looked like this in the debugger: CoreData: annotation: to-many relationship fault … Continue reading
Posted in Programming
Comments Off on CoreData and to-many relationships.
I need this for when I’m painting.
Perhaps I could get it attached to my future cyborg arm? http://research.microsoft.com/en-us/um/redmond/groups/ivm/imudeblurring/
Posted in Miscellany
Comments Off on I need this for when I’m painting.
Crypto chall…. errr whut?
Thanks to kirrus. I hadn’t actually looked at it since saving it to a text file… but yes it does indeed have exif data. You win! diziet@xenoglossicist:~$ cat cs_cypher.txt | base64 -d > fish.bin diziet@xenoglossicist:~$ file fish.bin fish.bin: JPEG image … Continue reading
Posted in Miscellany
Comments Off on Crypto chall…. errr whut?
Regular expression that checks for primes.
This via Noulakaz It might well be, but it’s a hack as it bombs at larger numbers: irb(main):001:0> def isp(n) irb(main):002:1> (“1” * n) !~ /^1?$|^(11+?)\1+$/ irb(main):003:1> end => nil irb(main):004:0> isp(55) => false irb(main):005:0> isp(57) => false irb(main):006:0> isp(101) … Continue reading
Posted in Programming
Comments Off on Regular expression that checks for primes.
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