Civilloquy
  • Communities
  • Create Post
  • 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
93
fedilink
796

the fear of missing out a better compression

lemmy.world

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

Source - Posted with Reddy

alert-triangle
You must log in or register to comment.
  • renzev@lemmy.world
    link
    fedilink
    arrow-up
    75
    arrow-down
    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
      34
      arrow-down
      1
      ·
      1 year ago

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

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

      What weird Japanese zip files are you handling?

      • renzev@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        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.

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

          Ah, that’s pretty cool. I’m not sure I know of that program. I do know a little vocaloid though, but I only really listen to 稲葉曇(Inabakumori).

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

            I know inabakumori! Their music is so cool! When I first listened to rainy boots and lagtrain, it made me feel emotions I thought I had forgotten a long time ago… I wish my japanese was good enough to understand the lyrics without looking them up ._. I’m also a huge fan of Kikuo. His music is just something completely unique, not to mention his insane tuning. He makes Miku sing in ways I didn’t think were possible lol

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

              I get you, I want to learn more Japanese. I only understand a very small amount at this point. I don’t have any Miku songs that I have really wanted to listen to, but that could change. I might check out Kikuo then. Also I love the animations Inabakumori release with their songs too. They have some new stuff that’s really good if you haven’t checked it out yet.

    • shekau@lemmy.today
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      The same thing with zip, just use “unzip <file>” right?

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

      I’m an atools kinda person

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

        Looks cool, I’ll check it out

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

    Where .7z at

    • TaintPuncher@lemmy.ml
      link
      fedilink
      arrow-up
      25
      arrow-down
      2
      ·
      1 year ago

      .7z gang, represent

      • nexussapphire@lemm.ee
        link
        fedilink
        English
        arrow-up
        13
        ·
        1 year ago

        When I was on windows I just used 7zip for everything. Multi core decompress is so much better than Microsoft’s slow single core nonsense from the 90s.

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

        Small dick package kings/queens rise up.

    • Lucidlethargy@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      1 year ago

      Yeah, 7z is the clear winner.

      • sparkle@lemm.ee
        link
        fedilink
        Cymraeg
        arrow-up
        1
        ·
        edit-2
        1 year ago

        It’s much slower to decompress than DEFLATE ZIP though

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

    cool people use zst

    (actually decreases decompression time by 1300%)

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

      You can’t decrease something by more than 100% without going negative. I’m assuming this doesn’t actually decompress files before you tell it to.

      Does this actually decompress in 1/13th the time?

  • smeg@feddit.uk
    link
    fedilink
    English
    arrow-up
    33
    ·
    1 year ago

    .tar.gz, or .tgz if I’m in a hurry

    • lseif@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      …or shipping to MSDOS

  • Hucklebee@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    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
      17
      ·
      1 year ago

      Window adds desktop.ini randomly too

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

        Linux adds .demon_portal files all over my computer too.

        • Cethin@lemmy.zip
          link
          fedilink
          English
          arrow-up
          33
          ·
          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.

      • ulterno@lemmy.kde.social
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        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

        • Ephera@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          You’re thinking of the thumbs.db files: https://en.wikipedia.org/wiki/Windows_thumbnail_cache#Thumbs.db

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

        Huh, never noticed that. Probably always thought that was just part of the program/files needed.

    • FIST_FILLET@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      this is a complete uneducated guess from a relatively tech-illiterate guy, but could it contain mac-specific information about weird non-essential stuff like folder backgrounds and item placement on the no-grid view?

    • LiveLM@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      They’re Metadata specific for Macs.
      If you download a third party compression tool they’ll probably have an option somewhere to exclude these from the zips but the default tool doesn’t Afaik.

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

        Thanks! Hmm, never thought of looking at 7zip’s settings to see if it can autodelete/not unpack that stuff. I’ll see if I can find such a setting!

        • ReveredOxygen@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          You can definitely check, but I would expect the option to exist when the archive is created rather than when it’s extracted

    • cm0002@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      Because Apple always gotta fuck with and “innovate” perfectly working shit

      Windows’s built-in tool can make zips without fucking with shit AND the resulting zip works just fine across systems.

      Mac though…Mac produced zips always ALWAYS give me issues when trying to unzip on a non-mac (ESPECIALLY Linux)

    • best_username_ever@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      “Resource forks” IIRC, old stuff. Same for the .DS_Store file.

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

        For just $12.99 you can disable this https://apps.apple.com/us/app/blueharvest/id739483376

    • PoolloverNathan@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      MacOS has two files per file, so the extras need to be stored somewhere.

  • qjkxbmwvz@startrek.website
    link
    fedilink
    arrow-up
    27
    arrow-down
    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
      6
      ·
      1 year ago

      Something like wget avc.com | tar xvf ?

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

        Almost, I think.

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

          Didnt think this would ever work

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

            This is what we call UNIX-way

          • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            3
            ·
            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.

        • qjkxbmwvz@startrek.website
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I usually suppress output of either wget (-q) or of tar (no v flag), otherwise I think the output gets mangled and looks funny (you see both download progress and files being extracted).

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

    7z gang joined the chat…

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

    .tar.7z gang (probably not a good idea)

    • uis@lemm.ee
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      1 year ago

      .tar.xz is. Or .tar.lzip.

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

      .tar.7z.zip.bz2 gang unite

  • 9point6@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    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
      8
      ·
      1 year ago

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

      • woelkchen@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        3
        ·
        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
          7
          arrow-down
          1
          ·
          1 year ago

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

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

            Use an archiving format that does both at once then, preserving whatever tar use cases has and compressing. The two steps are stupid, no arguing against that.

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

    I’m the weird one in the room. I’ve been using 7z for the last 10-15 years and now .tar.zst, after finding out that ZStandard achieves higher compression than 7-Zip, even with 7-Zip in “best” mode, LZMA version 1, huge dictionary sizes and whatnot.

    zstd --ultra -M99000 -22 files.tar -o files.tar.zst

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

    Mf’ers act like they forgot about zstandatd

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

    Can we please just never use proprietary rar ever. We have 7z, tar.gz, and the classic zip

  • bi_tux@lemmy.world
    cake
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    .tar.gz

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

    ZSTD FTW

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

      Damn you guys borrowing consonants from polish names now?

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

        Wut?

        • renzev@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          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/
          • QuazarOmega@lemy.lol
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            This sent me down a Polish rabbit hole I’m very happy to have fell into

  • ordellrb@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    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
      3
      ·
      1 year ago

      That’s a big drive.

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.

  • 522 users / day
  • 2.18K users / week
  • 5.36K users / month
  • 15.6K users / 6 months
  • 1 local subscriber
  • 26K subscribers
  • 1.44K Posts
  • 56.3K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org