New

The latest blog posts to take off on Hacker News. 6,153 posts.

Any topic
2022
3456

I Built a Ruby Parser

Sorry, this post will read like a “dear diary” entry rather than some life-changing HN-worthy guidance. Back in November 2020, almost on a whim I started work on a new parser for the Ruby programming language. It was almost exactly a year after I had started working on my compiler project (I hope to write a longer…

3459

Arc and Mutex in Rust

When writing concurrent Rust you will encounter Arc and Mutex types sooner or later. And although Mutex might already sound familiar as it's a concept known in many languages, chances are you haven't heard about Arc before Rust. What's more, you can't fully understand these concepts without tying them to the ownership…

3470

Pixel Art: Common Mistakes (2020)

We've all been there: you learn a few things and it all seems so simple, but when it comes time to make something yourself, it doesn't look right! In this tutorial, we'll start with some "beginner's pixel art" and we'll make edits to it in order to show off some common mistakes and their solutions. One of the hardest…

3473

WorldWideWeb.app

The Mac and Web have a long history together. From the very beginning, Mac OS X included the ability to run an Apache web server by clicking a Start button: About a decade ago, things started to change. Since then it’s gotten harder and harder to start a simple web server for testing HTML, CSS, […]