Twenty Years of Pandoc
21–30 of 55 posts
Re: Twenty Years of Pandoc
#22I have at times mused that writing the internal state of pandoc to disk (yes 13th standard etc) would be the most interoperable file format
pandoc document.md --to native
pandoc -f html -t native "https://news.ycombinator.com/item?id=49156750" | bat -l hs --style=plain --paging=neverRe: Twenty Years of Pandoc
#23I have at times mused that writing the internal state of pandoc to disk (yes 13th standard etc) would be the most interoperable file format
Re: Twenty Years of Pandoc
#24Re: Twenty Years of Pandoc
#25Re: Twenty Years of Pandoc
#26I feel this influence of choosing a tech stack and its impact on self selected and auto-reenforced culture is most often underestimated.
From my own experience, at a time I was (involuntarily) working in Java, and when .Net was released, from a pure technical point of view it was like a breath of fresh air. Java was suffering from overengineering, archtecture astronauts galore and no sensible UX framework. .Net, the new kid, came in lean and clean with a UX library that 'just worked'.
Problem later was that for all its flaws and being overly 'academic', in teams (the real thing, not the awfull app), you could have indepth discussions about non trivial aspects of SWE topics in the Java world, whereas for all its technical prowess, in .Net land you were mostly dwelling amongst the 2 week CRUD app bootcamp folks. This ofc is a gross oversimplication. You had brilliant engineers and challanged codemonkeys on both sides. But the skew was more than a little biased.
Re: Twenty Years of Pandoc
#27Re: Twenty Years of Pandoc
#28As for Haskell, I guess tree transformations and parsing are the perfect use case for functional programming. I studied in Utrecht in the nineties when Erik Meijer was still teaching there (later went to work at Microsoft Research where he contributed to things like F# and Linq). In short, my compiler course was taught using functional programming. We were toying around with writing our own parser generators to implement a subset of Modula 3 or our own toy languages. Lots of monads and other esoteric abstractions.
I haven't really done much professionally with any of that since except having a really easy time when languages like Kotlin, Javascript, etc. started borrowing liberally from functional programming. These days, if you have a list, calling map or forEach on it with another function is perfectly normal in many languages. Very nice alternative to a for or while loop.
Re: Twenty Years of Pandoc
#29Re: Twenty Years of Pandoc
#30I use it to create pdfs for my blog posts with that code :-)
python3 "$SCRIPT_DIR/preprocess.py" > blog-post.md && \
/datadisk/Downloads/pandoc-3.9/bin/pandoc \
blog-post.md \
--pdf-engine=typst \
--template="templates/blog.typ" \
-o "out.pdf" 2>/tmp/pdf-pandoc-err.txt;