~/talk

Bytes and blobs

Talkat JSConf US 2011 · 2011-05-02..05-03· [web-platform, javascript]
slides:none on file

HTML5 now exposes concrete binary tools: blobs, files, FileReader with readAsArrayBuffer, BlobBuilder, URL.createObjectURL and XHR2 responseType=blob, ArrayBuffer plus eight typed arrays and DataView, web workers for transfer, IndexedDB storage and a private FileSystem with async writers. Demos show local image display via blob URL and client‑side audio generation (creates a WAV blob, plays in Chrome), XHR2 uploads with progress, and writable local files behind Chrome flags; typed arrays use native endianness so be careful when sharing bytes.

AI-written summary · about

  1. 0:00Intro
  2. 3:06HTMLS BINARY APIS
  3. 6:07FILE UPLOAD
  4. 6:31MANUAL CLIENT-SIDE CACHE
  5. 6:52LOCAL IMAGE DISPLAY
  6. 7:39DECODE BINARY DATA
  7. 8:29IMAGE PROCESSING
  8. 12:31UPLOADING A FILE OR BLOB
  9. 15:10DOWNLOADING A BLOB
  10. 18:45EXAMPLE: LOCAL IMAGES
  11. 20:46READING A TEXT FILE
  12. 26:28DATAVIEW
  13. 27:47CREATING BLOBS
  14. 28:55AUDIO SYNTHESIS ()
  15. 30:41AUDIO SYNTHESIS 2
  16. 32:11AUDIO SYNTHESIS (3)
  17. 33:31LOCAL (SANDBOXED) FILES
  18. 38:53BLOB AS MESSAGES
  19. 41:09BLOBS AND DATABASES
  20. 43:44SUMMARY
~/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.