Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 1,517 posts.

2021
1354

Why Specifications Don't Compose

Recently my friend Lars Hupel and I had a discussion on why formal methods don’t compose well. You can read the conversation here. We focused mostly on composing formally-verified code. I want to talk a little more about the difficulties in composing specifications. This is half because it’s difficult for interesting…

1356

Ignoring bulk change commits with Git blame (2019)

A long-standing objection to making bulk changes to code using automated tools (e.g. to conform to a given code style) is that it clutters the output of git blame. With git 2.23, this does not have to be the case anymore! In this post I will start by explaining the value of git blame and […]

1363

Sed challenge: join cal -y months into a single column

This is a little sed challenge that ocurred to me somewhat recently, when I wondered how many weeks were between 2 dates. Of course, I just looked at the calendar and counted, but then I wondered what kind of sed script I’d need in the middle of a cal -y | ... | wc -l pipeline to get the same answer.

1366

I got the GNU Modula-2 compiler working on OpenBSD

When it rains it pours. After making a splash with D , 1 I remembered that some time ago I began an attempt to bring the GNU Modula-2 compiler to OpenBSD . Because why not? Modula-2 is a language that exists and has compiler implementations. I guess my goal is to bring all the languages and compilers to OpenBSD. And…

1375

TLA+ Action Properties

There’s not a whole lot on TLA+ technique out there: all the resources are either introductions or case studies. Good for people starting out, bad for people past that. I think we need to write more intermediate-level stuff, what Ben Kuhn calls Blub studies. Here’s an attempt at that. Most TLA+ properties are…

1378

What scientists must know about hardware to write fast code (2020)

Socolive là địa chỉ được nhiều người hâm mộ bóng đá tìm đến khi muốn cập nhật và theo dõi trực tiếp bóng đá trên nền tảng trực tuyến. Nội dung tại Socolive được xây dựng xoay quanh nhiều giải đấu và cuộc đối đầu đáng chú ý, giúp người xem dễ dàng tìm thấy trận đấu đang được quan tâm. Cách phân loại thông tin theo từng…