Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,817 posts.
Ruby 3.1
We are pleased to announce the release of Ruby 3.1.0. Ruby 3.1 keeps compatibility with Ruby 3.0 and also adds many features.
Shipping a Neural Network on iOS with CoreML, PyTorch, and React Native
This is the story of how I trained a simple neural network to solve a well-defined yet novel challenge in a real iOS app. The problem is unique, but most of what I cover should apply to any task in any iOS app. That’s the beauty of neural networks.
The Hardest Program I've Ever Written – How a code formatter works (2015)
The hardest program I’ve ever written, once you strip out the whitespace, is 3,835 lines long. That handful of code took me almost a year to write. Granted, that doesn’t take into account the code that didn’t make it. The commit history shows that I deleted 20,704 lines of code over that time. Every surviving line has…
Moving from TypeScript to Rust / WebAssembly
My experience with both languages.
Htmx 2.0.0 has been released
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when…
Zulip 3.0: Threaded Open Source Team Chat
We’re excited to announce the release of Zulip Server 3.0, containing hundreds of new features and bug fixes to help distributed and remote teams stay productive and focused. Zulip is the open-source threaded team chat app, used by thousands of teams globally. Zulip’s unique topic-based threading experience …
The Illustrated Transformer
Discussions: Hacker News (65 points, 4 comments), Reddit r/MachineLearning (29 points, 3 comments) Translations: Arabic, Chinese (Simplified) 1, Chinese (Simplified) 2, French 1, French 2, Italian, Japanese, Korean, Persian, Russian, Spanish 1, Spanish 2, Vietnamese Watch: MIT’s Deep Learning State of the Art lecture…
My washing machine refreshed my thinking on software estimation
I recently had a saga with a washing machine that reminded me why one of the most feared and hated tasks for software developers starts with the question: “So how long will it take you to build that?”
Against SQL
But SQL is the only widely-used implementation of the relational model, and it is:
The One Billion Row Challenge in Go: from 1m45s to 4s in nine solutions
How I solved the One Billion Row Challenge (1BRC) in Go nine times, from a simple unoptimised version that takes 1 minute 45 seconds, to an optimised and parallelised version that takes 3.4 seconds.
Why we created Julia - new language for fresh approach to technical computing
In short, because we are greedy....
Making noisy SVGs
Adding noise texture with only code
Extremely Linear Git History
One of the things that I like to do in my projects, is to make the git history as linear as possible.
A project with a single 11,000-line code file
I was responsible for a critical software project written by non-programmers a decade ago.
React Native at Airbnb
In 2016, we took a big bet on React Native. Two years later, we’re ready to share our experience with the world and show what’s next.
How to Finetune GPT-Like Large Language Models on a Custom Dataset
From the PyTorch Lightning creators. Own your AI, don't rent it. Lightning is the AI cloud to build, train, and deploy your own models on 36,000+ NVIDIA GPUs.
Pin
The Pin type (and the concept of pinning in general) is a foundational building block on which the rest of the the Rust async ecosystem stands. Unfortunately, it has also been one of the least accessible and most misunderstood elements of async Rust. This post is meant to explain what Pin achieves, how it came to be…
Conformant OpenGL 4.6 on the M1
For years, the M1 has only supported OpenGL 4.1. That changes today – with our release of full OpenGL® 4.6 and OpenGL® ES 3.2! Install Fedora for the latest M1/M2-series drivers.
Debugging an evil Go runtime bug
From heat guns to kernel compiler flags
Introducing Socket.io 1.0
The first version of Socket.IO was created shortly after Node.JS made its first appearance. I had been looking for a framework that easily enabled me to push data from a server to a client for a long time, and even had tried other approaches to server-side JavaScript.
} // good to go
Okay, let's see what we've got. Two sets of annotated training materials. Six books. Over four dozen online videos. Some 80 articles, inter...
The Rails Doctrine
Read about Rails design pillars like convention over configuration, optimize for programmer happiness, value integrated systems, the menu is omakase, push up a bit tent, and more.
Ruby on Rails in a week
I had 7 days to learn Ruby on Rails. I often think about approaches to learning, and it was time to put my ideas into practice.