Search the archive

Full-text search across article titles and summaries. Refine with sector, year, content type, and reading-time filters.

Results

9,381 matches

POSTING V1

Posting is an HTTP client that lives in your terminal. It can be used over SSH and enables efficient keyboard-centric workflows. Your requests are stored locally in simple YAML files, so they're easy to read and version control.

2024.07.11
github.comGitHub repositoryTLDR Web Dev

VUE VINE

Vine is a new syntax for organizing Vue components within a single file. It addresses the common pain point of navigating between multiple files when developing small, reusable components. It helps handle the increasingly logic-heavy nature of frontend development better.

2024.07.11
vue-vine.devToolTLDR Web Dev

GITHUB COPILOT EXTENSIONS ARE ALL YOU NEED

GitHub Copilot Extensions are a new way to enhance VS Code by integrating AI directly into the developer workflow. These extensions utilize LLMs to provide context-specific answers, generate code, and offer insights within VSCode itself. Developers can build custom chat participants using the Chat API and access LLMs directly through the Language Model API.

2024.07.11
code.visualstudio.com8 min readTLDR Web Dev

ASKING AN LLM TO BUILD A SIMPLE WEB TOOL

This author used ChatGPT to build a simple web tool for configuring box shadows. They were impressed by ChatGPT's ability to create a functional tool without any external dependencies. Despite requiring some manual adjustments for aesthetics and layout, the process was efficient, with ChatGPT reliably modifying only the parts requested.

2024.07.11
eli.thegreenplace.net3 min readTLDR Web Dev

LEVELS OF COMPLEXITY: RAG APPLICATIONS

This roadmap is an overview of RAG (retrieval augmented generation). It starts with the basics of RAG, explaining how to traverse file systems, chunk and batch text, and interact with embedding APIs. It then progresses to more advanced techniques, including asynchronous programming, improved chunking strategies, and robust retry mechanisms. The roadmap also goes over observability and evaluation techniques.

2024.07.11
jxnl.co13 min readTLDR Web Dev

Sponsored

NO THIRD PARTY QUERIES REQUIRED

If you've not heard of Convex, it's the “Laravel of TypeScript” — an open source, thoroughly-enjoyable development framework that combines the type safety and DX upgrades of tRPC, with a Firebase-style experience.

2024.07.10
convex.devSponsorTLDR Web Dev

EXPLORING THE CHALLENGES IN CREATING AN ACCESSIBLE SORTABLE LIST (DRAG-AND-DROP)

Creating an accessible drag-and-drop list is challenging due to conflicts with screen reader navigation and the need for clear movement announcements. Overriding default key bindings and using separate elements for keyboard and mouse interactions can help resolve these conflicts. Adding a debounce to announcements and providing a move dialog for voice control users also improves the overall accessibility and user experience.

2024.07.10
github.blog8 min readTLDR Web Dev

DEACTIVATING AN API, ONE STEP AT A TIME

To safely deactivate an API, first limit new consumers, then discover existing ones and communicate the upcoming change. Next, deprecate the API with a clear deadline and communicate a sunset date for final usage. Finally, block all requests and deactivate the API while making sure critical bug fixes are addressed during the process.

2024.07.10
apichangelog.substack.com7 min readTLDR Web Dev

COMPILE-TIME JSON DESERIALIZATION IN C++

C++ doesn't directly support pattern matching like some languages, but template specialization can achieve similar results. This enables type-safe JSON deserialization at compile time. By employing constexpr functions and a lazy parsing approach, the deserialization process can occur at compile time, allowing for compile-time assertions on JSON data.

2024.07.10
links.tldrnewsletter.com11 min readTLDR Web Dev

DON'T USE BOOLEANS

Enums offer several advantages over booleans, such as improved readability, explicit typing for better error handling, and easier behavior-driven development with extendability for future features. The overhead of enums is minor compared to the benefits.

2024.07.10
luu.io4 min readTLDR Web Dev

COMMON ANTI-PATTERNS IN GO WEB APPLICATIONS

Building user-facing applications can be boring compared to low-level programming, but the challenge of avoiding unmaintainable code makes it rewarding. Loose coupling is key to maintainable applications, and over-reliance on DRY can lead to strong coupling and complexity. Use separate models for different responsibilities and clear code generation to improve maintainability and clarity.

2024.07.10
threedots.tech18 min readTLDR Web Dev

Sponsored

📕 FREE O'REILLY EBOOK: GENERATIVE AI ON AWS

Want to understand GenAI? Ditch the clickbaity Twitter and LinkedIn posts and read this O'Reilly ebook [10] (offered free by DoiT). This is the technical GenAI resource [10] you've been looking for, covering everything from use case definition, model training, prompt engineering, RAG, to deployment on AWS. Get the free ebook from DoiT [10] 📥

2024.07.10
resources.doit.comSponsorTLDR Web Dev

PARALLEL DOM

Parallel DOM makes your web apps faster by parallelizing away heavy DOM operations.

2024.07.10
pdom.devToolTLDR Web Dev

CRAWLEE FOR PYTHON

Crawlee is a web scraping and browser automation library. It supports both BeautifulSoup and Playwright crawling for more reliable web crawlers. It also supports type hints in Python, headless browsers, automatic scaling, and proxy management.

2024.07.10
crawlee.devToolTLDR Web Dev

PGVECTOR-NODE

The `pgvector-node` library provides Node.js and TypeScript support for integrating vector operations with PostgreSQL across multiple database libraries. It allows the creation of tables with vector fields, insertion of vectors, and retrieval of nearest neighbors using various distance metrics. The library also supports creating approximate indexes for efficient vector similarity searches.

2024.07.10
github.comGitHub repositoryTLDR Web Dev

WHAT IS OLD IS NEW AGAIN

Rising interest rates on the tech industry have affected everything - the job markets, VC funding, IPOs, and layoffs. Macroeconomic changes are continuing to shape the landscape for the tech and software industries. However, these cycles happen every so often, and eventually, the job market will recover.

2024.07.10
open.substack.com15 min readTLDR Web Dev

INSIDE THE US GOVERNMENT'S BRILLIANTLY BORING WEBSITES

The US government created a unified web design system (USWDS) and a custom typeface (Public Sans) to improve the accessibility and functionality of federal websites. The USWDS, developed by the US Digital Service, provides guidelines and components for consistent design. This initiative was launched in response to the fragmented and inconsistent design of earlier government websites, which often posed a problem for public access to essential services.

2024.07.10
technologyreview.com3 min readTLDR Web Dev

TOTAL TYPESCRIPT: ESSENTIALS

Total TypeScript: Essentials is a free book for devs of all levels to learn advanced type manipulation and real-world application development patterns in TypeScript.

2024.07.10
totaltypescript.comToolTLDR Web Dev

TEGON

Tegon is an open-source issue tracking software that uses AI to smartly automate manual tasks, workflows, and provide more context to engineers for a given task.

2024.07.10
github.comGitHub repositoryTLDR Web Dev

TURBOPUFFER

Turbopuffer is a new search engine that leverages object storage for cost-effectiveness and scalability, making it an accessible solution for companies seeking to implement vector search and semantic search features.

2024.07.10
turbopuffer.com9 min readTLDR Web Dev

REVERSE ENGINEERING TICKETMASTER'S ROTATING BARCODES

TicketMaster's SafeTix, a system that uses rotating barcodes for mobile entry, is marketed as a security measure against fraud and scalping, but it can be easily reverse-engineered. The barcodes contain time-based one-time passwords (TOTPs) and a bearer token, which can be extracted and used to generate valid barcodes offline. Despite claims of preventing offline saving and transfer, the system's vulnerabilities allow for ticket duplication and potential resale outside of TicketMaster's platform.

2024.07.09
conduition.io15 min readTLDR Web Dev

EXPLAINER FOR THE PROMPT API

The "Prompt API" proposal by the Chrome built-in AI team suggests a JavaScript API that provides access to browser-provided language models. This will allow for local processing without server round-trips while also allowing web developers to use AI capabilities in web apps without worrying about costs. The proposal has a uniform interface for prompting models and handling failures gracefully.

2024.07.09
github.com14 min readTLDR Web Dev

HOW FAST IS JAVASCRIPT AT SIMULATING 20,000,000 PARTICLES?

This article explores how to simulate millions of particles in JavaScript, achieving a smooth 60 frames per second using only the CPU, particularly focusing on optimization for mobile devices. The author details their process, which involved several iterations, starting with a basic multi-threaded approach using web workers and SharedArrayBuffers. They faced challenges like flickering and performance bottlenecks in rendering and data transfer. To improve performance, they implemented strategies like double buffering and a particle grid count.

2024.07.09
dgerrells.com35 min readTLDR Web Dev

THE RIGHT KIND OF STUBBORN

Persistent individuals differ from obstinate individuals who are resistant to change and often attached to their initial ideas. Persistence is essential for solving complex problems, while obstinacy can be counterproductive, especially when dealing with challenging tasks that require flexibility and adaptability. The optimal level of obstinacy is not zero, as it can be beneficial in preventing panic in the face of setbacks, but excessive obstinacy often leads to failure due to an unwillingness to consider alternative solutions.

2024.07.09
paulgraham.com10 min readTLDR Web Dev

PYTHON HAS TOO MANY PACKAGE MANAGERS

Python's package management ecosystem is fragmented, lacking a single tool that effectively handles versioning, dependency resolution, and environment setup like Rust's Cargo. Classic tools like pip and venv have limitations in dependency management and environment isolation. Newer tools like Poetry and PDM offer improved features but still face challenges in areas like dependency resolution speed.

2024.07.09
dublog.net14 min readTLDR Web Dev

MAYBE YOU'RE NOT SICK OF PROGRAMMING

Some programmers who feel burned out and disillusioned with their careers may be wrongly attributing their discontent to programming itself. The real culprits are often extraneous factors that hinder creative fulfillment and lead to burnout like bureaucracy, lack of ownership, and unfulfilling work environments.

2024.07.09
shubhamjain.co1 min readTLDR Web Dev

ONLOOK

Onlook enables developers to build their React + TailwindCSS apps visually in the browser.

2024.07.09
github.comGitHub repositoryTLDR Web Dev

SQL STUDIO

SQL Studio is a SQL database explorer that supports SQLite, libSQL, PostgreSQL, MySQL, DuckDB, and partially ClickHouse servers. It features an overview page, tables metadata display with disk usage details, infinite scroll for rows, and a customizable query interface.

2024.07.09
github.comGitHub repositoryTLDR Web Dev

WHAT'S THE QUICKEST YOU'VE SEEN A CO-EMPLOYEE GET FIRED? (REDDIT THREAD)

Redditors share stories of the coworker they had who was the fastest to get fired. For example, a newly hired senior developer at a company was working on a customer enhancement directly in the production environment and accidentally turned off a crucial setting. When asked why he didn't work on a local copy, he replied, "We can do that?". He was fired.

2024.07.09
links.tldrnewsletter.comTLDR Web Dev

ENTERING TEXT IN THE TERMINAL IS COMPLICATED

Entering text in the terminal can be confusing due to the inconsistency in text-editing capabilities across different programs. Some programs don't support arrow keys while others use the Readline library for basic editing functions, some have custom input systems, and some offer no text-editing features at all.

2024.07.09
jvns.ca10 min readTLDR Web Dev

AN ORIGIN TRIAL FOR A NEW HTML `PERMISSION` ELEMENT

Chrome is introducing an origin trial for a new HTML element, `permission`, designed to address the challenges of current imperative permission request methods like permission spam and lack of contextualization. The `permission` element allows developers to declaratively ask for permission to use features like geolocation.

2024.07.09
developer.chrome.com13 min readTLDR Web Dev

HOW TO FIX SLOW LOADING APPS

Use tree shaking, code splitting, file compression, CDNs, and lazy-loaded images to speed up web app load times.

2024.07.09
levelupsoftwareengineering.substack.com8 min readTLDR Web Dev

SWIFT

A fast, open-source voice assistant powered by Groq, Cartesia, and Vercel.

2024.07.09
swift-ai.vercel.appToolTLDR Web Dev

Sponsored

GET YOUR BRAND IN FRONT OF 4+ MILLION TECH PROFESSIONALS

If you're looking to get in front of a highly engaged tech audience including web devs and AI/ML engineers, consider advertising in TLDR. We have 10 newsletters to choose from and a subscriber base of 4+ million tech professionals to effectively reach your target audience. Learn more [4] about running your first campaign with us.

2024.07.08
advertise.tldr.techSponsorTLDR Web Dev

HOW UBER MINIMIZES FLAKY TESTS

Uber developed Testopedia to manage its large suite of tests. It's used to track test statistics and categorize tests based on their stability. Testopedia uses a bucketing algorithm to handle test queries and uses a sliding window algorithm to identify flaky tests.

2024.07.08
blog.quastor.org5 min readTLDR Web Dev