Top all-time · #3279
Lazarus Lazaridis
Personal blog · iridakos.comprogramming
Lazarus Lazaridis writes iridakos, a personal blog at iridakos.com about programming. Since 2016, 23 different Hacker News readers have linked it 69 times, most often “Creating a bash completion script”. The last post was in 2020, but the archive is still widely read.
Too few sampled comments (5) to say how often HN recommends it.?
Why HN links it
HN readers link iridakos.com for its Bash tutorials, especially one on programmable bash completion scripts, and for a post introducing the stup shell daily-notes tool.
Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Lazarus Lazaridis’ personal blog with programming tutorials, tips and open source related posts. And cats.
Most-linked posts?
- Creating a bash completion script7 people · 16 mentions · first linked 2018-03-03
- Removing duplicate lines from files keeping the original order with Awk5 people · 6 mentions · first linked 2019-05-16
- Creating a chat application from scratch with Rails and WebSockets5 people · 6 mentions · first linked 2019-04-05
- Creating a bash completion script4 people · 6 mentions · first linked 2018-03-02
- Find palindrome dates in the Linux command line – explained3 people · 4 mentions · first linked 2020-02-06
- Playing around with Elasticsearch and Linux man pages3 people · 4 mentions · first linked 2018-04-12
- DuckRails – dev tool for APIs2 people · 3 mentions · first linked 2016-04-21
- Composing better emails2 people · 3 mentions · first linked 2019-06-27
- Creating a bash completion script (2018)2 people · 2 mentions · first linked 2020-05-09
- How to Write Better Emails2 people · 2 mentions · first linked 2019-12-09
What Hacker News says?
I also like having a script per project that will get auto loaded when you cd in. An example from a current project: #my vimrc knows what to do with this export VIM_TAGFILES="$PWD/build/tags,$HOME/.local/var/tags/system,$HOME/.local/var/tags/glib-2.0" export CFLAGS=' -g -O0 ' function autobuild { (mkdir -p build cd build while true; do make make deploy inotifywait -qr -e close_write,delete ../cgi ../test ../Makefile…
Comment linking /programming/2018/03/01/bash-programmable-completion-tutorial
on “Ask HN: What are your favorite developer-efficiency tips?”Submitted Removing duplicate lines from files keeping the original order with Awk as a story · 375 points
HN discussionBy far my best advice is to write auto-complete scripts if possible: https://iridakos.com/tutorials/2018/03/01/bash-programmable-... . Many of mine will do things like look up database values, so "command<tab><tab><tab>" is the workflow 99% of the time. Keep them short. There are always exceptions but the "do one thing" mantra is handy, they can always be wrapped into a more complex workflow with a bigger script. No…
Comment linking /tutorials/2018/03/01/bash-programmable-completion-tutorial.html
on “Bash 5.0 released”Submitted Composing better emails as a story · 263 points
HN discussion> In part because the more bash a dev knows the more effective they are at life in general On that note this article ( https://iridakos.com/tutorials/2018/03/01/bash-programmable-... ) on bash completion scripts has been a big boon for my effectiveness recently. I've been creating simulations of our complex interactions with third party systems and the completions scripts are doing things like pulling the correct va…
Comment linking /tutorials/2018/03/01/bash-programmable-completion-tutorial.html
on “Something about functions in Bash (2017)”Submitted Creating a bash completion script as a story · 169 points
HN discussionThe best ones have been auto complete scripts for more mundane ones like in this tutorial: https://iridakos.com/tutorials/2018/03/01/bash-programmable-... . One example I deal with often is interacting with third party systems. I had scripts to simulate them for ages but had to copy the values to generate the correct files from the UI/database. Now the auto-complete scripts look up the values in the database directl…
Comment linking /tutorials/2018/03/01/bash-programmable-completion-tutorial.html
on “Ask HN: What scripts/cronjobs you have made that made your life generally easier”Submitted Creating a Linux Desktop App with Ruby as a story · 134 points
HN discussionYou can find an introduction post on my blog here: https://iridakos.com/programming/2020/04/20/stup-cli-notes
Comment linking /programming/2020/04/20/stup-cli-notes
on “Show HN: stup – save, access and organize daily notes in the shell”Submitted Creating a bash completion script (2018) as a story · 87 points
HN discussionSubmitted How to add bash completion to shell scripts as a story · 17 points
HN discussionSubmitted Playing around with Elasticsearch and Linux man pages as a story · 16 points
HN discussionSubmitted Remove duplicate lines from files keeping the original order as a story · 9 points
HN discussionSubmitted Creating a chat application from scratch with Rails and WebSockets as a story · 9 points
HN discussionSubmitted Playing around with Elasticsearch and Linux man pages as a story · 9 points
HN discussionSubmitted Creating a bash completion script as a story · 9 points
HN discussionSubmitted Remove duplicate lines from files keeping original order (one-liner explained) as a story · 8 points
HN discussionSubmitted Creating a bash completion script as a story · 7 points
HN discussionSubmitted Creating a Linux Desktop Application with Ruby as a story · 6 points
HN discussionSubmitted An introduction to Bash programmable completion as a story · 6 points
HN discussionSubmitted A Tutorial for Bash Programmable Completion as a story · 6 points
HN discussionSubmitted Creating a bash completion script as a story · 6 points
HN discussionSubmitted Creating tab-completion for your programs as a story · 5 points
HN discussionSubmitted Elasticsearch bucket aggregations and faceted navigation as a story · 5 points
HN discussionSubmitted A tutorial for Bash completion as a story · 5 points
HN discussionSubmitted How to create a bash completion script as a story · 5 points
HN discussionSubmitted Full text searching Linux man pages with Elasticsearch as a story · 5 points
HN discussionSubmitted DuckRails – dev tool for APIs as a story · 5 points
HN discussionSubmitted Removing duplicate lines from files keeping the original order with Awk (2019) as a story · 4 points
HN discussionSubmitted Awk algorithm to remove dupes from files preserving their order explained as a story · 4 points
HN discussion