BetterDev #158 - Learning operating system development using Linux kernel and Raspberry Pi
Better Dev #158 Jun 29, 2020
Hi everyone, Welcome to issue #158. If you like this newsletter, please help forward this email to a friend, tweet, or shout from a rooftop. It goes a long way :-).
This repository contains a step-by-step guide that teaches how to create a simple operating system (OS) kernel from scratch. I call this OS Raspberry Pi OS or just RPi OS. The RPi OS source code is largely based on Linux kernel, but the OS has very limited functionality and supports only Raspberry PI 3. If you are into this, check Notes on “The Design of the UNIX Operating System” as well.
Release after release we keep hearing about the good part of Postgres, but what is the bad parts? Knowing the bad parts help a lot otherwise you only know about it when you already get into that situation. Part 2 is release as well.
This is an 2014 document of FireFox project to advise their engineer to avoid SQLite, they explain the downside of SQLite at that time, which may not right in 2020. However, I found many things still ring true such as the IO pattern. I recently have to debug a small SQLite database with heavy disk IO due to its fsync in default rollback-journal mode
But what is a file, really? And what does reading a file entail, exactly? See how it’s done in Node, C, Rust, Strace, x86 asm, look to disk layouts, ext4
If you ever use chown
, chmod
, or even doing any file read, or mkdir
, you are making system calls. System calls are how a progrm enters the kernel to perform some tasks. This guide teachs us User programs, the kernel, and CPU privilege levels, Interrupts(kind of like event that is generated by hardware or software), then how we can craft system calls using assembly. A very low-level guide but I found it’s very helpful and easy to follow to know more about our computer.
Lots of interesting info on Slack tech stack: from their languages, cloud provider, how they monitor performance, logging and track security. Basically a summarize of their evolutions and many links to each section: search index, monitoring with Icinga, Grafana, Sharding database with Vitess.
A 81 pages research discusses Docker from a security perspective and looks at how a penetration tester should assess the security of systems that use Docker. Docker internal, data persistences, networking, docker socket, protection mechanisms, attack vector.
Leader election is the simple idea of giving one thing (a process, host, thread, object, or human) in a distributed system some special powers. This post is in AWS Builder’s Library on How Amazon elects a leader. What they do when that process failed.
Jepsen analyses distributed systems and report their finding. This one focus on Raft implement of Redis. The conclustion is this: users who want fault-tolerance and not lost updates need something stronger than existing Redis replication systems. They found data loss on failover, split-brand and lost updates, Stale Reads in Healthy Clusters…
front-end testing, or end to end testing or UI testing is the most expensive test, but they are the one that give you the most confident because it’s what your end user see, not testing a particular code and skip certain thing, UI test tend to run through whole stack. In this article, we will provide an overview of UI testing used in TeamCity for their React app.
Code to read
a SSH Agent that allow users to authenticate to UNIX/Linux SSH servers using the Secure Enclave
Rusta JavaScript library for rendering anything as HTML checkboxes. It’s very impressive, you can even run snake game as check box. An interesting code base to read for its techniques.
JavaScriptVideo
Old talks in 2017, target Postgrres 9.6 but still have lot of useful information.
Sounds like clickbait title but ClickHouse is indeed fast. Sentry also use it for their event data, despire some its drawback such as hard to delete data.
Tools
a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.
a simple, reliable backup and restore solution that can seamlessly scale up to the largest databases and workloads by utilizing algorithms that are optimized for database-specific requirements
cleans up (deletes) Kubernetes resources on (1) a configured TTL (time to live) or (2) a configured expiry date (absolute timestamp).
list aws resource, using a syntax similar to ls
. Support over 200 types of resources across 76 different AWS services. Super useful for thing like get DNS of RDS or ip address of vm
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?
Older messages
BetterDev #157
Monday, June 22, 2020
Better Dev #157 Jun 22, 2020 Hi everyone, Welcome to issue #157. Let's get straight to our links this week. Fast Subnet Matching Determining if a subnet contains a given IP is a fundamental
BetterDev #156 - How Controllers Maximize SSD Life
Monday, June 15, 2020
Better Dev #156 Jun 15, 2020 Hi everyone, Welcome to issue #156. Let's get straight to our links this week. How Controllers Maximize SSD Life MLC flash has a lifetime of only 10000 erase/write
BetterDev #155 - Papers with code and Preparing Applications for IPv6
Monday, June 8, 2020
Better Dev #155 Jun 8, 2020 This week, I want to share a quick shell trick to check if a port open or not without using any external tool like telnet or nc . And it's a one liner: echo > /dev/
BetterDev #154 - Everything you should know about certificates and PKI but are too afraid to ask
Monday, June 1, 2020
Better Dev #154 Jun 1, 2020 Hi everyone, Welcome to issue #154. Let's get straight to our link this week Everything you should know about certificates and PKI but are too afraid to ask X.509, ASN.1
BetterDev #153 - Ray Tracing In Notepad.exe At 30 FPS
Monday, May 25, 2020
Better Dev #153 May 25, 2020 Hi everyone, Welcome to issue #153. This week, I found a free course on Network Security, on OpenLearn. It's a short course and part 5) Implementing encryption in
You Might Also Like
Daily Coding Problem: Problem #1415 [Easy]
Wednesday, April 17, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Stripe. Write a function to flatten a nested dictionary. Namespace the keys with a
⚙️ Workplace AI
Wednesday, April 17, 2024
Plus: Amazon Music just copy pasted Spotify
Charted | The World's Biggest Nuclear Energy Producers ⚡
Wednesday, April 17, 2024
China has grown its nuclear capacity over the last decade, now ranking second on the list of top nuclear energy producers. View Online | Subscribe Presented by: FEATURED STORY The World's Biggest
You’re invited: 2024 Security report insights webinar
Wednesday, April 17, 2024
Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Noonification: 2000+ Researchers Predict the Future of AI
Wednesday, April 17, 2024
Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The
Top Tech Deals 👀 Pixel 7a, Anker Nano Charger, Samsung Frame TV, and More
Wednesday, April 17, 2024
From Sony earbuds to Govee smart lights, grab some neat tech while it's on sale. How-To Geek Logo April 17, 2024 Top Tech Deals: Pixel 7a, Anker Nano Charger, Samsung Frame TV, and More From Sony
Galaxy Book 4 Ultra review: A formidable flagship laptop
Wednesday, April 17, 2024
Logitech users get AI upgrade; LG CineBeam Q projector; Best portable power stations -- ZDNET ZDNET Tech Today - US April 17, 2024 placeholder Samsung Galaxy Book 4 Ultra review: Should Windows users
Rippling's upcoming round is proof that HRtech is still hot
Wednesday, April 17, 2024
The startup is raising a massive new round at a valuation of $13.4B View this email online in your browser By Alex Wilhelm Wednesday, April 17, 2024 Welcome to TechCrunch AM! Did you think HRtech was
How Generative AI Is Transforming Materials Design
Wednesday, April 17, 2024
Comply with Google & Yahoo's New 2024 Email Authentication Requirements
Wednesday, April 17, 2024
Protect your domain from phishing and spoofing with PowerDMARC