Author Archives: Kalle

The power of binary operations.

The following code: Selec All Code:NSString *resolvedSource = oneResolved ? oneSource : otherSource; if ([self projectSourceIsPortrait:resolvedSource]) { if (oneResolved) { oneTile.landscape.source = otherSource; } else { oneTile.portrait.source = otherSource; } } else { if (oneResolved) { oneTile.portrait.source = otherSource; } … Continue reading

Posted in General | Leave a comment

Right.

Posted in General | Leave a comment

Bleh.

Yep yep, Swedish water is so fucking wonderfully clean. We’re so god damned proud of it it makes you vomit.  

Posted in Sweden | Tagged , , | 4 Comments

Can’t think of a more sophisticated way to get kicked out.

In the Console for my iPad, I got the following just as my app was killed for using too much memory: <?xml version=”1.0″ encoding=”UTF-8″?><!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”><plist version=”1.0″><dict> <key>Label</key> <string>syslog_relay</string> <key>ProtocolVersion</key> <string>2</string> <key>Request</key> <string>Goodbye</string></dict></plist> Despite the annoyance … Continue reading

Posted in General | Leave a comment

Privacy

As some of you know, I moved to a new apartment in January, and with that obviously came a bunch of subscriptions (as in, “electricity bill” kind of subscriptions). I had the option to choose between a bunch of different … Continue reading

Posted in Privacy | Tagged , , , , | Leave a comment

Honestly…

I hate to gripe just as the next guy, but seriously… going to the U.S. is just becoming more and more of a pain in the ass as time goes on. I’m going to S.F. to attend WWDC 2011, which … Continue reading

Posted in General | Tagged , , , , , | 1 Comment

Worst week ever.

Monday: exam, Computer Science — went well, I thought. Wednesday: exam, Linear Algebra and Geometry — uh, yeah. That was a waste of effort. Friday: exam, Networks and Communication — at least this one went reasonably well. Monday’s exam I … Continue reading

Posted in General | Leave a comment

iPhone Personal Hotspot

The next version of iOS (iPhone OS), 4.3, features a thing that android phones have had for awhile now (and jailbroken iPhones) — Personal Hotspot. I.e. the ability to set up a WiFi station on your iPhone and surf the … Continue reading

Posted in Hardware | Tagged , , , , , , , | 2 Comments

Managed-by-Xcode provisioning profile that expired.

Any iOS developer has learned to appreciate the cruelties and hardships of life the moment they begun trying to make sense of Apple’s “unique” provisioning profile system. In short, it blows donkey-brains. That said, here’s a bit of info for … Continue reading

Posted in Work | Tagged , , , , , , , | 3 Comments

Thanks for the privacy, Apple.

A few weeks ago I was in the laundry room doing, you guessed it, laundry. The machine had 5-6 minutes left so I decided to just sit and wait, while fiddling with my iPhone. Bored as I was, I typed … Continue reading

Posted in Stupid | Tagged , , , , , | Leave a comment