Latest articles

444 new today · 7,510 articles · from 241 blogs

Svelte Blog·

Introducing the new Svelte CLI

AI summaryThe Svelte team has released sv, a new unified CLI for creating, enhancing, and upgrading Svelte projects, merging the previous create-svelte and community-led svelte-add tools into a single package. It offers built-in add-ons for things like Tailwind, formatting, linting, testing, databases, and auth, and consolidates previously separate tools such as svelte-migrate under commands like sv migrate svelte-5. Community-contributed add-ons are planned for the future, and users can try it now with npx sv create or npx sv add.

Svelte Blog·

Svelte 5 is alive

AI summaryAfter 18 months of development, Svelte 5 is now stable, marking the project's most significant release as a ground-up rewrite that makes apps faster, smaller, and more reliable while remaining almost completely backwards-compatible with Svelte 4. Key changes include the introduction of runes for explicit reactive state declaration, event handlers being treated as props, snippets replacing slots, and native TypeScript support. Users can upgrade seamlessly via the new 'sv' CLI or migration tools, with an updated SvelteKit release planned in the near future.

Bun Blog·

Bun v1.1.32

Fixes 7 bugs and adds crypto.hash() in node:crypto. Warnings in Next.js 15 are fixed. A regression in ESM <> CJS interop impacting Vite config objects is fixed. A crash in Bun.serve() when passing invalid TLS certificates at start is fixed.

Svelte Blog·

The Omnisite

AI summaryThe Svelte team has consolidated their previously separate websites (the main site, kit.svelte.dev, and learn.svelte.dev) into a single unified site, making it easier to search, navigate, and share preferences like dark mode, with documentation for the CLI and other packages coming soon. The redesign also features a cleaner visual style, dropping overused design elements like boxes and borders, and adopts a new serif-based typography (DM Serif Display, EB Garamond, Fira Sans, and Fira Mono) to give the site a more distinctive, analog-inspired feel. The codebase is now open source, and the team welcomes contributions as they continue polishing the site.

React Blog··Lauren Tan

React Compiler Beta Release

At React Conf 2024, we announced the experimental release of React Compiler, a build-time tool that optimizes your React app through automatic memoization. In this post, we want to share what's next for open source, and our progress on the

Bun Blog·

Bun v1.1.31

Fixes 41 bugs (addressing 595 👍). node:http2 server and gRPC server support, ca and cafile support in bun install, Bun.inspect.table, bun build --drop, iterable SQLite queries, iterator helpers, Promise.try, Buffer.copyBytesFrom, and severa

Mozilla Hacks··Stephen Hood

Llamafile v0.8.14: a new UI, performance gains, and more

AI summaryMozilla has released Llamafile 0.8.14, an open source tool that turns LLM model weights into fast, cross-platform executables, featuring a new colorful terminal-based chat interface as its headline feature. The release also includes dramatic performance gains (up to 10x faster prompt evaluation on hardware ranging from Intel i9 to Raspberry Pi 5), a new OpenAI-compatible API server called Llamafiler, support for many new models like Llama 3.2 and Llama 3.1 405B, and Whisperfile for speech-to-text. Mozilla invites community contributions via its GitHub repo and Discord server.

Steve Klabnik·

When should I use String vs &str?

AI summaryThe article offers a progression of rules of thumb for choosing between Rust's two main string types, String and &str. Beginners can simply always use String and let the compiler guide them, then advance to using &str for function parameters, returning &str when the output is a substring of an argument, and only storing &str in structs when truly necessary. The author argues these levels handle virtually every real-world scenario, so developers rarely need to deliberate over the choice.

Without Boats·

UnpinCell

AI summaryThe author proposes a new Rust design, UnpinCell, as a variation on their earlier pinned places proposal. Whereas the previous design relied on the unusual concept of 'pinned fields' to support pinned projection, this new approach aims to offer similar properties while remaining consistent with Rust's standard field projection behavior, without introducing a special field marker.

Baby Steps·

The `Overwrite` trait and `Pin`

AI summaryThe post argues that the `Overwrite` trait, introduced in a previous post, can serve as a better version of Rust's existing `Unpin` trait by affecting not only pinned references but also regular `&mut` references. This allows `Pin` to integrate much more seamlessly with the rest of Rust, though the transition involved is tricky. The author builds on a vision presented in a July post to make this case.

Mr. Money Mustache··Mr. Money Mustache

Six Dumb Misconceptions About The Economy (that the Politicians Want You To Believe)

AI summaryThis Mr. Money Mustache article debunks six economic misconceptions spread by politicians during the US election season, arguing that the economy is actually strong and that presidents have far less control over interest rates, inflation, housing prices, and gas prices than candidates claim. The author points out that wages have outpaced inflation since 2019, housing costs stem from supply restrictions rather than policy, and gasoline is cheap and increasingly obsolete. Ultimately, the article argues Americans have passed the point of 'Enough' material wealth, so voters should tune out election-year rhetoric and focus on financial literacy instead.

Robin Rendle··Robin Rendle

into the wreck

AI summaryThe author enthusiastically praises Erin Kissane's new research studio, 'wrecka.ge', which takes its name from the wreckage of failed networks and aims to examine what has gone wrong with them in order to build new ones that genuinely work better for everyone's collective survival. The author argues that simply building reflexively against old networks or scolding people won't help—instead, we must carefully study past disasters and turn that rubble into something to think and work with. The piece closes with an urgent call to subscribe and support Erin's work.

Scott Hanselman··Scott Hanselman

Webcam randomly pausing in OBS, Discord, and websites - LSVCam and TikTok Studio

AI summaryThe author's webcam started randomly pausing in OBS, browsers, and other apps every 90 seconds or so, and after investigating with PowerShell and JavaScript's enumerateDevices(), he discovered a mysterious virtual camera called 'LSVCam' that hung on enumeration and caused NotReadableError failures. He traced it to TikTok LIVE Studio, which installs LSVCam.dll as a poorly implemented virtual camera for its streaming feature. The fix is deleting the registry key HKEY_CLASSES_ROOT\CLSID\{860BB310-5D01-11d0-BD3B-00A0C911CE86}\Instance\LSVCam, though the key reappears each time TikTok Studio is run, so he deletes it before each stream until the bug is fixed.

Robin Rendle··Robin Rendle

The Disappearance of an Internet Domain

AI summaryThe article discusses the impending disappearance of the .io domain, drawing on the history of the .yu (Yugoslavia) domain as a precedent. When Montenegro declared independence from Serbia in 2006, the IANA created .rs and .me domains and terminated .yu by 2010, after which it established strict rules requiring country-code top-level domains to cease existing within roughly three to five years once their country codes no longer exist. These same firm rules will now apply to .io, forcing every individual and company that uses the domain to eventually move elsewhere.

Deno Blog··Ryan Dahl

Announcing Deno 2

Our next major version of Deno combines the simplicity, security, and performance of Deno 1 with full Node and npm backwards compatibility, and much more.

Bun Blog·

Bun v1.1.30

AI summaryBun v1.1.30 fixes 57 bugs and introduces an experimental CSS bundler, along with `bun publish` as a drop-in replacement for `npm publish`. New performance and build features include `bun build --bytecode` for 2x faster startup, CommonJS output support, Node.js native addon support, and 30x faster crypto operations. The release also adds utilities like Bun.color() and `bun pm whoami`, plus broader Node.js compatibility improvements.