Topics /

Tools & Productivity

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

2022
301

Emacs on an iPad

With my iPad having replaced my MacBook, the last thing I was missing was Emacs , which I not only enjoy hacking on, but is also how update my blog and resume! Let’s just say that it’s an integral tool in my life which I wanted access to, and I managed to make it happen.

312

Running C unit tests with Pytest

In this post I will describe my approach to C unit testing using pytest. In particular, we get to see how to gracefully handle SIGSEGVs and prevent them from stopping the test runner abruptly. Furthermore, we shall try to write tests in a Pythonic way.

315

What does $0=$2 in awk do?

The trick to understanding awk in all its terse glory is to understand its defaults. Most solutions you see in the wild are a clever symphony of awk defaults stacked on top of each other. In this post, I break down one of the most popular one-liners which should hopefully make future awk-ing pretty straight forward.

322

Use this kernel parameter in your kiosk

r/PBSOD is a fun subreddit all about posting pictures of broken kiosks and information/entertainment systems in public. It stands for Public Blue Screen of Death which is a Windowsism but Linux systems are posted there too. If you spend enough time scrolling, you might notice two things: There’s a scary number of…

326

New Clojure Project Quickstart

Clojure beginners sometimes struggle with setting up a new Clojure deps.edn project compared to setting up a lein project. This is one of the reasons I've built neil . But not only for beginners, I've been using neil myself a ton too, to add common features to existing deps.edn projects. You may think that neil is a…

328

On CAD

With cheap 3D printers and PCB manufacturing services you could conceivably design something and have a physical prototype on your desk in the same week. It is quite common to see hardware projects on github that contain firmware source code, STLs for 3D printed parts, and Gerber files for PCBs. To assemble them you…