Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 4,417 posts.

Tools & Productivity
Any year
3482

Add Latency to Localhost

Pádraig Brady taught me a great trick in a comment to a previous blog post and it was so neat I feel a need to highlight it further as it also makes it easier for me to find it again later! To simulate a far away server, add RTT time to the localhost device. For … Continue reading Add latency to localhost →

3486

The Case for Bash (2021)

Bash is oft-maligned: you hear it sneered at in sentences like “our continuous integration pipeline is just a pile of bash scripts .” It is commonly regarded as unintelligible and thus unmaintainable. The pile of bash scripts are the toxic byproduct of an infrastructure team understaffed, pressed for time, unwilling…

3494

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…

3503

I hacked my clock to control my focus

I often get distracted. I obviously don’t like it. So I decided to turn my computer’s clock into a constant reminder to help me focus. Implementation This hack requires: Ubuntu with GNOME desktop environment The Panel Date Format extension A simple bash script 1. Install the Panel Date Format extension # If you don't…

3506

Using the Google Cr-48 for Coding

The other day I saw the announcement for the new Chrome OS test laptop and decided to sign up on the off-chance that I might be able to snag one. In the request form I made it very clear that I would be attempting to use this laptop for development (easily my primary activity). Surprisingly the laptop arrived this…