New
The latest blog posts to take off on Hacker News. 49,253 posts.
Git-subtrac: all your Git submodules in one place
Long ago, I wrote git-subtree to work around some of my annoyances with git submodules. I've learned a lot since then, and the development e...
Lightweight API Design in Swift
This week, let’s take a look at a few core language features that enable us to design really lightweight APIs in Swift, and how we can use them to make a feature or system much more capable through the power of composition.
Mergeable replicated data types – Part I
Mergeable replicated data types Kaki et al., OOPSLA’19 This paper was published at OOPSLA, but perhaps it’s amongst the distributed systems community that I expect there to be the greatest in…
Why does F = ma?
By Michael Nielsen, November 23, 2019
Early Chinese World Maps (2010)
I recently came across this fascinating world map while researching the history of the Jesuit missions in seventeenth century China . Appar...
Cook: ‘China Hasn’t Pressured Us’
Link to: https://abcnews.go.com/Business/tim-cook-talks-vision-apple-breaks-ground-facility/story?id=67165042
Shipping a compiler every six weeks
This blog post is a slightly edited version of the live transcript of the talk I gave at RustFest 2019 in Barcelona on November 10th, 2019. As it's a transcript some parts of it are a bit repetitive or badly worded, but I hope the message behind the talk will be conveyed by this post anyway.
Towards a unified theory of reactive UI
Update 26 Sep 2020: A followup to this post is Towards principled reactive UI.
Overview of Rust error handling libraries
Rust's error handling is a pleasure to use thanks to the Result type . It ensures Rust's error handling is always correct , visible , and performant . And with the addition of the ? operator in Rust 1.13 , and the addition of return types from main in Rust 1.26 Rust's error handling has only kept improving.
An introduction to data processing on the Linux command line
This article will provide the reader with a brief overview for a number of different Linux commands. A special emphasis will be placed on explaining how each command can be used in the context of performing data science tasks. The goal will be to convince the reader that each of these commands can be extremely useful…
The Danger of “Simplicity”
Opinions and discussions of various topics, mostly related to programming.
Mu: Sketching out a minimal system programming language
In the previous post , I described what my new hobbyist computing stack looks like today, and how the design decisions seemed to accumulate inevitably from a small set of axiomatic goals. In this post I describe some (far more speculative) future plans for Mu and try to articulate how the design process continues to…
The care and feeding of software engineers, or why engineers are grumpy (2012)
The Official Web Site of Nicholas C. Zakas
Things I’ve learned in 20 years of programming
This year, I’ve become increasingly acquainted with the DEV platform. It’s a refreshingly positive oasis in the large sea of angry Reddit commenters and “well actually” connoisseurs that is the broader software world. One interesting facet of this community is that it seems pretty beginner-heavy. I regularly see posts…
Go’s Features of Last Resort
A “Feature of Last Resort” (FOLR) is a useful feature which solves certain otherwise hard-to-solve problems, but are often best avoided.
The impact of direct air carbon capture on climate change
By Michael Nielsen, November 21, 2019
Bits on the Wire
Exactly 100% of everything on the Internet involves exchanging messages which represent items of interest to humans. These items can be classified into three baskets: One for “media” (images, sound, video), one for text (HTML, PDF, XML), and one for “objects” (chat messages, payments, love poems, order statuses). This…
How to make your C codebase Rusty: rewriting keyboard firmware keymap
Recently, my colleague introduced me to QMK 1, an open-source keyboard firmware. Like many non-trivia C projects, macro is heavily used everywhere, especially in keymap files 2. It didn’t bother me much since I have been programming C for many years. But I kept thinking to myself, “what would it look like if I can…
Microsoft's “Love” of Linux
Recently Microsoft has been making a lot of announcements and releases of technology that fall under a supposedly “Microsoft Loves Linux” type of strategy. This is particularly noteworthy given the history of Microsoft since the end of the 90s. Their internal policy was a full attack on Linux 1 . and they were…
Common Mistakes and Missed Optimization Opportunities in SQL
Made by Developers and Non-Developers