Writing Grant Applications
For two years I was on the Canadian NSERC committee that reviewed individual grant applications. Fascinating. After reading dozens of applications you can begin to see patterns emerging. I’m …
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,258 posts.
For two years I was on the Canadian NSERC committee that reviewed individual grant applications. Fascinating. After reading dozens of applications you can begin to see patterns emerging. I’m …
Visual and interactive introduction to 2D planes in 3D space.
Recently Julia Evans wrote an excellent post about debugging a segfault in Rust. (Go read it, it’s good) One thing it mentioned was I think “ …
This was passed on to me by Ben Elliston, ex-gcc hacker and good guy. Amusing in context, but the corollary is that working on free software means you'll encounter such people. You may have to work with them. You may have to argue with them (and they may be right). Quite some time ago I was horrified by the private…
Designer News is dead. Designer News was an online community for product designers. For years it was the best forum to discuss designing software.
The world’s current and next innovations depend on a single country: Taiwan. It’s probably one country you might never hear about, or perhaps confuse with its neighbor, Thailand, or even think it’s a part of China. I’ve been living in Taiwan for 3+ years, and am baffled that I never pay attention to semiconductors…
What is the origin of the word "mainframe", referring to a large, complex computer? Most sources agree that the term is related to the frame...
Edit: Since this post, I've created an interactive tool for binary visualisation - see it at binvis.io
Disclaimer: I won’t expand on why/when you want to do this kind of hack, and you should not do this unless you know exactly what you are doing. Everything I talk about here is completely unsafe and might not be accurate for the future Go versions. This is not a recommendation, but more of a fun story.
I have a system with c servers, each of which can only handle a single concurrent request, and has no internal queuing. The servers sit behind a load balancer, which contains an infinite queue. An unlimited number of clients offer c * 0.8 requests per second to the load balancer on average. In other words, we increase…
Once upon a time Apple proceeded this way: They worked on frameworks and services internally, made them private, gave them a little time to mature (about one or two releases) and only then made them public. This way they had knowledge how the usage pattern was, what part of the API is good, what is bad, maybe adjust…
I've come across the book System Design Interview: an Insider's Guide by accident (paperback book [https://www.amazon.com/dp/B08CMF2CQF], and online course [https://bytebytego.com/]). I was looking for good book resources after several people have been asking me how they can get better at building
A while ago, I was part of a team developing embedded software. The software was deeply rooted in state machines - dozens of them—spread across multiple functions. While this architecture is common in embedded development, especially for systems without an operating system, I started to question: Is this really the…
Design can feel like there's no science to it — only feel and intuition. Even researchers have trouble grounding interaction design practices in science, inherently treating them as a mysterious black box. 1 While from my own experience that's partly true, I have been trying to deconstruct and dig out the why behind…
Evaluating Rust as the common denominator of modern development
I'm the kind of person who thinks about the design and implementation of hash tables. One design which I find particularly cute, and I think deserves a bit more publicity, is Robin Hood open-addressing with linear probing and power-of-two table size. If you're not familiar with hash table terminology, that might look…
The Great White Nope.
This post contains two unrelated announcements. Firstly, I would like to promote a useful list of resources for AI in Mathematics, that was initiated by Talia Ringer (with the crowdsourced assistan…
If you’ve read this blog before, you know that secure messaging is one of my favorite topics. However, recently I’ve been a bit disappointed. My sadness comes from the fact that lately …
A family of infinite sums that evaluate to rational numbers, sometimes integers, and and effective algorithm for finding the sum.
It's been a while since I've posted so figured it's about time I started a new series on my blog.