back
user profile
JNRowe
7,426karma·1,207submissions·February 3, 2014
about
username at gmail.com ; Feel free to get in touch.
[ my public key: https://keybase.io/jnrowe; my proof: https://keybase.io/jnrowe/sigs/orH3nyNqAK4vkIpcxn2HRihHPV2HX80SyDwM9cR5xnw ]
recent activity (1,207 total)
comment
The vote result that led to this public statement received a lot of commentary yesterday¹, and the linked LWN article has a lot of interesting thoughts on the subject too. ¹ https://news.…
comment
I'm so close to being a full-time mblaze user, it is truly excellent. There is something so smart about being able to use your standard shell tooling and interaction facilities to interact with …
comment
That seems potentially unpredictable versus building the string and calling cd once. For example, if you use direnv-type tools there may be side-effects along the route¹. zsh users could have state …
comment
That is a GNU findutils extension, and modern means 2004 in this instance¹ ;) I spelunked because I thought "that always worked, didn't it?" ¹ https://git.savannah.gnu.org…
comment
There are few more general solutions to this interaction pattern(that also don't involve redundant history entries if you're OCD). * bash has a glob-expand-word function which will perform i…
comment
One of the smart things with zsh is that the hooks¹ like precmd can be replaced with arrays of functions, so that you can cleanly have multiple hooks per hook point. It even provides a nice tool to w…
comment
I've been using par for about twenty years, and 100% agree with its own apology: "Its only redeeming features are that it is extremely useful". I literally have no clue what my $PAR* va…
comment
What a time to be alive, 1980s pdf at your fingertip¹. The tool is described on page 84 of the linked doc. ¹ https://ia903206.us.archive.org/19/items/Your_Sinclair_003/…
comment
I enjoy the general effect, but on your site the highlights are redefined as elements take focus which causes a bunch of off-putting flickering for me as I find the article I want to read. Perhaps, i…
comment
Thanks to the pluggable device layer, you could push that to 984kB or 1968kB with diskspare¹. The incredible thing, IMO, is that the implementation is only 5kB( seven times smaller than the formatte…
comment
[Because linking to cool zsh features seems to be a hobby of mine…] If you're using zsh for this you can access terminfo directly¹, instead of hardcoding escapes(for example, "echoti cup $sn…
comment
I h a t e y o u s o m u c h r i g h t n o w. Those leaves. I'm going outside to kick some nature, that'll teach it! -- This feels like such a clever and sneaky improvement over the cl…
comment
You can still relive a little of that joy with b1ff from talkfilters¹, with the caveat that a chunk of that package probably deserves a content warning for our times. ¹ https://github.com…
comment
The article spends a little time talking about the drawbacks of using CDPATH because it will break scripts, but the better answer is simply not to export it. CDPATH is a shell variable, not an enviro…
comment
It is from the same author. He semi-retired pyephem with the release of this project¹: "The Skyfield astronomy library should be preferred over PyEphem for new projects. Its modern design encour…
comment
I was about to say there are a good few tools smaller than that on my system, but I was one hundred percent wrong. # zsh glob for regular files that are smaller
print -l /usr/bin…
comment
Any reason to eschew short_loops in general that you're aware of? I ask because I'd probably use `for i ({0..9}) echo $i` in your for loop example. I've never managed to get my head a…
comment
There is a mid-level way to "fix" this under zsh, as it supports nesting parameter expressions¹. You can, for example, use ${#${#}} to disambiguate ${##}. It doesn't remedy any of ove…