Post 9jk3Mow6fY1vBPwt04 by zge@icosahedron.website
(DIR) More posts by zge@icosahedron.website
(DIR) Post #9jjuVFoXipOpGzMEC0 by sir@cmpwn.com
2019-06-11T14:11:23Z
0 likes, 0 repeats
pandoc has HALF A GIGABYTE of dependencies. Choose better doc generators, dammit
(DIR) Post #9jjuaXeyncdq4JPDpA by sir@cmpwn.com
2019-06-11T14:11:29Z
0 likes, 0 repeats
Haskell sucks
(DIR) Post #9jjutKZxerql071AFE by Wolf480pl@niu.moe
2019-06-11T14:16:29Z
0 likes, 0 repeats
@sir no u
(DIR) Post #9jjuuCdMgQeseJ1e2y by lanodan@queer.hacktivis.me
2019-06-11T14:16:40.281903Z
0 likes, 0 repeats
@sir pandoc as a doc generator?Oh please no, it's like if it was depending on LibreOffice.
(DIR) Post #9jjv92pDR0mmZTe6FM by derle@framapiaf.org
2019-06-11T14:18:37Z
0 likes, 0 repeats
@sir One of the saddest things of the free software ecosystem
(DIR) Post #9jjvGRd1cAlRWaTLTE by sir@cmpwn.com
2019-06-11T14:19:15Z
0 likes, 0 repeats
@lanodan fuck off https://paste.sr.ht/~sircmpwn/8060f0e0a8e62a08a9a618c4f1e01c63e823a2f5
(DIR) Post #9jjvQtST01LgjUW3yi by lanodan@queer.hacktivis.me
2019-06-11T14:22:35.054952Z
0 likes, 0 repeats
@sir And what's the size of LibreOffice and it's dependencies?
(DIR) Post #9jjvWMMqwTHnqFUrnE by ashwinvis@mastodon.acc.sunet.se
2019-06-11T14:22:45Z
0 likes, 0 repeats
@sirYou can always download the prebuilt binary. For eg. Using conda or check archlinux aur for pandoc-bin.
(DIR) Post #9jjvhKWG9cr3IL7yrY by sir@cmpwn.com
2019-06-11T14:23:27Z
0 likes, 0 repeats
@lanodan 595 MiB. Why does that make pandoc good?
(DIR) Post #9jjvo3UZrKHcVsY1dQ by j@mathstodon.xyz
2019-06-11T14:25:18Z
0 likes, 0 repeats
@sir Yeah, because you're using arch which for some stupid fucking reason makes Haskell use dynamic linking (which has always been recommended against). Use a distro with statically linked Haskell packages (read: pretty much anything other than Arch, which is a shitshow)
(DIR) Post #9jjvtE1y6X8Ce6dD6m by lanodan@queer.hacktivis.me
2019-06-11T14:27:42.338298Z
0 likes, 0 repeats
@sir Nah, it's just comparable as both are supporting a bloatfest of formats, none should be dependencies (as it makes no sense to) and so be free to use it or not.{Star,Open,Libre}Office can also be used in pure command line too, except maybe if they removed that at some point.And yeah, I'd rather pick pandoc than libreoffice, specially as libreoffice just failed to compile for years on my machines.
(DIR) Post #9jjvtKsIesYZs9A5Vg by sir@cmpwn.com
2019-06-11T14:25:20Z
0 likes, 0 repeats
@ashwinvis no.
(DIR) Post #9jjvzhSPbtYDeF5UUy by sir@cmpwn.com
2019-06-11T14:26:17Z
0 likes, 0 repeats
@j the only other distro I care about doesn't even bother packaging Haskell
(DIR) Post #9jjw51JdCkbigZW8cy by ignaloidas@mastodon.gamedev.place
2019-06-11T14:26:52Z
0 likes, 0 repeats
@sir I get node_modules feel from this. Using a package for one or two functions because DRY. Can't understand why people do this
(DIR) Post #9jjw6YdmmwB0Kag4jQ by jb55@maly.io
2019-06-11T14:30:06Z
0 likes, 0 repeats
@sir true, for end user software. It's insanely good at specific things, like building parsers (parsec), but yeah the bloat is to much to swallow for most situations.
(DIR) Post #9jjwBqIsXuLQYjQ0gK by sir@cmpwn.com
2019-06-11T14:29:39Z
0 likes, 0 repeats
@lanodan but if your goal is to generate man pages, you use maybe 10 MiB of this crap at best. It's like sending your mate a letter as the only cargo on a giant shipping vessel
(DIR) Post #9jjwFFk8Q0WGKMnFxY by sir@cmpwn.com
2019-06-11T14:29:59Z
0 likes, 0 repeats
@lanodan no one said you should use LibreOffice to generate docs, stop bringing it up
(DIR) Post #9jjwFFxbbvIL0960xM by lanodan@queer.hacktivis.me
2019-06-11T14:31:38.580046Z
0 likes, 0 repeats
@sir There is no more reasons to use pandoc for it either.
(DIR) Post #9jjwOSi5ZpA39NEBXs by sir@cmpwn.com
2019-06-11T14:31:30Z
0 likes, 0 repeats
@jb55 yacc
(DIR) Post #9jjwYAU4CDdtWDIUGe by sir@cmpwn.com
2019-06-11T14:33:03Z
0 likes, 0 repeats
@lanodan you've completely lost me. Or lost it
(DIR) Post #9jjwZVzTij5OVfdFFg by lanodan@queer.hacktivis.me
2019-06-11T14:35:20.923876Z
0 likes, 0 repeats
@j Gentoo uses dynamic linking with Haskell too, screw static linking outside of doing cross-distro binairies, it's a huge mess to manage.It's not because upstream wants their software to burn that the distros should burn with it.
(DIR) Post #9jjweyhSPJ6Azwo8jA by j@mathstodon.xyz
2019-06-11T14:34:01Z
0 likes, 0 repeats
@sir I'm assuming Alpine? I'm surprised they don't package it. It's not a musl problem, seeing as void has pandoc for x86_64 on musl as well as glibc (where the pandoc package is only 30M, with very little/no dependencies).So yeah, don't shit on pandoc, which is a great piece of software. It's entirely the arch maintainers' fault.
(DIR) Post #9jjwjXFvs2EdKX6ecC by sir@cmpwn.com
2019-06-11T14:34:35Z
0 likes, 0 repeats
@j "only" 30M, huh? scdoc is 70 KiB
(DIR) Post #9jjwnuPXirwiIogeie by sir@cmpwn.com
2019-06-11T14:35:07Z
0 likes, 0 repeats
@j I _do_ have to compile shit myself a lot, you know. The problems being someone else's problems don't excuse the language/tools problems, especially when I'm someone else
(DIR) Post #9jjxYe9Rzd0xU7Riym by j@mathstodon.xyz
2019-06-11T14:45:43Z
0 likes, 0 repeats
@sir Pandoc is a little bit more than just a man-page generator.
(DIR) Post #9jjxippnPWoecB6x5U by sir@cmpwn.com
2019-06-11T14:47:40Z
0 likes, 0 repeats
@j correct
(DIR) Post #9jk3Mow6fY1vBPwt04 by zge@icosahedron.website
2019-06-11T15:50:49Z
0 likes, 0 repeats
@sir @jb55 yes that's also something you can make parsers with.
(DIR) Post #9jk3dtl3zjR53pvWJU by zge@icosahedron.website
2019-06-11T15:53:57Z
0 likes, 0 repeats
@sir I'm guessing the *TeX dependencies make up most of it. You could always use groff or one of those web-based pdf genereators if that's what you want.On debian at least the it's just over 117MB.
(DIR) Post #9jkK42iWuEBBdvEKoK by neijatolf@verwirrung.institute
2019-06-11T18:57:45Z
0 likes, 0 repeats
@sir Maybe two or more years ago, most of these dependencies were listed as `makedepends`. Somewhen someone decided, it'd be a good idea to put them into `depends`, so pandoc grew thank to its Haskell dependencies to approx. 750 MB to install back then.AUR has the package pandoc-bin since then, which is just repackaging Debian's pandoc package.
(DIR) Post #9jkLmjuHmz6IHybd1k by pyrolagus@cmpwn.com
2019-06-11T19:17:08Z
0 likes, 0 repeats
@sir @jb55 I don't think you can compare Haskell with yacc. The people at GitHub working on semantic explained why they use Haskell[1], and I doubt that they'd be better off with yacc+C.Also, pandoc is a beast with support for almost every widely used document path. This is less a problem with Haskell, and more a problem with using a less featureful doc generator like haddock, which is actually the standard tool used for GHC and supported by Hoogle. Actually, pandoc isn't even a documentation generator but rather a document converter, so I'd imagine that haddock is still used to generate the docs and then pandoc to produce PDFs or something, in which case it *should* be an optional dependency.[1] https://github.com/github/semantic/blob/master/docs/why-haskell.md
(DIR) Post #9jkOYsvjk8yG5CMzZY by ashwinvis@mastodon.acc.sunet.se
2019-06-11T19:48:17Z
0 likes, 0 repeats
@sir?
(DIR) Post #9jlHUIElihuubO5xce by houkimenator@mastodon.technology
2019-06-12T06:03:47Z
0 likes, 0 repeats
@sir Closely related language Idris looks better than Haskell if we are talking about practicalities like executables size etc. It may be somewhere between C and Go in this regard.And it is striving to become systems language eventually.I believe it is as capable of parsing tasks as Haskell without crazy overhead (MB-sized helloworld) of ghc.
(DIR) Post #9jmIfGc2OYwFrQjfCS by stormwolf@bitcoinhackers.org
2019-06-12T17:51:28Z
0 likes, 0 repeats
@sir Pollen https://docs.racket-lang.org/pollen/ may or may not be what you are looking for