News for hackers. Stuff that matters.
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by matijsvzuijlen on Friday June 19, 2026 @03:56AM (#48596029)
Why are all the parameters full words except 'labs'? I find it jarring because to me 'lab' is short for laboratory, not label.
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by bestouff on Friday June 19, 2026 @04:25AM (#48596209)
He's open to API suggestions, you should open an issue
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by matijsvzuijlen on Friday June 19, 2026 @07:32AM (#48597415)
Yes, I will do that!
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by mcanouil on Monday June 22, 2026 @06:43AM (#48628387)
That's fixed in 0.4.0 awaiting approval for Typst Universe (plus other improvements in various areas).
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by nxobject on Friday June 19, 2026 @07:17AM (#48597303)
I suspect for consistency with ggplot - the same reason why ‘aes’ is shorthand and everyone forgets that it stands for “aesthetic”.

https://ggplot2.tidyverse.org/reference/labs.html

Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by matijsvzuijlen on Friday June 19, 2026 @07:35AM (#48597434)
Thanks, that makes sense. I actually just parsed aes as related to encryption without even considering how weird that was given the contect.
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by nxobject on Friday June 19, 2026 @12:31PM (#48600355)
I get it – in my (limited) opinion, there's a lot that's quirkily (but avoidably) named about ggplot and the surrounding R ecosystem in general.
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by MoonZ on Friday June 19, 2026 @05:36PM (#48603527)
Jesters would say it's because author's a fan of labradors. (source: he's my neighbour)
Re:Gribouille 0.3.0: A Grammar of Graphics for Typst by mcanouil on Monday June 22, 2026 @06:34AM (#48628320)
No comment^^