TLDR Web Dev

TLDR WEB DEV 2023-11-02

6 sections14 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

+ EVERYTHING ELSE YOU NEED TO BUILD BETTER PRODUCTS

PostHog is the developer-first alternative to 7+ tools [5] companies use to ship new features, analyze user behavior, and optimize their product. Analyze, test, observe, and deploy new features [5] from a single platform while keeping full control of your customer data.

posthog.comSponsor

02ARTICLES & TUTORIALS

HOW TO (AND HOW NOT TO) DESIGN REST APIS

Designing REST APIs using best practices can improve their usability. This guide goes over multiple tips and examples of how to do so, such as using plural nouns for collections in URLs, avoiding unnecessary path segments, and refraining from adding extensions like ".json" to URLs. It also recommends not returning arrays as top-level responses, avoiding map structures in JSON responses, using strings for all identifiers, and more.

github.com11 min read

ANSWERING COMMON QUESTIONS ABOUT INTERPRETING PAGE SPEED REPORTS

Performance scores from Lighthouse in Chrome DevTools are sometimes different from Google’s PageSpeedInsights (PSI). This is because PSI uses real life data pulled from Chrome user experience reports, while Lighthouse uses different data. This post takes a closer look at how various performance tools audit and report on performance metrics like core web vitals, why the metric values could be different across different reports, and what that means about your website's real performance.

smashingmagazine.com14 min read

HOW BEAR DOES ANALYTICS WITH CSS

Bear does not use client-side JavaScript for privacy reasons. Instead, when a user hovers their cursor over a page, it triggers a CSS rule that makes a URL request to log the page hit. The code then checks the user-agent to verify if it's not a bot, extracts browser and platform information, and hashes the IP address with the date to create a unique page "read."

herman.bearblog.dev3 min read

03OPINIONS & ADVICE

WHAT STAGE STARTUP OFFERS THE BEST RISK-REWARD TRADEOFF?

Joining a startup at the Series A, B, or C stages offers a balanced risk-reward profile. Startups backed by top VCs tend to have better exit odds and valuation growth. To prove this, this article looks through over 14,000 data points of US-based startups that raised funds. Employees who joined Instacart during Series C or later rounds would probably have earned more money if they had opted for a FAANG company instead or received their compensation entirely in cash and invested it in the stock market.

joinprospect.com7 min read

REFLECTIONS ON QUITTING MY JOB

This author shares their journey of quitting their job as a programmer and reflects on their career in the field. They discuss valuable lessons learned, such as the importance of having opinions on technical decisions, the distinction between writing code and debugging, and the significance of a clean, understandable Git history. They also emphasize the importance of understanding hardware, even in a world of abstractions.

mooseyanon.medium.com14 min read

04LAUNCHES & TOOLS

VISUAL STUDIO CODE EXTENSION TESTER

VSCode Extension Tester is a package aimed at facilitating UI testing of Visual Studio Code extensions using selenium-webdriver. It can obtain a suitable version of ChromeDriver, package and install extensions into a test VSCode instance, and execute tests.

github.comGitHub repository

RSPRESS

Rspress is a fast static site generator. It features fast startup times due to a Rust-based build tool. It also supports Markdown, has built-in full text search, and offers a plugin system for custom themes.

github.comGitHub repository

05MISCELLANEOUS

ANALYSIS: THE QUICKEST PATH TO HALVING SOFTWARE DELIVERY TIME

Google's 2023 Accelerate State of DevOps Report reveals that teams with faster code reviews experience a 50% improvement in overall software delivery performance. Additionally, other benefits of faster code reviews include improved code quality, reduced developer stress and burnout, and enhanced developer satisfaction. Various methods for speeding up code reviews include pair programming, goal setting and benchmarks, continuous merge techniques, and the use of AI for code review automation.

devinterrupted.substack.com5 min read

ORGANIZE YOUR WEEK AS AN ENGINEERING MANAGER

This is a detailed guide for engineering managers on organizing their week to balance various responsibilities. It gives tips on how you can establish daily routines for consistency, time management, and stress reduction. It suggests starting with a review of daily agendas and ensuring time for reflection and connection with the team. The article also highlights the importance of 1:1 meetings and standup meetings, stressing to adapting their frequency based on team feedback and needs.

open.substack.com8 min read