Architecting Trust in Client-Side Analytics, Part One
I wrote a bit about designing a robust analytics tracking system for the BuzzFeed iOS app. Part Two coming shortly.
Hi I'm a NY-based programmer and designer. I'm big on making apps, art, and games. See what I've been hacking away at on Github or hit me up on Twitter as @dmaurolizer.
I wrote a bit about designing a robust analytics tracking system for the BuzzFeed iOS app. Part Two coming shortly.
Anamanaguchi
Power Supply (2016 Re-Release)
I was on the iPhreaks podcast last week to talk about Swift coding standards. We had a great chat about the why and what of codifying style and patterns in a brand new language, and the recording just went live.

ELO: The Video Game
(Source: dmauro.com)

This game Jen and I built with a cool stranger we met at the Jean Claude Van Jam came up the other day and I was happy to see that the domain showhermythailand.com is still up and running.
In case you missed it, just before that game jam, JCVD revealed the unsurprising news that he had had an affair with Kylie Minogue. How could we not make a Street Fighter themed dating sim after hearing that news?!
Perhaps the most amazing thing about this project is that every single quote that you can select to try to flirt with Kylie Minogue on the set of the Street Fighter movie is something that JCVD has actually said.
I found a pretty sneaky JavaScript Core bug recently which was triggered by getting an exception when evaluating JavaScript with a JSContext. When the JSContext that caught the exception is deallocated, it would crash my app. Luckily I ran into this not long before WWDC so I was able to get some help with it in the WebKit lab. As it turns out there was a bug in JSContext’s dealloc method that was only just recently fixed, but unfortunately we won’t see that fix until iOS8 is out. If you need to support iOS 7 and want to use JSContext to evaluate JS, the fix is very simple; before your context gets released, simply nil out its exception property. Here’s a simple code example:
@autoreleasepool { JSContext *context = [[JSContext alloc] initWithVirtualMachine:[[JSVirtualMachine alloc] init];
[context evaluateScript:@"bad"];
// This needs to get nil'd before deallocation
context.exception = nil;
}
So save yourself the trouble and make sure to always clear the exception of any contexts you have used to evaluate code before deallocating it if you’re targeting iOS 7.

I made a watercolor version of the album artwork for Anamanaguchi’s Aurora/Densmore single. It’s definitely one of my favorite album artworks so thank you to whoever the original bit artist is!
Wow, this is awesome! I created the original gif almost four years ago. It’s really cool to see it unearthed like this. I only wish I could see your version animated…

I guess I forgot to post this to Tumblr. This was the animated gif art I made for Anamanaguchi’s Aurora single back in 2010. It was part of a cool website I built for them, which you can still find here: www.anamanaguchi.com/singles/
My arcade cabinets have moved back from the Canvas office to my apartment. I spent a few hours today assembling them back together again. It’s a bit more work than you might think because there are a LOT of wires and custom hardware involved in making the best arcade in the city. I realized I should probably make public my old Arcade Otaku post detailing their creation, so here you are: