~/talk

Node.js API Pitfalls; Can You Spot Them?

Talkat Node.js Interactive 2015 · 2015-12-08..12-09· [nodejs, javascript]
slides:none on file

Node core has concrete surprises: process.nextTick calls immediately while setImmediate runs on the next loop, cluster’s worker.kill first disconnects the worker so a HUP handler may never see the signal, cluster.suicide flags an orderly exit (the opposite of the word), url.parse keeps a host property that makes hostname and port ignored, and path.format ignores name/ext when base is present. Streams preserve backward compat behavior so pause/pipe have no hard guarantees, forcing tradeoffs between stability and cleaner APIs.

AI-written summary · about

  1. 0:00Introduction to Node.js
  2. 1:20Next Tick vs. Immediate
  3. 2:02Event Loop Phases
  4. 3:33Understanding Node Cluster
  5. 5:19Worker Kill Pitfalls
  6. 7:02Cluster Suicide Property
  7. 8:30Improving API Naming
  8. 10:03URL Parsing Idiosyncrasies
  9. 11:32Host vs. Hostname Properties
  10. 13:14Path Module Pitfalls
  11. 16:56Stream Backwards Compatibility
  12. 18:20Future of Node.js APIs
~/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.