Picturing Git: Conceptions and Misconception
present a simple way of looking at what Git really is and what it really does. I do not claim that this way of looking at Git represents absolute “facts” in any hard and fast or literal sense. But I contend that if you conceive of Git in the way that I’m going to suggest, if you substitute these conceptions of Git for any misconceptions you might have now, you’ll be a much happier and more fluid Git user.
An Introduction to JQ
We work with JSON all day long. jq is a populater tool to helps extract and transform JSON, think of awk/seed but for JSON. In this article, , Adam’s going to go over the basics building blocks of jq in enough depth that you will be able to understand how jq works
Solving the knapsack problem in PostgreSQL
The knapsack problem: how to use limited luggage space to pack only and all the items you’re most likely to need? Enter PostgreSQL! Come and find out how to use the world’s best open source database to help you pack.
How does Apple Private Relay Work?
Private Relay is an attempt by Apple to change the way traffic is routed from user to internet service and back. Kind of like a proxy.
They used CGNAT behinds the scene.
Let’s build an LC-3 Virtual Machine
Virtual Machines (VMs) are a magical thing: a computer being emulated inside a physical computer. Since this emulated computer isn’t physical, we call it “virtual”. Such a simple description for something so powerful. If you just want to see the final source code, here is the repo. It’s ver approachable.
Analyzing a High Rate of Paging
When server is on fire, what tool you reach to view metrics, or what metrics to look at?
This is a rough post to share this old but good case study of using these tools, and to help justify their further development. No editing, spell checking, or comment
Locality Sensitive Hashing (LSH): The Practical and Illustrated Guide
Amazon uses LFS similarity search to compare customers, finding new product recommendations based on the purchasing history of their highest-similarity customers.
Every time you use Google, you perform a similarity search between your query/search term — and Google’s indexed internet.
In this article, we learn a practical way to impelemt that.
The Little Things: Comparing Floating Point Numbers
There is a lot of confusion about floating-point numbers and a lot of bad advice going around. IEEE-754 floating-point numbers are a complex beast, and comparing them is not always easy, but in this post, we will take a look at different approaches and their tradeoffs.
Code to read
Content aware image cropping
nfsv3 implemntation. pretty cool to write this kind of stuff in Go
Fully Featured and Fast hexdumping for Ruby.
For thing like e8 80 80 e8 80 80 e8 80 80 e8 80 80 when you hexdumb a file. If you want to understand them more, best is to just see how it is done in code.
The concept of event loop, reactor are hard to grasp or explain. We seen so many confusion in NodeJS world.
libuv is massive to read and understand, this project is based on libev which I found is much smaller and probably easier to undersand.
If you are internal about the event loop, another cool project(from the same author) is polyphony which use io_uring and libev under the hood for concurency in Ruby.
Natural language detection library for Rust
TTS is a library for advanced Text-to-Speech generation. It’s built on the latest research, was designed to achieve the best trade-off among ease-of-training, speed and quality.
Run GUI applications and desktops in docker. Focus on security.
A TUI for viewing and (eventually) editing SQLite files
Monika is a command line application to monitor every part of your web app using a simple JSON configuration file. Get alert not only when your site is down but also when it’s slow.
Open-source alternative to Discord with server in Rust and client in TypeScript and Preact.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this