Topics /

Software Engineering

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

2022
152

An Algorithm for Passing Programming Interviews (2020)

Over the past few years, I’ve interviewed with a dozen or so companies and have completed ~50 or so individual algorithm problems. I’m frequently given feedback that I did a great job at the algorithms problem. In this post, I’m going to share how exactly I approach algorithm problems. Thought Process A guiding…

162

What’s so great about functional programming anyway?

To hear some people talk about functional programming, you’d think they’d joined some kind of cult. They prattle on about how it’s changed the way they think about code. They’ll extol the benefits of purity, at length. And proclaim that they are now able to “reason about their code”—as if all other code is irrational…

163

Bevy game engine 0.6

Thanks to 170 contributors, 623 pull requests, and our generous sponsors, I'm happy to announce the Bevy 0.6 release on crates.io! For those who don't…

164

How did REST come to mean the opposite of REST?

In this article, Carson Gross explores how the term REST (Representational State Transfer) evolved to mean nearly the opposite of its original definition in modern web development. It traces how REST, originally defined by Roy Fielding to describe the web's architecture of hypermedia-driven interactions, came to be…

166

Emacs 29 is nigh

Table of Contents Major features Eglot is now part of Emacs core Tree-Sitter is also part of Emacs core Install packages from source with package.el Org mode 9.6 use-package in Emacs core Pure GTK Emacs is here for Wayland! Compile EmacsLisp files ahead of time Native access to SQLite databases HaikuOS support New…

168

Useless Use of "dd" (2015)

tl;dr: dd works for reading and writing disks, but it has no "low level I/O" capabilities that make it more suited for this than any other shell utility. Like cat you should use it where it makes sense, e.g. to take advantage of its wide array of options, rather than try to ensure that all disk related commands begin…

179

Keyboard shortcuts for GNU Readline

Most command line programs that offer line editing -- like bash, Python, GDB, psql, sqlite and more -- do so using GNU readline. Readline's a powerful library that grants history, completion, movement and editing to programs that use it --- and a stable and consistent set of keyboard shortcuts. Shame, then, that even…