Apple’s introduction of Swift to the Cocoa development toolbox has created a buzz amongst Cocoaheads. The language is flexible and lends itself to new patterns which traditionally Objective-C programmers are excited about. I got excited about a pattern that emerged while working on a new version of the Dead Man’s Snitch iOS app:* using Swift structs to store application configuration information*.
People are under the impression that HABTM relationships are deprecated because of the newer Has Many Through relationship. Both are good, and both have their place, but HABTM is still valid, vibrant, and useful!
Fixtures are great tools that have been sadly overlooked for a long time in the Rails world. Lets start using them again.
By default, Ruby only rescues subclasses of StandardError to allow the really bad stuff to halt your program.
Amazon Web Services runs an every growing percentage of the Internet, which means AWS accounts are more so a target of those-we-will-not-name. This post outlines the recommended minimal setup we at Collective Idea now apply to every Amazon account to ensure sufficient security.
Have you ever been distracted while working in terminal and lost your cursor? Then, once you focus your attention back to your work, had to scan frantically and repeatedly through a mass of text for the small, blinking rectangle? iTerm has a sweet new feature that lets you zero in on the location of your cursor letting you find it quickly and efficiently. Just press Command-/ and your screen fades around your MIA cursor. The longer you hold down the keys, the more drastic the contrast between the fading and the location of your cursor, pinpointing you to its exact location!
I love designing and developing APIs. In building a great API, the design and development processes demand equal attention. The problem is that popular development approaches don’t emphasize the design process. You may be familiar with the concepts of “test-driven development” and “behavior-driven development”, but let’s talk about the lesser-known concept of “documentation-driven development”.