Build to Last
Chris Lattner on software craftsmanship and AI
今日新增 449 篇 · 共 7,551 篇 · 来自 241 个博客
Chris Lattner on software craftsmanship and AI
AI 摘要The author improves on their previous 'asidenotes' technique—converting inline parenthetical asides into margin sidenotes—by defining a custom HTML element, , and using JavaScript to automatically insert a marker, strip the enclosing parentheses, and append sentence-ending punctuation. The script only runs when the browser supports CSS anchor positioning (checked with CSS.supports) and the viewport is at least 65em wide (checked with matchMedia), otherwise the text stays as plain inline parenthetical content. Since the approach already works in the post itself, the author is inclined to adopt it site-wide on meyerweb.
AI 摘要The author reflects on redesigning their website, drawing inspiration from Tschichold's Penguin Books designs, the Edgar typeface, other personal websites, a manga exhibition, and William Gibson's Neuromancer. They describe inspiration as finding old works and remixing or rescuing them into something new, feeling part of a long chain of creative influence. Though the redesign is still messy and unfinished, they conclude there is an abundance of inspiration across media and genres that they must simply keep their eyes open to.
A novel about a woman who throws off the yoke of patriarchy to become a witch.
Deploy and run your applications with Bun's fast JavaScript runtime on Vercel Functions, with full access to Bun APIs and improved performance
AI 摘要The author describes an experiment in converting inline parenthetical asides into sidenotes (dubbed "asidenotes") using only HTML and CSS anchor positioning in supporting browsers. Although a working solution was achieved with spans, counters, and absolute positioning, the approach required cluttered markup to hide the parentheses and couldn't cleanly handle text transformations like capitalization and terminal punctuation. The author ultimately rejects the technique as too cumbersome and hints that a JavaScript-based approach using custom elements will be covered in a follow-up post.
AI 摘要The article introduces the 'linear()' timing function in native CSS, which enables developers to model physics-based motion such as springs and bounces in vanilla CSS. The author shares insights from experimenting with this API, including its limitations, quirks, and practical tips for effective use.
AI 摘要In this humorous follow-up to his earlier post about new parenthood, the author shares discoveries from life with his two-year-old daughter, noting paradoxes like being simultaneously obsessed with and bored by her, and describing toddlers as unintentionally hilarious 'freak geniuses' with an inflated sense of their own importance. He also reflects on judgmental parenting culture and lays out his relaxed strategy: spending phone-free time together, encouraging curiosity and independent thinking, and accepting that parenting probably matters less than parents think it does.
Of all the senses cultivated throughout the 19th century, it was the sense of hearing that experienced the most dramatic transformation, as the science of sound underwent rapid advancement. Lucas Thompson delves into a particular genre of p
AI 摘要This eclectic post discusses several topics: pointing machines and the older 'compass method' used to copy clay sculptures into stone (which Michelangelo likely employed), the population pyramid invented by Francis Amasa Walker for the 1874 US atlas, and the British Post Office scandal in which buggy Fujitsu accounting software led to the wrongful prosecution of nearly a thousand subpostmasters, leaving the author puzzled about how such negligence went unchecked. The author also mocks the incomprehensibly dense Wikipedia article on 'type species' with a parody description of a funnel, and shares that the hormone drug Premarin takes its name from pregnant mares' urine, from which it was originally made.
AI 摘要This is the first part of the author's reflections on his 37-year software development career, beginning with his time as a university dropout who taught himself programming on the Amiga and Apple ][ in the mid-1980s. He describes writing a fast fixed-point Mandelbrot fractal explorer (MandFXP) that demonstrated his performance-estimation skills and helped him land a job at Distinctive Software working on games like Test Drive, while also developing the CygnusEd text editor as a side project. The narrative then covers his two-year round-the-world trip with his partner and his subsequent move to ASDG/Elastic Reality in Wisconsin, where he finally learned Windows, C++, and version control.