Search results for: C++

When You’re Done, You’re Only Halfway Done

You’ve just checked in your code, given it a version number and are about to send it to QA, but wait, are you sure you are done? Sometimes when I use a new whizbang program, only to find it lacks some things which every useful program should have.  It is easy, especially when building a complex program with unique functionality, to focus entirely on the unique offering of the program. While an enormous amount of time should be put into differentiating a program, there are certain features that users now expect in order to get the highest performance out of […]

Experiments with C and Go: Spec-ing out a new changelog

// 05.07.2015 // Platform API

Here at MediaMath, we store and act on a lot of data – many terabytes a day. A small subset of that data – all of the marketing campaign, ad unit, client, spend, billing, and reporting data, which is used for our digital marketing platform, TerminalOne (T1) – is stored in a PostgreSQL database. And while a changelog exists for this database, it was built early in MediaMath’s development and is tightly coupled with – and therefore reflective of – only select core T1 API endpoints, ignorant to other endpoints entirely. We needed to build a new service that could […]

Whattup With Walt: Whattup with debugging?

Every time I’ve had a big debugging problem, it was because something was going on in the code that I wasn’t seeing. I’m sure you’ve had the experience of, after solving a bug, saying, “Oh, of course, that should have been obvious.” Well, it would have been obvious if you had seen what you thought was obvious, earlier. Having that experience, over and over again, taught me to make the inner workings of my program as visible as possible. #1. Write complete, detailed logs I start with writing complete and detailed logging. My log messages contain time, date, thread, log […]