BetterDev #213 - An amazing error message if you put more than 2^24 items in a JS Map object
Better Dev #213 Aug 30, 2021
Can you guess that? a map with 2^24 items? Probaly some limit exceed error? Indeed, JS will throw this “Uncaught RangeError: Value undefined out of range for undefined options property undefined”
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.
Have you ever type command like 2>&1, 3>&2 out of habit without a deep understanding behind it? If so, this article is for you. it explaind the concept of file descriptor and what 1, 2, 3 mean.
How you would go to design an access control system? In this article, tailscale show us how they approach Role Base Access Control in its original design.
When you scan a QR code on any site that support MFA(Multi Factor Authentication), the bar code contains a secret token. The the 6 digit one time password is the result of a function that take input of original secret token and current time stamp. We’ll learn exact steps which that function do
Mailchimp deploy new code that add a log statement. Then their job queue is backed up and job are no longer run. Nothing changes except that log statement. But it’s just a log so they look for in other places. Turning out, the log statement in root cause. But isn’t that obvious that the log is the cuprit? Why no one though so?
Using a hash function for the wrong purpose, or in a place where it doesn’t provide the expected properties, can lead to security vulnerabilities. Some of these vulnerabilities aren’t obvious or straightforward, either, which only serves to magnify confusion.
Optimistic locking in a strategy that we will allow read, and for write we will assume conflict are unlikely, and if it’s conflict we will lock/error out but we push the decision far down the chain. One of way is to add a column lock_version
and when upgrading we attempt to compare the current lock_version if it’s different that means the row is updated elsewhere and we will abort it. Let’s apply that into API design
What makes an index usable by a query, and how can we add the right index in Postgres? we’ll look at the practical aspects of using the CREATE INDEX command, as well as how you can analyze a PostgreSQL query for its operators and data types, so you can choose the best index definition.
How would you go about writing a query builder to generate SQL query use a chain-able method instead of string concat? It’s use Python but the idea is sounded
Code to read
We usually have to give dev access to a Rails production console so they can debug or manipulate data. How can we protect sensitive data of customers while still allow dev fetch other data? How can we audit the access? The gem also go hand it hand with [audits1984](https://github.com/basecamp/audits1984(
RubyVideo
They’re used for animation, text rendering, and all sorts of curved shapes! But how do they actually work?
Tools
Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more…
Automatic Linux privesc via exploitation of low-hanging fruit e.g. gtfobins, polkit, docker socket
CLI tool designed to help you automate your Gitops workflow, by automatically creating and merging GitHub Pull Requests to update specific content in Git repositories.
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 #212 - One does not simply calculate the absolute value
Monday, August 23, 2021
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
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
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