News for hackers. Stuff that matters.

kludgeon

Re:GitHub, fuck your name change on Wednesday March 17, 2021 @09:20AM (#26490786)
if you scroll past the left v. right and recycling sideshows, there is half-decent discussion that is relevant to the article below.
Re:Elegant Bash Conditionals on Tuesday March 02, 2021 @02:37PM (#26319471)
and I'd call most of this discussion flow control, not conditionals. Strictly speaking, conditionals are one of the primary benefits of zsh over bash imo.
Re:Elegant Bash Conditionals on Tuesday March 02, 2021 @02:29PM (#26319348)
just use zsh. `if [[ -f file ]] {run this command} else {run that command}`

no closing `fi`, use multiline or single line, add an arbitrary number of elif statements. this only requires the short option is set in your z shell.

Re:Wheel: Navigation framework for Vim on Sunday February 28, 2021 @05:25PM (#26297692)
i wish i knew about this much earlier in my vim days. there's a catch 22: on the one hand, this single plugin solves a ton of problems for the advanced vim user; on the other, advanced users have likely already stitched together a patchwork of plugins, scripts, and configs that accomplish most of this one's functionality. So a new user does not understand how this plugin is truly invaluable, but the value proposition to the experienced user is mitigated by the drastic rewrite and relearn for a potentially marginal benefit.

but if you throw the word lua in the description somewhere that'll net you a couple hundred stars from the nvim people.

edit: i am an nvim/lua person.

Re:A Vim Guide for Advanced Users on Saturday February 27, 2021 @02:15PM (#26287324)
the article has a tricky typo here. it says "The keystroke `I` insert text after the first non-blank characters of the line."

but it should say _before_ the first non-blank, which is equivalent to _after_ the last leading blank.

worth noting this context free link is 10 yrs old.
touche, i bit.
1. be wary of all citations to a _meta_ analysis; 2. be wary of dated results that are being republished without further research; 3. be very wary of publishers with an agenda beyond the fourth estate.

1. check 2. 13-page report published in 2017 without follow up turned into a book released yesterday 3. axios "Between the Lines" (https://www.axios.com/about/) just because i like and/or agree with axios does not let them off the hook on #3

Re:Game Stopped? (Live congressional hearing on GameStop) on Thursday February 18, 2021 @01:30PM (#26183598)
game estopped shoulda been the title
this article is trash and does not reveal anything. it's as if two different people wrote the article and the headline.
Re:Ask HN: Do we need a Google Customers Union? Could it work? on Wednesday January 13, 2021 @08:08AM (#25761480)
i think OP is imagining something closer to monopsyny