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 Prag Prog topics Top

Travis
Dockerfile: FROM ruby:2.6 RUN apt-get update -yqq RUN apt-get install -yqq --no-install-recommends nodejs COPY . /usr/src/app/ WORKDI...
New
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
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
fynn
This is as much a suggestion as a question, as a note for others. Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
New
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
SlowburnAZ
Getting an error when installing the dependencies at the start of this chapter: could not compile dependency :exla, "mix compile" failed...
New

Other popular topics Top

malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New
wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Author Spotlight Erin Dees @undees Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
PragmaticBookshelf
Author Spotlight: Karl Stolley @karlstolley Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New

Latest in PragProg

View all threads ❯