3 Good Habits for Avoiding Memory Leaks in Objective-C

I have been developing software in Objective-C for quite some time now, but I continue to discover new ways to shoot myself in the foot, particularly in the way of memory management. A while back, I wrote a post about finding iOS memory leaks using Xcode’s Instruments. This is a great tool for discovering memory leaks and tracking them down. But ideally, we would not have to deal with Objective-C memory leaks in the first place! The best way to avoid these types of problems is to stop them before they start.
Read more on 3 Good Habits for Avoiding Memory Leaks in Objective-C…

Utility to Initiate the Rebuild of Indices for CouchDB Design Document Views

I recently worked on upgrading a CouchDB instance and migrating it to a new server. Because of the upgrade and migration path, I needed to dump all data from the existing CouchDB, and then load it into the new CouchDB.

Fortunately, the Python libraries for working with CouchDB provide a convenient set of utilities to snapshot a CouchDB instance to a MIME multipart file, and then load that MIME multipart file into a new CouchDB. Although the utility handles all documents, attachments, and design documents, it does not provide a way to initiate a rebuild of the indices for views associated with design documents. I wrote a simple utility to aid in this process.
Read more on Utility to Initiate the Rebuild of Indices for CouchDB Design Document Views…

Run a Local Rails Script on Heroku

Heroku provides a convenient command line interface for executing snippets of Ruby code remotely. One-liners can easily be piped into the heroku run console command. But what about much longer scripts that you write locally and want to execute in a remote Heroku environment? In this post, I’ll show you how to execute a long Ruby/Rails script in a remote Heroku environment.

Read more on Run a Local Rails Script on Heroku…

Your Logs Should Be Considered Features, Too

Sometimes, printing things out is the simplest debugging technique we can use. And then, when we forget to take the print statements out, we call the output our logs.

That’s a mistake. Logging shouldn’t be an afterthought. It’s a core piece of diagnostic tooling. Logs are so cheap to integrate that they are almost always an extremely high return-on-investment feature. Your logs should be treated as first-class features warranting all of the attention to detail that you give to your more user-visible features.
Read more on Your Logs Should Be Considered Features, Too…

Application Rewrites – Getting Started

Ugh. Imagine you are responsible for leading a project to replace a 15-year-old, complicated, internal business application. No one is happy with the status quo, and the complexity of the application makes this project seem intractable.

You ask yourself, “How did things get this bad? How am I going to get started?”
Read more on Application Rewrites – Getting Started…

Three Tactics for Improving Your Self-Management

The book Emotional Intelligence 2.0 is a fantastic introduction to this topic. In quick summary: We’re all humans, we all have emotions, and despite what we might tell ourselves, our emotions dictate our gut-level decisions and responses. Emotional intelligence skills kick in when it’s time to wrangle an emotional response into a productive and positive outcome.
Read more on Three Tactics for Improving Your Self-Management…

Building an Alexa Skill as a Web Service on Heroku

I love playing around with new technologies; I am truly a tinkerer at heart. As a consultant and custom software developer, I frequently have to answer questions like, “What does this latest iOS update mean for our app? Can we leverage any new features?” or, “What benefits can we gain from this new Bluetooth standard?” Keeping up with the latest languages, platforms, IoT gadgets, etc., can be a daunting task, but it can also be really fun if you take it in small bites. Read more on Building an Alexa Skill as a Web Service on Heroku…

loading…