New
The latest blog posts to take off on Hacker News. 21,822 posts.
Leveling up in job interviews for software engineers (2022)
How to stand out in job interviews as an engineer.
Kaboom.js 3000
JavaScript game programming library that helps you make games fast and fun
Racket frustrates me
2024-07-06 I’ve archived this post Looking for the post Racket frustrates me? You can read the original post on The Internet Archive’s Wayback Machine. Why archive this post? It’s been about a year since I published this post and since realized something: I don’t have any skin in the game anymore. My workflow is now…
CommonJS is hurting JavaScript
How CommonJS became Node's module system, ESM solved modules for the browser, and why supporting both slows down the JavaScript ecosystem.
How does Linux handle writes?
I examine the somewhat surprising way how Linux handles writes.
LLM tech comes to Wolfram Language
Wolfram's Version 13.3 includes a subsystem around LLMs plus new functionality in integrals, special functions, finite fields, computational geometry, live highlighting in visualizations, AR & VR deployment. See examples for those and dozens of other enhancements.
English as the new programming language for Apache spark
Discover the English SDK for Apache Spark, making data analytics more accessible with simple English instructions powered by Generative AI.
Structures in C: From Basics to Memory Alignment
Structures allow us to combine several variables to create a new data type. Some other languages support the same concept but call it “records”. If you come from object-oriented program…
Being “rockstars”: when software was a talents/creatives industry
I offer a high-level model for why software work feels like it sucks now: we don't treat software like creative output.
Building Boba AI: Lessons learnt in building an LLM-powered application
A series of patterns for building an AI co-pilot application.
Racket: Lisp for the modern day
You should give it a try!
JavaScript macros in Bun
Call JavaScript functions at bundle-time and inline results into the AST
CLI tools hidden in the Python standard library
Seth Michael Larson pointed out that the Python gzip module can be used as a CLI tool like this:
A trick to eliminate 2π (sometimes)
As a physicist, I’ve learned that the presence of 2 π 2\pi 2 π [▼] [ Or rather τ \tau τ , as it should actually be called . ] in a formula usually spells trouble. It’s kind of annoying to write by hand, easy to forget, and it’s dimensionless, so you can’t easily check if you forgot to divide or multiply by it…
Fintech engineering mistakes (2022)
Read this list unless you want to build a money disappearing system
Making Games
In March 2018, I had been a full-time indie game developer for four years. My heroes were Jonathan Blow, Lucas Pope, and Robyn and Rand Miller. I had 2,500 Twitter followers, an ambitious title under my belt with thousands of sales, and a free office in a hip coworking space near downtown Columbus, generously provided…
Meta developer tools: Working at scale
Every day, thousands of developers at Meta are working in repositories with millions of files. Those developers need tools that help them at every stage of the workflow while working at extreme sca…
Solving “Two Sum” in C with a tiny hash table
I came across a question: How does one efficiently solve Two Sum in C? There’s a naive quadratic time solution, but also an amortized linear time solution using a hash table. Without a built-in or standard library hash table, the latter sounds onerous. However, a mask-step-index table , a hash table construction…
Writing Python like Rust (2020)
Listen, I didn’t plan on making a whole ‘writing X like Y’ series. But here we are.
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
Wondering about Rust? We're addressing rumors and providing insight gained from years of early adoption of Rust here at Google.
Zellij New WASM Plugin System
Wouldn't it be cool to be able to develop terminal applets like UI components?
The Comprehensive Guide to Elixir's List Comprehension (2022)
Thank you to Seth Brown, Eric Oestrich, and Kevin Rankin for reviewing this article.
I Built Linux from Scratch
Linux From Scratch or LFS is a project that provides and maintains a set of instructions of how to build your own Linux system from scratch. I am always curious to understand how things work ‘under the hood’, and since I’m a daily Linux user i decided to take on the challenge to try and complete building Linux From…
Optimizing a ring buffer for throughput (2021)
In this article I will take a look at the classic concurrent ring buffer and how it can be optimized to increase throughput.
LLM Powered Autonomous Agents
Building agents with LLM (large language model) as its core controller is a cool concept. Several proof-of-concepts demos, such as AutoGPT, GPT-Engineer and BabyAGI, serve as inspiring examples. The potentiality of LLM extends beyond generating well-written copies, stories, essays and programs; it can be framed as a…
Testing a 1,000 player Minecraft server with Folia
Check out the impressive results of the large-scale Folia test that took place on June 18th, 2023. Learn more about our findings and technical challenges in this post.
Build your own Docker with Linux namespaces, cgroups, and chroot
Take a practical approach to containerization as we guide you through the step-by-step process of building your own Docker-like environment using Linux namespaces, cgroups, and chroot. Dive into the code and command examples to gain a deeper understanding of how these technologies work together to create isolated and…
The Magic Nix Cache, a GitHub Action for speeding up your Nix workflows
Nix builds at speeds you never thought possible.
A Senior Engineer’s Guide to FAANG Interviews
Made by interviewers for candidates – we spent hundreds of hours talking to technical interviewers from FAANG about their processes.