~/talk

Will You Play APL With Me?

Talkat APL Seeds '21 · on Wednesday, 2021-03-31· [compilers-and-language-design]
slides:none on file

Builds a working text-justifier in APL that turns left-wrapped lines into right-aligned paragraphs by converting the text to a character matrix, identifying trailing spaces with a boolean mask, computing trailing counts with scan/reduce, dividing and flooring to get per-gap allocations and distributing remainders by enumerating gaps. Demonstrates right-to-left evaluation, the rank operator to map row-wise operations, and using the replicate function to expand characters, then runs the same code on a 12,486-line Gutenberg file to show it completes almost instantly and recovers from a live RANK ERROR.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Building blocks of APL: functions and operators
  3. 3:42Right to left syntax
  4. 5:00Justifying text problem
  5. 6:58Defining a character matrix variable
  6. 11:13Mask of trailing spaces
  7. 15:18Positions and amounts of spaces to insert
  8. 28:25Replicating spaces in text
  9. 30:40Processing a large corpus from file
  10. 34:05What does masking with Booleans mean?
  11. 37:55Using the rank operator
  12. 39:10When not to justify text
  13. 40:08RANK ERROR
  14. 41:50Sharing code for others
  15. 42:45Multiply vs compress for masking values
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.