PDF Viewing
github.com
github.com
This is partly serious and I think GitHub is awesome.
Following his blog is a unique (but not always work-safe) pleasure. http://www.jwz.org/blog/
If they integrate Atom online like Cloud9 then with automatic build\hosting its basically the full stack for developing and using the web where the current GitHub repo viewers are the equivalent of Finder/Explorer. The Google/MS capitulation to GitHub will be seen as a catastrophic handover of power if they can build a moat around this. Maybe the distributed and open nature of both git and the web will prevent any moat? Interesting times.
If anyone is confused like me: It looks like Github will now show PDFs inline.
It took me a minute to figure out that the GIF was a demo (and this had nothing to do with rendering PDFs into realspace using a 3d printing robot), and the page was from github's official blog.
[1] http://LetsGit.herokuapp.com https://github.com/xasos/LetsGit
But Github uses client side the PDF.js, that draw the content of parsed PDF file in a canvas.
[0] see https://github.com/papers-we-love/papers-we-love/blob/master...
In cases where you have to include a PDF, it's very helpful to have it be viewable inline on a page.
Also I view PDFs as only "half binary". It's just a bunch of text streams, some of which may be compressed with deflate. (Granted, there's also stuff like embedded images, fonts, etc.)
The example PDF files aren't easily generated with TeX, so I make them in Illustrator and store them with Git. They change a little less frequently than the text itself, and usually once an example is done it doesn't get updated very frequently. In my case, at least, I can't easily version the "raw source" for the examples, as the Illustrator binary files are ~3x larger than the resulting PDFs.
I suppose I could use something like git-annex, but every time I've tried I haven't really been able to get the hang of it, and the time I'd spend learning it is better spent actually writing the thing.
(Incidentally, this new Github feature makes it much easier to browse my examples repo!)
Instead, they should render the documents at the actual resolution it's being displayed with.
Spoiler: It didn't work
I'm curious as to how the pdf2htmlEX project [0] compares to PDF.js. Instead of client-side conversion this is a server-side one-time conversion from PDF to HTML5.