TLDR Web Dev

TLDR WEB DEV 2024-10-02

6 sections20 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

02ARTICLES & TUTORIALS

TESTING FRONTEND — LESSONS FROM OVER A MILLION LINES OF TYPESCRIPT AT PALANTIR

Focus on unit tests with the right scope, avoid unnecessary component tests, and leverage stable APIs to create scalable integration tests that require minimal maintenance. Having good tests helps maximize engineering velocity, and automated generated tests may help codebases be better tested in the future.

meticulous.ai15 min read

A LOCAL-FIRST CASE STUDY

This developer created a local-first web app for trip planning. It was designed to address shortcomings in existing trip planning tools by offering quick data entry, easy comparison features, and support for both structured and unstructured data. The app was built using a local-first architecture using CRDTs and the Yjs library for real-time collaboration and offline functionality.

jakelazaroff.com14 min read

A GUIDE TO DESTRUCTURING IN JAVASCRIPT

Destructuring in JavaScript allows you to extract values from arrays and objects into separate variables. The ellipsis (...) in destructuring represents a "rest property," which captures remaining elements or properties into a new array or object. It also acts as the "spread operator," which expands iterables like arrays, objects, and strings into individual elements.

piccalil.li13 min read

03OPINIONS & ADVICE

OPENAI DEVDAY 2024 LIVE BLOG

OpenAI DevDay 2024 included announcements about a real-time API enabling voice interaction with AI models, improved model customization with fine-tuning for vision models, and cost reductions through prompt caching and model distillation. The company highlighted the importance of structured outputs for building reliable applications by unveiling its new Structured Outputs API, which guarantees accurate JSON schema adherence.

simonwillison.net36 min read

DO ALL PROBLEMS HAVE TECHNICAL FIXES?

The "tech imperative” is the idea that all problems can be solved with technology. While the underlying assumption is that technology itself is inherently good, the promotion of technology stems from a pro-attitude rather than a reasoned argument.

cacm.acm.org6 min read

WEB COMPONENTS ARE NOT THE FUTURE

Web Components introduce unnecessary overhead and complexity due to their reliance on the DOM. They are a compromise that sacrifices flexibility and efficiency for the sake of standardization.

dev.to5 min read

04LAUNCHES & TOOLS

Sponsored

SOME RISKS ARE EASY TO OVERLOOK. DON'T LET THEM SINK YOUR NEXT FEATURE RELEASE

Outages, degraded user experience, and lost revenue are just some of the bad outcomes of a mismanaged release process. Think this can never happen to you? Take LaunchDarkly's Software Release Risk Assessment [11] to find out what can go wrong in your upcoming feature releases - and what to do about it. Answer 8 questions to get your risk score

launchdarkly.comSponsor

launchdarkly.com

EVOLVING GITHUB ISSUES (PUBLIC PREVIEW)

GitHub Issues has been revamped with several new features, including sub-issues, issue types, and advanced search. The interface has also been updated, and the project item limit has been increased to 50,000 items. These features are now available in public preview.

github.blog3 min read

SLATEDB

SlateDB is an embedded database that uses object storage for data persistence. Unlike traditional databases, it operates without physical disks and uses the object store's replication capabilities for high availability.

slatedb.ioTool

SOURCEBOT

Sourcebot is a code search tool that indexes and searches multiple repositories hosted on GitHub or GitLab. It has features like one-command deployment, multi-repo search, full file visualization, and more.

github.comGitHub repository

05MISCELLANEOUS

2024 RUBY ON RAILS COMMUNITY SURVEY RESULTS

The 2024 Ruby on Rails Community Survey gathered responses from over 2,700 developers across 106 countries, showing that Rails is still relevant in 2024. Stimulus.js has overtaken React as the most popular JavaScript library used with Rails, while PostgreSQL remains the preferred relational database.

railsdeveloper.com33 min read

BOTS, SO MANY BOTS

ProductHunt has about 60% of user signups automated. This was discovered through a simple test, where an LLM prompt was injected into a product description, leading to a flood of automated comments.

wakatime.com5 min read

MULLENWEG THREATENS CORPORATE TAKEOVER OF WP ENGINE

Matt Mullenweg, CEO of Automattic, has escalated his conflict with WP Engine, demanding a more than 8% licensing deal for the use of WordPress and WooCommerce trademarks. This demand suggests a potential corporate takeover by Automattic, which is accusing WP Engine of perceived minimal contributions to the WordPress project. WP Engine has made counterclaims and attempts to mitigate the damage, but the conflict remains unresolved, with the possibility of a legal battle in the future.

therepository.email10 min read