Collecting code coverage for executable scripts in Node.js is tricky. I’ve ran into this problem a handful of times at Yahoo, so I published a module that mocks stdin, stdout, and stderr and my experience using it in this post for Yahoo Engineering’s tumblr.
Reid Burke
-
“Mr. Market”
Warren Buffet, from his Letter to Shareholders, 1987 Berkshire Hathaway Annual Report:
Ben Graham, my friend and teacher, long ago described the mental attitude toward market fluctuations that I believe to be most conducive to investment success. He said that you should imagine market quotations as coming from a remarkably accommodating fellow named Mr. Market who is your partner in a private business. Without fail, Mr. Market appears daily and names a price at which he will either buy your interest or sell you his.
-
Panther Beach
A week ago was Martin Luther King, Jr. Day, which I spent visiting Panther Beach in Santa Cruz with friends. It’s not the most accessible beach. The parking “lot” is a patch of dirt off Highway 1 and getting down to the beach involves a steep hike. But it’s a great spot if you can reach it. We got up near the tide pools and took these shots as the sun retreated on this winter evening. All shots taken with an iPhone 5.
-
npm, Inc. first hires announced
Raquel Vélez (@rockbot) and CJ Silverio (@ceejbot) are the first hires of npm, Inc., joining @izs and @seldo.
I’m excited for this team. Congratulations to all of you!
If you’d like to join them, they’re hiring for a Senior Ops position.
-
Three Talks
I’ve been busy this month speaking at HackSI, YUIConf, and Bayjax. The videos will be available soon, but you can check out the slides now:
- Hacking 101: Build A Working Hack, for Southern Illniois’ first hack day
- Testing YUI Everywhere, how YUI runs 100K tests without losing our sanity
- You Can Test Everywhere, a combination of my YUIConf talks from 2012 and this year
My testing talks reveal what I’ve been working on for a few months: yo/tests, a commit-based test report for YUI that helps us ship quality releases. Compared to Jenkins’ build-based test silos and build-based CI dashboards, yo/tests actually lets engineers know what’s broken by organizing results around commits instead of build numbers and hiding flaky tests and infrastructure.