Crash early and crash often for more reliable software
Have you ever write defensive code and try to catch all the condition of the input and handle it gracefully?
Here, Matt, creator of Envoy Proxy, think that just let it crash is a better method. The resulting crash and stack trace will be extremely obvious, easy to debug, and fix. It
In this article, I introduce you to how memory allocation and garbage collection works and how you can avoid some common memory leaks.
How you could have come up with Paxos yourself
The Paxos algorithm is notorious for how difficult it is to understand. I had to learn the Paxos algorithm in my distributed systems class. I even have “implemented” it by translating Leslie Lamport’s TLA+ to Python. But I didn’t understand it until much much later. Now I have a better understanding of Paxos than I used to, I want to explain it to other people.
a method allows an attacker to remotely access any TCP/UDP service bound to a victim machine, bypassing the victim’s NAT/firewall (arbitrary firewall pinhole control), just by the victim visiting a website.
Moving BBC Online to the cloud
BBC migrated an existing on-premise site to the cloud. Use new technolgies such as serverless. Hundreds of people have been involved, over several years.
They talk about the approach we took to creating a new site that’s ready for the future. Delivering quality technology change, quickly and effectively.
PostgreSQL: foreign keys and insertion order in sql
Foreign keys are useful but they are a pain to use. You need to insert the data in right order. So how we’re going to figure out the order of relationship if we’re new to the data model?
Here, the author wrote an extensive query that generate that magic order.
Improve your debugging strategies
Have you ever gotten so frustrated while searching for an issue in your code that you tried something you know you already tried, just to see if it works this time? That is the point where a different strategy might work better
Code to read
🚴 Call stack profiler for Python. Shows you why your code is slow!
Essentially help you do this
42.humanize # => "forty two"
Go package to generate and manage color palettes & schemes. Probably we rarely need to use this, but it’s good to know how to do it in Go
A tool for monitoring and provisioning (coming soon) network devices written in Go. It features a check mode which complies with the monitoring plugins development guidelines and is therefore compatible with Nagios, Icinga, Zabbix, Checkmk, etc.
monitors Kubernetes, recording histories of events and resource state changes and providing visualizations to aid in debugging past events
a mail retriever designed to allow you to get your mail from one or more mail accounts on various mail servers to your local machine for reading with a minimum of fuss.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this