jsconfeu-googleplus jsconfeu-heart jsconfeu-logomarkjsconfeu-map-marker jsconfeu-smilie jsconfeu-twitter jsconfeu-youtube
site url:https://2017.jsconf.eu
page url:/speakers/irina-shestak-knockknockwhotherefilecompressiontalkfinal4tartrzbz2gz.html
page id:/speakers/irina-shestak-knockknockwhotherefilecompressiontalkfinal4tartrzbz2gz
page date:2017-03-17 00:00:00 +0000
node url:
twitter name: jsconfeu
page pattern:

Irina Shestak:
knock-knock-who-there-file-compression-TALK-FINAL-4.tar.trz.bz2.gz

Fade in. An opened terminal window. iTerm2 is the flavour. Dracula, the theme. You split the panes in two. You are at it again: a stash of audio buffers and that dream of manipulating a lossless file. With node as your language of choice you embark on the night. You manipulate, you transform, you have your byte order sorted, on their own accord your fingers type gzip -f yourFavPhilCollinsSong.mp3. All of a sudden, a whisper:

But what if.

we stream.

file compression.

on the fly.

Fade to black.

In this talk we will walk through file compression algorithms in node as well compression standards. We will cover working with streams, audio buffers, and typed arrays to get us to compress and decompress files, and yourFavPhilCollinsSong.mp3.