Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 653 posts.

2014
182

Painting in Clojure

Learning Clojure by building a digital Jackson Pollock. This article and the source code backing it can be found on GitHub . Below is an example of what we will be building, running the code found in this page.

185

Fat JSON

Most server-side APIs these days are JSON-over-HTTP. Developers are generally comfy with this, but I notice when I look at the JSON that it’s often, uh, what’s the tactful term these days? Let’s say “generously proportioned”. And I see clumsy code being written to walk through it. The options for dealing with this are…

189

Queues Don't Fix Overload

People misuse queues all the time. The most egregious case being to fix issues with slow apps, and consequently, with overload. But to say why, I'll need to take bits of talks and texts I have around the place, and content that I have written in more details about in Erlang in Anger .

192

Make your program slower with threads

Years ago, while taking a numerical methods course, I wrote some code to calculate the expected number of shared birthdays in a group. The code is very simple: each attempt constructs a vector of N birthdays, then counts the duplicates. The outer loop runs millions of attempts, and calculates the mean number of shared…

201

Rust for functional programmers

This post follows up on OCaml for Haskellers from Edward Z. Yang (2010) and my own Haskell for OCaml programmers from earlier this year. Note The latest version of this document can be found online at https://dr-knz.net/rust-for-functional-programmers.html. Alternate formats: Source, PDF. Prologue Rust for C…

207

The Beauty of LaTeX (2011)

There are several reasons why one should prefer L A T E X to a WYSIWYG word processor like Microsoft Word: portability, lightness, security are just a few of them (not to mention that L A T E X is free ). There is still a further reason that definitely convinced me to abandon MS Word when I wrote my dissertation: you…