TLDR Web Dev

TLDR WEB DEV 2024-04-02

5 sections15 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW LEVELS.FYI BUILT SCALABLE SEARCH WITH POSTGRESQL

Levels.fyi developed a scalable fuzzy search solution using PostgreSQL to help users quickly find relevant salary information. Its team's initial approach used simple LIKE queries, but evolved to use materialized views for optimization and full-text search with tsvector for improved results. To further improve search accuracy, they implemented a custom relevance algorithm that used factors like exact matches, popularity, and similarity.

levels.fyi6 min read

BUILDING A MICRO HTMX SSR FRAMEWORK

This blog post dives into how you can use Fastify, Vite, and @fastify/vite to produce a small, low-overhead application setup that has the absolute minimal set of dependencies and moving parts. This setup achieved similar SSR performance but with a fraction of dependencies from Astro, making the overall development setup much smaller. The post first gives a crash course on Vite, then walks through how to integrate it into Fastify applications, before finally moving on to the rewrite.

blog.platformatic.dev25 min read

HOW SLACK AUTOMATES DEPLOYS

Slack automated deployments with a program called ReleaseBot. ReleaseBot monitors deployments, detects anomalies using z-scores and dynamic thresholds, and can pause or roll back deployments if necessary. This proved to be a big improvement compared to Slack’s previous process, which involved engineers serving as “Deployment Commanders” that oversaw manual deploys.

blog.quastor.org11 min read

02OPINIONS & ADVICE

HOW TO SELF-MANAGE EVEN IF YOU HAVE A MANAGER (YOUR FUTURE SELF WILL THANK YOU)

Self-management allows you to work independently, builds trust with your manager, and frees you both to focus on strategic goals. To self-manage effectively, developers should manage timelines well, be self-motivated, give feedback, manage multiple stakeholders, and own their career development.

thecaringtechie.com8 min read

THE TECH LEAD'S PLAYBOOK

A tech lead's role involves setting a strategic direction, influencing project staffing, and ensuring successful execution. They identify key problems, propose solutions, seek alignment across teams, and collaborate to secure resources for their initiatives. While tech leads still write code, their success relies heavily on strong communication and interpersonal skills to guide the team and promote the project's visibility.

developing.dev3 min read

DEVELOPING ESSENTIAL SOFT SKILLS FOR ENGINEERS AND LEADERS

Some of the most important soft skills include empathy, communication, adaptability, problem-solving, and leadership. Learning soft skills takes effort, but can be done through practice, self-reflection, seeking feedback, and utilizing resources like books and courses.

open.substack.com12 min read

03LAUNCHES & TOOLS

HEYFORM

HeyForm is an open-source form builder that allows people to create conversational forms for surveys, questionnaires, quizzes, and polls.

github.comGitHub repository

CELEST

Celest is a cloud platform for Flutter. Developers can build their backend in Dart without having to leave their IDE.

celest.devTool

04MISCELLANEOUS

HEADLINE DRIVEN DEVELOPMENT

Headline-driven development is a method for shipping software by creating and focusing on a stream of short, clear headlines that communicate the key features of each release before writing any code. This approach helps prioritize the most important features and cuts out any unnecessary work.

spakhm.com3 min read

YOUR AI PRODUCT NEEDS EVALS

For AI products to succeed and improve over time, it’s important to have an evaluation approach. This article lays out a three-level approach. First, unit tests should assert expected AI outputs. Second, tools should log AI interactions for easy analysis. Lastly, AI products should have A/B testing to better understand user behavior.

hamel.dev19 min read

THE WI-FI ONLY WORKS WHEN IT'S RAINING

This author had a weird internet problem where their home Wi-Fi connection would only work when it was raining. Debugging revealed that a neighbor's tree had grown tall enough to intermittently obstruct the signal. The rain would weigh down the branches, temporarily clearing the obstruction, but the connection would fail again as the tree dried. The author upgraded their Wi-Fi hardware to a newer standard that was more resistant to interference to fix the issue.

predr.ag3 min read