New

The latest blog posts to take off on Hacker News. 80,999 posts.

Any topic
Any year
33361

A Random Walk Through Git

This tutorial is an in-depth look at how Git works, performing a lot of sometimes unusual steps to walk through interesting details. You will have to pay attention closely, or you will get lost on the way. But do not despair; you can run this tutorial on your computer, at the speed you want, skip to any step you want…

33366

Clever vs. Insightful Code

“Don’t write clever code.” Why not? “Because it’s hard to understand.” People who say this think of clever code such as Duff’s Device: Duff's Device send(to, from, count) registershort*to, *from; registercount; { registern =(count +7) /8; switch(count %8) { case0: do{ *to =*from++; case7: *to =*from++; case6: *to…

33368

The Dangers of Low Head Dams (2019)

Dams serve a wide variety of purposes from hydropower to flood control to storage of water for municipal and industrials uses. But when a dam’s useful purpose fades away, the structure itself still remains. Dams come in all shapes and sizes, but contrary to what you might think, the most dangerous d

33382

“That Won't Work”

Imagine the scene: Several people are discussing a problem that needs an urgent solution. Everyone is deep in thought, and one person proposes a solution. “We could…” and everyone listens intently. As soon as the person is done talking, or perhaps even before, somebody speaks up. “That won’t work!” he says. The…

33386

From Julia to Rust

I've been more serious about learning Rust recently, after dragging on with passive learning for a while. My first real programming language was Julia, and I know other Julians interested in Rust. I've written this article for those people in mind, because Rust and Julia are good performance sparring partners, but…