Mocking a Netty 4.0 server using Mockito

My last post about mocking a Netty server using Mockito worked for Netty 3.x, but the changes made in Netty 4.0 broke a lot of that work. After spending some quality time reading up on the changes from 3 to 4 and debugging my testing code, I got my mocked Netty […]

The case of the dead dispatcher

A while back at work, we noticed a periodic issue where remote jobs just weren’t being run. That was being caused by the fact that the jobs weren’t actually being sent to the remote AWS instances that were meant to be running said jobs. Just why the jobs weren’t being sent out […]

Mocking a Netty (3.x) server using Mockito

EDIT – This post was written for mocking a Netty 3.x server. For mocking a Netty 4.0 server, see this post. While working on an app with my current job, I wound up touching some code that didn’t have any unit tests associated with it. Since we’re a small team (but […]

Facebook development sucks

Pretty much everybody in the developed world (and most of the developing world) interacts with Facebook as an application. Not many people have to actually deal with Facebook from an API level. I’ve spent a few months writing some code that tries to perform a few simple tasks on Facebook, and it’s been […]

Performance tuning a RESTful API (part 1)

I spend a lot of time at work on a read-only RESTful API. A little bit of big picture here, the company I work for, Digitalsmiths, builds the data delivery APIs for TMS (they provide most of the scheduling data you see when you “Guide” on your TV remote). This […]

A more useful guide to getters and setters

While perusing the Internet, I stumbled on some question about getters and setters and why people are supposed to use them (which of course I can’t find the link to now, even with the help of the mighty Google). After reading the question, I realized something. Holy crap, a lot […]