dreamrealI was living in asciidoc, rust, and yardwork
bluefor your blog?
bluealso, rust ewww
dreamrealno, for work
blueoh
dreamrealMy blog already supports asciidoc as input, I just don't use it as much, because the asciidoc wikisyntax support is wonkier than the markdown parser. Plus, obsidian uses markdown, so I have a much richer toolset support system for markdown than for asciidoc. Better mousetraps are awesome - but they have to be on the market to make any difference.
dreamrealWork has some extra requirements for *any* document format, so we'd actually chosen myst (markdown for sphinx) but that's a 600MB artifact to support in sphinx; asciidoctor's a good bit smaller, and we have physical transport requiremnts to consider.
dreamreal(that 600MB is actually *good* - what we use weasyprint to convert html to pdf. Actually generating the PDF would have been better but would have meant a 2.1G deliverable, and noooo.)
blueI see. 600MB for converting markdown to html?
dreamrealerrr... if you want to put it that way, sure
dreamrealsphinx is a documentation system, it uses markdown and yaml as input and creates HTML, so sure
bluerepopack on master [$✘!?] via 🥟 v1.3.14 du -sh node_modules/marked/
blue460K node_modules/marked/
bluejust puttig it out there, no judgment >_>
dreamrealwhat is that?
bluemarked?
blueit's an npm package to convert markdown to html
bluenot sure why someone would need 600mb to convert markdown to html
* dreamreal sighs
dreamrealbecause that's not all that it's doing
blueso the rest of what it's doing is 600mb - 460kb?
bluethat's still, uh, a lot
dreamrealno, that's the docker image
blueoh
bluewell, what's it do other than markdown to html?
dreamrealit's a documentation system: organization, validation, etc., so the image has to be a docker image + OS + python + our stuff
dreamrealplus we have to include stuff to convert to PDF as well
bluemhm
dreamrealthe "right way to do that" is to use sphinx + latex, but that's the 2.1G image
blueholy heck
dreamreallatex is not small
blue2.1G is a dumpster fire
* dreamreal shrugs. latex is a cannon and our problem is more ... tiny
dreamrealIt's actually impressive that Word covers most of what you'd need latex for
blueshooting sparrows with cannons, I see
dreamrealthat's why we went with weasyprint: far fewer features but we're not represnting complex maths, for example
bluemhm
* jreicher joined #primate
jreicherblue: why does the 2.1G surprise you?
bluejreicher: because that's a buttload of bytes
jreicherYes it is, but it sounds like you were expecting less? Why?
bluebecause I expect my software to be lean, not to consume gigabytes of space
bluefor something to be 2.1G and justify, it means to do more than 'organisation, validation, etc.'
bluejustify it*
jreicherIt's not just software.
jreicherIn fact the majority of those bytes isn't software, I think.
blueWell, yeah; Containerfile are ridiculous large, too, and that's unacceptable too