Top all-time · #4369
David Winterbottom
Personal blog · codeinthehole.com/writing · on HN as codeintheholeprogrammingaiproductivity
David Winterbottom's personal blog at codeinthehole.com covers programming, ai and productivity. Since 2012, 18 different Hacker News readers have linked it 24 times, most often “An LLM TDD Loop”. The last post was in 2024, but the archive is still widely read.
Too few sampled comments (6) to say how often HN recommends it.?
Why HN links it
HN readers link this blog for practical developer tips: readline history-search key bindings, encoded slashes in URLs, using the silver searcher (ag) with Vim, and committing git hooks. Comments only cite or link the posts.
Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
A software engineer working in London.
Most-linked posts?
- An LLM TDD Loop2 people · 2 mentions · first linked 2024-10-13
- /writing/the-most-important-command-line-tip-incremental-history-searching-with-inputrc/2 people · 2 mentions · first linked 2016-08-18
- Effective pull requests and other good practices for teams using github2 people · 2 mentions · first linked 2012-10-21
- Incremental History Searching with .inputrc2 people · 2 mentions · first linked 2018-06-14
What Hacker News says?
If you put this in your `~/.inputrc` [1]: "\e[A": history-search-backward "\e[B": history-search-forward "\e[C": forward-char "\e[D": backward-char you can start typing a previous command and go up through your history for all commands starting with whatever you currently have typed into the bash shell. Reset the scrolling through the history with `ctrl+c`. Personally, I hate that powershell remembers your position…
Comment linking /writing/the-most-important-command-line-tip-incremental-history-searching-with-inputrc/
on “PowerShell is open sourced and is available on Linux”Submitted Cacheback - asynchronous cache refreshing for Django as a story · 47 points
HN discussionAgreed, but even nicer than control-r are the readline functions `history-search-backward` and `history-search-forward`. Personally I bind them to up/down which on OS X at least involves: # Put this in some file like ~/.readline-bindings "\e[A": history-search-backward "\e[B": history-search-forward # And this in your ~/.bashrc or ~/.zshrc bind -f ~/.readline-bindings That way if you haven't typed any input it behav…
Comment linking /writing/the-most-important-command-line-tip-incremental-history-searching-with-inputrc/
on “Advancing in the Bash Shell”Submitted An LLM TDD Loop as a story · 6 points
HN discussionYou should try binding UP/DOWN to history-search-backward and history-search-forward[1]. Adding this to your ~/.inputrc "\e[A": history-search-backward "\e[B": history-search-forward enables searching by the current line's prefix in all programs that use readline (a lot of languages use readline for their REPL). That is, if you type "cp<UP>" you immediately get the previous command that started with "cp", regardless…
Comment linking /tips/the-most-important-command-line-tip-incremental-history-searching-with-inputrc/
on “Console.table()”Submitted A useful template for commit messages as a story · 6 points
HN discussionThey probably are . But some applications will decode the percent-encoding too early in the process of normalizing, security-escaping, and processing the URL. Encoded slashes in URLs are problematic [1][2][3][4][5]. [1] https://httpd.apache.org/docs/2.4/mod/core.html#allowencoded... [2] http://stackoverflow.com/questions/3235219/urlencoded-forwar... [3] http://codeinthehole.com/tips/django-nginx-wsgi-and-encoded-...…
Comment linking /tips/django-nginx-wsgi-and-encoded-slashes/
on “Let's Encrypt is down”Submitted PyPI README badges as a story · 3 points
HN discussionThere is already a ag plugin for vim that will jump you to the matches. See: https://github.com/rking/ag.vim or see: http://codeinthehole.com/writing/using-the-silver-searcher-w...
Comment linking /writing/using-the-silver-searcher-with-vim/
on “Show HN: Tag – instantly jump to your ag matches”Submitted Effective pull requests and other good practices for teams using github as a story · 3 points
HN discussionCommitting git hooks to the repo is possible. These are the 2 ways in which they're commonly handled: 1. Link the scripts from the worktree to the .git/hooks directory - perhaps using a bootstrap script. Ref: https://codeinthehole.com/tips/tips-for-using-a-git-pre-comm... 2. Declare the directory in the worktree to be the local git hooks directory. Ref: https://knpw.rs/blog/direnv-git-hooks
Comment linking /tips/tips-for-using-a-git-pre-commit-hook/
on “Hk, a new Git hook manager”Submitted Prefer WebTest to Django's test client for functional test as a story · 3 points
HN discussionSubmitted Bash script implementing LLM-powered TDD-loop as a story · 2 points
HN discussionSubmitted Command-line tips for effective release anouncements as a story · 2 points
HN discussionSubmitted Effective pull requests and other good practices for teams using github as a story · 2 points
HN discussionSubmitted Tips for using a git pre-commit hook as a story · 2 points
HN discussionSubmitted Incremental History Searching with .inputrc as a story · 1 points
HN discussionSubmitted Vim's Useful Lists as a story · 1 points
HN discussionSubmitted Easy to change as a story · 1 points
HN discussionSubmitted Advanced pull-request crafting as a story · 1 points
HN discussionSubmitted An SSH tip for modern AWS patrons as a story · 1 points
HN discussionSubmitted Continuously rebuild your project as a story · 1 points
HN discussionSubmitted Enhancing your git commit editor as a story · 1 points
HN discussionSubmitted Use models for uploads as a story · 1 points
HN discussion