~/talk

Unpacking an anomaly

Talkat PyCon Canada 2017 · 2017-11-18..11-21· [python]
links:none on file
slides:none on file

A production bug starts throwing TypeError: struct argument 1 must be a string not Unicode after adding from __future__ import unicode_literals; the struct module uses a struct cache keyed by the format string so a Unicode format causes the first call to fail, but previous cached string entries mask it. One Gunicorn worker’s cache expires (100-entry limit) and that worker begins failing until another request refreshes the cache; fix is to use a byte string or upgrade to the struct version that accepts Unicode.

AI-written summary · about

  1. 0:00Start
  2. 0:53SSH Key Management
  3. 1:28parse_sshkey()
  4. 2:45Memory Corruption?
  5. 5:49Deeper Drive
  6. 7:16Moar Logging
  7. 8:39Self-Healing Powers
  8. 10:16Same Story
  9. 10:31Gunicorn Logging
~/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.