Live data from Hacker News

Jaq – A jq clone focused on correctness, speed, and simplicity

github.com

51–60 of 254 posts

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#51

Earlier quoted context omitted.

My first instinct was to pronounce jaq as "jack".

Did you watch the video? That's exactly how "Jaques" is pronounced. It's French: you ignore everything but the non-s-consonants and the first vowel.

No, /dʒæk/ is not /ʒak/

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#53

Earlier quoted context omitted.

My first instinct was to pronounce jaq as "jack".

Did you watch the video? That's exactly how "Jaques" is pronounced. It's French: you ignore everything but the non-s-consonants and the first vowel.

Jack and Jacques have a different "J":

https://en.wikipedia.org/wiki/File:Fr-Paris--Jacques.ogg

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#54
post #6

I applaud this project's focus on correctness and efficiency, but I'd also really like a version of `jq` that's easy to understand without having to learn a whole new syntax. `jq` is a really powerful tool and `jaq` promises to be even more powerful. But, as a system administrator, most lot of the time that I'm dealing with json files, something that behaved more like grep would be sufficient.

> I'd also really like a version of `jq` that's easy to understand without having to learn a whole new syntax.

Since JSON is JavaScript Object Notation, then an obvious non-special-snowflake language for such expressions on the CLI is JavaScript: https://fx.wtf/getting-started#json-processing

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#55
post #51

Earlier quoted context omitted.

Did you watch the video? That's exactly how "Jaques" is pronounced. It's French: you ignore everything but the non-s-consonants and the first vowel.

No, /dʒæk/ is not /ʒak/

Found the Frenchmen :)

Yes they're slightly different in theory, but not in any way that would prohibit mutual understanding. Besides, if you're telling anyone about this library you're most certainly going to spell it out anyways.

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#56
post #6

I applaud this project's focus on correctness and efficiency, but I'd also really like a version of `jq` that's easy to understand without having to learn a whole new syntax. `jq` is a really powerful tool and `jaq` promises to be even more powerful. But, as a system administrator, most lot of the time that I'm dealing with json files, something that behaved more like grep would be sufficient.

Have you tried `gron`? It converts your nested json into a line by line format which plays better with tools like `grep` From the project's README: ▶ gron " https://api.github.com/repos/tomnomnom/gron/commits?per_page... " | fgrep "commit.author" json[0].commit.author = {}; json[0].commit.author.date = "2016-07-02T10:51:21Z"; json[0].commit.author.email = "mail@tomnomnom.com"; json[0].commit.author.name = "Tom Hudson…

This is awesome, thanks! Not OP, but this will help me to write specifications for modifying existing JSON structures immensely. It's kind of a pain parsing JSON by (old man) eye to figure out which properties are arrays, and follow property names down a chain. This will definitely help eliminate mistakes!

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#57

Earlier quoted context omitted.

Did you watch the video? That's exactly how "Jaques" is pronounced. It's French: you ignore everything but the non-s-consonants and the first vowel.

Jack and Jacques have a different "J": https://en.wikipedia.org/wiki/File:Fr-Paris--Jacques.ogg

Barely. Not enough to be a hinderance to mutual understanding.

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#59

Earlier quoted context omitted.

Jack and Jacques have a different "J": https://en.wikipedia.org/wiki/File:Fr-Paris--Jacques.ogg

Barely. Not enough to be a hinderance to mutual understanding.

To me, the proper pronunciation of Jacques sounds more like "Jock", so it does seem to be more than barely significant.

Re: Jaq – A jq clone focused on correctness, speed, and simplicity

#60
post #46

Earlier quoted context omitted.

Jack, Jaak, Jackyoo. Jay-Aye-Cue... Also not the point; Jaques is more difficult to guess the correct pronunciation of than Jaq. That's the point.

Jaques is the French spelling of Jack/Jaak/Jak/Jaq. They're all pronounced the same, modulo irrelevant differences in vowel sounds.

- Is the text French?

- No.

QED.

Post reply on HN