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

BUILDING THE SAME APP USING VARIOUS WEB FRAMEWORKS

This developer built the same web application using different web frameworks: FastAPI, FastHTML, Next.js, SvelteKit, and FastAPI combined with Svelte. They compared the developer experience and unique features of each framework by implementing CRUD operations in a simple "Look at Your Data" app. FastAPI and FastHTML were more concise in code, while Next.js and SvelteKit required more code but offered a more structured approach and better UI elements.

2024.09.11
eugeneyan.com9 min readTLDR Web Dev

A GOOD DAY TO TRIE-HARD: SAVING COMPUTE 1% AT A TIME

Cloudflare's "pingora-origin" service processes a massive amount of HTTP requests - a small function called "clear_internal_headers" was identified as consuming a significant portion of its CPU time. To optimize this function, Cloudflare explored different data structures, eventually settling on a trie-based approach, which resulted in a new open-source Rust crate called "trie-hard". The trie-hard implementation reduced the CPU utilization of the function, achieving a 1.28% decrease in compute time, which matters a lot at scale.

2024.09.11
blog.cloudflare.com12 min readTLDR Web Dev

FEATURES OF YOUR FONT YOU HAD NO IDEA ABOUT

High-quality fonts have hidden features like variable axes for customizing appearance, stylistic alternates for different letter variations, swashes for decorative accents, and multiple numeral styles. Each of these features can be accessed using CSS properties, as shown with examples throughout this article.

2024.09.11
sinja.io11 min readTLDR Web Dev

GOOD SOFTWARE DEVELOPMENT HABITS

This developer writes about a few software development habits that have helped him write better software faster. They focus on writing small commits frequently, refactoring continuously, and deploying often. They also often write tests first to define API structures early.

2024.09.11
zarar.dev5 min readTLDR Web Dev

WHY I PREFER EXCEPTIONS TO ERROR VALUES

Exceptions are a superior error handling mechanism compared to returning error values. This is because exceptions offer a better user and developer experience by providing more graceful error handling and leading to faster execution. The common practice of using error values in languages like Rust and Go leads to excessive boilerplate and has a higher potential for hidden system errors.

2024.09.11
cedardb.com15 min readTLDR Web Dev

SQLITE IS NOT A TOY DATABASE

SQLite's serverless nature lets developers embed it directly within applications, with a user-friendly console to provide straightforward access. It also has data import and export, native JSON handling, and advanced SQL capabilities like Common Table Expressions and set operations.

2024.09.11
antonz.org10 min readTLDR Web Dev

DEBUGGING IN THE MULTIVERSE

Antithesis is a new debugging tool that allows software engineers to rewind time and examine their code in various states. It simulates a deterministic universe, allowing users to step back in time, replay events, and analyze the code's behavior leading up to a bug or crash. It also enables time-travel to the future, accelerating simulations for faster debugging of networked systems.

2024.09.11
antithesis.com6 min readTLDR Web Dev

VOMITORIUM

Vomitorium is a command-line tool that recursively scans directories, processes files, and compiles their contents into a single output file. Its single output file is useful for working with LLMs, as you can pass in the entire file as context for the LLM to process.

2024.09.11
npmjs.comToolTLDR Web Dev

GOOGLE ILLUMINATE

Google's AI tool, Illuminate, turns books and papers into audio discussions.

2024.09.11
illuminate.google.comToolTLDR Web Dev

HOW WE MADE JUPYTER NOTEBOOKS LOAD 10 TIMES FASTER

SingleStore's Jupyter Notebook integration faced significant load time issues. To address this, its engineering team implemented a series of optimizations, including decoupling the Jupyter server from the UI, mocking static requests, and pre-rendering the extension/UI. These efforts resulted in improved load times, reducing the P90 from around 30 seconds to 4 seconds, an 87% improvement.

2024.09.11
singlestore.com17 min readTLDR Web Dev

GOING OPEN-SOURCE AS A VC-BACKED COMPANY

Briefer is launching a free and open-source version of its software while also offering a premium cloud-hosted version with more features. It chose the AGPL license to make sure its software remains open-source, deter competitors from copying it, and protect its business model. It is doing this to build user trust and differentiate itself from competitors like Tableau and Power BI.

2024.09.11
briefer.cloud14 min readTLDR Web Dev

Sponsored

BUILD?

Grab some popcorn and take a 30-minute break to watch four developers compete in building an app designed to protect the community from monsters — all in under 5 hours. Which developer will save us? Watch

2024.09.10
go.clerk.comSponsorTLDR Web Dev

WHY GITHUB ACTUALLY WON

Scott Chacon, co-founder of GitHub, explains why GitHub became the dominant code hosting platform. He attributes it to two key factors: timing and taste. GitHub launched at a time when distributed version control systems like Git were gaining traction, filling a void in the market for hosting these projects. GitHub's founders, being developers themselves, focused on creating a developer-centric platform with a user-friendly interface and workflow, unlike other hosting services that prioritized revenue and distribution.

2024.09.10
blog.gitbutler.com22 min readTLDR Web Dev

HACKING MISCONFIGURED AWS S3 BUCKETS: A COMPLETE GUIDE

Misconfigured AWS S3 buckets can be hacked through various means, such as examining HTTP responses, using search engines, and bruteforcing common keywords. Developers can test for misconfigurations by testing for list, read, write, and download permissions, examining Access Control Lists (ACLs), and checking for missing file type restrictions and S3 versioning. Knowing how to do this is important to actually secure your S3 buckets properly against unknown attackers.

2024.09.10
blog.intigriti.com10 min readTLDR Web Dev

B-TREES AND DATABASE INDEXES

Many databases rely on B-trees to perform efficient data lookups via indexes. For example, a sequential integer key outperforms UUIDs in terms of performance for insert, read, and search operations. This article explains how B-trees are implemented in databases, then goes over choosing efficient primary keys and optimizing database performance.

2024.09.10
planetscale.com25 min readTLDR Web Dev

MAKING HARD THINGS EASY

Sometimes, seemingly basic concepts can be challenging to grasp. Technical difficulties often arise from hidden complexities, like the massive codebase of a web browser or the intricate distributed nature of DNS. Understanding the basics of things like computer processes helps, but so does the sharing of tools, references, and personal experiences by others.

2024.09.10
jvns.ca32 min readTLDR Web Dev

DESIGN PATTERNS ARE TEMPORARY, LANGUAGE FEATURES ARE FOREVER

A visitor pattern is a design pattern that separates the algorithm from the object structure. This separation allows new operations to be added to existing object structures without modifying the structures. The visitor pattern has become largely obsolete with the advent of pattern matching features in modern Java, as these features offer a more concise and readable approach to handling data structures.

2024.09.10
ptrtojoel.dev6 min readTLDR Web Dev

EVERY WEBPAGE DESERVES TO BE A PLACE

A blogger focused on archive work implemented a feature called "cursor party" on his website. This feature allows visitors to see each other's cursors, chat through a hidden feature, and even highlight text in real-time. These features created a sense of "co-presence" and made the web feel more like a shared space, which the author believes the Internet needs more of.

2024.09.10
interconnected.org8 min readTLDR Web Dev

Sponsored

ARE SAAS FORM BUILDERS PUTTING YOUR DATA AT RISK?

Using 3rd party SaaS for your forms means entrusting sensitive user data to others. Choose SurveyJS for a secure form management platform [11] that you can set up directly in your application and keep full control of where your data travels. Make it your own with the built-in

2024.09.10
surveyjs.ioSponsorTLDR Web Dev

ANNOUNCING TYPESCRIPT 5.6

TypeScript 5.6 introduces stricter type checking for nullish and truthy checks, new helper methods for iterators, and support for arbitrary module identifiers. It also improves the TypeScript language server by adding region-prioritized diagnostics and granular commit characters and excluding patterns for auto-imports.

2024.09.10
devblogs.microsoft.com26 min readTLDR Web Dev

SQLC

Sqlc is a command line tool that generates type-safe code from SQL. It removes the need for writing boilerplate SQL querying code and verifies schema changes to prevent production database failures.

2024.09.10
sqlc.devToolTLDR Web Dev

FAST GRID

Fast Grid is a multithreaded web table capable of displaying millions of rows at O(1) speed while maintaining 120fps performance even during sorting, filtering, and scrolling.

2024.09.10
github.comGitHub repositoryTLDR Web Dev

OOPS, I ACCIDENTALLY MADE OUR WEBSITE FASTER BY SWITCHING TO REMIX

Echobind migrated its website from Next.js hosted on Vercel to Remix hosted on Railway. The migration proved surprisingly easy, with most pages needing only minor code adjustments to work with Remix's structure. Unexpectedly, the switch resulted in significant performance improvements, with Lighthouse scores increasing and SEO health scores showing gains.

2024.09.10
echobind.com7 min readTLDR Web Dev

WINDOWS NT VS. UNIX: A DESIGN COMPARISON

Windows NT had features like portability, multiprocessing support, and compatibility, which were later added to Unix systems. NT's object-oriented kernel, unified memory architecture, and asynchronous I/O system show how it had advanced design for its time.

2024.09.10
blogsystem5.substack.com25 min readTLDR Web Dev

OUR RNG GIT HASH BUG

A bug in the Dragon Prince: Xadia game caused clients to believe they were out of date due to a YAML parser interpreting a short git hash, which happened to be a valid scientific notation, as a very large number instead of a string.

2024.09.10
tmendez.dev3 min readTLDR Web Dev

HONOX

HonoX is a meta-framework for creating full-stack websites and Web APIs using Hono, Vite, and UI libraries.

2024.09.10
github.comGitHub repositoryTLDR Web Dev

OPEN MESSAGE FORMAT

OMF is a lightweight API specification that standardizes message exchange for building conversational agents.

2024.09.10
github.comGitHub repositoryTLDR Web Dev

Sponsored

🤺 JIRA CHANGE MANAGEMENT SHOWDOWN

When you need a Jira change management tool, you'll find two strong contenders on the market — Project Configurator (PC) and Configuration Manager for Jira (CMJ) [4].

2024.09.09
appfire.comSponsorTLDR Web Dev

CREATING A GIT COMMIT: THE HARD WAY

This blog post shows how to create a Git commit using low-level commands. It explains fundamental Git concepts like blob, tree, and commit objects, showing how they interact to form a commit. The post walks through a step-by-step guide on creating a commit using commands like `hash-object`, `update-index`, `write-tree`, and `commit-tree` to teach Git's object-based architecture.

2024.09.09
avestura.dev8 min readTLDR Web Dev

WEBP: THE WEBPAGE COMPRESSION FORMAT

This post explores different compression methods to improve the loading time of a website hosted on GitHub Pages. The author uses WebP to compress their blog's HTML content. This is done as a workaround because their blog hosting platform, GitHub Pages, doesn't support Brotli compression. They describe the process of encoding the HTML as a WebP image and then using JavaScript and the Canvas API to decode it back to HTML on the client-side.

2024.09.09
purplesyringa.moe15 min readTLDR Web Dev

MULTITHREADING IN NODE.JS: USING ATOMICS FOR SAFE SHARED MEMORY OPERATIONS

Multithreading in Node comes with the risk of race conditions, where multiple threads accessing the same memory location can lead to inconsistent results. Atomics is a JavaScript API designed to address this issue by providing atomic operations that guarantee the integrity of shared memory access. It can be used to prevent race conditions and make sure that operations on shared resources occur as a single, uninterruptible unit.

2024.09.09
pavel-romanov.com8 min readTLDR Web Dev

YOUR COMPANY NEEDS JUNIOR DEVS

There's a current trend of solely hiring experienced "elite" developers, which ignores the value of junior employees in driving knowledge creation and psychological safety within teams. By teaching juniors, senior employees deepen their own knowledge and learn to challenge their assumptions. It also overall helps create a culture of learning, where mistakes are seen as opportunities for growth and juniors are encouraged to ask "dumb" questions, which can often lead to groundbreaking ideas.

2024.09.09
softwaredoug.com6 min readTLDR Web Dev

THE “EMAIL IS AUTHENTICATION” PATTERN

The common practice of using "Forgot Password" links as a primary authentication method is inefficient and risky. It relies on disposable passwords and ignores better security practices like password managers and multi-factor authentication. This behavior is not a conscious decision, but rather a learned process that people have adopted over time.

2024.09.09
rubenerd.com3 min readTLDR Web Dev

ASKING THE WRONG QUESTIONS

With fundamental technological change, we tend to make predictions about the wrong things rather than getting our predictions wrong. This has been illustrated in the past, such as in 1950s science fiction, which was unable to envision women working, or the RAND study from 1964 which predicted automatic doctors and robots but missed the rise of general-purpose computing and the internet. This pattern continues today, with the focus on predicting the next big thing like VR or autonomous vehicles while overlooking the potential implications of underlying technological shifts.

2024.09.09
ben-evans.com6 min readTLDR Web Dev

Sponsored

DEFEATING THE FINAL BOSS OF ENDPOINTS

Imagine an endpoint that involves a long series of HTTP calls, file I/O, third-party calls (AI generation), and finally a couple of DB queries. Where do you even start debugging performance issues?! Learn how developer and podcaster Dan Mindru shaved off 22.3 seconds per call with Sentry Trace View. Read the blog [11] or join the workshop

2024.09.09
blog.sentry.ioSponsorTLDR Web Dev

RECLAIM THE STACK

Mynewsdesk.com open-sourced its Kubernetes-based platform, which helped it to reduce costs, improve performance, and make its developer experience better.

2024.09.09
reclaim-the-stack.comToolTLDR Web Dev

JSON DIFF AND PATCH

JSON diff and patch, or jd, is a command-line tool and Go library for comparing and modifying JSON and YAML data using various diff and patch formats, including its own native format, JSON Merge Patch, and a subset of JSON Patch.

2024.09.09
github.comGitHub repositoryTLDR Web Dev

INERTIA.JS

Inertia is a tool that allows developers to build single-page applications without needing to create an API by utilizing existing server-side patterns and connecting them to client-side frameworks like React, Vue, and Svelte.

2024.09.09
inertiajs.comToolTLDR Web Dev