BetterDev #224 - How a Single Line of Code Made a 24-core Server Slower Than a Laptop
Better Dev #224 Jan 4, 2022
Imagine you wrote a program for a pleasingly parallel problem, where each thread does its own independent piece of work, and the threads don’t need to coordinate except joining the results at the end. Obviously you’d expect the more cores it runs on, the faster it is. You benchmark it on a laptop first and indeed you find out it scales nearly perfectly on all of the 4 available cores. Then you run it on a big, fancy, multiprocessor machine, and it sank.
Crunch Data hosts many postgres instance as a cloud offering. While onboarding customer after customer this year they’ve noted a few key things everyone should put in place right away - to either improve the health of your database or to save yourself from a bad day
Skyscanner team accidentally submitted an incorrect change to the templating of infrastructure provisioning system. This deleted all of the microservices responsible for serving skyscanner.net and data to mobile app from the underlying infrastructure across the entire globe, causing a four-hour outage
Over the past few years, I’ve interviewed with a dozen or so companies and have completed ~50 or so individual algorithm problems. I’m frequently given feedback that I did a great job at the algorithms problem. In this post, I’m going to share how exactly I approach algorithm problems.
You don’t understand something until you sit down and write it yourself. When removing all extra functionality, and focus on a minimun level, what make a blockchain? Example, a key-value store can just be a Hashmap, as its core. What information a block hold? how they connect?
Steps to troubleshot and recover data once you don’t have backup, and many files of Postgres are corrupted. Query to select throw error could not read block 912 in file “base/16504/278344”: read only 0 of 8192 bytes.
Modern hardware has many instruction that help with JSON parsing such as AVX2 and SIMD. In this post, we will see how Flare deserializes JSON documents stored on disk using a very fast bespoke, sparse, vectorized deserializer. It’s Rust but the though process can be applied to any field
Code to read
a free and open-source application that can monitor your netowkr, block connection, URL filtering, written in Go with a desktop UI.
Goa terminal puzzle game inspired by the classic “Minesweeper”, written in Ruby. you will learn game loop, game grid concept here
RubyReusable JavaScript library for creating sketchy/hand-drawn styled charts in the browser
JavaScriptTools
free, easy-to-use tool to help you collect, organize, cite, and share research and open source on github
Timeseries Anomaly detection and Root Cause Analysis on data in SQL data warehouses and databases
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 #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
BetterDev #221 - How JavaScript engines achieve great performance
Tuesday, November 30, 2021
Better Dev #221 Nov 29, 2021 Hi all, It has been 3 weeks without an issue and I miss BetterDev myself. We're planning for some new release of a new version of BetterDev to also contribute useful
BetterDev #220 - How to build an Anycast network
Tuesday, November 2, 2021
Better Dev #220 Nov 2, 2021 How to Build an Anycast Network An anycast network is two or more servers advertising the same IP address from different locations. This is useful for globally distributed
BetterDev #219 - How to win at CORS and How Microsoft reduced Windows 11 update size by 40%
Monday, October 18, 2021
Better Dev #219 Oct 18, 2021 How to win at CORS CORS is complicated because it's a standard implement on client side, by browsers. it's up to browser to do what it wants or needs to implement.
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your