Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,819 posts.
Deno v1.8 – support for WebGPU, private modules, Intl, and much more
Deno 1.8 adds experimental support for the WebGPU API, adds support for importing private modules, stabilizes import maps, revamps coverage tooling, adds ICU to provide internationalization out of the box, and a whole lot more.
Using Fibonacci numbers to convert from miles to kilometers and vice versa
I recently learned an interesting fact about Fibonacci numbers while watching a random number theory video on YouTube. Fibonacci numbers can be used to approximately convert from miles to kilometers and back. Here is how. Take two consecutive Fibonacci numbers, for example 5 and 8. And you're done converting. No...
21 Nested Callbacks
About 21 months ago, before I even knew what a callback was, I built my first webpage. In honor of its 21 nested callbacks, I think it's about time I finally take a second look at it.
Meet the new Light Table
We have to start with a picture. Or hey, just go download it and see for yourself.
Introduction to Datalog
A rule-based data query language that thinks differently
Stack Graphs
Precise code navigation is powered by stack graphs, a new open source framework that lets you define the name binding rules for a programming language.
Exploring Clang/LLVM optimization on programming horror
Recently, I’ve come across a not so efficient implementation of a isEven function (from r/programminghorror ).
Simulating Jupiter
I'm a Technical Artist with over a decade of professional experience in both AAA and independent projects.
City in a Bottle – A 256 Byte Raycasting System
Hello size coding fans. Today, I have something amazing to share: A tiny raycasting engine and city generator that fits in a standalone 256 byte html file. In this post I will share all the secrets…
Reason 3
Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.
Code Health: Respectful Reviews == Useful Reviews
This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Testin...
I've been writing ring buffers wrong all these years
So there I was, implementing a one element ring buffer. Which, I'm sure you'll agree, is a perfectly reasonable data structure.
Nobody knows how the whole system works
One of the surprising (at least to me) consequences of the fall of Twitter is the rise of LinkedIn as a social media site. I saw some interesting posts I wanted to call attention to: First, Simon W…
The complexity that lives in the GUI
The user interfaces are a weird thing. There are all sorts of libraries and frameworks that are supposed to help you on your journey of writing a GUI, but despite all the best practices and frameworks forcing you to eat your vegetables, the GUI always ends up being a ridiculous mess. After pondering some more about…
Key Git Concepts Explained the Hard Way
As an exercise, after finishing this article do the whole exercise again, but make a change to both origin/master and master and then do the fetch and merge to see what happens when a fast-forward is not possible.
Catalina is checking notarization of unsigned executables
This is a follow-up to Allan Odgaard's excellent article macOS 10.15: Slow by Design . I want to talk specifically about the first section "Spawning a new Process", because there has been widespread misunderstanding of this. Odgaard provides a simple test to show that the first run of an executable is delayed while…
Tilde, My LLVM Alternative
I'm Yasser and I've made it my mission to produce an alternative to LLVM, the current king of compiler backend libraries. I'm calling it Tilde (or TB for tilde backend) and the reasons are pretty simple, i believe it's far too slow at compiling and far too big to be fixed from the inside. It's been 20 years and cruft…
</> Htmx – The Fetch()ening
You know, technically, I never said anything about a version *four*
Introducing .NET Standard
Questions? Check out the .NET Standard FAQ. You can find the latest version of the compatibility matrix here. In my last post, I talked about how we want to make porting to .NET Core easier. In this post, I’ll focus on how we’re making this plan a reality with .NET Standard. We’ll cover which APIs we […]
Best of show – abuse of libc
printf machine. 2020 IOCCC entry carlini - Best of Show - abuse of libc
Gitlet.js – Git implemented in 1k lines of JavaScript (2015)
I wrote Gitlet to show how Git works under the covers. I wrote it to be readable. I commented the code heavily.
Reactive HTML Notebooks
Can we build a reactive notebook in a single HTML file? Yes (by standing on the shoulders of Observable)
Translating OpenStreetMap data to HTML5 Canvas with Rust and WebAssembly
Using the Overpass API to read OSM data, parsing the data with Rust, and then drawing the map onto HTML5 canvas.
Half a million lines of Go
By Kevin Dangoor Back in December 2019, I first wrote about Goliath, Khan Academy’s project to migrate our ... Read more