@wader@fosstodon.org
@wader@fosstodon.org avatar

wader

@wader@fosstodon.org

Working with data

Some projects that i work on:
https://github.com/wader/fq - query, display and slice binary and text formats using jq
https://github.com/jqlang/jq - query and transform JSON
https://github.com/wader/jq-lsp - jq language server
https://github.com/wader/jqjq - jq implemented in jq
https://github.com/wader/static-ffmpeg - easy to deploy ffmpeg build for containers
https://github.com/wader/ydls - turn a media website into media file or podcast

This profile is from a federated server and may be incomplete. Browse more on the original instance.

psykose, to random
@psykose@outerheaven.club avatar

more things should remux every mp4 to an mkv

wader,
@wader@fosstodon.org avatar

@psykose @chozu hook up avio to libtorrent and get remux'in

wader, to random
@wader@fosstodon.org avatar

Yesterday I read the recently published JSONPath RFC (RFC9535) and listening to an interview with one of the creators of SQL https://www.datacamp.com/podcast/50-years-of-sql-with-don-chamberlin and worst of all i poked around in sqlite code to figure out how the scheme table works...guess I just have to accept that I'm a query language nerd.

wader,
@wader@fosstodon.org avatar

@underlap yes! have ended up on some of them while poking around, thanks for writing them! trying implement my own toy implementation of jsonpath, we’ll see how it goes :)

wader, (edited )
@wader@fosstodon.org avatar

@underlap nope! but was looking for something like that. thanks! that will make things easier

wader,
@wader@fosstodon.org avatar

@underlap 130 of 550 tests passed. some progress! no filter selectors yet and lots of misshandling of whitespace etc

i'm implementing it as a jq function that outputs each match separately so things like this will work: jsonpath("$.a") |= .*10

KentuckyConjurer, to brainfood
@KentuckyConjurer@horrorhub.club avatar
wader,
@wader@fosstodon.org avatar

@KentuckyConjurer @MargaretSefton @ElizabethLeeCo according to imdb i've watched it and gave it an 8 :blobcatgrimacing:

slink, to random
@slink@fosstodon.org avatar

👏 to the #ffmpeg team for their simple and effective (i presume 😉) anti-spam measures on their #trac

wader,
@wader@fosstodon.org avatar

@slink 😄 but i expected some assembly language trivia etc!

grimalkina, to random
@grimalkina@mastodon.social avatar

I want to see absolutely no sensible and practical advice here. What programming language should I start vaguely and in a chill way teaching myself if I just want to experience something fun or elegant or interesting in and of itself, assuming I have no goal for using it to do anything really (outside of learning)

wader,
@wader@fosstodon.org avatar

@diazona @grimalkina would also recommend jq, simple and elegant with some unique features. happy to tell more!

wader, to Cat
@wader@fosstodon.org avatar
astrid, to random
@astrid@fedi.astrid.tech avatar

i18n? k8s? a11y? m17n? i am g3g to b2w u up w2h a car h4r e7n

wader,
@wader@fosstodon.org avatar

@astrid i thought the m4 preprocessor was short for macro preprocessor, looked it up, it's just version 4 :blobcatsad:

kubikpixel, to webdev
@kubikpixel@chaos.social avatar

Awesome jq

A curated list of awesome things built with the JSON processor and turing-complete functional language jq.

./jq https://github.com/fiatjaf/awesome-jq


wader,
@wader@fosstodon.org avatar

@martijn @kubikpixel :blobcatgrimacing:

wader, to random
@wader@fosstodon.org avatar

Thinking of renaming jira ticket types:
Bug -> Tragedy
Support -> Drama

wader,
@wader@fosstodon.org avatar

@deshipu Incident? :thinkhappy:

jamesog, to golang
@jamesog@mastodon.social avatar

Crimes against humanity: I just came across an (internal) repo that has a go.mod templated using ERB

wader,
@wader@fosstodon.org avatar

@jamesog came across yaml with messy shell commands that had messy jinja templates as argument, variables and quotes expanded and escaped at all levels. still have a headache

steely_glint, to random
@steely_glint@chaos.social avatar

Having one of those days when the getting the newfangled thing (jq) to do what I want is too hard. So I'm falling back the old faithful (awk).

Is this a sign of old age ?

wader,
@wader@fosstodon.org avatar

@steely_glint @bert_hubert only took me writing a jq implementation to really grasp how powerful and neat it is :blobcatgrimacing:

wader,
@wader@fosstodon.org avatar

@steely_glint yeap generator/backtracking thing, "lambda"-arguments and how assignment works is probably what confuses the most. but once you get it, it makes a lot of sense. if you have any specific confusing things im happy to help try explain it

gregorni, to golang
@gregorni@fosstodon.org avatar

Imports in Go suck

wader,
@wader@fosstodon.org avatar

@jippi @gregorni also curious :) with editor using gopls or goimports they are more or less automatic or?

Ange, to random
@Ange@mastodon.social avatar

TTF (and vector fonts in general) are very complex.

A tiny font with a single defined glyph made of a single rectangle... 0x590 (1424) bytes!

They even contain some bytecode!

wader,
@wader@fosstodon.org avatar

@Ange Is the tiny TTF available somewhere? was debugging SVG font rendering some weeks ago and ended up writing a WOFF2 decoder for fq 😃 a tiny TTF would be a nice test file

wader, to random
@wader@fosstodon.org avatar

@janriemer Finished the Learning Rust the wrong way talk, was very interesting! now i can feel less bad for being horrible at reading programming language books back to back 😅

wader,
@wader@fosstodon.org avatar

@janriemer no worries 👍 i've done quite a lot of C so i think i might be suffering from or being a bit too curious how things work under the hood... also damn things are so much more "exact" compared to e.g. golang :)

wader, to random
@wader@fosstodon.org avatar

TIL docker build --progress=plain
A bit nicer than ... 2>&1 | cat workaround

wader, to rust
@wader@fosstodon.org avatar

Learning Rust the hard way: Mostly just reading about it

wader,
@wader@fosstodon.org avatar

@janriemer :blobcatgrimacing: good to hear ! feel like mostly end up reading articles and peek around in the standard library code :)

I usually also learn new things very much in parallel and confusion and then things fall into place.

Thanks for the toots and video links, will surely have a look!

wader,
@wader@fosstodon.org avatar

@janriemer This got me thinking. The last language i learned deeply was jq and it has one thing in common with Rust that it has concepts that are very different from other languages (generator/backtracking in jq's case) so you can't or will fail to map it to something else that you know. Maybe then "soaking" is even more important?

wader,
@wader@fosstodon.org avatar

@janriemer Yeap that paper and https://github.com/jqlang/jq/wiki/jq-Language-Description is probably the closest to a jq spec there is atm :)

jaq i've peeked at and also talked with the author a bit. should really try contribute something. I also learned about precedence climbing from it, which was very useful when implementing https://github.com/wader/jqjq :blobcatgrimacing:

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • cubers
  • thenastyranch
  • InstantRegret
  • Youngstown
  • rosin
  • slotface
  • Durango
  • ngwrru68w68
  • khanakhh
  • kavyap
  • everett
  • DreamBathrooms
  • anitta
  • magazineikmin
  • cisconetworking
  • GTA5RPClips
  • osvaldo12
  • tacticalgear
  • ethstaker
  • modclub
  • tester
  • Leos
  • normalnudes
  • provamag3
  • megavids
  • lostlight
  • All magazines