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
JSK Daily for Nov 27, 2024
Wednesday, November 27, 2024
JSK Daily for Nov 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
Ranked | The World's Biggest Importers of Goods 🌎
Wednesday, November 27, 2024
As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book
Daily Coding Problem: Problem #1621 [Easy]
Wednesday, November 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some
Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury
Wednesday, November 27, 2024
The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel
The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4
Wednesday, November 27, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 27, 2024? The HackerNoon
Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!
Wednesday, November 27, 2024
The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company
Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign
Wednesday, November 27, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.
The Sequence Chat: Why are Foundation Models so Hard to Explain and What are we Doing About it?
Wednesday, November 27, 2024
Addressing some of the interpretability challenges of foundation models and the emerging fields of mechanistic interpretability and behavioral probing. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏