New

The latest blog posts to take off on Hacker News. 1,733 posts.

Software Engineering
2023
3

Hidden gems of moreutils

It seems no matter how long I work with the command line, every once in a while I find handy utilities I've never encountered before. Most people have heard about the bird coreutils , that's where utilities such as echo , cat , and others come from. But did you know about moreutils ?

15

4B If Statements

I recently stumbled upon this screenshot while researching social media on the train. Of course, it was followed by a cascade of spiteful comments, criticizing this fresh programmer’s attempt to solve a classical problem in computer science. The modulus operation.

30

Xmas.c (1988)

The second block has more real work going on. If the character stored in the variable _ does not match the first character of the string a , the code recurses in such a way that this same block of code will again be entered. That is, t=-65 forces a return to the if (t < -50) block. The recursion steps through string a…