Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 1,020 posts.
Some Reasons to Measure
A question I get asked with some frequency is: why bother measuring X, why not build something instead? More bluntly, in a recent conversation with a newsletter author, his comment on some future measurement projects I wanted to do (in the same vein as other projects like keyboard vs. mouse , keyboard , terminal and…
The Rust compiler has gotten faster again
I worked on Rust part-time for several years at Mozilla. During that period I regularly summarized how the compiler’s performance had improved. For example: 2017-11-12 to 2019-07-24.
Your code displays Japanese wrong
A static site to link people to when their code is displaying Japanese wrong.
My preferred .NET console stack
An opinionated view on the boilerplate starting point of any .NET console application
Spreadsheet is a software development paradigm
Some pros and cons of using Excel for software development compared to the traditional approach of using a programming language
Representing SHA-256 Hashes as Avatars
How to turn 256 bits of entropy into a beautiful, avatar-friendly circular SVG: the Hashvatar.
Found a program I wrote in 1981 and decided to bring it back to life
When you find a weird program from four decades ago and realize that it's yours.
Speed Matters
I think that one of the most important things to focus on improving is how fast you can work.
Cross-Database Queries in SQLite
I released Datasette 0.55 and sqlite-utils 3.6 this week with a common theme across both releases: supporting cross-database joins. Cross-database queries in Datasette SQLite databases are single files on disk. …
New Elixir 1.12 – The developer’s point of view
The Elixir 1.12 version introduced some significant changes. The main one is the ability to create scripts and import dependencies via Mix.install. The interactive console can be more helpful in the software development, prototyping and debugging processes.
Java's records, Lombok's data, and Kotlin's data classes
While all three remove boilerplate, the similarities don't go much further. Records have stronger semantics with important downstream benefits, which makes them better*. (* not always; depends on circumstances; excuse the clickbait)
.NET for Beginners (2020)
Programming, Coffee and Indie Hacking
The art of solving problems with Monte Carlo simulations
Using the power of randomness to answer scientific questions.
ZGC – What's new in JDK 16
JDK 16 is out, and as usual, each new release comes with a bunch of new features, enhancements and bug fixes. ZGC received 46 enhancements and 25 bug fixes. Here I’ll cover a few of the more interesting enhancements.
Processing and P5 got newbies into coding
What the creators of Processing — now 20 years old — did right
Lessons learned after working one year as a Common Lisp Developer (2018)
I intented this to be a small post with some lessons learned after working one year as a CL dev, however it turned out quite long (two parts!). As always: All opinions are my own. This post is not endorsed by anybody.
Chiptunes on an ATtiny4 and the 3 Cent Micro
Ever since hearing about Rob Miles' Bitshift Variations in C Minor , a 4-voice polyphonic 16 minute piece of algorithmically generated music, I wanted to implement it in hardware. Getting it onto just any microcontroller seemed too easy , so I wanted it to run on the smallest µC I could find — the ATtiny4. A while…
Generics facilitators in Go
Go 1.18 is going to be released with generics support . Adding generics to Go was a multi-year effort and was a difficult one. Go type system is not a traditional type system and it was not possible just to bring an existing generics implementation from other language and be done. The current proposal was accepted…
Things Unlearned
One of my favorite questions to ask people is: what are some things that you used to strongly believe but have now changed your mind about?
s/bash/zsh/g
There is simply no way you can do calculations with fractions in bash without relying on bc , dc , or some hacks. Compared to simply being able to use a + b it’s ugly, slow, and difficult.
I loved jQuery, and still do (2019)
In defense of one of the most important JavaScript libraries ever
Seemingly impossible functional programs (2007)
Andrej has invited me to write about certain surprising functional programs. The first program, due to Ulrich Berger (1990), performs exhaustive search over the “ Cantor space ” of infinite sequences of binary digits. I have included references at the end. A weak form of exhaustive search amounts to checking whether…