Author Archives: jeffmershon

About jeffmershon

Director of Program Management at SiriusXM.

Testing Mean.js Controllers – Part 2

You need to test that only authorized users can perform certain functions, to help prevent AshleyMadison-like embarrassments. Plus, doing so will boost your code coverage metrics by hitting all of those auth failure branches. For mean.js with passport, you normally … Continue reading

Posted in Software | Tagged , | Leave a comment

Testing Mean.js Controllers – Part 1

It’s time to test controllers. In this post, I’ll test a controller that returns a json response. Step 1 is to install node-mocks-http. Step 2 is to download jsdValidator. In our sample controller test file, include jsdValidator and create a schema. … Continue reading

Posted in Software | Tagged , | Leave a comment

The fungibility fallacy

You no doubt have heard of Brooks’ Law: Adding people to a late project will make it later, popularized in his 1975 book The Mythical Man-Month. But more than 35 years later, the practice still happens, with predictable results. But … Continue reading

Posted in Software | Leave a comment

Current state of reducing UAV piloting workload.

Here are a few products that illustrate the current state of reducing the workload of piloting a UAV, at least for drones below a certain pricepoint: The Hexo+ dispenses with the traditional joystick-based controller; instead, the hexacopter is controlled entirely … Continue reading

Posted in Software | Leave a comment

Recovering from a near-catastrophic npm update

I was tracking down a vexing problem in my node app. I was converging on my problem being a memory leak in a 3rd party node module, and decided to do an npm update. I typed in npm update and, … Continue reading

Posted in Software | Leave a comment

Triage Changes to Manage Risk Using Code Reviews

Code reviews need to happen in-band with the main development & deployment process. To do otherwise limits their effectiveness and generates resistance–like every other out-of-band task that interrupts flow. Tests and code coverage, linting, and complexity metrics are some of … Continue reading

Posted in Software | Tagged , | Leave a comment

Robert Saunders–the Real Father of Perpetual Beta

The concept of perpetual beta is attributed to modern web applications, but I first encountered the practice–and the phrase–in the early 1990s. Yes, the early 90s, when software shipped on floppy discs! At the time, I was working at Logic … Continue reading

Posted in Software | Leave a comment