A fun article for the end of the year, Mike Riley looks at the hardware innovations of 2021:
Mike also wrote a book this year about home automation projects using Python and Raspberry Pi. It’s one of those tech books that makes me think, yeah, I could actually do some of these projects.
Existing Books. We have most PragProg books in print there, with the exception of books for which the author or someone else retains the copyright. Some books with math that didn’t render properly on Medium’s platform are also absent.
New Books. It takes three to four months after books are officially published to appear on Medium. Yes, I know that seems like a long time–sorry. It has to do with the logistics of posting them as articles.
PragPub Archives. We are slowly but surely republishing articles from the archives of PragPub, a monthly magazine by and for software developers started in 2009 by Michael Swaine, former editor of Dr. Dobb’s Journal. The magazine began as a showcase for authors and their books and evolved into an independent publication about web and mobile development and the latest languages and tools for programmers.
If there is a particular PragPub article you’d like to see revived or a particular topic you’d like one of our book authors to write an article about, let me know and I will see what I can do!
Do programmers really write unit tests that test nothing? Sadly, yes. Tests that prove nothing have no benefit to your team. Removing them will make your coverage metrics honest and useful as Tim Ottinger and Jeff Langr wrote in Unit Tests Are FIRST from the archives of PragPub magazine in 2012:
Their unique book, Agile in a Flash, was published a year before, and contains tips for coaching agile team that are still useful today:
James Stanier has been giving us a steady stream of articles related to his wildly popular book, Become an Effective Engineering Manager. Here’s the last one in that series, appropriate to endings:
But endings are also beginnings for other things, and James has a new book in beta:
We hope to bring you articles related to remote work in the new year, so stay tuned.
It’s okay to fail–just learn something from it, and move on.
To brighten your Monday morning, Ken Kousen @kenkousen will be sharing his thoughts on failure. Look for the article starting December 13, 2021 at 6:30 AM.
Then Tuesday morning, check the Twelve Days of PragProg page for a flash sale (shhh, don’t let them know that I gave you the heads up).
Ken’s book is a must-have for the programmer on your list this season who needs a bit of advise for getting the most of the boss/employee relationship.
Google Colab is a computational notebook, which is a system that mixes code, text, and data in the same document. Using an interactive notebook, learn more about features and how to use Google Colab Notebooks from author Paolo Perrotta @nusco in this tutorial on Medium:
From the archives of PragPub magazine, April 2016, step into the world of cultural domain analysis (CDA)–the study of how people in groups think about lists of words that somehow go together and how this thinking differs between groups. Social scientists used to gather data for analysis using the pencil and paper approach. Thanks to computers and Python, social scientists can now automate tasks they used to do by hand. Using the Anaconda Python distribution, Dmitry Zinoviev shows you how to construct a Python script for analyzing cultural domains: https://medium.com/pragmatic-programmers/analyzing-cultural-domains-with-python-f661aca2a8c1
Ricardo Gerardi gives us a helper function to calculate the relative difference between input numbers to help with testing floating-point numbers in Go in this article on Medium:
Ricardo’s book, Powerful Command-Line Applications in Go, was just released by The Pragmatic Bookshelf:
You wake up to 404 errors and missing content on your website. You were hacked.
To protect your website, make sure that your passwords are strong, that SSL is enabled, and that you have a good backup system where you keep those backups going back many months.
In this article from the April 2018 issue of PragPub, Erica Sadun gives us “In Which I Get Hacked: A Cautionary Tale”
For the holidays we are keeping things low-key. In fact, The Pragmatic Bookshelf offices are closed from December 24 through January 3rd. The next few posts are about books that have recently been released in beta or in print, plus a couple of articles from the PragPub archives. Look for the following upcoming articles.
Is it time for a New Year’s resolution for the workplace? Maybe so.
Here’s a sneak peek for January 4th. Johanna Rothman cautions us to be wary of being the person who brings birthday cakes and schedules farewell lunches. Those non-promotable tasks do little to advance your career, and mostly no one notices when you stop doing them.
In the Futurama episode “Godfellas,” God tells Bender, “When you do things right, people won’t be sure you’ve done anything at all.” How do you, as a program manager, know when you’re doing your job well? Author Ben Cotton tells us in this article:
You want to know the answer to this question whether you’re a professional program manager or a volunteer in an open source community filling that role.
Ben @bcotton has a new book now in beta from The Pragmatic Bookshelf:
@michaelswaine Mike Swaine is writing a monthly column for our Medium publication this year in which he explores our technology past. The first article is about Bill Gates as a teenaged hacker:
This article is worth spending one of your five free monthly reads on–it’s a fascinating story and gives you some insight into what is happening these days with security breaches.
Mike’s book with co-author Paul Freiberger is chock-full of such stories: