BetterDev #251 - Writing a Debugger From Scratch
Better Dev #251 Oct 2, 2023
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 is an infamous saying: One cannot understand thing until they made it. In this series, Tim shared how to approach writing a debugger. This part is about breakpoints but make sure to check other parts too.
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.
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.
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.
It’s common for modern hosts to cache static assets in a flexible, but not most optimal way. Let’s explore why that is and what we can do to push cache performance (for some assets) even further.
How to be kind and provide constructive feedback instead of being a brilliant jerk?
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.
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.
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
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.
GoHigh performance JSON library in Go. Fully compatible with the Go standard library, Both the encoder and the decoder passed all tests from it.
Goa 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.
PythonTools
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.
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.
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? Unsubscribe
Older messages
BetterDev #250 - What's the toughest bug you ever found and fixed
Monday, September 25, 2023
Better Dev #250 Sep 25, 2023 Hi everyone, This week, many resorts in Las Vegas got hack and have to shutdown their system. That means many operation is handled by paper and pen. The hack appears to be
BetterDev #249 - Running my own LLM
Tuesday, September 19, 2023
Better Dev #249 Sep 19, 2023 Happy tuesday everyone. We're back for other issue. Lot of exiciting article. Hope you like this issue. This issue is a bit short and lack the summary but hope you
BetterDev #248 - Putting the “You” in CPU
Monday, August 14, 2023
Better Dev #248 Aug 14, 2023 Hi all, I'm really sorry for sending out no issue in last few months. Works get in but I'm finally manage to spend time again on this newsletter. I missed it so
BetterDev #247 - Cryptographic Best Practices and A Journey through Color Space with FFmpeg
Wednesday, April 19, 2023
Better Dev #247 Apr 17, 2023 These continue to be big weeks in AI world. I share some LLM tools. Enjoy. Cryptographic Best Practices Putting cryptographic primitives together is a lot like putting a
BetterDev #246 - Is your Postgres ready for production and where to store your OAuth tokens
Monday, April 3, 2023
Better Dev #246 Apr 03, 2023 Is your Postgres ready for production? your database ready for whatever may come on launch day or even 2 months in? Here's a handy checklist to make sure you're not
You Might Also Like
Overcoming Perfectionism: How to Break Free from the Enemy of Progress
Wednesday, November 27, 2024
Discover how perfectionism hinders progress and learn practical strategies to overcome the fear of imperfection, boost productivity, and achieve your goals without getting stuck in the pursuit of
🖤 Laravel Black Friday Deals!
Wednesday, November 27, 2024
The biggest deals of the year Laravel Black Friday Deals View in browser Laravel News Editor Note: We are sending this outside the regular Sunday newsletter schedule because some of these specials end
BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?
Wednesday, November 27, 2024
Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as
Mapped | Unemployment Rate By U.S. State in 2024 💼
Tuesday, November 26, 2024
As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!
🔊 7 DIY Tips for Soundproofing a Room — Why I Switched to Xfce for Linux Mint
Tuesday, November 26, 2024
Also: Home Theater Sound Terms Explained, and More! How-To Geek Logo November 26, 2024 Did You Know The shiny layer of a CD doesn't contain the data; the plastic polycarbonate layer does. The shiny
JSK Daily for Nov 26, 2024
Tuesday, November 26, 2024
JSK Daily for Nov 26, 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
NumPy, Loop Targets, Vector Animation, and More
Tuesday, November 26, 2024
NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to
Your Games Quarterly newsletter has arrived
Tuesday, November 26, 2024
What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16
Daily Coding Problem: Problem #1620 [Hard]
Tuesday, November 26, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Sudoku is a puzzle where you're given a partially-filled 9 by 9 grid with
Final Hours: Help Save "The Art of Data" From Falling Short 🙏
Tuesday, November 26, 2024
Will Visual Capitalist end up revealing the secrets behind data storytelling? There are 12 hours left to change the fate of "The Art of Data". View Online | Subscribe | Download Our App Help