Thursday, January 29, 2009

Citizenship

I had the pleasure of watching my better half Yoeum (now Samantha, for the confused - she's changing her name along with her citizenship) be sworn in as a United States citizen this morning. 6000 people all becoming citizens. I'll need to be here 7 years as a permanent resident before I become eligible.

Things are starting to come together for the move to Canada - looks like I'll be up there for 6 months at the least. Still in two minds on whether to bring the mx5 up with me, or put it up on blocks and stick a tarp over it till I get back.

Labels: , ,

Blogger

The PHP and CSS monstrosity I hacked together 7 years ago has been retired. 10xshot is dead, long live 10xshot!

Labels: , , ,

Monday, January 26, 2009

Linux photo rescue

I got to recover a number of "deleted" images off an SD card today, after an iPhoto crash on friend's laptop; after a quick google, I encountered this guide, which details the use of PhotoRec, an opensource util that scans at the device level to recover photos. Handily, it's available in apt on Ubuntu Netbook Remix under the name testdisk. The only deviation I made from the article was to mount a dir on my desktop over sshfs (I couldn't be arsed making nfs or samba work), as space is at a premium on the mini9 (photorec has to put the recovered pics somewhere) - which reminds me, I still need to put the new SSD in the mini. Will do it at some point when I feel motivated, or the root fs hits 100%.

In other news, Yoeum is at a conference till Tuesday, so I've been filling in the time catching up on some books, namely "iPhone Open Application Development", which details how to write applications for a jailbroken iPhone using an open source toolchain. It's a well-written book, and has certainly taken the edge off the crawling horror that is ObjectiveC. I wish it had gone into more detail on 2D graphics primitives, in the case where you want to draw directly on the screen (say for an archery scoring application) it basically tells you how to address a buffer and swap it, how you populate the pixels is up to you. Bummer. Once I get around to jailbreaking it, I'll start some experimentation; some googling will probably turn up some useful 2D library calls. I hope. It occurs to me as I write one could just kludge up some OpenGL to come up with a pretty decent approximation; this may indeed be the way forward. Time will tell.

I also have "Teach Yourself Electricity and Electronics" to get through, as I'm tired of my half-understood 6-year-old-highschool-physics understanding of the subject, and I want to get busy with an Arduino.

Labels: , , , , ,