News for hackers. Stuff that matters.
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by fphilipe on Thursday September 17, 2015 @07:13AM (#10232647)
When I saw the example I thought this was using R, the statistical computing tool. But it's this tool itself that has an executable called R. I'd suggest renaming it.
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by skrebbel on Thursday September 17, 2015 @07:20AM (#10232665)
does the R language have an executable also called R?

I think the reason is that this is close to home to Ramda users - the typical name for the Ramda object in Javascript is R.

(for the unaware, Ramda is basically Underscore but more powerful and with a saner, more consistent API)

Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by fphilipe on Thursday September 17, 2015 @07:26AM (#10232684)
Yes, it does. Even if it didn't, it's still confusing I'd say. Why not just call it ramda? Still quite short. Actually, R is the only single letter executable that I can think of. Chances of clashes are ~1/26 :)
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by jskulski on Thursday September 17, 2015 @02:35PM (#10235234)
From the js perspective you use it all over the place so it's nice to have a one letter name:

var my_sort = R.compose(R.first, R.sort, R.prop('id'))

Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by baldfat on Thursday September 17, 2015 @07:29AM (#10232693)
R in Linux (OS X is case insensitive, why!) is the command to call R. Usually R is written in an IDE and executed in the IDE or in scripts calling on R.
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by GreaterFool on Thursday September 17, 2015 @09:34AM (#10233223)
I suggest to call it `rm` (shorthand for RaMda) so it won't conflict with `R` from R...
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by origin-unknown on Thursday September 17, 2015 @10:14AM (#10233428)
it should also support an `-rf /` flag to indicate that you'd like to `Read From the root expression`
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by aeosynth on Thursday September 17, 2015 @07:41AM (#10232731)
I find it simple enough to fire up a REPL to inspect JSON. Node.js 4.0+ supports arrow functions, and you can use babel-node if you want even more future JS features.
Re:Ramda-cli, a jq-like CLI tool for processing data with fu... by JosephRedfern on Thursday September 17, 2015 @09:31AM (#10233212)
Is it just me, or is the example in the readme incorrect? Shouldn't the title of the third column be "creditcard"?