TLDR Web Dev

TLDR WEB DEV 2024-11-05

6 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

AI, multi-channel complexity, and experimentation are forcing developers and marketers to adopt a new playbook for web development. Stay on top of the latest trends at dotConnect — a fully virtual and free 2-day event [4].

dotconnect24.comSponsor

02ARTICLES & TUTORIALS

THE ARCHITECTURE OF DROPBOX'S LOAD BALANCING SERVICE

Dropbox's Robinhood load balancing service improved its hardware utilization, reducing fleet sizes by 25% and saving millions annually. Robinhood operates by collecting load reports from services, using these reports to distribute traffic evenly across servers based on metrics like CPU utilization and geographic location. The performance indicators for Robinhood include max/avg ratio, p95/avg ratio, and p5/avg ratio.

blog.quastor.org7 min read

WRITING SECURE GO CODE

It's easier to write secure Go code with tools for static code analysis, such as go vet, staticcheck, and golangci-lint, which help identify potential security issues and improve code quality. This article covers the use of govulncheck for scanning code and binaries for known vulnerabilities and introduces fuzzing as a method for automatically testing code with randomly generated inputs.

jarosz.dev14 min read

THE MOST EFFECTIVE WAYS TO IMPROVE CORE WEB VITALS

Better Core Web Vitals mean better web page user experiences. To improve Core Web Vitals, focus on breaking up long tasks, minimizing JavaScript, and optimizing rendering to improve Interaction to Next Paint (INP). Images should be preloaded and a CDN should be used where possible to reduce Time to First Byte.

web.dev19 min read

03OPINIONS & ADVICE

I'VE HAD A CHANGE OF HEART REGARDING EMPLOYEE METRICS

Tools designed to track individual work output initially may have been predicted to identify "slackers" but they aren't a good gauge for productivity. Instead, managers should take responsibility for their own teams' performance.

rachelbythebay.com4 min read

PLEASE JUST STOP SAYING "JUST"

Using the word "just" in software engineering discussions can be detrimental. This is because "just" implies simplicity, which is very often not the case when building software.

sgringwe.com5 min read

GET ME OUT OF DATA HELL

This author worked in a data warehouse platform he calls the "Pain Zone." It had poorly designed code, illogical data structures, and a culture that prioritizes speed over quality. After deciding to resign, he decided that he prefers places that respect good code and craftmanship over speed.

ludic.mataroa.blog15 min read

04LAUNCHES & TOOLS

Sponsored

MEASURE WHAT YOU SHIP WITH STATSIG

Looking to advance your experimentation culture? Try Statsig - with a single integration you can instantly get access to best-in-class experimentation, feature flag, and product analytics tools built by an ex-Facebook team. With lightweight performance SDKs and scaled infrastructure [11], Statsig supports customers of all sizes from early-stage startups to leading SaaS and AI companies (OpenAI, Anthropic, Notion). Measure what you ship - $0 for 2M events/month.

statsig.comSponsor

statsig.com

DIAGRAMS

Diagrams is a Python library that allows you to draw cloud system architecture diagrams in code. It's designed for prototyping new architectures and visualizing existing ones. Diagrams supports major cloud providers like AWS, Azure, GCP, and Kubernetes, along with on-premise nodes, SaaS services, and popular programming frameworks.

diagrams.mingrammer.comTool

HTML TO REACT & FIGMA

This is a Chrome extension that allows users to convert any webpage or section into React code or an editable Figma design. It can be used to quickly grab designs for inspiration, import existing designs to work from, and use AI to customize them.

chromewebstore.google.comTool

05MISCELLANEOUS

BENCHMARKING RUBY PARSERS

Prism is a new Ruby parser that is much faster than other parsers. It's tested against other parsers like RubyParser, Ripper, and the Parser gem in different scenarios like parsing and walking the Abstract Syntax Tree (AST) and parsing directly to C structs. Prism is more than 10 times faster than the Parser gem and RubyParser when parsing and walking the AST, and it is 2.56 times faster than the traditional parse.y when parsing to C structs.

eregon.me8 min read

ANTHROPIC HIKES THE PRICE OF ITS HAIKU MODEL

Anthropic has released Claude 3.5 Haiku, which surpasses its predecessor in performance on various benchmarks. The company has decided to increase the price of the model fourfold from Claude 3 Haiku due to its increased intelligence.

techcrunch.com2 min read

REWRITE IT IN RAILS

This developer tried to rewrite a Rails application he was working on in Rust and Svelte. This effort failed due to the complexity and the lack of immediate user benefits. After returning to Rails, he realized that while learning new tech is fun as a developer, it comes with significant trade-offs.

dirkjonker.bearblog.dev10 min read