News for hackers. Stuff that matters.
Re:Fq: Jq for Binary Formats by majkinetor on Saturday June 03, 2023 @06:02AM (#36175245)
Awesome.

It would be good if some form of externally plugable binary format specification is doable in the future. As far as I can see, if the binary format is not supported OTB, you can't use this tool.

Re:Fq: Jq for Binary Formats by nyberg on Saturday June 03, 2023 @06:07AM (#36175264)
http://www.jemarch.net/poke might be interesting in that case.
Re:Fq: Jq for Binary Formats by wakeupcall on Saturday June 03, 2023 @08:55AM (#36176293)
I second poke. It's an amazing tool for debugging in general.

It's relatively rare to look into standardized binary formats (you'll likely look directly into a library at that point), unless you're writing a writer/parser/decoder yourself and need to double-check the output.

When developing with general binary data in mind, poke is much more useful.

Re:Fq: Jq for Binary Formats by notpushkin on Saturday June 03, 2023 @06:45AM (#36175446)
Kaitai Struct might be a good choice for that: https://kaitai.io/
Re:Fq: Jq for Binary Formats by theozaurus on Saturday June 03, 2023 @08:24AM (#36176062)
I've found Kaitai struct to be an absolute joy to use on things like EEPROM dumps from car computers.
Re:Fq: Jq for Binary Formats by leoh on Saturday June 03, 2023 @08:51AM (#36176259)
Has anyone found anything incredible for arbitrary UTF-8 data?
Re:Fq: Jq for Binary Formats by dotancohen on Sunday June 04, 2023 @05:01AM (#36184145)
Honestly, VIM.
Re:Fq: Jq for Binary Formats by evntdrvn on Saturday June 03, 2023 @10:14AM (#36176848)
Thanks for the link, that’s really cool!
Re:Fq: Jq for Binary Formats by Hackbraten on Saturday June 03, 2023 @04:08PM (#36180057)
I suppose OTB means “off the bat?” Non-native speaker here, and my web search turned up nothing.
Re:Fq: Jq for Binary Formats by orls on Saturday June 03, 2023 @04:17PM (#36180142)
I assume in this case it’s “Out (of) The Box”
Re:Fq: Jq for Binary Formats by wwader on Monday June 05, 2023 @02:21PM (#36200678)
Hi, i'm working on runtime kaitai support and have made good process but it's quite a big task. Keep an eye on https://github.com/wader/fq/issues/627 your interested.