BetterDev #227 - How to avoid layout shifts caused by web fonts and Scaling Kubernetes to Over 4k Nodes and 200k Pods
Better Dev #227 Feb 01, 2022
Fonts cause layout shifts when the size of the containing element (e.g. a
You got a cheap printer that can speak ZPL language for printing job, only found out it doesn’t work. What do you do? And even more, in JavaScript
Unlike Apache Mesos, which can scale up to 10,000 nodes out of the box, scaling Kubernetes is challenging. Kubernetes’ scalability is not just limited to the number of nodes and pods, but several aspects like the number of resources created, the number of containers per pod, the total number of services, and the pod deployment throughput. This post describes some challenges we faced when scaling and how we solved them.
Sometimes indexes might degrade database performance instead of improving it. In this blog post I’ll describe how deleting an index helped us improve performance and mitigate load on a RDS instance.
Postgres Advisory Locks are a great solution for arbitrary application locks, particularly in scenarios where you are already using Postgres and have a need to block concurrent mutations to a resource (that resource DOES NOT have to be data in Postgres)
Signup forms with specific and archaic password rules can be incredibly frustrating for anyone using a password manager. “Must have one special character, but only from !@#$ these allowed characters.” When building PlanetScale’s signup form, we wanted to enforce strong passwords while also working well with password managers. After researching the problem, we found the best method for doing this is using an entropy-based password strength calculation.
transform a full-colour image into one made up entirely of different shades of grey. The sort of image that we will create is called greyscale, because every colour that makes up the image is stored as a position on a predetermined scale of greys that starts at black and ends at white. Code in Go but it’s fun and easy to port to anything else
Code to read
A general classifier module to allow Bayesian and other types of classifications. A fork of cardmagic/classifier
RubyTools
Thin PostgreSQL clones. DLE provides blazing-fast database cloning to build powerful development, test, QA, staging environments
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
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 #226 - Build your own Anycast network in 9 steps & UK COVID-19 dashboard built using Postgres and Citus for millions of users
Tuesday, January 25, 2022
Better Dev #226 Jan 25, 2022 Build your own Anycast network in 9 steps Anycast allows you to have same IP address round to different node depend on geo location, This is the kind of guide I wish I know
BetterDev #225 - Neural Network From Scratch
Monday, January 10, 2022
Better Dev #225 Jan 10, 2022 Neural Network From Scratch I'm a big fan of this Napkin Math newsletter. If you haven't subscribe to Napkin Math, you should do it. In this edition of Napkin Math,
BetterDev #224 - How a Single Line of Code Made a 24-core Server Slower Than a Laptop
Wednesday, January 5, 2022
Better Dev #224 Jan 4, 2022 How a Single Line of Code Made a 24-core Server Slower Than a Laptop Imagine you wrote a program for a pleasingly parallel problem, where each thread does its own
BetterDev #223 - Roll your own network and Cache Poisoning at Scale
Tuesday, December 28, 2021
Better Dev #223 Dec 27, 2021 Roll Your Own Network An extensive guide to self hosted many cloud service in your own network, from hardware to software to network configuration. All done by you. Cache
BetterDev #222 - How does NTP works and The team that powers VLC
Tuesday, December 7, 2021
Better Dev #222 Dec 07, 2021 Hi all, It's almost the end of year. BetterDev has been 3 years. I never focus on growing it. All I do is just send out newsletter from thing I think will help everyone
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