~/talk

Network programming for automation developers

Talkat PyCon Canada 2012 · 2012-11-09..11-11· [networking]
links:none on file
slides:none on file

Practical checklist for automation-focused network code: use Python sockets but handle them at the lower level (the device manager Python client talks to an Android Java “su client” and a C++ agent on Firefox OS), set explicit timeouts via settimeout or select so calls fail fast, treat receive returning None as closed, catch socket.error and socket.timeout separately, classify failures as transient (retry) or permanent (report), prefer TCP and length‑prefixed messages over prompt parsing for binary transfers; command‑client abstraction already works.

AI-written summary · about

  1. 0:00Introduction
  2. 3:03Why this talk
  3. 4:18What this talk is about
  4. 6:20Timeouts
  5. 8:35Connection closed
  6. 10:10Errors
  7. 10:40Return codes
  8. 11:13Exception
  9. 11:53Transient and Permanent
  10. 12:37Error Layer Cake
  11. 12:57Data Errors
  12. 14:05Device Errors
  13. 14:50Effective Protocols
  14. 15:20Simple Commands
  15. 16:05Prompts
  16. 16:45Modes
  17. 17:05Protocol for a machine
  18. 17:35Command client
  19. 18:05Summary
  20. 18:25Pitch
~/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.