Topics /

Tools & Productivity

The most popular blog posts about tools & productivity on Hacker News. 362 posts.

2020
334

Audio from Scratch with Go: Stereo Panning

In the previous post we have written code to change the amplitude of wave files. Now we’ll take a look at how we can turn a mono wave file into a stereo wave file with optional panning, and explore how this is represented internally by the WAVE file format. Channels The raw audio data inside a WAVE file consists of…

342

Repurposing my old Chromebook to a low power home server

Can’t sell it? Repurpose it! It was around 4 years ago when I bought a used, slightly beat up Asus C300 Chromebook from a friend of mine for £50. It served me well, I installed Linux on it and used it to work on some side projects while commuting. However as time passed by, I slowly forgot about it and it ended up in…

347

What Shell Am I Using?

I wanted to install the latest version of zsh on my MacBook Pro. This is usually the first thing I install when setting up a new machine. A brew install zsh and a chsh later and I'm good to go (well, technically I had to add the homebrew location of zsh to /etc/shells as well). Close out Terminal.app and reopen to…

357

How to Make a Memex

Vannevar Bush's 1945 essay "As We May Think" prefigured the invention of hypertext and the Internet. He imagined a "memex", a desk equipped with a microfilm apparatus, "in which an individual...

358

Mocking time and testing event loops in Go

Initially I wanted to write articles on those two topics separately (mocking time and testing event loops), but during the process I realized that the things I want to talk about are too interrelated: when I need to mock time, it's usually to test some event loop with it, and when I test event loops, typically mocked…