Last week, the famous Insomnia rugpull us and require an account to use the software. In process, many has lost their project data when the migration happen from local to cloud. There is a new uprising star emerge, let give Bruno a try.
This week, I came across a very interesting tool to fork the db, a feature I think every engineer has been dream about. Still in beta but give pg_branch a try. It’s written in Rust so the code base is more approachable compare with C/C++.
There are many options that is convenience but it isn’t secure enough. Such as disk encryption is not enable, lock screen isn’t auto activate. This is a guide to enhance your security, especially useful when connecting to public wife for example.
Understanding Postgres IOPS: Why They Matter Even When Everything Fits in Cache
Disk IOPS (Input/Output Operations Per Second) is a key metric for measuring the performance of any disk system. It represents the number of read and write operations that can be performed per second. For PostgreSQL, which relies heavily on disk access, understanding and optimizing disk IOPS is crucial for achieving optimal performance.
From Chaos to Recovery: How We Restored Our AWS Microservice After Accidental Deletion at Dolap
Dolap accidently remove their comment service infra. They click delete on “Cloudformation” stack, which is a process that cannot be cancel. Panic. The key thing help them is “deletion protection” on RDS. While normal stateless component will be removed, the core place where data remains is safe. So do yourself a favor and enable “deletion protection” on all of your stateful resource today.
Storage challenges in the evolution of database architecture
AWS RDS has a physical storage size limit of 128TiB for each RDS cluster. Postman has a db of 95TB and growing at 2TB per month. So they plan to prune the old data. However, just drop a table won’t reclaim the space. They needs to rebuild the table, but it’s a costly process. This is real world engineering, read to see how they become creative and overcome the challenge.
Intercepting and modifying Linux system calls with ptrace
How software fails is interesting. But real-world errors can be infrequent to manifest. Fault injection is a formal-sounding term that just means: trying to explicitly trigger errors in the hopes of discovering bad logic, typically during automated tests.
Navigating personal information with care
This article is a Rails solution by 37signals fork themselve. But many principal can be applied to anyone. Every engineer would need to debug issue, and have a need at poke into some kind of console app to access to the sensitive data. How do we log those access, get approval to run those. how they glue these parts together
Upgrading frontend dependencies with confidence
A very practicle advice you can do today to handle front-end upgrade. It leads us through a process of setting up github action, run and take screenshot of your app. Compare them visually. of course, we will need some tips to hide flaky element along the line. Such as when first load page there might be no pop-up, but waiting 5 second and a pop-up may appear. Or having animation that appear based on time.
Code to read
bitset is a mapping between non-negative integers and boolean values. It should be more efficient than map[uint] bool.
High performance JSON library in Go. Fully compatible with the Go standard library, Both the encoder and the decoder passed all tests from it.
A VecDeque (and Vec) variant that spreads resize load across pushes.
Reference implementation of Mistral AI 7B v0.1 model.
a terminal multiplexer re-designed for remote servers and hi-res touch screens. A reincaranation of tmux and screen, Terminal7 is a hybrid app that works best on the iPad.
Rails N+1 queries auto-detection with zero false positives / false negatives.
A RubyGems.org cache and private gem server
an css animations library because everyone else is doing it.
A Terminal Client for Redis with AutoCompletion and Syntax Highlighting.
generate release PRs based on the conventionalcommits.org spec
GitHub notifications on your menu bar. Available on macOS, Windows & Linux
small chrome extension to monitor (and optionally block) other extensions’ network calls
open source game engine for the Go programming language. Ebitengine’s simple API allows you to quickly and easily develop 2D games that can be deployed across multiple platforms, including Nintendo.
Get up and running with large language models, locally.
a 15B parameter model that is fine-tuned on a base StarCoder model. It slightly outperforms gpt-3.5-turbo for natural language to SQL generation tasks on the sql-eval framework, and outperforms popular open-source models. It also significantly outperforms text-davinci-003, a model that’s more than 10 times its size.
helps engineers figure out why production is broken faster by centralizing and correlating logs, metrics, traces, exceptions and session replays in one place. An open source and developer-friendly alternative to Datadog and New Relic.
a declarative, GitOps continuous delivery tool for Kubernetes.
a simple CI engine with great extensibility.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this