This week I learn a quick shell tip I want to share. Whenever I run command and it failed because it need
root, most of time I use
up key to get back command
then go to beginning and add
sudo. Turn out, it has a quicker way, enter:
sudo !!. So just remember
sudo bang bang when you are in my situation.
Now, back to our usual issue.
What bugs cause cloud production incidents?
A study of every high severity production incident at Microsoft Azure services over a span of six months, where the root cause of that incident was a software bug. Data-format bugs, fault-related bugs, timing bugs, and constant_value bugs being the largest categories
Classes vs. Data Structures
Uncle Bob, author of Agile method, discuss about class vs data structure since we used them to encapsulate data.
You don't need Kafka
Highly opininated on some discuss about usage of Kafka and its hype among big corp.
Chrome Tracing for Fun and Profit
Slack write up on using Chrome Tracing: a tool that’s built into Chrome (and Electron) that can collect a huge variety of detailed performance data.
CAP theorem for software engineering
CAP says that distributed system cannot sasitify all three of Consistency, Availability and Partition tolerance.
What if we were to squint and apply the CAP theorem to another distributed system: a team of software engineers working towards a common goal
How Fast can A Single Instance of Redis be?
We all love Redis. It is easy to setup and run and you just forgot about its exsistence. But its single thread make you have
to carefuly to avoid blocking in a single request. KeyDB is a multi-thread fork of Redis. It claims 2x performance.
Creating a Collaborative Editor
A collaborative editor are able to keep a consistent state, even though multiple users are typing simultaneously. Even if multiple users are hammering away, smashing their keyboards, the state is kept consistent. Operational Transformation and Conflict-Free Replicated data type are algorithms to solve this problem.
Code to read
a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems
A pure-ruby code highlighter that is compatible with pygment
chatbot built with an artificial neural network
Open Source (Smart) Robotic Process Automation
A static file server in x86 Assembly
Display macOS Dock in Touch Bar
A lightweight full-text index server with a focus on speed and efficiency
A fast TCP tunnel over HTTP to pass through firewall. Similar to ngrok.
A smarter Dockerfile linter that helps you build best practice Docker images.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this