TLDR Web Dev

TLDR WEB DEV 2024-04-10

6 sections15 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

WANT TO REACH TLDR’S AUDIENCE?

Fortune 50 companies like AWS and Google Cloud and fast growing startups like Vercel and Secureframe work with TLDR to reach our audience of over 4 million tech-savvy decision makers with highly customized campaigns (like this one!). We help manage your campaigns from end to end, ensuring that your performance marketing efforts hit your internal KPIs without breaking your budget. Learn more about working with us [3].

advertise.tldr.techSponsor

02ARTICLES & TUTORIALS

REDDIT'S ARCHITECTURE: THE EVOLUTIONARY JOURNEY

Reddit started as a monolithic Python application and has evolved its architecture into smaller microservices in Golang. It replaced database snapshots with real-time data replication using Kafka. Reddit has a dedicated metadata store built with AWS Aurora Postgres and it uses Flink Stateful Functions for modern rule-based content moderation.

blog.bytebytego.com18 min read

EXPLORING SERVER ACTIONS WITH NEXT.JS

This tutorial teaches how to use Next.js Server Actions for manipulating data. Server Actions, combined with React Server Components (RSC) and the App Router, can be used to edit entities within the database without the need to convert Server Components to Client Components for database interactions.

robinwieruch.de6 min read

03OPINIONS & ADVICE

4 WAYS GITHUB ENGINEERS USE GITHUB COPILOT

GitHub engineers use GitHub Copilot to semi-automate repetitive tasks like protobuf ID number generation. It also helps them stay focused by generating regular expressions on the fly. GitHub Copilot can be used for documenting code properly.

github.blog4 min read

TECH NOTES: COMPLEXITY IS THE ENEMY

Simpler code is easier to understand and manage. Establishing clear design goals and non-goals can prevent over-engineering when complexity creeps in. Using less powerful tools can sometimes lead to simpler solutions as the constraints force less complex designs.

neugierig.org2 min read

THE DEBUGGER'S TOOLKIT

Great debuggers follow systematic processes rather than haphazardly tweaking code. They constantly form and test hypotheses, take breaks, and document their learnings from debugging.

addyo.substack.com5 min read

04LAUNCHES & TOOLS

GEMINI CODE ASSIST

Gemini Code Assist offers AI-powered assistance to software engineers in their IDE, similar to GitHub Copilot. It is available to try at no cost until July 11.

cloud.google.comTool

CHRONON

Airbnb has open-sourced Chronon, which is an open-source end-to-end feature platform that allows machine learning teams to easily build, deploy, manage, and monitor data pipelines for machine learning. It’s currently used by Airbnb and Stripe for major use cases internally.

chronon.aiTool

DRAWDB

DrawDB is a database entity relationship editor right in the browser. It can be used to build diagrams with a few clicks, export SQL scripts, and more.

github.comGitHub repository

05MISCELLANEOUS

DATADOG HAS A SECURITY FOOTGUN

Datadog's Real User Monitoring (RUM) package has an API that can lead to sensitive user data being accidentally sent to unintended domains. The "site" parameter can be confusing - developers can easily mistake it for their website domain. Instead of defaulting to Datadog's data intake domains, the RUM package constructs a new domain based on the provided "site" value, which could potentially send data to a domain the developer doesn't control. This happened to a company called Corporate Clash, where a misconfiguration led to user data being sent to an unauthorized third-party domain.

sheriffcranky.substack.com10 min read

GOOGLE UNVEILS GEMINI CODE ASSIST AND I'M CAUTIOUSLY OPTIMISTIC IT WILL HELP PROGRAMMERS

Google’s new Gemini Code Assist is an AI-powered coding assistant that helps programmers streamline development tasks. It runs within popular IDEs and can generate code, explain existing code, and assist with large-scale codebase changes. However, similar to GitHub Copilot, it can’t write code completely by itself and will probably need developer oversight to be fully effective.

zdnet.com13 min read