"Matters Computational" - Free Ebook on Algorithms
jjj.de
jjj.de
Not a book to skim through, but definitely valuable. Uses C/C++ (minimal C++ functionality, classes + templates) heavily, of course, but big shocker there given that it's largely focused on efficient, low-level code. I'd rather have functional C than questionable pseudo-code anyway. A little of a language called GP and a little pseudocode, but very little from a quick skim. My main criticism here is that the variable names could be more descriptive, often just a single character or two, but most of the code is small enough that it doesn't matter, you can do it in your head easily enough.
Definitely a keeper, IMO, unless you despise C.
Disclaimer: I write as little code that looks like this as possible, and have not examined it in detail. Anyone care to comment on the code library itself? I'm definitely not qualified.
[1] http://en.wikipedia.org/wiki/DjVu
[2] http://djvu.org/
I've got some books and have put them in one html file, they look good enough for reading on my laptop, netbook, ipad, etc. So portability and universality are key.
Here, have a look at some of my private collection, most of Sherlock Holmes from gutenberg project:
http://georgenava.appspot.com/ebooks
And here, a format I've been working on, based on HTML, for ebook publishing (view source)
http://georgenava.appspot.com/myfirstbook
I know purists will burn me at the stake but I don't care, I like simplicity and that drives my life.
Beware only webkit browsers (chrome,safari) understand my format.
* btw, the only thing browsers like firefox and IE must implement to facilitate one single html file is this:
.myimg{content:url("data:image/png;base64,abcdef...")}
A way to embed images and resources as data URIs. That's the only trick.Admittedly, Preview only does a subset of PDF capabilities, and it's one of the fastest I've encountered, so it's not a wholly fair comparison.
HTML5 + CSS3 makes it easier, because fonts can be embedded, and there's a LOT more control over many things, and I know of no normal way to do anything like pagination. And many PDF viewers have interfaces optimized for reading, where browsers have interfaces optimized for navigation. I hope it's the future, but it's not the present.