Asynchronous Everything (2015)
Joe Duffy's Blog | Adventures in the high-tech underbelly
The latest blog posts to take off on Hacker News. 1,517 posts.
Joe Duffy's Blog | Adventures in the high-tech underbelly
I was 9 years old. A revision of the notebook containing my first Z80 assembly language program
A while back there was a thread on one of our company mailing lists about SSH quoting, and I posted a long answer to it. Since then a few people have asked me questions that caused me to reach for it, so I thought it might be helpful if I …
It's a common architecture to have PostgreSQL and Redis serve as the backbone of your app, but PostgreSQL may be capable of everything you use Redis for.
When it comes to accuracy, how you add a series of arbitrary values together, and average them still matters.
How to use aligned word vectors from fastText to translate words from one language to another instantly.
Words from Chris Keathley
When we wrote our assembler we made many design choices that helped us cut down on the complexity of the assembler itself. One of those decisions was to have the assembler directly output executables. That was a good choice in that it allowed us to quickly test as we were developing: once we implemented an opcode, we…
As developers, we can *definitely* do better than 'Error 503 Service Unavailable' when it comes to error messages. This article shows you how.
The Scripting API is a new Manifest V3 API focused on, well, scripting. Let's dig into the motivations for this change and how it's different.
I took the real app and convert it from Styled Components to Linaria to compare the app performance of CSS-in-JS and normal CSS. Continue reading if you want to know how it went.
The library for web and native user interfaces
This is the story of me trying to win a game of chess against my brother. A single freaking game. What’s so special about it? Am I good at chess? Not at all. Did I improve at my game in the process? Also no. Is it a story about “the journey rather than the destination”? Not really. Did I at least have fun in the…
Let's say you have a web app with some database. In your database you have an Invoice model, where you store things you are charging your customers.
On the whole, LLVM has a well-designed intermediate representation (IR), which is specified in the language reference . However, there are a number of areas where design mistakes have been made. And while the LLVM project is generally open to addressing such issues, mistakes in core IR design tend to be firmly…
This tutorial is an in-depth look at how Git works, performing a lot of sometimes unusual steps to walk through interesting details. You will have to pay attention closely, or you will get lost on the way. But do not despair; you can run this tutorial on your computer, at the speed you want, skip to any step you want…
Abstract Syntax Tree is an extremely useful tool. It provides a tree representation of a source code, that can be traversed to parse the code while understanding the code’s language constructs. In this article, we explain how we have used ASTs to write IntelliPatch scripts that can...
“Don’t write clever code.” Why not? “Because it’s hard to understand.” People who say this think of clever code such as Duff’s Device: Duff's Device send(to, from, count) registershort*to, *from; registercount; { registern =(count +7) /8; switch(count %8) { case0: do{ *to =*from++; case7: *to =*from++; case6: *to…
After finishing up the macOS M1 article the blog staff took a little break. Then they saw the date. Upon looking at the actual changelog, however, something became readily apparent: this wasn't going to be just a progress report; this was going to be a MEGA Progress Report. The long rumored time era of developers…
John Doe's personal website
Object Oriented Programming died several times already. This time might be the last.
personal web-log
When learning a new programming language, I like having a well defined yet non-trivial problem to solve. Conway’s Game of Life (GoL) fits this definition. It has enough depth to uncover various tradeoffs. So naturally, when I picked up Chisel hardware description language (HDL), I wanted to build Game of Life in FPGA…
Zig is a general-purpose programming language and toolchain for maintaining robust , optimal , and reusable software.
The PyCon US 2021 recordings are available on our YouTube channel . Be sure to subscribe to our channel for notifications of new content. T...
POKEGB: A gameboy emulator that only plays Pokémon Blue, in 62 lines of c++. source: https://t.co/AGt7RUTr9H pic.twitter.com/o0BUUmzNOt
A case study of how Elixir is being used at Mozilla.
In this series, we will explore how to write a compiler for a small subset of C to LLVM in Haskell. Our language, Micro C, is basically a small subset of real C. We'll have basic numeric types, a real bool type, pointers, and structs. At the end of the series, we'll have a beautiful executable, mcc (Micro C…