News for hackers. Stuff that matters.

rcap

Re:The Mathematics of Artificial Intelligence (2022) on Monday April 11, 2022 @06:02AM (#30986656)
It's standard practice for mathematics papers. Some people like to view it as "we, the author and the reader".
Author here, if you have any questions, feel free to ask them.

It really is amazing how hard it is just to retrieve the currently opened pdf file and its page number in a pdf viewer. Some pdf viewers (Like Zathura) provide this via DBus, but even very common ones like Evince don't. I managed to find a way using gvfs, although it's a bit of a hack.

For others (e.g. Mendeley), I have no idea on how to do this... Anybody have ideas? it is Qt based, maybe I can hook into that via some debugging tool?

Assigning `killall ffmpeg` to a hotkey does the job.
Re:Show HN: Python Tests That Write Themselves on Wednesday September 18, 2019 @05:15PM (#21010305)
This is basically what they call snapshot testing
Actually, this was made with LaTeX. Sadly, LaTeX doesn't prohibit you from making ugly documents.