Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wwader
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
wwader
4y ago
Hi, lover of jq and author of fq here! Just wanted to mention that fq is jq so you can do things like `fq 'grep("Authorization: Bearer.*") | split("\n") | ...' file.pcap`. Also i'm working and prototyping
92.
▲
by
wwader
5y ago
Interestingly fq works by being kind of a superset of JSON/jq. It has types that can behave as jq values when needs but then with special functions or key accessors can be something else.
93.
▲
by
wwader
5y ago
Thanks! any suggestion how to make it more prominent?
94.
▲
by
wwader
5y ago
Hi, i wrote a bit about this in my reply above https://news.ycombinator.com/item?id=29661575
95.
▲
by
wwader
5y ago
Hi, currently the protobuf support can either decode the wire-format or in some cases a format decoder uses protobuf as subformat and passes it a "schema" so it can do some more fancy decoding. But yes it would be interesting addi
96.
▲
by
wwader
5y ago
Hi, it depends a bit, if the mp3 stream uses bit reservoir it might be tricky to to "pure" remuxing with any tool. fq:s mp3_frame decoder do try to know what bits are parts of the current frame or part of a future frame but not su
97.
▲
by
wwader
5y ago
:) i didn't choose it to be provocative or so, apologies if that is the case. I've always pronounced jq yay-queue so fq is eff-queue for me. Also f and q can be written with one hand on qwerty which is nice and quick
98.
▲
by
wwader
5y ago
Yes i can empathize with finding jq hard to understand, it's quite different and took a while to grasp. The reason i choosed it anyway was that after prototyping some common type of queries i would like to do (basic value access in dee
99.
▲
by
wwader
5y ago
Hi! yes it's kind of support but in a very go:ish at the moment. You can use fq as submodule, import/register your own format decoders and then run cli.Main. More or less what https://github.com/wader/fq/
100.
▲
by
wwader
5y ago
Hi, here is issue related to this where i explain a bit what would be required https://github.com/wader/fq/issues/20 and how protobuf support currently works.
101.
▲
by
wwader
5y ago
Hi, i can give some background how i ended up with go instead of using something more declarative. Maybe 1.5 years ago i start to prototype different approaches for what query language to use (sql, jsonpath, my own basic jq version and few
102.
▲
by
wwader
5y ago
Lots of tools i didn't know about, thanks
103.
▲
by
wwader
5y ago
Hi! yes i'm very interested in binary analysis and decoders in general and fq was not built with the intention to compete or replace anything. I usually use fq together with lots of other tools, they all fill different purposes. The mo
104.
▲
by
wwader
5y ago
Hi, fq actually do support json so other similar text formats could work the same way. But it's currently implemented in a big hacky way, it's just a big blob that happens to be work as normal JSON. I've done some attempts at