最新文章

今日新增 443 篇 · 共 7,340 篇 · 来自 241 个博客

Eugene Wei··Eugene Wei

Why Information Grows

AI 摘要This article is a reflection on Cesar Hidalgo's book 'Why Information Grows,' arguing that information is physical order rather than meaning, which only emerges when a message is interpreted by an agent capable of processing it. It uses examples like a wrecked Bugatti to show that value resides not in atoms but in their arrangement, and highlights humans' unique ability to encode information outside their bodies in artifacts, effectively conquering time. The piece also explores the conditions that allow information to grow—out-of-equilibrium systems, solids for storing order, and matter's capacity to compute—framing the growth of information as the unifying thread behind life, complexity, and economies.

Sara Soueidan··Sara Soueidan

Case Study: Optimizing SVG Text & Image Delivery with Inline SVG

AI 摘要The author describes a case study from the Smashing Magazine redesign in which three complex SVG membership illustrations needed to be delivered in a performant and accessible way. To achieve this, each illustration was split into an external, cacheable SVG file referenced inside an inline via an element, while the membership titles remained as real inline SVG elements, making them searchable, selectable, accessible, and stylable from the main stylesheet. This hybrid approach shows that SVG's dual nature as both an image and a document allows combining multiple embedding techniques for clean code, better performance, and accessible text.

Without Boats·

My Goals for Rust in 2018

AI 摘要Prompted by the Rust project's call for community blog posts about goals for 2018, the author shares their own personal objectives for the year. The author, who works on Rust full-time, notes complete agreement with Nick Cameron's post and outlines individual priorities they are motivated to pursue, alongside broader team goals.

Without Boats·

Unsafe Abstractions

AI 摘要The article examines unsafety in Rust not through the familiar lens of primitive operations permitted in unsafe blocks (like dereferencing raw pointers), but from the angle of the capability to produce unsafe abstractions. It defines an unsafe abstraction as a new abstraction that requires the unsafe keyword to apply in some context, noting this definition is intentionally broad because Rust supports several highly divergent forms of unsafe abstraction.

Andrew Kelley·

Zig: December 2017 in Review

AI 摘要This article is a December 2017 progress report for the Zig programming language, detailing major changes such as enum tag types and values, a complete overhaul of enums and unions (enums became simple symbol-to-number mappings while unions gained optional enum tags), and the removal of goto in favor of labeled loops and blocks. It also covers the LLD fork update to 5.0.1rc2, early progress on the self-hosted compiler, a higher-level command-line argument parsing API, improved automatic C-to-Zig translation, and standard library additions like ChildProcess.exec, a FixedBufferAllocator, and a ported block sort implementation with O(1) memory usage. Finally, a new @export builtin allows conditionally exporting functions and creating aliases at compile time.

Sara Soueidan··Sara Soueidan

Cropping & Scaling Images Using SVG Documents

AI 摘要This article explains how SVG's viewBox and preserveAspectRatio attributes can be used to crop, scale, and position images as a fallback or alternative to the CSS object-fit and object-position properties. The author demonstrates that nearly any combination of object-fit and object-position values can be replicated with preserveAspectRatio, and this technique works in any browser supporting SVG, including Internet Explorer back to IE9. The article also shows how to make the SVG solution accessible by adding a element and appropriate ARIA attributes.

Lil'Log·

Object Detection for Dummies Part 3: R-CNN Family

AI 摘要This article is the third installment of the 'Object Detection for Dummies' series, focusing on a review of models in the R-CNN (Region-based CNN) family. It builds on Part 1, which covered basic image processing concepts like gradient vectors and HOG, and Part 2, which introduced classic CNN architectures and pioneering object recognition models like Overfeat and DPM. The author notes updates including the removal of YOLO (deferred to Part 4) and the addition of sections on bbox regression and related tricks for R-CNN.

Sara Soueidan··Sara Soueidan

Auto-Sizing Columns in CSS Grid: auto-fill vs auto-fit

In this article I explain the subtle but important difference between auto-fill and auto-fit for sizing columns in CSS Grid. Each of them exhibits a responsive behavior once compbined with repeat() that you may or may not want for your resp

Without Boats·

Not Explicit

AI 摘要The author describes a recurring argument encountered in Rust community discussions—such as on RFCs and the internals forum—where people reject certain feature designs for being 'too implicit.' These critics typically argue that while 'magic' may be acceptable in other languages, Rust is supposed to be an explicit language, so an alternative design should be preferred instead. The title 'Not Explicit' suggests the author intends to examine or challenge this common notion of explicitness in Rust's design philosophy.

Preshing on Programming··Jeff Preshing

How to Write Your Own C++ Game Engine

AI 摘要The author shares lessons learned from writing a C++ game engine from scratch for their mobile game Hop Out, arguing that modern engine development is more about managing self-created complexity than wrestling with weak hardware. Key advice includes using an iterative approach—getting something running quickly and letting the architecture emerge naturally rather than over-planning—and resisting the urge to unify code too much, such as blindly following DRY or forcing functions into classes. The article also warns that serialization is a bigger subject than many expect.

Sam Altman··Sam Altman

A Clarification

AI 摘要The author clarifies that he was not defending tolerating unpleasant people in labs, but rather arguing that society must tolerate controversial ideas, since major scientific and social progress—like gay rights—often begins as unpopular or heretical positions. He acknowledges that drawing a clear line between hateful speech and legitimate debate is difficult, noting that today's accepted views may be judged unethical by future generations, as with the example of eating meat. He concludes that it is dangerous to simply ban discussion of topics people find offensive.

Lil'Log·

Object Detection for Dummies Part 2: CNN, DPM and Overfeat

AI 摘要This piece is Part 2 of the 'Object Detection for Dummies' blog series, which focuses on CNN, DPM, and Overfeat methods for object detection. It opens by recapping Part 1, which introduced image gradient vectors and the HOG algorithm for summarizing gradient information, image segmentation for finding potential object regions, and the Selective Search algorithm for refining those regions into better proposals.

Sam Altman··Sam Altman

E Pur Si Muove

AI 摘要The author observes that discussing controversial ideas feels easier in Beijing than in San Francisco, arguing that the Bay Area's culture of branding dissenting views as heresy is stifling innovation and driving away talented people. He contends that breakthrough ideas—from bitcoin to SpaceX—often start out sounding crazy or dangerous, so a culture that punishes heresy cannot produce true innovation. He concludes that society must tolerate uncomfortable and even bad ideas in open debate if it wants to enable the genuinely great ones.

Sam Altman··Sam Altman

The Merge

AI 摘要The article argues that the merge between humans and AI has already quietly begun, as algorithms now shape what people do, feel, and think in ways no single person fully understands, making this a gradual co-evolution rather than a single 'singularity' moment. The author contends this process cannot be stopped and that a merge—via brain-machine interfaces or close relationships with AI—is humanity's best-case scenario for avoiding conflict with a smarter species. Given exponentially improving computing power and rapidly growing AI research, he urges the world to take this seriously and coordinate globally.

Without Boats·

Failure 0.1.1 released

AI 摘要The author has released failure 0.1.1 to crates.io, two weeks after the initial release, containing incremental improvements suggested by the community. A major change in this version is that the derive macro can now be used without a separate dependency on the failure_derive crate, requiring only a #[macro_use] tag on the extern crate statement.

Distill·

Sequence Modeling with CTC

A visual guide to Connectionist Temporal Classification, an algorithm used to train deep neural networks in speech recognition, handwriting recognition and other sequence problems.

Without Boats·

Announcing Failure

AI 摘要The article announces the release of a new Rust crate called 'failure,' now available on crates.io, which is designed to make managing error types easier. The library was heavily influenced by lessons learned from previous error management approaches, particularly the Error trait and the error-chain crate. Its core abstraction is the Fail trait, which serves as a replacement for the existing std::error::Error trait.