BetterDev #148 - DIY Single Sign-On for SSH and System design for advanced beginners
Better Dev #148 Apr 20, 2020
Hi everyone,
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.
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.
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?
We are going to see ready-to-use libraries and tools to parse SQL, and an example project in which we will build our own SQL parser. Another article about parsing SQL is Database basics: binary expressions and WHERE filters. We linked to this article before where the author is writing a SQL database from scratch in Go. And if you want more fun on query compiler, check SELECT wat FROM sql.
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.
Tania jouney on a challenge to write a CHIP-8 interpreter to learn some of the basic concepts of lower-level programming languages and how a CPU works, and the end result is a Chip-8 emulator in JavaScript. Her Chip8.js code interfaces with not just one but three environments, existing as a web app, a CLI app, and a native app.
This is a story about refactoring. It’s the third item in the TDD red-green-refactor cycle[1] 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.
a data structure that simplifies distributed data storage systems and multi-user applications. https://news.ycombinator.com/item?id=22850817a
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”.
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 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.
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
Tips for linting, tracing and debugging
Code to read
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
machine learningA TypeScript/JavaScript library for working with ASN, IPv4, and IPv6 numbers. It provides representations of these internet protocol numbers with the ability to perform various IP related operations like parsing, validating etc. Pretty useful if you want to learn more about IP Address.
JavaScripta 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.
RubyThe native golang ssh client to execute your commands over ssh connection. Similar to above one, you can learn about SSH but in Go.
GoVideo
Tools
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.
an open source model driven graph database for knowledge graph representation designed specifically for the web-age.
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
You can view this issue in web browser.
If you have any suggestion/feedback, do tell me by replying to this email. I read them all.
No longer want to receive these emails? Unsubscribe
Older messages
BetterDev #147 - How Much of a Genius-Level Move Was Using Binary Space Partitioning in Doom and Migration ZooKeeper into Kubernetes without downtime
Monday, April 13, 2020
Better Dev #147 Apr 13, 2020 Hi everyone, The world continue to need video chat software that secure and reliable. WebRTC is utilized a lot to quickly build your own tool. In this issue, I had 2 code
BetterDev #146 - Security Engineering: A Guide to Building Dependable Distributed Systems
Tuesday, April 7, 2020
Better Dev #146 Apr 6, 2020 Hi everyone, Memory Leak, Security, Low level systems: sound system and linux kernel module and how Slack deploy their system. I got them all this week :). Hope you like
You Might Also Like
Stripe changes its … stripes
Wednesday, April 24, 2024
TikTok on the president's docket and Nvidia acquires Run:ai View this email online in your browser By Christine Hall Wednesday, April 24, 2024 Good afternoon, and welcome to TechCrunch PM! Today
💪 You Can Use Copilot AI as a Personal Trainer — Why Your Laptop Needs a Docking Station
Wednesday, April 24, 2024
Also: Here's How to Make Your Apple ID Recoverable, and More! How-To Geek Logo April 24, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to
JSK Daily for Apr 24, 2024
Wednesday, April 24, 2024
JSK Daily for Apr 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JSK Weekly - 24th April, 2024 React 19 has introduced many great functionalities and
Daily Coding Problem: Problem #1422 [Hard]
Wednesday, April 24, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. Given a list of integers, write a function that returns the largest sum of non-
Charted | Artificial Intelligence Patents, by Country 🤖
Wednesday, April 24, 2024
This visualization shows which countries have been granted the most AI patents each year, from 2012 to 2022. View Online | Subscribe Presented by: New on VC+: Our Visual Briefing on the IMF's World
Save your seat: 1Password’s 2024 Security report insights webinar
Wednesday, April 24, 2024
Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Top Tech Deals 📱 LG Flex TV, Google Pixel 7, DJI Mini 3, and More
Wednesday, April 24, 2024
Get yourself a discounted DJI drone, save on the Pixel 7, or score some PC and phone accessories. How-To Geek Logo April 24, 2024 Top Tech Deals: LG Flex TV, Google Pixel 7, DJI Mini 3, and More Find
The Protest Song Wakes Up 🎙️
Wednesday, April 24, 2024
Is this song the future of musical protest? Here's a version for your browser. Hunting for the end of the long tail • April 24, 2024 The Protest Song Wakes Up A buzzy protest song about the
JSK Weekly - 24th April, 2024
Wednesday, April 24, 2024
React 19 has introduced many great functionalities and features, among which the useOptimistic hook stands out. The useOptimistic hook offers a seamless way to manage UI states during asynchronous
The clock’s ticking for TikTok
Wednesday, April 24, 2024
The US Senate has passed a bill that would ban TikTok if its US business is not divested by Bytedance View this email online in your browser By Alex Wilhelm Wednesday, April 24, 2024 Good morning, and