~/talk

Decoding invalid base64 with state machines

Talkat GoLab 2018 · 2018-10-22..10-23· [go]
links:none on file
slides:none on file

Implements a Go-based finite state machine that decodes malformed or mixed-variant base64 by parsing characters into states (start, alphabet, URL/standard variants, end), peeking ahead to peeks the next characters and recovering when invalid input appears. The decoder replaces invalid sequences with a default character and resumes decoding, lives in the Wapty decode package, needs only a new state to add a variant, and trades raw speed for robustness, debuggability and easy unit testing.

AI-written summary · about

  1. 0:00Start
  2. 6:07Finite State Machines
  3. 11:54Writing Code
  4. 15:20Transitions
  5. 19:15Benchmarking
~/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.