Lemmy.🐟
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Krafting@lemmy.world to linuxmemes@lemmy.world · 1 year ago

the fear of missing out a better compression

lemmy.world

message-square
54
link
fedilink
15

the fear of missing out a better compression

lemmy.world

Krafting@lemmy.world to linuxmemes@lemmy.world · 1 year ago
message-square
54
link
fedilink

Source - Posted with Reddy

alert-triangle
You must log in or register to comment.
  • oleorun@real.lemmy.fan
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Oblig. XKCD:

    • SpeakinTelnet@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 year ago

      tar -h

      Edit: wtf… It’s actually tar -?. I’m so disappointed

      • oleorun@real.lemmy.fan
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        boom

    • smiletolerantly@awful.systems
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      tar -xzf

      (read with German accent:) extract the files

    • macniel@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      tar eXtactZheVeckingFile

      • zaphod@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        You don’t need the v, it just means verbose and lists the extracted files.

        • jj4211@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          You don’t need the z, it auto detects the compression

          • Billegh@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            That’s still kinda new. It didn’t always do that.

            • jj4211@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              Per https://www.gnu.org/software/tar/, it’s been the case since 2004, so for about 19 and a half years…

              • Petter1@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                Telling someone that they are Old with saying they are old…

                • Billegh@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  Something something don’t cite the old magics something something I was there when it was written…

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      That’s yet another great joke that GNU ruined.

  • /home/pineapplelover@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Where .7z at

    • TaintPuncher@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      .7z gang, represent

      • BaroqueInMind@lemmy.one
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Small dick package kings/queens rise up.

  • TheKMAP@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    .fitgirlrepack

  • EddyBot@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    cool people use zst

    (actually decreases decompression time by 1300%)

  • MonkderDritte@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    .tar.xz

    • stoy@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      xz is quite slow though

      • pelya@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        tar c file | pxz > file.tar.xz

      • zero_spelled_with_an_ecks@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        There’s several levels you can use to trade off additional space for requiring more processing power. That being said, I hate xz and it still feels slow AF every time I use it.

        • TipRing@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          It starting 0.5 seconds slower than usual saved us all a bit of a headache as it turns out.

      • uis@lemm.ee
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        Same algo as in 7z

    • Björn Tantau@swg-empire.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Yeah, it’s similar enough to tar.gz to always confuse me.

      • palordrolap@kbin.run
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        wait until you learn about .tar.lz

        • MonkderDritte@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Good for image backups, after zeroing empty space.

  • renzev@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Obligatory shilling for unar, I love that little fucker so much

    • Single command to handle uncompressing nearly all formats.
    • No obscure flags to remember, just unar <yourfile>
    • Makes sure output is always contained in a directory
    • Correctly handles weird japanese zip files with SHIFT-JIS filename encoding, even when standard unzip doesn’t
    • FIST_FILLET@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      gonna start lovingly referring to good software tools as “little fuckers”

      • Scrollone@feddit.it
        link
        fedilink
        arrow-up
        0
        arrow-down
        2
        ·
        1 year ago

        Happy cake day!

    • sh__@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      What weird Japanese zip files are you handling?

      • renzev@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Voicebanks for Utau (free (as in beer, iirc) clone of Vocaloid) are primarily distributed as SHIFT-JIS encoded zips. For example, try downloading Yufu Sekka’s voicebank: http://sekkayufu.web.fc2.com/ . If I try to unzip the “full set” zip, it produces a folder called РсЙ╠ГЖГtТPУ╞Й╣ГtГЛГZГbГgБi111025Бj. But unar detects the encoding and properly extracts it as 雪歌ユフ単独音フルセット(111025). I’m sure there’s some flag you can pass to unzip to specify the encoding, but I like having unar handle it for me automatically.

  • Laurel Raven@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Where’s .7z people?

  • 𝒎𝒂𝒏𝒊𝒆𝒍@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    ZSTD FTW

    • nova_ad_vitum@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Damn you guys borrowing consonants from polish names now?

      • 𝒎𝒂𝒏𝒊𝒆𝒍@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Wut?

        • renzev@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I think it’s a joke about how people from Poland have a lot of consonant letters in their name, particularly the letter Z. This appears strange to non-poles, and thus became the subject of many jokes. So ZSTD looks a little bit like a Polish name in the sense that it’s made up of many consonant letters, including a Z.

          More examples of people making fun of Polish names:

          • https://www.youtube.com/watch?v=AfKZclMWS1U
          • https://old.reddit.com/r/Jokes/comments/10trx0/the_polish_eye_exam/
  • qjkxbmwvz@startrek.website
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    When I’m feeling cool and downloading a *.tar* file, I’ll wget to stdout, and tar from stdin. Archive gets extracted on the fly.

    I have (successfully!) written an .iso to CD this way, too (pipe wget to cdrecord). Fun stuff.

    • Midnight1938@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Something like wget avc.com | tar xvf ?

      • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Almost, I think.

        wget -O - http://example.com/archive.tar | tar -xvf -
        
        • Midnight1938@reddthat.com
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          1 year ago

          Didnt think this would ever work

          • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            TAr stands for Tape Archive. Tapes store data sequentially. Downloads are done sequentially.

            It’s really just like a far away tape drive.

  • Hucklebee@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Can someone explain why MacOS always seems to create _MACOSX folders in zips that we Linux/Windows users always delete anyway?

    • Surreal@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Window adds desktop.ini randomly too

      • ulterno@lemmy.kde.socialBanned
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Yeah, those tend to be pre-folder settings for the File Explorer.
        Like View options, thumbnails and such.

        It’s been a while for me, but I think there was something specially for thumbnails too. You might find one if you go into the folder options and set a folder to optimized for pictures/videos and add some to it.

        Anti Commercial-AI license

      • Ricky Rigatoni@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Linux adds .demon_portal files all over my computer too.

        • Cethin@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          That’s not Linux doing that. It’s the demons in your hardware trying to escape. They normally don’t cause too many issues luckily, but if you don’t close the portals occasionally they can take over your system.

  • ordellrb@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Me removing the plastic case of a 2.5’ sata ssd to make it physically smaller

    • iix@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That’s a big drive.

  • 9point6@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I mean xz/7z has kind of been the way for at least a decade now

    • jj4211@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Well, tar.zstd is starting to be the thing now.

      • woelkchen@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        First bundling everything in a tar file just to compress the thing in an individual step is kinda stupid, though. Everything takes much longer because of that. If you don’t need to preserve POSIX permissions, tar is pointless anyway.

        • Stupidmanager@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Slower, yes. More compression, yes. Stupid, no. tar serves a purpose beyond persevering permissions.

  • frezik@midwest.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Zip makes different tradeoffs. Its compression is basically the same as gz, but you wouldn’t know it from the file sizes.

    Tar archives everything together, then compresses. The advantage is that there are more patterns available across all the files, so it can be compressed a lot more.

    Zip compresses individual files, then archives. The individual files aren’t going to be compressed as much because they aren’t handling patterns between files. The advantages are that an error early in the file won’t propagate to all the other files after it, and you can read a file in the middle without decompressing everything before it.

    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Nowhere in here do you cover bzip, the subject of this meme. And tar does not compress.

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.6K users / day
  • 3.33K users / week
  • 6.63K users / month
  • 19.8K users / 6 months
  • 3 local subscribers
  • 26.2K subscribers
  • 1.37K Posts
  • 46.5K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org