Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 1,420 posts.

Software Engineering
2017
1411

Tom Duff on Duff's device (1988)

I normally do not read comp.lang.c, but Jim McKie told me that `` Duff's device '' had come up in comp.lang.c again. I have lost the version that was sent to netnews in May 1984, but I have reproduced below the note in which I originally proposed the device. (If anybody has a copy of the netnews version, I would…

1413

Friday Facts #176 - Belts optimization for 0.15

Hi everyone. About half a year ago whenever I was sitting deeply in Factorio and when I needed to spend time in my phone, I was reading FFF or Factorio forum. Later when I decided to move - I suddenly realized that Wube is the most logical target to apply my crazy mind. All thanks to those FFF and you guys. Now I am…

1416

Ideology

Some people claim that unit tests make type systems unnecessary: "types are just simple unit tests written for you, and simple unit tests aren't the important ones". Other people claim that type systems make unit tests unnecessary: "dynamic languages only need unit tests because they don't have type systems." What's…

1417

PEP 557 – Data Classes

This PEP describes an addition to the standard library called Data Classes. Although they use a very different mechanism, Data Classes can be thought of as “mutable namedtuples with defaults”. Because Data Classes use normal class definition syntax, y...

1420

Welcome to Gitea

Gitea is a community fork of the popular self hosted Git service Gogs. We're a growing group of former Gogs users and contributors who found the single maintainer management model of Gogs frustrating and thus decided to make an effort to build a more open and faster development m