BetterDev #212 - One does not simply calculate the absolute value
Better Dev #212 Aug 23, 2021
Happy monday everyone. I hope this week’s issue bring you some joy. We got stories of Rakuten, Clubhouse, Target deploy and debug their system. Infrastructure is hard and take for granted, when it works, no one notices, when it doesn’t everyone panic :-). Let’s learn from team that has build platform to handle massive scale.
I didn’t know we have -0.00 and +0.00 before reading this article. Turn out even zero can have sign, so that for example we can have 1 / -0.00 = ∞
and 1 / +0.00 = +∞
Why spend so much time on internal tooling, CRUD apps, and dashboards built from scratch? Retool is a 10x faster way to build custom internal tools, and now it’s free for early-stage startups to use for up to a year. They’ve also created a deal book worth $160K in startup discounts to give startups access to the tools they need for great internal tools, for free. Get your discount.
When you use the same laptop for different github accounts, thing can easily get messy such as accidently commit to work project as your personal account and vice versa. The way around is to use git config but we have to set them every time we start a new repo? can we magically execute some git config based on the directory we are in? Turn out git support that so we can say for a repo inside a certain directory, then use this git config.
Clubhouse grew from 10k RPM to 1M RPM in two months with only 2 backend engineers. This is a story about heat of the moment journey to scale service and run our Python workloads 3x as efficiently.
Rakuten is the maker of app like Kobo, Viber, Viki so needless to say their traffic is massive. In this article, they share how they design their deployment system and a few gotcha of K8S.
Target’s open source big data platform contains a vast array of clustered technologies or ecosystems working together. Troubleshooting an issue within a single ecosystem is a difficult task let alone an issue that spans several ecosystems.
Any app will need some kind of rate limiting eventually. One of the methods is call Leaky bucket. It is an algorithm that provides a simple, intuitive approach to rate limiting via a queue which you can think of as a bucket holding the requests. Users can burst and fill in the bucket but once it’s filled up then subsequent requests are dropped(fall out of bucket)
Tip and tricks to increase IndexedDB perf, useful if you work a lot with application that persisted data on client.
Third-party scripts provide a wide range of useful functionality, making the web more dynamic, interactive, and interconnected. These scripts may be crucial to your website’s functionality or revenue stream. But third-party scripts also come with many risks that should be taken into consideration to minimize their impact while still providing value.
So you want to write a simpler compiler that can generate machine code? Check this series out. It has 7 parts up till now. Note that it doesn’t generate machine code directly but generate C code. Still, its scope is small enough to quickly try it out.
When attaching tooltips element to the root of body, it takes 80ms to add it to the DOM and the app is blocked in this 80ms. By moving it to an intermediate div element, it only takes 8ms to render and show the tooltip. The root cause is because browser has to draw the whole render tree when we add it to the root. When adding to an intermediate element, only that element need to be calculated and redraw.
Code to read
How would you extract Text from a HTML document to present a text-only version of the article? This is one proven approach that is being used in the wild.
pythonTools
testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by to NSA and CISA
A Pluggable Authentication Module (PAM) which allows the establishment of alternate passwords that can be used to perform actions to clear sensitive data, notify IT/Security staff, close off sensitive network connections, etc if a user is coerced into giving a threat actor a password.
Why spend so much time on internal tooling, CRUD apps, and dashboards built from scratch? Retool is a 10x faster way to build custom internal tools, and now it’s free for early-stage startups to use for up to a year. They’ve also created a deal book worth $160K in startup discounts to give startups access to the tools they need for great internal tools, for free. Get your discount.
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 #211 - Mixpanel Saving $30000 a month by improving Garbage Collection
Tuesday, August 17, 2021
Better Dev #211 Aug 16, 2021 Hi all, Let's get straight to our link this week. If you like our content, please share it with your friends or co-workers :) Saving $30000 a month by improving Garbage
BetterDev #210 - What can you learn from an IP address and Leap seconds: causing bugs even when they don't happen
Tuesday, August 10, 2021
Better Dev #210 Aug 9, 2021 Hi all, This week we are light on deep technical content but more at a high level. Some fun stuff about IP addresses and leap second. I like them. I hope you like this issue
BetterDev #209 - Learning from incidents - Formula 1 and Netcat, all you need to know
Tuesday, August 3, 2021
Better Dev #209 Aug 3, 2021 Hi all, In last 2 weeks, we came to know about the existence of Pegasus malware, which can run on your phone to steal message, photos, location data. In this issue, I
BetterDev #208 - Migrating Facebook to MySQL 8.0 and Zip - How not to design a file format.
Tuesday, July 27, 2021
Better Dev #208 Jul 26, 2021 Hi all, Welcome to issue 208, I like migration stories, they showed us how others approach swap things out in production. I had 2 migrations stories in this issue. I hope
BetterDev #207 - The Incident Review: 4 Times When Typos Brought Down Critical Systems and LiveKit Open source platform for real-time audio and video
Tuesday, July 20, 2021
Better Dev #207 Jul 19, 2021 Hi all, I hope everyone has a great weekend. Now to our issues as normal. If you like this newsletter, consider forward it to your friend, tell your co-worker. Now to our
You Might Also Like
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company
Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign
Wednesday, November 27, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.
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