最新文章
今日新增 410 篇 · 共 7,422 篇 · 来自 241 个博客
A Picture Worth a Thousand Programmes
Bringing visual explanations and embodied knowledge to programming tools
What’s new in Svelte: April 2022
AI 摘要This April 2022 update highlights SvelteKit's new param matchers, which validate URL parameters before rendering and thereby replace fallthrough routes, along with new config options (outDir, endpointExtensions, prerender.default) and breaking changes such as the removal of fallthrough routes. It also covers ecosystem-wide improvements like new TypeScript types, language tool updates, a community showcase of apps built with Svelte, and various learning resources. Finally, it announces the Svelte Summit Spring virtual conference taking place on April 30, 2022.
dyn*: can we make dyn sized?
AI 摘要The author describes an in-progress design discussion with tmandry and cramertj about combining async functions in traits with dyn Trait in Rust, a topic recently presented to the Rust lang team. During the conversation, cramertj offered an insightful twist on the design that, if successful, could make dyn Trait much more user-friendly and accessible. While this early-stage work may go nowhere, the author is excited about its potential impact.
The shape of data
Understanding Layout Algorithms
AI 摘要This blog post introduction argues that front-end developers should learn CSS by focusing on how the language calculates layouts, rather than memorizing individual properties. It promises to explain the underlying structure of CSS and how to learn it effectively. The post serves as a teaser encouraging readers to continue reading about layout algorithms.
0022: preimp, shape of data, hytradboi progress, office hours, in nyc, riffle, cue, technical dimensions, js compound keys, hop
Remix: The Yang to React's Yin
Remix fills the missing piece that all React web applications need: The Network Chasm
Traversing High-Level Intent and Low-Level Requirements
How they differ and why they work better in different situations.
Programmable Notes
Agent-based note-taking systems that can prompt and facilitate custom workflows
Delightful React File/Directory Structure
How should we structure components and other files in our React apps? I've iterated my way to a solution I'm really happy with. In this blog post, I'll share how it works, what the tradeoffs are, and how I mitigate them. Keep reading.
Deep Neural Nets: 33 years ago and 33 years from now
AI 摘要The author reproduces Yann LeCun et al.'s 1989 paper on handwritten zip code recognition—the earliest known neural net trained end-to-end with backpropagation—in PyTorch, roughly matching the original results with a ~3000x training speedup, though an exact reproduction was impossible because the original dataset has been lost. Applying 33 years of modern advances (cross-entropy loss, AdamW, data augmentation, dropout, and ReLU activations) cut the test error from ~4% to ~1.5%, and further scaling up the training data with MNIST brought it down to ~1.25%. The exercise shows that at the macro level deep learning has changed remarkably little in 33 years, with remaining gains likely requiring larger models or datasets rather than fundamentally new techniques.
Aligning Content In Different Wrappers
Contributing to Complex Projects
WebGPU — All of the cores, none of the canvas
How to Upgrade to React 18
As we shared in the release post, React 18 introduces features powered by our new concurrent renderer, with a gradual adoption strategy for existing applications. In this post, we will guide you through the steps for upgrading to React 18.
React v18.0
React 18 is now available on npm! In our last post, we shared step-by-step instructions for upgrading your app to React 18. In this post, we'll give an overview of what's new in React 18, and what it means for the future.
Applying massive language models in the real world with Cohere
A little less than a year ago, I joined the awesome Cohere team. The company trains massive language models (both GPT-like and BERT-like) and offers them as an API (which also supports finetuning). Its founders include Google Brain alums in
Johns Hopkins
AI 摘要The author recalls visiting Johns Hopkins University as a child for a math awards ceremony, an experience that inspired his academic aspirations, and now announces he is becoming a Homewood Professor of Natural Philosophy there, moving from Los Angeles to Baltimore. The special, non-tenured position floats across departments, allowing him to split his time between Physics and Astronomy and Philosophy, teach one course per year in each, and pursue his interdisciplinary interests freely. He expresses gratitude for his time at Caltech but is excited about this new role, where outreach and unconventional academic pursuits will finally be his official job rather than merely tolerated.
Data Science Project Quick-Start
Hard-won lessons on how to start data science projects effectively.