Welcome to issue #148. I got quite a bit of stuff, code and tooling. Lot of fun thing like tool to write books, podcast cli. I also included more videos link than normal, since we’re having more time during this pandemic.
If you are a person who enjoy online video lessions, you may check out Free Online Courses from hardvard. They have lot of stuff, from computer science to physis to math.
DIY Single Sign-On for SSH
We are going to set up Google single sign-on for SSH. Behind the scenes, we’ll use OpenID Connect (OIDC), short-lived SSH certificates, a couple of clever SSH configuration tweaks, and Smallstep’s open-source step-ca and step packages. We will set up an SSH Certificate Authority, and use it to bootstrap a new host and a new user in our system. While this approach requires more up-front work than a typical SSH public/private key setup, it comes with a lot of benefits beyond single sign-on. It eliminates the need for gathering and shipping and managing authorized_keys files.
Systems design for advanced beginners
You are in desperate need of a detailed yet concise overview of how real companies do this. How do they store their data? How do their different applications talk to each other? How do they scale their systems to work for millions of users? How do they keep them secure? How do they make sure nothing goes wrong? What are APIs, webhooks and client libraries, when you really get down to it?
A TCP/IP Tutorial
This RFC is a tutorial on the TCP/IP protocol suite, focusing
particularly on the steps in forwarding an IP datagram from source
host to destination host through a router. It does not specify an
Internet standard. Distribution of this memo is unlimited.
Refactoring: This class is too large
This is a story about refactoring. It’s the third item in the TDD red-green-refactor cycle and it’s the thing we do all the time, right? Except when we don’t.
I have an unruly code base which has suffered from refactoring neglect, so I’ve been bringing it back into line. In this article I will take a class that is too large, and make it smaller.
When to mock
The use of mocks in unit testing is a controversial topic (maybe less so now than several years ago). I remember how, throughout my programming career, I went from mocking almost every dependency, to the “no-mocks” policy, and then to “only mock external dependencies”.
git from the bottom up
Welcome to the world of Git. I hope this document will help to advance your understanding of this powerful content tracking system, and reveal a bit of the simplicity underlying it — however dizzying its array of options may seem from the outside.
Make sure you click on “Table of Contents” to see all chapters.
The Composition Over Inheritance Principle
The code example are Python but it walk us through Python’s logging module is a good example in the Standard Library itself of a module that follows the Composition Over Inheritance principle. Python focus but you got the idea.
How we do gitops at mettle
gitops are a strategy in DevOps when we store all the configuration into Git repository and re-popolate it from there. So then we can code review
infrastructure change. Imagine instead of creating a deployment, you write the revision into a file in your repo, commit and the change will be applied to your cluster through some tools that listen for github change and apply to your environment
Code to read
A PDF parser written in Python 3 with no external dependencies
A fun little project that uses a neural network to map your facial movements onto an avatar of your choice.
You have to watch the demo to get the full effect.
It can even translate your Zoom/Skype into Steve Job, Mona Lisa, Elon Musk
This a graphics library and CLI focused on generative fine art for print.
a scripting language for learning and fun
Ternary computer emulator
Realtime collaborative markdown notes on all platforms
a friendly command-line tool for deploying Rails apps. It is a new alternative to Capistrano, Mina, and Shipit that aims for simplicity and developer happiness. I myself have been moving to Kubernetes so probably I’m not going to use it as a deployment tool but it’s cool to see how it’s written. How to handle thing like SSH.
The native golang ssh client to execute your commands over ssh connection.
Similar to above one, you can learn about SSH but in Go.
a Kubernetes as a Service platform. It empowers you to provide or consume Kubernetes clusters at scale, on any platform or service provider. You decide.
Create book from markdown files. Like Gitbook but implemented in Rust
The music discovery site used in over 1 million videos and games
lets you play your podcasts from the terminal
Library for efficient text classification and representation learning
an open source platform for deploying machine learning models as production web services.
an open source model driven graph database for knowledge graph representation designed specifically for the web-age.
Free, open-source SQL client for Windows and Mac with inline data visualization.
Find broken links in text documents
VPC design studio to help you calculate CIDRs with best practices networking visualization.
Give a CIDR range and it spit out code for Terraform, Pulumi, JSON
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this