Weekly newsletter about leadership, technology, books and anything else we felt compelled to share with others
Year 4 - Edition 17
A Fistful of Links is a weekly newsletter about leadership, technology, books, and anything else we felt compelled to share with others, brought to you by Og Maciel and Mirek Długosz.
Unclogging the Bug Pipeline
By James Bach
To test well is to find the bugs that matter, assuming that those bugs exist (and we always, always, begin with that assumption). These bugs begin in the darkness. (…) The product, the tester, and the test process itself — all these things together — can be thought of as a sieve with different filters that can block the good bugs from being reported.
The standard wisdom is that Python strings are immutable. You can’t change a string’s value, only the reference to the string. Which implies that each time you make a change to a string variable, you are actually producing a brand new string. (…) This is wrong.Sort of.
Write code that is easy to delete, not easy to extend
Every line of code written comes at a price: maintenance. To avoid paying for a lot of code, we build reusable software. The problem with code re-use is that it gets in the way of changing your mind later on. (…) Instead of building re-usable software, we should try to build disposable software.
Performance comparison: counting words in Python, Go, C++, C, AWK, Forth, and Rust
By Ben Hoyt
I describe a simple interview problem (counting frequencies of unique words), solve it in various languages, and compare performance across them. For each language, I’ve included a simple, idiomatic solution as well as a more optimized approach via profiling.
Recovering Our Lost Free Will Online: Tools and Techniques That Are Available Now
By John Goerzen
As I’ve been thinking and writing about privacy and decentralization lately, I had a conversation with a colleague this week, and he commented about how loss of privacy is related to loss of agency: that is, loss of our ability to make our own choices, pursue our own interests, and be master of our own attention. (…) The irony is that our present moment is one of enormous consolidation of power, and yet also one of a proliferation of technologies that let us wrest back some of that power. In this post, I hope to enlighten or remind us of some of the choices we have lost — and also talk about the ways in which we can choose to regain them, already, right now.