Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 14,544 posts.
Implementing SM-2 in Rust
An implemenation of the SuperMemo-2 algorithm.
Code Conversion Language (2019)
Update : I forgot that I did a brief analysis on this many years ago, using ROT13 as example.
How Go uses Go to build itself
This post is based on a talk I gave to the Sydney Go users group in mid April 2013 describing the Go build process.
Parsing Advances
I find myself writing yet another toy parser, as one does during a Christmas break. It roughly follows Resilient LL Parsing Tutorial. Not because I need resilience, but mostly because I find producing a syntax tree and a collection of diagnostics a more natural fit for the problem than bailing out on the first error.
Monte Carlo Crash Course: Sampling
In the previous chapter, we assumed that we can uniformly randomly sample our domain. However, it’s not obvious how to actually do so—in fact, how can a deterministic computer even generate random numbers? 1
Advent of Code on the Z-Machine
Fantasy consoles like the Pico-8 are a great idea. A fantasy console provides a standardised and portable environment in which developers can explore ideas within creative constraints. The Z-machine , developed by Infocom in 1979, is the earliest fantasy console I know, although this is probably the first time it’s…
Binary modding a water dispenser to save me from pressing a button (2021)
A few months ago, I decided that it’s time I started to become more responsible and to start drinking more water. Unfortunately, the tap water where I live has a very high calcium content, which makes it a lot better when filtered and cooled first. To solve both issues, I picked up a second-hand professional water…
What it takes to transpose a matrix
Classical CPU architecture is a poor choice for performing matrix-oriented computations. Developers have to spend much effort to create efficient algorithms even for the problems appearing trivial on the surface. Matrix transpose is probably the most striking representative of such problems. It exposes numerous…
Clojure 2013 Year in Review
This is my third Clojure year-in-review post. In 2011 I was excited about Clojure 1.3, ClojureScript, and the second Clojure/conj. By 2012 I was blown away by four Clojure conferences, two O’Reilly books, reducers, Datomic, Immutant, and a partridge in a pear tree.
Incremental Regular Expressions
This article was originally published in the Russian functional programming journal http://fprog.ru/ and this translation was intended to be published in Peter Seibel’s http://codequarterly.com/ journal, but as Peter eventually decided not to proceed with the journal, I am publishing it on my personal space.
Translating My Z3 Tutorial to Coq
A blog about life, programming, math, logic, and physics.
Making a game on a custom bytecode VM in 7 days and 3kB
Laurent Le Brun's blog
Developing Multiplayer HTML5 Games with Node.js
Introducing osmus, a multiplayer HTML5 game written with web sockets, canvas and a game engine that runs shared code on the client and server.
Building a ‘People Who Like This Also Like’ Feature
A while ago a friend of mine asked me how I would go about building a ‘People Who Like This Also Like …’ feature for a music startup he was working at. For each band or musician, he wanted to display a list of other artists that people might also be interested in.
Versioned finite-state machines with Postgres (2019)
Inspired by Felix Geisendorfer blog post I implemented a database FSM (Finite-State Machine) with Postgresql. I brought some improvements to Felix’s implementation but before reading the following I recommend you to read carefully the original post.
ML in Go with a Python Sidecar
Machine learning models are rapidly becoming more capable; how can we make use of these powerful new tools in our Go applications?
Reviewing Large Changes with Jujutsu
Ben Gesoff's personal website
Struct composition with Go
This is a quick Friday blog post to talk about a recent experience I had working on a piece Juju code that needed to capture the data being sent over a net.Conn .
Annotated explanation of David Beazley's dataklasses
David Beazley on Twitter :
Zig's New Writer
Karl Seguin's Blog - A mix of coding and creative writing
Practical comparison of ARM compilers
My inspiration for this article was this thread in r/embedded . There are still many myths and misconception when it comes to the simple questions "Which compiler should I use?" or "Which compiler is the best?". I will try to share my practical experience with GCC, Clang and IAR on Cortex-M ( and Cortex-M only ). This…
Animations From First Principles (in 5 minutes)
Create animations from first principles and morph between different figures with Python. In 5 minutes. Kind of.
You Compiled This, Driver – Trust Me
I was incredibly inspired by Tomasz Stachowiak’s hack of GCN . It made me wish I owned a GCN machine of my own to start trying insane things with. On the other hand, I dooo own an Intel Haswell GPU , and they dooo publish some really dense documentation that’s allegedly enough to write a complete driver with.