New
The latest blog posts to take off on Hacker News. 14,544 posts.
JavaScript for People Who Hate JavaScript
Written pieces, talks, and other bits by Zach Holman.
Game Engine Black Book: Wolfenstein 3D
How was Wolfenstein 3D made and what were the secrets of its speed? How did id Software manage to turn a machine designed to display static images for word processing and spreadsheet applications into the best gaming platform in the world, capable of running games at seventy frames per seconds? If you have ever asked…
Porting a Chrome Extension to Firefox
Shing Lyu's blog
CHIP-8 in Common Lisp
In the previous post we looked at how to emulate a CHIP-8 CPU with Common Lisp. But a CPU alone isn't much fun to play, so in this post we'll add a screen to the emulator with Qt .
The structure of a GCC back end
This is part one of a series “ Writing a GCC back end ”. The GCC back end is configured in gcc/config.host and the implementation is p...
Building account systems
Troy Hunt recently published a blog post titled “Authentication guidance for the modern era”. It has a big pile of solid advice on what…
Clojure will affect the way you think about programming
I sometimes get asked for recommendations of what programming language to "learn next". It's great that folks appreciate the fact that being exposed to several sufficiently different programming languages is an important step on the path to programming enlightenment. But it's also true that, given limited free time…
Porting 4.5K lines of C to Go
Porting Yoga (Facebook's CSS flexbox implementation) from C to Go.
The slow currentTimeMillis()
Today we’ll look at one of the most basic and the most often used methods from the Java library: System.currentTimeMillis() .
B2fJ – A Java Virtual Machine to run on the 8-bit home computers of the 80s
Back to the Future Java (b2fJ) aims at bringing the power of Java to 8-bit home computers of the ’80s. This project provides a toolchain to cross-compile Java programs under Windows.
How I implemented my own crypto
Despite advice to the contrary, I have implemented my own crypto for serious use. Here's how.
Grokking Diesel, Rust's ORM
Diesel (http://diesel.rs) is an ORM (Object-relational mapper) and Query Builder written in Rust. It supports Postgresql, Mysql and SQLite…
Explaining Programming to Six-Year-Olds
It was more fun than I expected! I treated this seriously and I was well prepared, and it paid off. The kids were interested and I think they might even remember something.
Practical Guide to SQL Transaction Isolation
You may have seen isolation levels in the documentation for your database, felt mildly uneasy, and went on with life. Few day-to-day examples of using transactions really mention isolation. Most use the database’s default isolation level and hope for the best. It’s a fundamental topic to understand however and you’ll…
Implementing State Machines in PostgreSQL
Finite-state machine (FSM) is a wonderful model of computation that has many practical applications. One of my favorites is turning business logic into simple FSMs. For example consider the following requirements for an order management system:
Elm in Production: 25K Lines Later
Reflecting on our experience of using Elm in production and an evaluation of Elm's distinguishing features
Building a startup in public: from first line of code to frontpage of Reddit
I show how I built a mini startup called Hoodmaps in public from the first line of code to a functioning web app that I got to the frontpage of Reddit with ove…
Qbrt – Cross-platform HTML/JS desktop apps using the Firefox Gecko runtime
I recently blogged about discontinuing Positron. I’m trying a different tack with a new experiment, codenamed qbrt, that reuses an existing Gecko runtime (and its existing APIs) while simplifying t…
Manipulate Functions with the J Language
The Pragmatic Programmer recommends that we learn at least one new language every year. To be effective, the languages we learn should differ sufficiently from those we already master and ideally introduce us to a new paradigm too. Learning a different programming language affects the way we view code. A new paradigm…
How to present a GitHub project for your resume (2016)
Introduction Companies ask for a GitHub profile. Recruiters ask for a GitHub profile. The question “Do you contribute to open-source?” is now one of the most common questions asked in p…