Better HN
topnewbestaskshowjobs
Log inSign up

kludgeon

29 karma · joined Oct 9, 2020 (6y ago) · 11 submissions

Submissions

comment 5y ago · link · parent

if you scroll past the left v. right and recycling sideshows, there is half-decent discussion that is relevant to the article below.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

worth noting this context free link is 10 yrs old.

comment 5y ago · link · parent

touche, i bit.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

game estopped shoulda been the title

comment 5y ago · link · parent

this article is trash and does not reveal anything. it's as if two different people wrote the article and the headline.

comment 5y ago · link · parent

i think OP is imagining something closer to monopsyny