-
i used to be a programmer
Yesterday I was at Owl & Company over on Piedmont Ave in Oakland and came across an interesting read by complete chance. It is a book of poetry and narrative of archy, who was a roach in 1920, and before that, a free verse poet. Archy hops from key to key on a typewriter leaving […]
-
Here’s my .emacs file in all its unedited glory. May it be a light in your time of google searching or a darkness in your time of trying to understand how to configure emacs. It’s also in a gist. It’s a franken.emacs from lots of sources on the net. I’ve forgot them all, but almost […]
-
pop quiz: why are my parameters zero when I pass them in with non-zero values
This one had me stuck for a number of minutes. It’s not hard, but it got me. See if you can spot it: say you create a new class that is inited like so: @interface YoDogWhatsWrong @property (nonatomic) float aValue; @end @implementation YoDogWhatsWrong – (id)initWithAValue:(float)aFloat anotherValue:(float)someOtherValue { if ((self = [super init])) { self.aValue = […]
-
Android Dev Console Wallet Registration: Error 400
If you’re setting up IAP for the first time on your google dev console, you will probably need to setup google wallet for merchants. I ran into a silly bug where I fill out the form and always got a message that read: An error occurred {“type”:”PLATFORM_ERROR”, “payload”:”400″, “request_id”:”4EDF17245AA00.A803E4F.6DB2″} Emailed support a couple times, turns […]
-
Namespacing a framework in objective-c, @compatibility_alias, and #defines
Shakespeare said something about roses and names smelling nice, but if you’re Outkast you know that sometimes, roses really smell like poo. Additionally, if you’re a programmer, you sometimes need to get another set of better spelling roses to set the world right. Far-fetched metaphors aside, namespacing issues come up less than I would expect. […]