Adding an Assertion Macro in Objective-C

TL;DR: #define CHECK(val) NSAssert((val), @#val) // Then use: CHECK(/* something (hopefully) true */); Long version: iOS made the the somewhat bizarre choice that dereferencing a null pointer is not an error. The program just ignores that line and keeps going. Now this causes fewer crashes (yay-ish), but when I developing I’d really like the programContinue reading “Adding an Assertion Macro in Objective-C”

MongoDB: The Definitive Guide 2nd Edition is Out!

The second edition of MongoDB: The Definitive Guide is now available from O’Reilly! It covers both developing with and administering MongoDB. The book is language-agnostic: almost all of the examples are in JavaScript. Upgrading from a previous edition? If you have read the first edition, the new edition covers a lot of new material (itContinue reading “MongoDB: The Definitive Guide 2nd Edition is Out!”

Recruiting in all the wrong places

A recruiter had an email exchange at me the other day. It started with the standard recruiter email: Hi Kristina, How are you enjoying 10Gen? Any interest in going to something earlier stage? I’m working with a client in <field I’m not interested in>. Obviously the specificities of that are fascinating. Let me know ifContinue reading “Recruiting in all the wrong places”

Guide to Tech Interviews

I’ve been interviewing people for programming jobs for five years and I’ve recently gotten a look at the interview process from the other side. Here are some suggestions for acing tech interviews. Read Cracking the Coding Interview (available for free from here, Google Play, and various other places). It is incredible, it basically covers everyContinue reading “Guide to Tech Interviews”

The Snail Crawls On…

A bit of housekeeping: I’ve changed domain names, now this site is kchodorow.com, not snailinaturtleneck.com. Old links should still work, they’ll just be permanent redirects to the new domain. Please let me know if you come across any issues! Why the change? kchodorow.com sounds more professional and is shorter. Also, I’m after fame and gloryContinue reading “The Snail Crawls On…”