Bookmarks

Bookmarks

46807 bookmarks
Custom sorting
Robust Configuration Objects In TypeScript: The Power of As Const and Satisfies
Robust Configuration Objects In TypeScript: The Power of As Const and Satisfies
Struggling with TypeScript config objects that silently accept typos or destroy useful autocomplete? If you've defined settings for React, Node, CLIs, or any JavaScript application, you know the pain. In the next five minutes, you'll learn two powerful TypeScript keywords - as const and the newer satisfies - that lock down your configurations with zero runtime cost, making your code safer and easier to maintain.
·claritydev.net·
Robust Configuration Objects In TypeScript: The Power of As Const and Satisfies
HelloCSV
HelloCSV
A Sleek CSV Importer
·hellocsv.github.io·
HelloCSV
Adding MCP to a Rails app | Stanko K.R.
Adding MCP to a Rails app | Stanko K.R.
Last week we had an AI hackathon at work during which we added an MCP server to our Rails app. This was much easier than I expected, the result was both...
·stanko.io·
Adding MCP to a Rails app | Stanko K.R.
Active Storage & Form Errors: Preventing Lost File Uploads in Rails
Active Storage & Form Errors: Preventing Lost File Uploads in Rails
Rails' Active Storage makes file uploads easy, but validation errors can cause attachments to be lost when forms re-render. This guide explains why and walks through a step-by-step solution using direct uploads, signed IDs, and Stimulus for an improved user experience.
·danielabaron.me·
Active Storage & Form Errors: Preventing Lost File Uploads in Rails
mark3labs/mcp-go: A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
mark3labs/mcp-go: A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools. - mark3labs/mcp-go
·github.com·
mark3labs/mcp-go: A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Graceful Shutdown in Go: Practical Patterns
Graceful Shutdown in Go: Practical Patterns
Go applications can implement graceful shutdown by handling termination signals (SIGTERM, SIGINT) via os/signal or signal.NotifyContext. Shutdown must complete within a specified timeout (e.g., Kubernetes’ terminationGracePeriodSeconds)…
·victoriametrics.com·
Graceful Shutdown in Go: Practical Patterns
pre-commit.ci
pre-commit.ci
Developers spend a fair chunk of time during their development flow on fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered (which is opt-in for each developer's workflow via pre-commit) but also fixes the issues automatically, letting developers focus their time on more valuable problems.
·pre-commit.ci·
pre-commit.ci
Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O
Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O
Postgres 18 introduces Asynchronous I/O (AIO) that can dramatically improve read performance, especially in the cloud. Learn how these changes and the new io_method setting work and see why our benchmark results show that io_uring is the recommended setting for maximizing I/O performance in Postgres 18 over the default setting 'worker'.
·pganalyze.com·
Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O