340 karma · joined June 17, 2022
Thanks for sharing about rq here, I really should give OPA a try sometime, it seems really powerful setting policies in kubernetes or terraform for instance. When I first heard of Rego, I was very interested but it didn’t quite click, I can see that would not have been the case had rq been available at the time.
$ qq tests/test.hcl | jq | qq -o yaml
app_name: SimpleApp
database:
- host: localhost
password: password
port: 5432
username: admin
...Now that you mention it, it would be nice to support a multi output mode in the cli as well. Using the codec library should achieve a similar M+N complexity if I am not mistaken.
[0] https://github.com/JFryy/qq/actions/runs/9654023860/job/2662...
rq was shared with me yesterday and just wanted to say it's very impressive, I had heard of OPA/Gatekeeper and have looked into Rego before for policy assertions w/ terraform but I was not aware the language was so expressive until I saw rq. Also the amount of codecs rq supports and quality of them is really great.
It is really neat seeing a lot tools solve a similar problem in such unique ways (especially the case with rq) and has been a lot of fun reading your experiences here. Thanks for sharing your experiences and expertise with the de-serializing/serializing content - It is really cathartic to hear you mention the challenges you solved with xml and csv. I really like how you solved for CSV output/input and the conditions on the input data you chose for evaluating it makes a lot of sense and is really comprehensive, it bothered me too since the content would either need to be a matrix or a slice of maps but seeing as jq has string formatting that can convert things to csv and @tsv - I was at a bit of a standstill of how to approach.
Thanks so much for the bread crumbs I look forward to reading this in more detail over the week/weekend :)
qq currently supports hcl/tf, csv, ini, json, toml, xml and yaml. On the roadmap there are more to come soon such as protobuff, html. as it currently stands yq and qq don't support all the same formats as one another. A few examples:
- qq supports hcl but yq does not.
- yq supports lua, qq does not.
- qq and yq have different quirks in marshalling and unmarshalling data. For instance yq only supports toml output with scalars and on the other hand there's a lot of room for refinement with qq's encodings as of the moment.
qq's goal is to have a very comprehensive set of encodings many of which are yet to be included or represented in a single tool (qq will not cover most binary formats however). It also has a interactive query mode with auto-complete which is pretty handy on top of having a unique and growing set of formats supported.
This is definitely news to me, I have not ever met someone who feels this way who plays videogames.
Why are you insisting that they publish an app on the app store, are they keenly interested in software development or something?
Not refuting what you are saying, but could you elaborate on this statement?
There's tons of interesting talks there if (traditional) roguelikes or their development really pique your interest.
If you are attempting to compare liberties those in academia have to corporate employees e.g. most people who are employed, no its not like the "real world".
I don't mean to sound rude, but your response sounds a bit presumptuous and complacent with hypocrisy.
Search engines funnel the typical 'surfer' into platforms rife with newsfeeds algorithmically curated to influence them for engagement or garbage SEO spam networks attempting to get every last cent of advertising revenue they can acquire. There is a genuine issue with discoverability on the internet directing people towards content that is meaningful.
But upon clicking around around further the author was indeed completely unaware of the irony of its own article.