Antryg

Antryg

Effective Haskell: formatting

Please make a pass through the book,
getting all the code on 1 side, or the other, of page-breaks,
for e-reader people.

I can’t get kindle app to read my kindle-format items,
unless I give it access to my device’s filesystem
( iow, kindle rejects kindle-format documents emailed into my account,
and epubs too,
only accepting pdf’s,
but it’ll read, in a sort of damaged way, kindle format books in my device,
if I give it access to that dir )

and it discards all my highlights, notes, etc,
from the kindles in a dir I’ve let it have access to,
every time I uninstall/reinstall kindle

( because after having 1k items downloaded,
it begins randomly deleting things from Collections, etc,
so it is required to keep the number of downloaded items small!

This may not affect people with fewer than 20k items in their account,
but having study-materials disappear from one’s Collections,
because of the cockamamie coding Amazon put into their kindle-app platform,
is infuriating.

For a brain-damaged person, who can’t remember
that there should be some other items in this collection,
until weeks later…

…it is abuse. )

So, as much better as kindle format is
( it permits me to decide the font & size,
for legibility ),
I gave up on it, for all pragprog books.

Epub also doesn’t always render code correctly.

I’m now limited to .pdf, in Foxit reader.

Even in Foxit, however,
having code splayed across multiple pages,
wrecks sanity of highlighting,
underlining, etc.

Simply moving things so that code is consistently arrayed within pages,
instead of across the things,
would make it clearer, for learners.


This still leaves the problem that low-vision people, who need 20 or 40pt type,
to be able to read, have:
kindle format sorta accommodates them,

epub in ReadEra Pro sorta does,
but .pdf just crowbars people with low-vision into side-scrolling,
for every individual line.

iow, none of the 3 formats is proper.

Popular Pragmatic Bookshelf topics Top

iPaul
page 37 ANTLRInputStream input = new ANTLRInputStream(is); as of ANTLR 4 .8 should be: CharStream stream = CharStreams.fromStream(i...
New
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
jeremyhuiskamp
Title: Web Development with Clojure, Third Edition, vB17.0 (p9) The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
New
jskubick
I’m running Android Studio “Arctic Fox” 2020.3.1 Patch 2, and I’m embarrassed to admit that I only made it to page 8 before running into ...
New
Henrai
Hi, I’m working on the Chapter 8 of the book. After I add add the point_offset, I’m still able to see acne: In the image above, I re...
New
andreheijstek
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
New
First poster: bot
The overengineered Solution to my Pigeon Problem. TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New

Latest in Effective Haskell

Effective Haskell Portal