最新文章

今日新增 414 篇 · 共 7,394 篇 · 来自 241 个博客

The Vue Point·

Reflections for 2020-2021

AI 摘要This blog post from the Vue.js team reflects on 2020, highlighting major accomplishments such as shipping Vue 3 core, new documentation, Vue Router 4, Vuex 4, and new tools like Vite and VitePress, along with nearly 50% growth in NPM downloads and devtools users. The team also celebrates the community's continued growth through remote conferences and events despite the challenges of the pandemic. Looking forward to 2021, the team's focus is on stabilizing the Vue 3 ecosystem, with plans for Vue 3.1, Vue 2-to-3 migration tools, Vue CLI 5, an IE 11 compatibility build, Vue 2.7, SSR support in Vite, and Vuex 5.

Lil'Log·

Controllable Neural Text Generation

[Updated on 2021-02-01: Updated to version 2.0 with several work added and many typos fixed.] [Updated on 2021-05-26: Add P-tuning and Prompt Tuning in the “prompt design” section.] [Updated on 2021-09-19: Add “unlikelihood training”.]

Svelte Blog·

What’s new in Svelte: January 2021

AI 摘要This January 2021 Svelte update announces the renaming of SvelteComponent to SvelteComponentTyped for backwards compatibility, progress on the upcoming Sapper 0.29.0 release with new TypeScript definitions and bug fixes, and continued private development of SvelteKit, which can be previewed via npm init svelte@next. The post also highlights a community showcase featuring new apps, sites, libraries, components, and learning resources built with Svelte, plus related project updates from Snowpack and Uppy.

Lea Verou··Lea Verou

Writable getters

AI 摘要The article explores a JavaScript pattern called 'writable getters,' where a property defaults to a computed value via a getter but can be overwritten like a normal data property once explicitly set. Since JavaScript properties cannot be both accessors and data properties, the author shows how a setter that deletes the accessor and replaces it with a data property enables this behavior, then abstracts the pattern into reusable helpers like writableGetter() and makeGetterWritable(), including support for overwriting the getter with another getter. It concludes by discussing related patterns that blur the data-accessor distinction, such as 'live' data properties and lazy evaluation.

Ethan Marcotte··Ethan Marcotte

Beacon.

AI 摘要In this year-end reflection, the author recalls leaving full-time employment to restart their design practice just before the pandemic upended 2020, acknowledging the year's hardships including COVID-19 and the deaths of Breonna Taylor and George Floyd. Despite the darkness, they celebrate bright spots: cofounding Autogram, contributing to the COVID Tracking Project, producing accessibility tutorials with Aquent Gymnasium, giving remote talks, writing essays, and adopting kittens. They close with gratitude for their privileges, friends, and loved ones who carried them through a long, difficult year.

Jay Alammar·

Interfaces for Explaining Transformer Language Models

AI 摘要This article introduces interactive interfaces for interpreting transformer-based language models, focusing on two explainability methods: input saliency and neuron activations. It demonstrates how gradient-based saliency (Gradient × Input) reveals which input tokens most influenced each generated output token, with examples using models like GPT2-XL and DistilGPT2, and examines how neuron groups in feed-forward layers respond to different input patterns. The article is accompanied by an open-source library, Ecco, for creating similar interactive visualizations in Jupyter notebooks.

Josh W. Comeau··Josh W. Comeau

Refreshing Server-Side Props

Next allows you to do server-side data-fetching, but what happens when that data needs to change on the client? This brief tutorial shows how to re-fetch the props without doing a full server reload. Keep reading.

Preshing on Programming··Jeff Preshing

Flap Hero Code Review

AI 摘要This post reviews the source code of Flap Hero, a small C++ game built without an existing game engine, explaining how it is organized using the Plywood framework and how it differs from larger game projects. The author evaluates the deliberate omission of typical engine subsystems—abstract scene representation, a shader manager, a physics engine, and an asset pipeline—rating each choice as OK, Good, or Bad based on the trade-offs involved. Overall, the article suggests Flap Hero is a valuable learning resource for novice and intermediate game developers, though some simplifications (like hand-managed shaders and no asset pipeline) proved disadvantageous.