编程 · 最新文章

今日新增 28 篇 · 共 2,704 篇 · 来自 79 个博客

Tailwind CSS Blog·

Compass: A starter kit for online courses

I've been itching to get back into screencasting and teaching lately, and the natural first step was to build our own course platform. So we just released Compass, a Next.js starter kit for publishing your own online course.

Josh W. Comeau··Josh W. Comeau

The Height Enigma

AI 摘要The author describes years of confusion over percentage-based heights in CSS, where setting height: 100% would sometimes appear to have no effect at all. Once they finally understood the underlying behavior, everything suddenly made sense, like a puzzle piece snapping into place. In this post, they share that epiphany and explore some solutions to the problem.

Clojure News·

Clojure Deref (May 10, 2025)

AI 摘要This is the May 10, 2025 edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts, videos, and blog posts covering topics like core.async.flow, React Server Components in Clojure, and ClojureScript, along with numerous new library and tool releases such as core.async.flow-monitor, stripe-clojure, and updates to Calva, squint, and cherry.

Bun Blog·

Bun v1.2.13

AI 摘要Bun v1.2.13 fixes 17 bugs while improving --hot stability and Node.js compatibility, adding 28 passing Node.js tests. The release also enhances node:worker_threads support and environment data, and reduces memory usage for child_process IPC and worker_threads. Additionally, it fixes BOM handling in .npmrc files and resolves hot reloading issues on older versions of Chrome.

Bun Blog·

Bun v1.2.12

Stream browser console logs to your terminal, dev server uses less memory. Node.js compatibility improvements for timers, vm, net, http, and bugfixes for TextDecoder, hot reloading reliability bugfixes

Clojure News·

Clojure Deref (May 3, 2025)

AI 摘要This article is the May 3, 2025 edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts, videos, and blog posts covering topics such as core.async.flow, compiling Clojure to WebAssembly, and bitemporal indexing, along with numerous new library and tool releases including core.async, babashka, CIDER, Calva, telemere, and noj.

Trey Hunner··Trey Hunner

Tips for PyCon tutorial presenters

AI 摘要This article offers practical advice for PyCon tutorial presenters, emphasizing readable screen setups, engaging attendees through active recall exercises rather than passive lecturing, and sending setup instructions in advance with repeated reminders. It also recommends preparing backup plans for technical problems, recruiting teaching assistants, using sticky notes so attendees can flag for help, mentally rehearsing the day, using checklists, and treating both attendees and yourself with compassion.

Svelte Blog·

What’s new in Svelte: May 2025

AI 摘要This May 2025 Svelte update announces the upcoming Svelte Summit Spring 2025 in Barcelona and highlights recent releases, including progress on Asynchronous Svelte, partial expression evaluation for better runtime performance, a new --install flag in the Svelte CLI, and the merger of the Cloudflare adapters into a single adapter-cloudflare package. The post also showcases community-built apps and tools like TableSlayer, Iconia, and Anime.js v4, along with learning resources such as talks, videos, and the 100th episode of This Week in Svelte featuring Rich Harris.

Brendan Gregg·

Doom GPU Flame Graphs

AI 摘要The AI Flame Graphs project is now open source with Intel Battlemage GPU support, enabling full-stack GPU flame graphs that, when paired with FlameScope heat maps, allow visual correlation of CPU and GPU performance at millisecond resolution. The authors demonstrate this by profiling GZDoom on Linux using the iaprof profiler, revealing causes of GPU stalls such as shader compilation, wall rendering, postprocessing, and stenciling in a custom-built demanding Doom map. While powerful, the tooling currently requires substantial setup (custom Linux kernels, eustall interfaces, and frame-pointer-compiled libraries), though the team expects this to get easier over time.

Bun Blog·

Bun v1.2.11

Fixes 62 bugs (addressing 77 👍). `process.ref` and `process.unref`, `util.parseArgs` negative options, `BUN_INSPECT_PRELOAD`, Highway SIMD, Node.js compatibility improvements for `node:http`, `node:https`, `node:tls`, and `node:readline`

V8··Marja Hölttä

Giving V8 a Heads-Up: Faster JavaScript Startup with Explicit Compile Hints

AI 摘要The article describes V8's new Explicit Compile Hints feature, which lets web developers mark JavaScript files or functions for eager compilation instead of lazy on-demand compilation, reducing page load bottlenecks. Experiments on popular web pages showed that 17 out of 20 improved, with an average reduction of 630 ms in foreground parse and compile times. Chrome 136 ships file-level eager compilation via the magic comment //# allFunctionsCalledOnLoad, with per-function hints planned for the future.

Clojure News·

Introducing core.async.flow

AI 摘要core.async 1.9.808-alpha1 introduces core.async.flow, which is in alpha state with APIs subject to change, and also adds datafy support for channels and buffers. Additionally, core.async.flow-monitor v0.1.0 is being released as a tool for visualizing a flow's processes as SVG and dynamically monitoring and interacting with flows as they run.

research!rsc··Russ Cox

Differential Coverage for Debugging

AI 摘要The article describes 'differential coverage', a debugging technique that compares the code coverage profile of a failing test with those of passing tests to isolate code blocks unique to the failing case. Demonstrating in Go, the author diffs two coverage profiles and views the result with go tool cover -html, successfully narrowing an injected bug down to 10 lines among over 15,000. While not foolproof (e.g., data-dependent bugs or insensitive tests can evade it), the technique is cheap to compute and can save considerable debugging time.

Clojure News·

Clojure Deref (Apr 25, 2025)

AI 摘要This is the April 25, 2025 edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts and videos (such as Apropos Clojure and Replicant TV), blog posts on topics like syntax-quote optimization, exposing Clojure to Ruby, and Rama performance gains, plus the Q2 2025 Clojurists Together funding announcement. It also lists numerous new library releases, including babashka 1.12.199, pg2 0.1.38, etaoin 1.1.43, datahike 0.6.1595, and clojure-lsp.