News for hackers. Stuff that matters.
Re:Papers with Code by motiejus on Sunday December 26, 2021 @03:18AM (#29690670)
I implemented Wang–Müller algorithm, described it, and embedded the code to the pdf, along with tooling how to generate the example diagrams of the paper (and the whole paper). Everything is in the pdf[1].

Arxiv.org won't accept a pdf with attachments though, so only a stripped-down version will come there (once/if I get an endorsement, fingers crossed).

I copied this concept from Joe Armstrong, where he suggested to distribute Erlang modules as PDFs with code files (*.erl) as attachments. "Documentation comes first, and the distribution should prioritize humans".

[1]: See Section A.1 of https://github.com/motiejus/wm/blob/main/mj-msc-full.pdf

Re:Papers with Code by p1esk on Sunday December 26, 2021 @04:12PM (#29696427)
I don’t get it, why not just include a link to github in your pdf?
Re:Papers with Code by motiejus on Monday December 27, 2021 @02:33AM (#29700342)
Links to external sites have a tendency to rot.

I've stumbled upon a number of scientific papers from 2000s that include links to sourceforge for code listings. Most of those are dead now.

Github will not be there for ever.