Architecting UIs for Change
Techniques for keeping your app code under control even when requirements shift dramatically.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,267 posts.
Techniques for keeping your app code under control even when requirements shift dramatically.
I show how two domain-specific type systems, information flow control and two-party communication protocols, can be implemented in Rust using type-level programming. I explain how interesting properties of these domains can be verified at compile-time. Finally, I construct a general correspondence between type…
When I first learned about Fourier series and integrals, I hated it because it seemed like a collection of many ad-hoc definitions, formally related but very different.
Around four years ago, when I had first decided to start at Mozilla research, I had planned to write an LR(1) parser generator. It seemed like a good way to get to know Rust. However, I found that newborns actually occupy somewhat more time than anticipated (read: I was lucky to squeeze in a shower), and hence that…
A brief analysis of gender distribution in visual representations of everyday life in North Korea using facial recognition algorithms and transfer learning applied to convolutional neural networks.
Hacker News displays comments in a tree. This can be frustrating if you want to keep track of a particular conversation, as you constantly have to seek through the tree to find the latest comment.
Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future
Everyone had their weird pandemic hobby, right? Well, mine is that I bought an arcade video game. Not the whole cabinet - just a board, to hook up ...
In fact, only of the lower house, the Sejm. During its current term, 460 deputies voted 5545 times since the 8th of November 2011. The Sejm website publishes the individual results of the votes as …
2025 update v2: I made a tool that fixes distortions introduced by Intel GPA, and that tool made few sections of this blog obsolete. As such, they’ve been deleted. Old version is still available here.2025 update. This blog post now also exists as a youtube video. Yes, the video is 1 hour 20, so about twice as long as…
If I were to design a computer algebra system (CAS) from scratch today, I would try to achieve the following goals. Several ideas have already been implemented in one system or another, but certainly not all at once. Some ideas could be adopted by existing CASes; others would require fundamentally different designs or…
Something that struck me reading about the history of the Apple I computer was the fairly simple “ASCII bus” that it used for input and output. As I understand it a hobbyist back in the day could get an ASCII keyboard that quite literally presented as an interface a header giving 7-bits of ASCII and an additional…
The following article is a historical look at the era that spawned first raytracers for home computers, a predecessor to Blender among them. Writing it was possible thanks to the fact, that, for the first time, the program and source code of said predecessor are publicly available.
Sysadmin doing syadmin stuff
The 1600 LoC patch allows userspace to pass the kernel the encryption keys for an established connection, making encryption happen transparently inside the kernel.
Last month, a few days before NASA’s New Horizons probe made its historic flyby of Pluto, I posted a GIF of it doing so to Reddit .
Please click or tap in the gray square below. It will fill with a jolly tableau of colored disks—first big blue ones, then somewhat smaller purple ones, and eventually lots of tiny red dots.
About two weeks ago we released ColorizeBot to wander around Reddit. This Reddit bot has started by coloring images on r/OldSchoolCool and a day after, spread all over Reddit. The bot was based on a pre-trained neural network - More information on the netwrok can be found here. After
This summer I had the opportunity to attend NodeConf and it was a fantastic experience. I really appreciated how every session was a hands-on coding session: I felt like I walked away knowing how to put a bunch of advice directly into practice.