Tips on adding JSON output to your CLI app
Best practices when adding a JSON output option to your command-line application.
Topics /
The most popular blog posts about tools & productivity on Hacker News. 381 posts.
Best practices when adding a JSON output option to your command-line application.
Maybe I'm paranoid. But, I think there's a lot of smart people out there dedicating their life's work to make others keep watching videos. Since YouTube's incomprehensible decision to remove dislikes count it's become even easier to waste time on worthless content. In this blog post, I'll describe a simple trick that…
This article is about how to use the 'tail' command. Here is an overview of how you can use the 'head' and 'tail' commands to output different parts of a file:
I’ve been delving deeper into the vast and strange world of knowledge organizing tools (notes apps, contact organizers, personal search engines). During this rather abstract expedition, one of my goals has been to emerge with some opinionated thesis about the way these tools should be designed to harbor and extend our…
Unfortunately for you, we promised a follow up to talk about the security implications of using such an agent. So, here we are.
I used to think that I didn’t need comments if I wrote self-documenting code. However, I have realized that I do write comments, and that I find them really useful. To see how many comments I…
I'm thinking about a few things.
Since 2008, I've ripped every DVD and Blu-Ray I bought to my Mac, with a collection of SD and HD media totaling around 2 TB today. To make that library accessible, I've always used iTunes and the iTunes Shared Library functionality that—while it still exists today—seems to be on life support, in kind of a "we still…
How I Write Code: Pen & Paper - Noteflakes
I write a lot of command-line programs. For tiny programs I usually go with the typical UNIX approach: throw together a half-assed shell script and move on. For large programs I make a full Common Lisp project, with an ASDF system definition and such. But there's a middle ground of small ish programs that don't…
I have another post about half-written that I will finish up and publish soon, but in the mean time I have been thinking today about something that perennially comes up in certain orange-tinted online communities: running your own mail server.
VileR's blog: old school PCs, games, graphics, programming, fonts, demos, and so on.
Yes, my friends, it is true. After more than fifteen years using Vim, teaching Vim, proselytizing about Vim, all the while scoffing in the general direction of Emacs, I’ve seen the light. The light of Lisp… Or something. If, like me, you’re curious enough to give Emacs a try, this post should help you get off the…
How to organise and deploy dotfiles using GNU stow.
Frost Ming's personal blog
New Sublime Text plugin for working with Clojure
I do the bulk of my code reviews from the command line, especially when reviewing larger changes. I've built up a number of tools and config settings that help me dig into the nuances of the code I'm reviewing, so that I can understand it better than if I were just browsing online.
I really wanted to get a personal blog up quickly, but the most popular static site generators either didn't fit my needs or did way too much.
For many mobile users, files are like dinosaurs, a holdover from the bygone desktop era. Sure, they “work” but, they’re mostly there because, you know, ancient history. I’ve discussed this issue for the last 2 years and I usually get some version of “get over it grandpa”.
Update (2024-09-08): Read this article in Japanese at Qiita or at Emacs-JP. You’re using Avy wrong. Too harsh? Let me rephrase: you’re barely using Avy. Still too broad? Okay, the noninflammatory version: Avy, the Emacs package to jump around the screen, lends itself to efficient composable usage that’s obscured by…
Try Nix and don't look back.