Gray Code
What are Gray codes, and why are they so useful?
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,842 posts.
What are Gray codes, and why are they so useful?
Ante has taken the first step towards something we all thought was impossible: blending reference counting and borrow checking without run-time crashes. 0
Explore technical topics, solutions, and resources for building with Twilio – and beyond.
A guide to debugging in Clojure, using the REPL
In early December 2023, I wrote a drawing program called WigglyPaint and published it on Itch.io.
But, I guess he did win the Nobel Prize for Physics in 2020 so I can't really brag. However, it was a great surprise when looking at two pa...
MOAR DOX! Whenever we ask curl users what they lack in our project and what we should improve, the response is always clear: documentation. Here are the most common curl command line options when doing HTTP operations. This is the web page rendered as an image, click it to get to the web version. The … Continue…
A frame-based Python editor for the BBC micro:bit
Much has been written about fuzzing compilers already, but there is not a lot that I could find about fuzzing compilers using more modern ...
How we developed a hybrid multi-DC and cloud monitoring stack with Prometheus, Grafana, and Victoria metrics for monitoring system, app and service, and also business metrics.
After spending most of the past decade without a decent computer, all laptops with GPUs more able at toasting bread than proper gaming, I finally cracked the spare Bitcoin piggy-bank and built my d…
Easy wins for Haskell beginners
A book I was recently reading mentioned a mathematical curiosity I haven't seen before - Tupper's self-referential formula . There are some resources about it online, but this post is my attempt to explain how it works - along with an interactive implementation you can try in the browser.
Understanding the real world is not always easy. A Python simulation can help. And let's find ways of making it efficient, too.
The parallel parentheses matching problem can be parallelized in different manners depending on the use case and is a good example of how stacks map to parallel hardware.
You can choose among multiple artificial intelligence (AI) frameworks to develop AI algorithms. You also have a choice of a wide range of hardware to train and deploy AI models. The diversity of frameworks and hardware is crucial to maintaining the health of the AI ecosystem. This diversity, however, also introduces…
We’ve open-sourced MemLab, a JavaScript memory testing framework that automates memory leak detection. Finding and addressing the root cause of memory leaks is important for delivering a quality us…
Last year, I discovered that the Kosinski compression format is actually LZEXE, which was used for compressing DOS executables back in the 90s and the late 80s. Its developer catalogues three versi…
Explore technical topics, solutions, and resources for building with Twilio – and beyond.
Heap's algorithm for constructing all permutations is efficient and simple but not easy to understand. This article explains Heap's algorithm by example.
They have potential to be more than "no static types", but that hasn't happened.
Note: This post was originally titled “Stop writing lambda expressions in Python” but I’ve changed the title after deciding that it was a little...