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.

Where Next?

Popular Pragmatic Bookshelf topics Top

raul
Page 28: It implements io.ReaderAt on the store type. Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt? ...
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
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
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
jgchristopher
“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ” Excerpt From: Br...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
New
brunogirin
When running tox for the first time, I got the following error: ERROR: InterpreterNotFound: python3.10 I realised that I was running ...
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New

Other popular topics Top

New
axelson
I’ve been really enjoying obsidian.md: It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
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
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
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
PragmaticBookshelf
Use WebRTC to build web applications that stream media and data in real time directly from one user to another, all in the browser. ...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
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

Sub Categories: