News for hackers. Stuff that matters.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by toastal on Monday September 14, 2020 @07:59AM (#24469093)
Are we sure it should get a single-letter 'q' binary name though? Docs seem to point that it's short for 'query-json'? Why not call it 'query-json' and let the user decide that as a shell alias or whatever. Even the ubiquitous 'ls' and 'cd' are two characters.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by nondave on Monday September 14, 2020 @11:46AM (#24471524)
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by stingraycharles on Monday September 14, 2020 @11:56AM (#24471666)
Which is relatively established and widely used (although mainly in finance). It was the first thing I thought about.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by vincnetas on Monday September 14, 2020 @09:23AM (#24469815)
And there's also this 'q':

http://harelba.github.io/q/

Query CSV with SQL

Re:Q: A faster re-implementaiton of jq written in Reason Nat... by V6HBGNQHU on Monday September 14, 2020 @10:32AM (#24470600)
Seems in the past hour he has renamed it to query-json and suggests that you set your own alias if you want something shorter.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by Hnrobert42 on Monday September 14, 2020 @08:46AM (#24469435)
Yeah. Can you imagine trying to do a web search for ‘q’?
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by pinopinopino on Monday September 14, 2020 @09:04AM (#24469612)
I can and it is lightly disturbing. https://imgur.com/a/yAOF31g ^_^
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by pinopinopino on Monday September 14, 2020 @09:33AM (#24469904)
Gqd, look how that looks like 666, edit distance is 3. Turn around the letters. Here have a timeline: https://imgur.com/a/aQYnKLm
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by yboris on Monday September 14, 2020 @09:53AM (#24470130)
"Gqd" = graphene quantum dot ?
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by pinopinopino on Monday September 14, 2020 @10:31AM (#24470588)
I think it is a pun on God ^_^
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by mumblemumble on Monday September 14, 2020 @10:32AM (#24470598)
Appropriating Shepard Fairey's graphical style into a QAnon T-shirt and then wearing it to a Trump rally is an arresting masterwork of postmodernism. One wonders: is the wearer trolling the rally, or is he trolling himself? Perhaps we are all trolls. Perhaps we have all been trolled. HAND.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by tehbeard on Monday September 14, 2020 @10:12AM (#24470357)
I was hoping for some star trek shenanigans... I am disappointed.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by mritchie712 on Monday September 14, 2020 @08:08AM (#24469131)
or at least qj
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by davesnx on Monday September 14, 2020 @08:27AM (#24469277)
I don't want to fight for name, q was a shortener.

Happy to rename it to qj instead, but the option of renaming the binary it's a good workaround.

Re:Q: A faster re-implementaiton of jq written in Reason Nat... by toastal on Monday September 14, 2020 @09:47AM (#24470067)
Given these are two of the least-used characters in English and basically never appear in this sequence, it would certainly help for all the reasons people are mentioning. It'd at least follow suit with like 'rg' for 'ripgrep'.
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by rurban on Monday September 14, 2020 @08:11AM (#24469156)
I made the same argument to him on reddit. q even exists already.

He replied and thought about qj

Re:Q: A faster re-implementaiton of jq written in Reason Nat... by davesnx on Monday September 14, 2020 @11:01AM (#24470965)
Renamed :P
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by rurban on Thursday September 17, 2020 @04:08AM (#24502234)
Thanks! qj is fine
Re:Q: A faster re-implementaiton of jq written in Reason Nat... by davesnx on Monday September 14, 2020 @10:43AM (#24470719)
Renamed already :D