BetterDev #235 - The architecture of Mastodon
Better Dev #235 Dec 5, 2022
This week there is a vulnerability in VS Code. If you used VS Code, make sure to upgrade your VS To latest version after v1.73.1.
It is hard to debug intermittent issue, since it is usually doesn’t follow any pattern. Usually to debug them we need low level tool to hook up and extract more metrics. In this post, Gitlab shared how they deal with an intermittent issue for 2 years, but getting worse recently so they go to bottom of its with BPF and other techniques
take a high-level look at the architecture of a single Mastodon instance and how different instances communicate. Specifically, we’ll be looking at how the Mastodon network-of-instances might scale.
Building a web analytics service without cookies poses a tricky problem: How do you distinguish unique visitors?
Everytime it comes up I just bite the bullet and use hex format. But what is hsl, rgb, lch? how they really work?
As a software engineer I always try to dabble into hardware, the knowledge of CPU/RAM how they work help me a lot when dealing with IO, performance in softwarwe. Nibbler is a 4 bit CPU built from standard 7400 series logic chips – individual counters, registers, buffers, and gates. It’s an educational example of a simple CPU that’s easy to understand and build, but still capable of running games and other interesting programs. Nibbler is built using wire-wrapping on a 5 x 4 inch (127 x 102 mm) perfboard. The CPU contains 17 chips in total.
Spin HDD working life is hard to predict because of their physical part movement. SSD on other hand have no such part, so should be easiser to predict based on Wear leveling and Total Bytes Written.
Walk through tips for an app with 2000+ tests that does not have a severe flaky test problem
How to get intense multiplayer combat with 1000 units to use just 50kb/s bandwidth. Push JS Perf to the extreme. The result is that with a simple “collision cells” optimization scheme, the overall CPU time of the server thread has been brought down by about 90%.
Code to read
Fast, powerful, yet easy to use template engine for Go. Normally template engine work by parse a template file, process macro, replace certain placeholder with the right data So if there is an error in template engine, its hard to catch at compile time. What if we convert the template to Go function and execute it? This is the same approach Elixir/Erlang use.
GoTools
sandbox that can run untrusted code with whitelisted Node’s built-in modules. Securely! Very useful when you want to run untrusted JavaScript to process some interal ap data such as extension of an app
Distributed in-memory object store. It can be used both as an embedded Go library and as a language-independent service
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 #234 - Who controls the internet
Monday, November 21, 2022
Better Dev #234 Nov 21, 2022 Happy thanks giving for anyone that celebrate this holiday. I take a week off next week for thanksgiving so there will be no issue next week. I recommend some get away time
BetterDev #233 - Let's write a chess engine
Monday, November 14, 2022
Better Dev #233 Nov 14, 2022 Let's write a tiny chess engine in go In this article we will try to understand how chess engines work by porting the sunfish chess engine to Go. Sunfish is notable for
BetterDev #232 - Reducing BigQuery Costs: How We Fixed A $1 Million Query
Monday, November 7, 2022
Better Dev #232 Nov 07, 2022 Hi everyone, welcome to first issue of November. This week, where I live, red leaves start to emerge and my family went outside, enjoy seeing the beautiful color of autumn.
BetterDev #231 - Time is an illusion, Unix time doubly so
Monday, October 31, 2022
Better Dev #231 Oct 31, 2022 Hi, everyone, happy halloween. This issue is a haloween treat :-), it has a lot of short and small articles which you can apply to your daily work and small tips and tricks
BetterDev #230 - Secure your server by limit outgoing connection
Monday, October 24, 2022
Better Dev #230 Oct 24, 2022 Hi, everyone, welcome to our second issue of the come back. I had received many emails with encouragement about my resumt. I really really appreciate that. Thank you so
You Might Also Like
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. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
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