The (small) kindle reads PDF files, but usually the font is too small to read comfortably. With the new firmware upgrade one can resize pdfs, but I'm not sure if I want to read a programming book this way.
I think the best way is to convert the PDF to the Mobi format with the free mobipocket creator:
I think the best way is to convert the PDF to the Mobi format with the free mobipocket creator:
http://www.mobipocket.com/en/downloadsoft/productdetailscrea...
The conversion works pretty well and if you have patience you can even generate things like table of contents and proper metadata.
Edit: you may also know that oreilly sells an ebook "package" with books in the following formats: Android, Mobi, PDF, ePub. For example:
http://oreilly.com/catalog/9780596158071/
(I'm not affiliated with oreilly in any way)