What happens when you open a terminal and enter ‘ls’
This could be the equivalent of the in famous “what happen when you type an address into the browser”, but for terminal which we interact on a daily basis but may forgot or not having a full understand of its architecture.
Making Sense of Hexdump
hexdump is very versatile and allows you to look at the structure inside binary files as you see fit and once you learn how to use it you can apply it quickly to many problems. I think that easily qualifies as cool.
Examples of floating point problems
We keep hearing floating point issue and their issue but at a higher or abstraction level. Are there any specific examples that we can practical see how bad it’s
How does rsync work
Third article in a series of blog posts about rsync. This posts is about data transfering, split and checksum multi part of the files.
Production Twitter on One Machine? 100Gbps NICs and NVMe are fast
In this post I’ll attempt the fun stunt of designing a system that could serve the full production load of Twitter with most of the features intact on a single (very powerful) machine. I’ll start by showing off a Rust prototype of the core tweet distribution data structure handling 35x full load by fitting the hot set in RAM and parallelizing with atomics, and then do math around how modern high-performance storage and networking might let you serve a close-to-fully-featured Twitter on one machine.
Origins, Sites and other Terminologies
Cross origin request? What is that? Why loading an image work, including a JS from other domain works? but make ajax request won’t or cookie won’t get send? What are all the terms?
The type system is a programmer's best friend
Have you ever write this kind of code?
copy(from_path, to_path) and accidentally paste the argument in reverse? If we use type we can avoid that?
Or even typo, especially when using enum type.
The gotcha of unhandled promise rejections
When that happen the execution halt in node or throw error in browser and stop the execution of JS right there, no more further JS after that point in your code get run. The point is, you want to avoid unhandled rejections.
Peeking into HTTPS Traffic with a Proxy
This article is about configuring a web application, Appsmith in this case, to run correctly behind a firewall that does SSL decryption, as a Docker container. Instead of a firewall, we’ll use a proxy, which, for the purpose of the problem statement, should be the same. We usually don’t include these kind of “how-to” tutorial, but I feel like it helps a lot when debugging or reversing API traffic and that’s a really powerful tool to have in your toolbox
Code to read
A Write Ahead Log (WAL) implementation in Rust
A command line tool that draw plots on the terminal.
Smooth drawing with mouse, finger or other pointing device. I like these kind of code, it has a lot to learn about graphic, matrix and interesting algorithm to draw things that seem trivial.
high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
it makes direct epoll and kqueue syscalls rather than using the standard Go net package and works in a similar manner as netty and libuv, which makes gnet achieve a much higher performance than Go net.
Security and Privacy Risk Simulator for Machine Learning
makes your system play custom sounds when any configured system or external event happens
Terrform support a syntax in JSON instead of HCL. So if we can generate that JSON, we can build another abstraction that work with Terraform. This tools allow you to use Nix as the language to generate JSON.
Low code project to build admin panels, internal tools, and dashboards. Integrates with 15+ databases and any API.
an ActivityPub and Mastodon-compatible server written in TypeScript and runs on top Cloudflare’s Supercloud, uses Workers and Pages, the D1 database to store metadata and configurations, Zero Trust Access to handle authentication and Images for media handling. Essentially kind of like a full featured webapp deploy on serverless infrastructure including the database
an administration layer for Open Policy Agent (OPA), detecting changes to both policy and policy data in realtime and pushing live updates to your agents. OPAL brings open-policy up to the speed needed by live applications.
Open Source Pricing & Packaging Infrastructure for SaaS
Instant K8s service dependency map, right to your Grafana.
Spin up a blazing fast Rust GraphQL API to serve your ML model in one line of Python code.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this