gzip file compression in 100 Seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 712

  • @MobiusCoin
    @MobiusCoin 2 ปีที่แล้ว +3143

    This is exactly what 100 Seconds is for. I'm never going to do a full course on gzip but it's nice to know what it's about.

    • @santiagolerin
      @santiagolerin 2 ปีที่แล้ว +65

      No need, there's the manpage
      Or the tldr

    • @Piupiumacher
      @Piupiumacher 2 ปีที่แล้ว +16

      you will at some point face gzip and wonder what the magical parameter string means it's just a matter of time

    • @DivByZer0
      @DivByZer0 2 ปีที่แล้ว +6

      In 100 seconds he managed to mess up the name of one of the inventors...Mark Adler, not "Alder".

    • @pelic9608
      @pelic9608 2 ปีที่แล้ว +19

      There's "full courses" on gzip? What? 😄

    • @MrEnsiferum77
      @MrEnsiferum77 2 ปีที่แล้ว +2

      I've tried to read book about compression once and I regret it.

  • @puito6970
    @puito6970 2 ปีที่แล้ว +873

    When I first got into linux all these words "tar", "gzip", "tarball" and their commands were a mystery which took me way longer than 100s to figure out. This video is gold for getting started. Putting all this in perspective in less than 2 minutes is just awesome.

    • @kte4423
      @kte4423 2 ปีที่แล้ว +22

      I also like how they are not afraid to get "funny" with it. You have "more" and then "less" ("less is more"), you have weird names like 🔫zip, and tarball, and to get help with something you call the "man"

    • @daniel_2
      @daniel_2 2 ปีที่แล้ว +7

      @@kte4423 but man isn't originally funny. I think its short for manual (like a computer manual/book)

    • @kte4423
      @kte4423 2 ปีที่แล้ว +6

      @@daniel_2 Sure, gunzip makes sense too. I just find it funny that it's called "gun" (zip)

    • @RealFlicke
      @RealFlicke 11 หลายเดือนก่อน +5

      It's also ridiculously hard to zip/tar things with CLI compared to a GUI. Archiving and compressing being separate commands, weird flags you have to learn and footguns like accidentally zipping every file in a folder individually (happened to me several times).

  • @zatrox9438
    @zatrox9438 2 ปีที่แล้ว +1055

    SO THAT'S WHAT THE TAR EXTENSION IS, was always curious about that whenever i had to do something in linux, but never actually searched it up

    • @ChillAutos
      @ChillAutos 2 ปีที่แล้ว +85

      Wow this was my exact reaction as well. I was always so confused about the .tar.gz, makes so much sense now

    • @danielrdrigues
      @danielrdrigues 2 ปีที่แล้ว

      sigh, fucking normies, 5y.o I was compiling arch.

    • @yewo.m
      @yewo.m 2 ปีที่แล้ว +42

      Yeah, it's helped me to finally know why the files end in their composite extension like .tar.gz instead of just .tar or .gz or something else

    • @fakezpred
      @fakezpred 2 ปีที่แล้ว +8

      TApe aRchive

    • @fhujf
      @fhujf 2 ปีที่แล้ว +108

      @@fakezpred No, it's Tape ARchive. Do you even Unix?!

  • @kebien6020
    @kebien6020 2 ปีที่แล้ว +552

    One interesting difference with zip is that in zip each file is compressed and then archived, whereas in tar.gz you archive all the files and then compress the whole thing.
    Advantage: Cross-file compression (i.e. repeated patterns across files are used for compression)
    Disadvantage: You can not extract a single file and leave the rest alone.

    • @Winnetou17
      @Winnetou17 2 ปีที่แล้ว +54

      That's what's nice in RAR, it has a flag for that. If you want to compress a huge library of pictures or videos for example, you might want to have them independently compressed. But a large database or text-like files or things like a complete game / program you might want to compress the whole archive.

    • @dorukayhanwastaken
      @dorukayhanwastaken 2 ปีที่แล้ว +11

      Couldn't one just gzip [insert glob pattern here] and then tar the individually gzipped files if non-solid compression is necessary?

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว +6

      The main use for archives that I see is not for saving my own data, but for distributing collections of files. And normally when you get one of those you want to extract everything.

    • @smallcatgirl
      @smallcatgirl 2 ปีที่แล้ว +22

      @@Winnetou17 7z is the new rar.

    • @PauxloE
      @PauxloE 2 ปีที่แล้ว +7

      The actual compression algorithm (deflate) is the same between zip and gzip. Zip adds the archiving around it, while gzip just adds a small header and a checksum, so it's lighter.

  • @sharpfang
    @sharpfang 2 ปีที่แล้ว +247

    You're all lucky newer implementations of Tar stripped all the tape-related stuff. Reading through the man page you'd spend an hour to find how to create, or add to an archive, while in the process learning how to rewind the tape, seek the next archive on tape, activate a jukebox-like tape swapper mechanism, wipe a tape, check whether there's enough free space after the last archive to fit yours, switch to a different track on a multi-track tape, set tape drive rpm, and a myriad of others.

    • @daleryanaldover6545
      @daleryanaldover6545 2 ปีที่แล้ว +15

      that seems fun

    • @Truly12p
      @Truly12p 2 ปีที่แล้ว +4

      @@daleryanaldover6545 but probably counter-productive too

    • @stickyfingies
      @stickyfingies 2 ปีที่แล้ว +4

      What? ...huh?? was Tar actually used in the days of magnetic-strip-tape memory?

    • @symix.
      @symix. 2 ปีที่แล้ว +18

      @@stickyfingies what "in the days"? Tape drives are used a lot right now in datacenters, like google and amazon, they are great for long term data storage

    • @stickyfingies
      @stickyfingies 2 ปีที่แล้ว +2

      @@symix. I had no idea; crazy

  • @sum1179
    @sum1179 2 ปีที่แล้ว +65

    This man is so considerate, he even included the -v flag (which for starters stands for verbose) just so you can see your files being compressed, truly a born teacher. Here's an explanation of the flags used by him:
    -c = stands for create, it's the one you'd use the most.
    -z = tells tar to compress using gzip. There's many other ones you can choose from, which imo gzip being the best.
    -v = verbose, tells tar to display output in the terminal.
    -f = stands for filename, usually a directory.
    You can read most, if not all options using the --help command, with two hyphens.
    Even if you use windows, using the terminal makes your life way faster if you get used to it. I highly recommend giving a shot to the lifestyle.

    • @Gesepp95
      @Gesepp95 2 ปีที่แล้ว +2

      Where can I learn about the basic Windows equivalents to core GNU functions?

    • @sum1179
      @sum1179 2 ปีที่แล้ว +2

      @@Gesepp95 Most of the stuff you can use in linux is included in windows as aliases. They should have similar, if not the same functions that what you're used to has.

    • @Gesepp95
      @Gesepp95 2 ปีที่แล้ว +1

      @@sum1179 Thank you!

    • @scoreunder
      @scoreunder 2 ปีที่แล้ว

      not gonna lie, i assume when most people write tar -cvf that they literally just learned it as a package deal and haven't looked into it.

    • @Ogmobot
      @Ogmobot 2 ปีที่แล้ว +2

      I remember the flags as "Compress Ze V--king Files"

  • @Mutual_Information
    @Mutual_Information 2 ปีที่แล้ว +8

    It’s refreshing when a video focuses on information density

  • @GiggityGlen
    @GiggityGlen 2 ปีที่แล้ว +111

    Oh yeah, compression really played a hand when I implemented a redis caching in the backend. It significantly reduced memory usage and network traffic to cloud redis. And gzip is actually really fast too (we save string to redis as key val).

    • @erickshaffer6615
      @erickshaffer6615 2 ปีที่แล้ว +1

      So it is string key and gzip file as the Val?

    • @tomydurazno6243
      @tomydurazno6243 2 ปีที่แล้ว

      Had the same issue, using compressed GZip strings and Redis type Hash, the size used is 1/10 of what it was before

    • @GiggityGlen
      @GiggityGlen 2 ปีที่แล้ว +3

      Nah, you can save different data types as val but not a file if I remember right. What I did is JSON stringified data and compress the string after.
      Issue with this approach is that Json parse is not enough to convert values like functions, but that's okay cos you shouldn't be caching functions inside redis anyway.
      Oh and Json parse is crazy fast to in es5

    • @liamkearn
      @liamkearn 2 ปีที่แล้ว

      What did I just read 😂

  • @nitromegamer100
    @nitromegamer100 2 ปีที่แล้ว +3

    fireship your insane! im binging your entire videos like high quality paid courses and its actually helping me alot in my assignments, kudos

  • @augustday9483
    @augustday9483 2 ปีที่แล้ว +19

    I had to write my own implementation of the Huffman encoding algorithm for a computer science class back in the day. Compression and data encoding is a really interesting subject! It's an interesting scientific problem to figure out how to represent lossless information in the last amount of bits possible.

  • @colton8971
    @colton8971 2 ปีที่แล้ว +43

    While an undeniably good developer, Jeff really shines with his ability to synthesize and condense down information. These videos are snappy, engaging, and eloquent. Thank you a million, Jeff.

  • @bloocifer
    @bloocifer 2 ปีที่แล้ว +30

    tarballs sounded so intimidating to me and i thought it was something complicated lmfaoo i always wondered. its so freaking simple. i just made gzipped and gunzipped a couple files and then made a tarball out of them. shrank 250kb to 80kb. Cool stuff lol Just goes to show you how you can get in your own way sometimes. And also how good Fireships videos are.

  • @fabian.hertwig
    @fabian.hertwig 2 ปีที่แล้ว +6

    I love that your channel is pure information, no duplication. Perfect compression 👌🏼😌

  • @AshishKadam
    @AshishKadam 2 ปีที่แล้ว +155

    These 100 second videos are in a way gzipped version of all the knowledge acquired over a long time, isn't it? 🙂

    • @avidrucker
      @avidrucker 2 ปีที่แล้ว +5

      😂😂😂

    • @bobonaqa
      @bobonaqa 2 ปีที่แล้ว +26

      more like jpeg lol

    • @ZelenoJabko
      @ZelenoJabko 2 ปีที่แล้ว +2

      It would need brotli. Then it would maybe actually be 100 seconds

  • @juice2
    @juice2 2 ปีที่แล้ว +44

    I usually use zstd (Zstandard) for files when the portability of gzip or zip is not required.
    Also lz4 is pretty cool to use in applications because of its ultra-low compression and decompression overhead.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว +5

      zstd is widespread enough that you can consider it portable nowadays. And tar supports it, too.

    • @smallcatgirl
      @smallcatgirl 2 ปีที่แล้ว

      btrfs uses zstd transparent compression.

    • @MenacingPerson
      @MenacingPerson 2 ปีที่แล้ว +1

      Not by default.

    • @smallcatgirl
      @smallcatgirl 2 ปีที่แล้ว

      @@MenacingPerson but it does in fedora.

    • @pavelperina7629
      @pavelperina7629 2 ปีที่แล้ว

      @@lawrencedoliveiro9104 I wouldn't say so. Give tar.zst or 7z created with zstd/brotli/lz4 patch to 100 people, I guess one of them will be able to decompress it.
      When I experimented with LZ4 i found it's useless for anything, but sparse data (such as segmentation labels where index does not change often) and then it's perfect - something like run-length compression. Am I wrong about LZ4? One I stumbled on lossy compression of scientific data that had maximum allowed error and that was likely using some kind of predictor (basically it compressed n-dimensional arrays of integers or floating point), but I have no idea what was the name and if it was free (I think it was not).

  • @gabrielmora6144
    @gabrielmora6144 11 หลายเดือนก่อน +1

    omg I actually understand tar gz now. this is fantastic.

  • @joross8
    @joross8 2 ปีที่แล้ว +1

    Always enjoy content designed around re-enforcing the basics. Your 100 second format is a great way of presenting it.

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 2 ปีที่แล้ว +4

    The key point not mentioned here is that information content is a statistical concept. The closer your data stream looks like to random noise, the less compressible it is. It is inherent in the design of compression algorithms that they produce a data stream that looks very much like random noise.

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 2 ปีที่แล้ว +2

    Jeff is still my favourite tech youtuber

  • @santiagolerin
    @santiagolerin 2 ปีที่แล้ว +6

    I would loved to have this video 5 years ago when i deep dived into linux. It's excellent ❤️

  • @AndrewSunada
    @AndrewSunada 2 ปีที่แล้ว +2

    Nice! Super informative! Been doing this over 12 years and just this is a ton of news to me.

  • @ItzZed
    @ItzZed 2 ปีที่แล้ว

    Yessss, please do more videos like this.
    Linux commands like these are made easier to grasp like this.
    Do the tar command next!

  • @Aprofox
    @Aprofox 2 ปีที่แล้ว +1

    those 100 seconds series is fking AMAZING !!!!

  • @xorinzor
    @xorinzor 2 ปีที่แล้ว +2

    I really love these kind of videos. Short & sweet. You really feel like you've learned some fundamental (and interesting!) things in a very short amount of time

  • @FreshSmog
    @FreshSmog 2 ปีที่แล้ว +36

    Wat. Living in the era of winrar and 7zip, it never occurred to me that archiving was an intermediary step for zipping multiple files, I always assumed the compression program would handle it on it's own. I've never been able to figure out the purpose of tar until this video. So that's what .gz and tar.gz meant.

    • @NSLikeableHuman
      @NSLikeableHuman 2 ปีที่แล้ว +8

      It also nicely fits with the UNIX philosophy of having small programs doing a single focussed job. tar does the archiving while gzip does the compressing. :)

  • @vicradon
    @vicradon 2 ปีที่แล้ว +14

    Thank you Jeff for another amazing computer science explanation. I think you should make a video about data transformation with DBT.

  • @adamhenriksson6007
    @adamhenriksson6007 2 ปีที่แล้ว

    I thought he was out of ideas, now I see he is only getting started. THIS is the good stuff

  • @LePhenixGD
    @LePhenixGD 2 ปีที่แล้ว

    I learned more in 2 minutes TH-cam video understanding how GZIP works with Linux than an entire month at college
    Thnk you for making this video!

  • @nathanielsabanski
    @nathanielsabanski 2 ปีที่แล้ว +6

    Left out the standard for most *nix packages in 2022... zstd.
    The whole linux ecosystem pretty much uses zstd now. It's insanely good.

    • @xrafter
      @xrafter 2 ปีที่แล้ว +2

      Never heard of zstd. Should I use ?

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว +1

      Yes, it is definitely becoming more popular. Blender has removed the option for gzip compression when saving its documents (though it can still read existing gzip-compressed ones) in favour of zstd.

    • @slonkazoid
      @slonkazoid 11 หลายเดือนก่อน

      zstd would beat out brotli on the web if it were implemented with a similar dictionary

  • @paulgreen4161
    @paulgreen4161 ปีที่แล้ว

    Have watched a lot of your 100 seconds explanation and they are great but I given the nature of this one I thought you might have squeezed it into 50 seconds!!! Keep up the great work and thx!

  • @souravdhar47
    @souravdhar47 2 ปีที่แล้ว

    this probably is the epitomy of how to much knowledge can be squezed into a juicy video

  • @richardlin2359
    @richardlin2359 2 ปีที่แล้ว

    In my 4th year of computer engineering and i never thought to actually figure out what tar stood for/ came from
    It makes it so much easier to remember what it does

  • @minhthinhhuynhle9103
    @minhthinhhuynhle9103 2 ปีที่แล้ว

    Keep everything abstract until you aim for using it. This is the reason I follow Jeff's tutorial.

  • @Katchmagyk
    @Katchmagyk 2 ปีที่แล้ว

    I didn’t realize how much I wanted this video!

  • @jordan.mackie
    @jordan.mackie 2 ปีที่แล้ว

    It's a friday night, I'm absolutely hammered, and now ecstatic to know why it's called a TAR file. So glad I found this channel

  • @douglasemsantos
    @douglasemsantos 2 ปีที่แล้ว

    The best explanation I found about tar is in this 100 seconds video. Thank you!

    • @ZelenoJabko
      @ZelenoJabko 2 ปีที่แล้ว

      It is not freaking 100 seconds!

  • @dummypg6129
    @dummypg6129 2 ปีที่แล้ว

    Just about time when I am currently working/understanding gzip for my nginx config. Good intro, adds 2yrs of exp in my resume...

  • @RottenMuLoT
    @RottenMuLoT 11 หลายเดือนก่อน

    One if not the most undervalued algorithm for a dev. I solved a couple of difficult performance issues only by using gzip at the right moment. You can read a gzip stream in a memory efficient manner as well and you don't need level 9 compression to benefit good compression ratio.

  • @DevOpsBoss
    @DevOpsBoss 2 ปีที่แล้ว

    Top-notch quality content as always! PS. Didn't expect to see the Snowman in the vid 😎

  • @PrimeToolbox
    @PrimeToolbox 2 ปีที่แล้ว

    You are the master td;lrizer of computer concepts! Awesome channel.

  • @MonSteh
    @MonSteh 2 ปีที่แล้ว

    Thanks for providing us with the command to archive/compress tarball files, my brain can't wait to forget it 🙃

  • @hfislwpa
    @hfislwpa 2 ปีที่แล้ว +1

    I've learned so much from these 100 seconds videos, thanks a billion

  • @sxlg_32
    @sxlg_32 2 ปีที่แล้ว

    Oh yes, the newest fireship video. Great as always!

  • @himanshuraj5635
    @himanshuraj5635 2 ปีที่แล้ว

    huge fan of this series

  • @victorpinasarnault9135
    @victorpinasarnault9135 2 ปีที่แล้ว

    I love your videos! I can't get enough of them.

  • @mekhoinfo2118
    @mekhoinfo2118 2 ปีที่แล้ว

    I definitely support these kinds of videos where we discover some of Linux commands.

  • @Tellurian7
    @Tellurian7 2 ปีที่แล้ว

    An eleguant way to talk about the things we use everyday, thanks.

  • @ZanarkandStarplayer
    @ZanarkandStarplayer 2 ปีที่แล้ว

    I've never had that feeling of wow a video dropped right at the perfect time, until now

  • @nguyenducminh4966
    @nguyenducminh4966 2 ปีที่แล้ว +3

    @Fireship 1:35 You're incorrect about the compression ratio. A ratio of 90.3% means that the size of the compressed file equals 90.3% of that of the original file, which means that the lower the ratio, the more compressed it is.

    • @FaisalAfroz
      @FaisalAfroz 2 ปีที่แล้ว

      I was also confused about the ratio formula whether it is calculated as (new)/(original) or (original-new)/original.

    • @xrafter
      @xrafter 2 ปีที่แล้ว

      Ratio + Ls + Gzip

  • @towb0at
    @towb0at 2 ปีที่แล้ว

    best video for this format yet

  • @Д.С-б3ь
    @Д.С-б3ь 2 ปีที่แล้ว

    Those 100 seconds videos are just fire!🔥

  • @waiitwhaat
    @waiitwhaat 2 ปีที่แล้ว

    I WISH I watched this video when I first started using and learning Ubuntu years ago. This would have been a life changer for me

  • @hxrprxt
    @hxrprxt 2 ปีที่แล้ว

    "{Linux_Command} in 100 seconds" is the series that the world needs.

  • @46620
    @46620 2 ปีที่แล้ว

    -czvf and -xzvf are the only tar flags I know, and im happy to see it basically used in this video

    • @slonkazoid
      @slonkazoid 11 หลายเดือนก่อน

      i dont think you need -z while eXtracting anymore
      also try czavf instead

  • @adesh116
    @adesh116 2 ปีที่แล้ว

    This is the perfect one.. The perfect material for 100 seconds IMO..

  • @philippefutureboy7348
    @philippefutureboy7348 2 ปีที่แล้ว

    Tar has always been a mystery to me. Thanks for explaining it so clearly!

  • @TheDingsBoms
    @TheDingsBoms 2 ปีที่แล้ว +1

    These videos are so helpful and revealing for stuff I’ve always wondered about thank you!

  • @SoulisYT
    @SoulisYT 11 หลายเดือนก่อน

    This is awesome !!! I was always wondering why we use the combination on tar and gzip. Now I know !!!

  • @ImLlaver
    @ImLlaver 2 ปีที่แล้ว +9

    Can you do some "in 100 seconds" videos on different IDE's and build tools? Would be really cool to see a condensed explanation of VSCode, WebStorm, Postman, etc.

    • @shlongchad6159
      @shlongchad6159 2 ปีที่แล้ว +5

      VS Code is a general purpose code editor that plays nice with all languages, as long as there's an extension for one.
      WebStorm, if I recall correctly, is a highly specialized IDE for writing JavaScript and related stuff, TypeScript, etc. I presume. It has specific features to work with JavaScript built into it that you either can't get on VSCode or need a ton of extensions to replicate.
      Postman is an app that's used to test API endpoints and develop API systems.

    • @ImLlaver
      @ImLlaver 2 ปีที่แล้ว +1

      @@shlongchad6159 I've used all of these specific pieces of software and know them well, just figured they would be a good starting point if Fireship decides to branch out to development tools.

    • @tropicaldog430
      @tropicaldog430 2 ปีที่แล้ว +1

      He has videos about vscode and vim i think

    • @Kerbiter
      @Kerbiter 2 ปีที่แล้ว +5

      how to exit vim in 100 seconds

    • @woalk
      @woalk 11 หลายเดือนก่อน

      @@KerbiterAnd it’s just “ESC :qa!” and then 99 seconds of silence?

  • @satyajeetsahu5270
    @satyajeetsahu5270 2 ปีที่แล้ว

    I liked this video more than all the language videos in this channel.

  • @antonyjr.devlogs5957
    @antonyjr.devlogs5957 11 หลายเดือนก่อน +1

    Funfact, the like button glows when Jeff say's like and subscribe

    • @niquezebi7991
      @niquezebi7991 11 หลายเดือนก่อน

      yes i thought i was the only one see it

  • @optymystyc
    @optymystyc 2 ปีที่แล้ว +1

    “Ending in dot Jeezy” that took me out. Lol. You’re goated for that one 😂.

  • @YoannBuzenet
    @YoannBuzenet 2 ปีที่แล้ว

    Really nice video, please do every stuff we encounter on linux like that!

  • @fuelformind
    @fuelformind 2 ปีที่แล้ว +1

    wish one day i can make pro and clear videos like yours great job always (im not a programmer i just enjoy the videos)

  • @Max_Jacoby
    @Max_Jacoby 2 ปีที่แล้ว

    RAR is my favorite one! It's the only compression tool that can contain redundant information for restoration. It saved me a lot of troubles several times so I always add redundant info.

  • @jonathanfraimorice8292
    @jonathanfraimorice8292 2 ปีที่แล้ว

    Awesome video as always, I would love a more thorough video on how gzip actually works internally

  • @galgrunfeld9954
    @galgrunfeld9954 2 ปีที่แล้ว +2

    The information in this video is pretty compressed, too.

  • @markdlp
    @markdlp 2 ปีที่แล้ว +1

    Really helpful all this terminology is demystified 🙌🏿

  • @null3414
    @null3414 2 ปีที่แล้ว

    once i get my next paycheck i'm buying lifetime pro on your website, keep up the great work man

  • @DanielitoPadayhagJr
    @DanielitoPadayhagJr 2 ปีที่แล้ว

    Great! Thanks Jeff! Now I can add gzip to my resume!

  • @_modiX
    @_modiX 2 ปีที่แล้ว

    Finally the tarball hits the ground and gzips. Enlightenment.

  • @pranavprashant1196
    @pranavprashant1196 2 ปีที่แล้ว +1

    This saved me in production. I saw a massive reduction of 70% in case of large nested json lists having similar keys.
    It reduced 400+KB data size to approx 100+KB in my case

  • @K5Doom
    @K5Doom 11 หลายเดือนก่อน

    The way I always remember the flags to gzip+tarball is thinking in Arnold's voice "Compress Ze Files!!!" -czf

  • @mxbc_ebk5086
    @mxbc_ebk5086 2 ปีที่แล้ว

    This dude actually made gzip interesting 😭

  • @felixc.programs8209
    @felixc.programs8209 2 ปีที่แล้ว

    Very inspiring! Your content is really great and has helped shape me as a new TH-camr and also data scientist/software engineer. Thanks a lot!

  • @PanoptesDreams
    @PanoptesDreams 2 ปีที่แล้ว

    This is critical information for a new Linux user. I just made some connections myself 😅

  • @MohitKhare
    @MohitKhare 11 หลายเดือนก่อน

    Throwing my hat's away. Thanks you, this was really helpful. ❤

  • @TheMrBvcx
    @TheMrBvcx 2 ปีที่แล้ว

    Great content, as always !

  • @weewam2530
    @weewam2530 2 ปีที่แล้ว

    OMG, it really worked. Thank you so much!!

  • @Argletrough
    @Argletrough 2 ปีที่แล้ว +2

    p sure you can use -a instead of -z with tar and it will determine which compression algorithm to use based on the extension of the archive file name you provide

  • @Diego-Garcia
    @Diego-Garcia 11 หลายเดือนก่อน

    Loved that bonus of "what is tar". That's why the .tar.* extensions.

  • @bobuccman1424
    @bobuccman1424 2 ปีที่แล้ว +1

    i would love to see a 100 seconds video about nim

  • @supercraftd2074
    @supercraftd2074 2 ปีที่แล้ว +4

    Thanks! I had been trying to make a web game load faster. People told me to use gzip, but I had no idea how! Your video came at the perfect time

    • @brandonsayring
      @brandonsayring 2 ปีที่แล้ว

      What sort of web game?

    • @jamhamtime1878
      @jamhamtime1878 2 ปีที่แล้ว +1

      Uuuuh what kind of web game are you doing, and what kind of data loading are you doing that it's slow?
      Usually you wouldn't do this kind of gzip for serving data on the web, maybe use something like nginx, or whatever framework you're using for inbuilt gzip options.
      For example, if you're using nginx already, you just need to write the directive
      gzip on
      You can even vary between the sizes you want, etc.
      I also know next.js just has an option to compress.
      You'd probably want to use those instead of manually gzipping your files

    • @mfaizsyahmi
      @mfaizsyahmi 2 ปีที่แล้ว

      you shouldn't handle the gzipping of your stuff in your game code, but in the web server serving the game files. it does gzipping on the fly. and of course set it up to cache static files so it's not constantly gzipping every request.

  • @prashantmaharana3467
    @prashantmaharana3467 2 ปีที่แล้ว

    These videos nowadays feels like blessings 💜

  • @being_aslam_tiger
    @being_aslam_tiger 2 ปีที่แล้ว

    Thanks for making video on gzip. Huge thanks. Also could you please make video on... other tools and protocols.

  • @sadatmoya1016
    @sadatmoya1016 2 ปีที่แล้ว

    VISUAL BASIC IN 100 SECONDS , WOULD WANT TO SEE THAT ONE FOR SURE

  • @harveyaptx7356
    @harveyaptx7356 2 ปีที่แล้ว

    I love your content man. 💜

  • @joshuapare4304
    @joshuapare4304 ปีที่แล้ว

    gRPC in 100 Seconds please!! We’ve started using gRPC at our company and love it, mostly for the type enforcement and reduced payload size thanks to sending information over a binary stream instead of human readable, inefficient-to-parse JSON

  • @mikecebul
    @mikecebul 2 ปีที่แล้ว

    Thanks, now I have more questions then when I started.

  • @SimarMannSingh
    @SimarMannSingh 2 ปีที่แล้ว

    Next video topic request: Whats Tar and the different flags it uses.

  • @zmm978
    @zmm978 2 ปีที่แล้ว

    Great content, would watch again.

  • @alandto3996
    @alandto3996 2 ปีที่แล้ว

    Thank you jeff for this very informative video!

  • @luismejia857
    @luismejia857 2 ปีที่แล้ว +1

    Short and informative 👍

  • @stevemcwin
    @stevemcwin 2 ปีที่แล้ว +3

    Hey Jeff, could you please do a video on the Nim programming language?

  • @mohamedessabir
    @mohamedessabir 2 ปีที่แล้ว

    I love this channel.

  • @nardu
    @nardu 2 ปีที่แล้ว

    Your like && subscribe tag is always on point. Loved it getting zipped at the end!
    🤣🤣

  • @tulsatrash
    @tulsatrash 2 ปีที่แล้ว

    Thank you for making this.

  • @sunbreeze7354
    @sunbreeze7354 2 ปีที่แล้ว

    THANK YOU SO MUCH FOR THIS!

  • @georgecop9538
    @georgecop9538 2 ปีที่แล้ว

    You can easily do compression with numbers: Instead of writing ASCII digits, decompose the number in bytes and write the bytes to file.

  • @mk_6
    @mk_6 2 ปีที่แล้ว

    This is a really impressive video.