JSR Is Not Another Package Manager
JSR introduces a new way to share JavaScript and TypeScript code across platforms, focusing on simplifying distribution without replacing existing package managers.
今日新增 431 篇 · 共 7,489 篇 · 来自 241 个博客
JSR introduces a new way to share JavaScript and TypeScript code across platforms, focusing on simplifying distribution without replacing existing package managers.
AI 摘要This article addresses a long-standing blocker for extern types in Rust, stemming from the language's binary division of types into sized (size known at compile time) and unsized (size known only at runtime) categories. The author argues that extern types need a third category of types whose size can never be known, even at runtime, and that the existing ?Sized notation cannot adequately accommodate this case. They advocate for adopting a proposal involving a DynSized category, which they believe resolves the problem and is a win on several levels.
Hookdeck, an event gateway for distributed and async architecture, now has an SDK on JSR.
AI 摘要The author recounts attending their first Labor Notes Conference near O'Hare Airport, describing it as an extraordinary weekend surrounded by some 4,500 energized workers, organizers, artists, and writers from across the labor movement. Highlights included panels on organizing strategies, an impromptu protest against the genocide in Palestine, and the joyful moment when the UAW won its vote at a VW factory in Chattanooga, the first Southern auto plant to unionize since the 1940s. The author also discussed their book You Deserve a Tech Union, left feeling exhausted yet inspired, and is already looking forward to the next conference in 2026.
AI 摘要The article examines whether Large Language Models (LLMs), which excel at autoregressive sequence prediction in language, can be adapted to predict prices and trades in financial markets. Direct application faces challenges—financial data lacks linguistic structure, contains more noise than signal, and market competition erodes any predictive edge—but the authors highlight promising avenues such as multimodal learning, residualization techniques, attention mechanisms for multi-scale phenomena, and synthetic data generation. While GPT-style models are unlikely to take over quantitative trading soon, they may boost fundamental analysis, and the authors advocate keeping an open mind given AI's history of unexpected advances.
AI 摘要The author reflects on insights from Russell Johnston suggesting that effect systems (like Koka's) and coroutines (like Rust's async functions and generators) are in some ways isomorphic, and has been weighing the advantages and disadvantages of each. A tweet from Will Crichton sharpened the contrast by characterizing effect handlers as combining static typing with dynamic scoping. Viewing this from a user-experience rather than theoretical perspective, the author sees that property as a useful jumping-off point for understanding how effect handlers and coroutines differ.
AI 摘要The article draws a parallel between today's LLMs and early personal computers like VisiCalc, arguing that even a powerful general-purpose technology still requires people to identify specific use-cases and build dedicated applications around them. The author sees two problems: current models aren't reliable enough yet, since 'looks right' isn't always 'right', and the deeper challenge that most users can't recognize which of their tasks could be automated without someone building and selling a solution to them. Like SQL before it, generative AI will likely end up inside thousands of single-purpose apps that each wrap one problem, even as the dream of universal autonomous agents continues.
Neon, a performant, edge-compatible, serverless Postgres driver, arrives on JSR.
TypeScript, one of the fastest growing languages, helps JavaScript developers improve code quality and productivity. But getting started can be challenging. Here's an introduction to TSConfig.
AI 摘要Inspired by founder friends who obsessively measure business growth, the author proposes three heuristics for measuring personal growth: rate of change (aiming to become a 'new person' every 3–6 years, analogous to finance's rule of 72), the time it takes to solve big life problems like career, family, and finance, and the number of future options gained by choosing paths that maximize possibilities. Acknowledging that some friends find quantifying life 'sociopathic,' the author argues that measuring and living aren't mutually exclusive. These heuristics reflect a personal bias toward novelty and exploration that may one day change—which would itself be growth.
AI 摘要The article argues that formal methods are an essential part of good software engineering practice, particularly for large-scale, distributed, and low-level systems, because they reduce costly rework and catch expensive design issues before APIs acquire dependents (per Hyrum's Law). The author, drawing on his AWS experience, recommends tools like TLA+, P, Alloy, Dafny, deterministic simulation, and even whiteboard techniques, noting they help build not only more correct but also faster, better-optimized systems. However, he acknowledges that software driven by rapidly evolving user requirements, such as UIs and pricing logic, may benefit more from agile approaches than from up-front formal design.
AI 摘要The article argues that before launching personalization efforts—whether new AI-driven features or a personalization engine—teams should run a 'prepersonalization' workshop to align stakeholders, assess readiness, and name gaps and risks. It describes a multi-year practice that evolves through customer experience optimization, always-on automations, and mature feature development, using card-based activities built on a who-what-when-why construct to compose personalized interactions as if-then recipes. The recommended workshop spans two to three days across three phases: kickstart, plan your work, and work your plan, in which participants pitch pilot projects with proof-of-concepts, business cases, and operating models.
Fixes 40 bugs (addressing 84 👍 reactions). `bun run --filter
AI 摘要This blog post examines the compatibility issues that arose between React Server Components and CSS-in-JS libraries like styled-components following the React core team's announcement of its future vision. It explains what the underlying problem is, what alternatives and options developers have, and what developments are on the horizon.
AI 摘要The author highly recommends Krystal Higgins' book 'Better Onboarding' as required reading for software makers, especially given their role on the onboarding team at Retool. The book challenges conventional onboarding approaches like wizards, popups, and checklists, advocating instead for guidance woven into the interface itself—an approach Chris How on the Clearleft podcast dubbed 'longboarding.' The author concludes that onboarding is every moment of the application rather than a separate flow, and plans to apply these ideas to make Retool's onboarding more of a nudge and less of a shove.
How to open pieces of narrative non-fiction writing, conference talks, and sticky jars
A modern JavaScript registry needs to be fast, reliable, and be as simple as possible for end users. Here's how we built JSR.
AI 摘要The author explains why and how they block AI crawlers from their website, objecting to their content being scraped to train AI models they consider unethical and extractive. Because robots.txt only works if bots honor it, they use an .htaccess mod_rewrite rule listing known AI bot user agents, which they maintain dynamically via a data file in their Eleventy setup so new bots can be added automatically. They acknowledge the approach isn't perfect—bots can lie about their user agent, and Google-Extended can only be blocked via robots.txt—so they duplicate the blocklist in both files.