~/talk

Tarring files with Elm

Talkat Oslo Elm Day 2019 · on Saturday, 2019-02-16· [web-platform, developer-experience]
links:none on file
slides:none on file

A small Elm library, elm-tar, actually encodes a list of files (text or binary) into a single tar archive using elm/file and elm/bytes and emits properly aligned 512‑byte blocks with headers, octal size fields and an 8‑byte checksum. Create-archive works; extract-archive initially left trailing nulls and needed fixes (debugged with GNU tar as control and a hex editor). The tar format requires two null 512-byte blocks to end and compression is not yet implemented.

AI-written summary · about

  1. 0:00Introduction and Elm Day
  2. 1:05Why Elm Tar project
  3. 2:32Bytes API in Elm
  4. 6:27Understanding tar format
  5. 9:38Elm Tar API and types
  6. 12:32Creating tar archives in Elm
  7. 15:25Working at byte level
  8. 18:38Decoding tar archives
  9. 19:23Debugging with hex editor
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.