Fuck Xcode

Two years ago, Brent Simmons introduced ded: a handy little alias to deal with Xcode quirks

alias ded='rm -rf ~/Library/Developer/Xcode/DerivedData'

It has been useful, but since recently it was not enough. Sometimes, Xcode will complain about not being able to use the simulator, even if it’s not running.

Screen Shot 2014-10-15 at 14.02.21

Or things will just fail randomly and often, leading to frustration and anger.

Eventually, ded was not enough, so here’s my replacement:

alias fuckxcode="pkill -9 -i 'ios simulator|xcode' && rm -rf ~/Library/Developer/Xcode/DerivedData && open http://www.calm.com/"

And I’ll quote Brent again on Bugs:

In the old days, programmers spent hours and days and weeks working very hard, and sometimes brilliantly, on difficult things that no one had ever done before.

These days, programmers spend hours and days and weeks working very hard, and usually unsatisfactorily, on getting around bugs in their platform.

Impossible debugging

If your first reaction on witnessing a bug or seeing a bug report is “that’s impossible,” you are plainly wrong. Don’t waste a single neuron on the train of thought that begins “but that can’t happen” because quite clearly it can, and has.

From The Pragmatic Programmer

I should print that and hang it on my wall because some days one needs to be reminded there are no impossible bugs, even when things just don’t make any sense.

Achievement unlock: unbricked


I just unbricked a router through its serial port using an arduino. As much as I wished to go back in time and leave the router alone during the process, when I saw the console in my laptop screen I had a wonderful Eureka moment.
After a whole day of trying (and failing) to replace my ISP router, I could use a win, even if that just meant leaving everything exactly as it was this morning.

Goodbye foursquare

If you haven’t heard about it yet, Foursquare recently split their app in two and released Swarm. And I’m angry about it. Well, as angry as I can be at a mobile app, which is not much.

It was about the same time as Skype released a complete redesign which also wasn’t popular, so the Swarm split was commonly dismissed as users resisting change. Just like every time Facebook changes its news feed, people go nuts about it.

To me, Foursquare always had three use cases (there might be more that didn’t apply to me):

  1. Seeing where your friends are. Since I don’t have many local friends that use it, it was only mildly useful on company meetups and conferences. This is the goal of Swarm.
  2. Discovering new places, the goal of the new Foursquare app. Quite useful (specially when traveling) and I’m sure it’ll still excel at this.
  3. The game. Not everything is about utility, and sometimes I wondered why I even bothered checking in, but it was fun. The mayorships, the leaderboards, the badges, the competition. The 200+ hours I spent in Battlefield 3 were not precisely “useful” either, but I even paid money for those.
My best week ever
My best week ever

I’d say the outrage is due to most of “the game” being gone. You might think this is just another case of users angry about losing features, but I think there’s more to it.

To me, there was an implicit social contract between Foursquare and its users:

You give us this check in game and we’ll help you build a database of places

Now the database is built, and apparently ready to be monetized, and the game is gone.

I’ve used foursquare since 2010, submitted a bunch of new places, sent corrections whenever I found errors or duplicates, and even considered applying to be a superuser.

I feel betrayed.

It might be their right as a private company, but it’s also mine to stop contributing to it. So I’m uninstalling foursquare today.

Uninstalling foursquare

 Update: I was thinking about deleting my account, and it’s funny how almost half their excuses for not deleting your account aren’t there anymore

Screen Shot 2014-07-09 at 16.29.23