+1 for cloud reader for programming books. It's open in one window, code in another, terminal in another. Drawbacks, however, include (1) is you can't copy-and-paste from the book; and (2) links don't work [which makes drawback (1) very annoying].
That's right. I only use Calibre for converting. I use the Python scripts from here [1] to remove DRM. The newer versions have GUIs; they should be friendly enough for most readers here.