最新文章

今日新增 426 篇 · 共 7,419 篇 · 来自 241 个博客

Jay Alammar·

The Illustrated Retrieval Transformer

AI 摘要The article explains DeepMind's RETRO (Retrieval-Enhanced Transformer), a language model that performs on par with GPT-3 despite being only 4% of its size (7.5 billion vs. 185 billion parameters) by augmenting its input with information retrieved from a database containing 2 trillion tokens. The model uses BERT sentence embeddings to look up nearest neighbors in a key-value database and incorporates the retrieved text through an encoder-decoder architecture that employs chunked cross-attention in special RETRO decoder blocks. This approach demonstrates that continuously scaling up model size is not the only way to improve performance, since separating factual world knowledge from language processing allows for smaller, cheaper, and faster models.

Svelte Blog·

What’s new in Svelte: January 2022

AI 摘要This January 2022 Svelte update highlights numerous SvelteKit improvements, including parallel page prerendering via concurrency mode, SSR route-splitting, automatic CSS-before-JS loading for better performance, a precompress option for the static adapter, and significant speed gains after updating to Vite 2.7. It also covers Svelte 3.44.3 bug fixes, Language Tools enhancements such as TypeScript 'go to' support, a showcase of community-built apps and sites, recommended articles/videos/podcasts, and new libraries like svelte-headlessui and Svemix.

Coding Horror··Jeff Atwood

Updating The Single Most Influential Book of the BASIC Era

AI 摘要David H. Ahl's 101 BASIC Computer Games, first published by DEC in 1973 and the first computer book ever to sell a million copies, inspired an entire generation of programmers who hand-typed its code into early microcomputers. The author has obtained Ahl's permission to launch a collaborative GitHub project modernizing all 101 original games in 10 memory-safe scripting languages, including Python, JavaScript, and Rust, while applying modern practices like subroutines. Contributors are invited to join the effort, with $5 donations to Girls Who Code pledged for each working program submitted per language by the end of 2022.

React Blog··Jesslyn Tannady and Rick Hanlon

React Conf 2021 Recap

AI 摘要React hosted its 6th annual React Conf, a stage historically used for major announcements such as React Native and React Hooks. This year's conference presented a multi-platform vision for React, highlighted by the release of React 18 and the gradual adoption of concurrent features.

Tailwind CSS Blog·

Tailwind CSS v3.0

Tailwind CSS v3.0 is here — bringing incredible performance gains, huge workflow improvements, and a seriously ridiculous number of new features.

A List Apart··Patrick Brosset

Breaking Out of the Box

AI 摘要The article introduces the Window Controls Overlay, an experimental feature for Progressive Web Apps (PWAs) that removes the separate title bar and overlays the window control buttons on top of app content, freeing up the full surface area of the app window. Using a demo CSS playground app called 1DIV, the author shows how to enable the feature with the display_override manifest member, position content using new CSS environment variables like titlebar-area-x and titlebar-area-width, and adjust the theme color at runtime so the overlaid controls blend with the app's design. This feature represents an opportunity to make desktop PWAs feel more native and visually integrated with the operating system, while still degrading gracefully on unsupported browsers.