(Michael Chinen)

Category: debugged

30 years coding and still running into unsigned int bugs

I came across another unsigned int issue a year or so ago and for some reason I didn’t post it.  Maybe I was embarrassed?  Anyway that Mike is dead now, mostly replaced by new cells, so I’m posting it. It’s not a totally surprising either but I’ll post it anyway. If you have an unsigned […]

Xcode: Semi-stale libraries and the simulator

Edit: (2/8/2014) As usual, I’m an idiot – this problem was caused by having explicit linker library search path flags (e.g. -LTo/My/Old/AdMobDir) that took precedence over the new libs I added. It didn’t matter that I removed the old ones from the Xcode and git, because they were (oddly) specifying an external directory that had […]

Cisco AnyConnect VPN problems on android:

I’ve been using cisco VPN on android. It works pretty well, but sometimes, I would run into an issue where DNS wouldn’t resolve while connected (e.g. google.com fails to load in chrome and says DNS host lookup fail). This would happen and leave me out of luck for a week for that device. The internet, […]

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 = […]

Back to top