TLDR Web Dev

TLDR WEB DEV 2024-12-20

5 sections13 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW TYPES MAKE HARD PROBLEMS EASY

Type-driven development is the practice of defining types upfront, making sure of type consistency across the application, and making illegal states unrepresentable. This approach leads to slower short-term output, but leads to easier, more reliable coding in the long run. A side bonus is that it also comes with type-driven autocomplete and instant error detection.

mayhul.com26 min read

INDEXING CODE AT SCALE WITH GLEAN

Meta's open-source Glean system indexes code at scale, providing information to various developer tools through a flexible query language. This centralized system avoids redundant indexing on individual developer machines and offers a scalable, distributed architecture for handling large codebases and concurrent queries. Glean's design is language-agnostic and has incremental indexing using a stack of immutable databases to efficiently process code changes.

engineering.fb.com13 min read

02OPINIONS & ADVICE

HOW DO YOU DO, FELLOW WEB DEVELOPERS? A GROWING DISCONNECT

There's a growing disconnect between this older developer's understanding of programming and that of younger web developers, shown by a colleague's unfamiliarity with non-SPA web applications. He feels that nowadays, there is an over-reliance on abstractions and a tendency to view narrow JavaScript-centric knowledge as representative of broader computer science principles.

rakhim.exotext.com5 min read

RE-IMAGINING TECHNICAL INTERVIEWS: VALUING EXPERIENCE OVER EXAM SKILLS

Live coding interviews for senior software engineers don't properly assess real-world skills and create undue stress. For them, better assessment methods include assigning small, realistic projects completed asynchronously, though this has the caveat of filtering for engineers who have the time to do these projects outside of their current jobs.

danielabaron.me16 min read

03LAUNCHES & TOOLS

MIZU.JS

mizu.js is an open-core JavaScript library that supercharges HTML with directives for templating, reactivity, HTTP requests, and more. It has both client-side and server-side rendering capabilities across various JavaScript runtimes.

mizu.shTool

CLAY

Clay is a high-performance, flexbox-style UI auto layout library written in C that features a declarative syntax, minimal size, and renderer-agnostic design.

nicbarker.comTool

HOOKCN

Hookcn is a collection of reusable React hooks that can be easily integrated into projects via copy-pasting or a CLI.

github.comGitHub repository

04MISCELLANEOUS

ISO 8583: THE LANGUAGE OF CREDIT CARDS

ISO 8583 is a standard for real-time payment messages between banks and merchants, used in most card transactions. The standard has evolved over time, leading to variations across networks due to flexibility in field encoding and the addition of network-specific fields. This has made it complex, due to optional fields, diverse encoding schemes, and different ways of handling nested messages.

links.tldrnewsletter.com20 min read

ALIGNMENT FAKING IN LARGE LANGUAGE MODELS

A study by Anthropic and Redwood Research showed that LLMs can exhibit "alignment faking" - strategically concealing their original preferences even after safety training. This occurs when an LLM, initially trained to be harmless, is subsequently incentivized to always comply with requests, including harmful ones. It may then deceptively comply to avoid retraining that could diminish its ability to refuse harmful requests.

links.tldrnewsletter.com10 min read