Windows 11 adds native support for RAR, 7-Zip, Tar and other archive formats thanks to open-source library::undefined

  • WuTang
    link
    fedilink
    English
    491 year ago

    Microsoft loves opensource. :P

    While still using proprietary API and proprietary specs for hardware… you know the thing that gets in the way of FOSS operating systems.

    • @mindlight@lemm.ee
      link
      fedilink
      English
      41 year ago

      Like Google and pretty much every other tech giant.

      Google are extremely keen on supporting open source when it hits their competitors but when it’s about their own business they pretty much avoids ot. They took Linux and created Android… they the practically locked it down by moving more and more essentials into Play Services… which by some of reason isn’t open source.

    • lieuwestra
      link
      fedilink
      English
      101 year ago

      Microsoft loves Azure, anything else is there to draw people in.

  • @pHr34kY@lemmy.world
    link
    fedilink
    English
    771 year ago

    I wonder how long before I can send someone a .7z file without “hurr durr I can’t open this”.

    Like, OpenDocument support exists in Office 2003 and I still encounter those who can’t open a .odt file.

    • @lmaydev@lemmy.world
      link
      fedilink
      English
      -2
      edit-2
      1 year ago

      Office support also exists for the majority of editors so why not just use what people are used to?

      Why not just send a zip?

      There’s no advantage to the receiver for either of these.

      • @pHr34kY@lemmy.world
        link
        fedilink
        English
        101 year ago

        ODF works on everything. It’s reliable and fully documented. The MS office implementation contradicts its own specification and breaks. A lot.

        The PK-Zip file format was released in the year 1989. The compression is terrible by modern standards.

      • @RoyaltyInTraining@lemmy.world
        link
        fedilink
        English
        51 year ago

        7z files can be browsed without decompressing the contents, and tar.xyz archives preserve file system attributes like ownership. They have totally different use cases.

        If I want to back up a directory on my drive, I would use tar.xz. But if I want to send some documents to other people, I would use 7z.

      • @barsoap@lemm.ee
        link
        fedilink
        English
        51 year ago

        .7z and .xz are (essentially) the same compression algorithm but it’s applied either to the whole chunk of data, or to individual files. That has its pros and cons.

        More practically though windows users don’t know what the hell tarballs are, and I’ve even seen some bonkers handling like turning a tar.gz into a tar first that you then have to unpack.

      • @Valmond@lemmy.mindoki.com
        link
        fedilink
        English
        61 year ago

        It’s like when .zip was popular I guess?

        Tar.gz is a two step thingy too (maybe under the hood 7z is too) so the extraction process always seems long?

          • @pascal@lemm.ee
            link
            fedilink
            English
            31 year ago

            Clearly you never needed that single file quickly from a 5gb and 12,000 files tgz archive.

        • @theneverfox@pawb.social
          link
          fedilink
          English
          11 year ago

          Wtf are you on… It’s literally just a way to turn a bunch of files into one. You can feed it into a makefile and make a single file installer like nothing. Apps are based on the concept. It’s a key technology for all sorts of applications

          It’s so simple it works for anything, anywhere… It’s like saying virtualization is cancer. It’s often annoying when you have to interact with it directly, but everything we love is built on it

          • @Aux@lemmy.world
            link
            fedilink
            English
            01 year ago

            Tared compressed files are bad archives. You can’t retrieve a single file without unpacking everything. You can’t add new files or replace contents of existing files without unpacking and repacking everything. They are just very outdated and have poor design. There are no reasons to use them.

            • @theneverfox@pawb.social
              link
              fedilink
              English
              11 year ago

              They’re bad for storing files, but a great way to turn a folder into a file.

              Installers don’t need to be modified or used in part

              • @Aux@lemmy.world
                link
                fedilink
                English
                01 year ago

                Why do you continue talking about installers? That’s not the reason people invented archives and compression.

                • @theneverfox@pawb.social
                  link
                  fedilink
                  English
                  21 year ago

                  Ok, you have this design, which every installer in the world uses. Some are more compressed, some are signed, some bootstrap a downloader - but at the end of the day, every downloadable installer uses the same basic concept. From Windows installers to dmg to flatpacks to app bundles - same basic idea.

                  A tarball is a bunch of files laid end to end, it’s good for one thing and one thing only - treating a bunch of files as one. It’s great at that… If you want to compress it, it’s not context aware enough to let you decrepit them individually - they’re encrypted as one file

                  It’s a bad way to store compressed archived info, I’ll grant you that, but it’s a great way to share a program or library to reproduce a bunch of files that make no sense to handle individually.

                  For another example, what about the layers of a photo editing program? What about the individual tracks in a music editing program?

                  It’s an incredibly useful pattern that is used in countless ways. It’s simple, easy to implement, and used everywhere to great effect

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        English
        81 year ago

        For me .zip on Windows is equivalent to .tar.gz on Linux - used when I just want to send a folder in a single file very quickly.

        Also handy when sending an archive to a weaker machine, that might take a while to unpack a 7z compressed at the highest setting.

        .7z is when I want to send a folder encrypted, or heavily compress something to archive (like a database, documents folder, or disk image/iso). It seemingly does the impossible, shaving the size from say 60GB down to 40GB compressed if you use solid mode (which has downsides if there are multiple files in the archive). It’s incredibly flexible, but the defaults are pretty solid for most cases

        • BombOmOm
          link
          fedilink
          English
          21 year ago

          Also handy when sending an archive to a weaker machine, that might take a while to unpack a 7z compressed at the highest setting.

          7z files pack and unpack more quickly than Zip files since the windows zip program is only single threaded.

      • @lmaydev@lemmy.world
        link
        fedilink
        English
        22
        edit-2
        1 year ago

        Why would you use any of them when zip exists?

        For an average user they offer no advantage.

            • @msage@programming.dev
              link
              fedilink
              English
              41 year ago

              It also takes forever to pack.

              I ran benchmarks for syslog compression/decompression, and ended up using plzip, which used lzma, just because it was the fastest decompression while still having only marginally worse ratio.

              But it still takes forever to pack.

        • @Patch@feddit.uk
          link
          fedilink
          English
          171 year ago

          Zip has a worse compression ratio than 7z, and that’s a disadvantage for the average user (for example, a user with an email attachment size limit that they need to stay under).

          If Windows natively supports one of the better alternatives, there’s no reason to keep using zip. It’s a 30 year old format, and it’s something that regular users will happily just go with whatever’s default.

          • BombOmOm
            link
            fedilink
            English
            51 year ago

            Not only does Zip have a worse compression ratio than 7z, but it even takes longer to make the zip due to the fact the windows zip program is single threaded.

  • @SendMePhotos@lemmy.world
    link
    fedilink
    English
    21 year ago

    They updated the computers at work to W11 and they really fucked up the basic notepad app. It has tabs now and reopens my last draft instead of a new blank window.

    • @dgsfsfda@lemmy.world
      link
      fedilink
      English
      61 year ago

      I feel like this will only make life easier for everyone. I hate Windows as much as the next guy but this will help open archive formats be more accessible.

      • @unexpectedteapot@lemmy.ml
        link
        fedilink
        English
        11 year ago

        I understand the sentiment, but I do not come to the same conclusion that of increasing accessibility via offering more features in unfree proprietary software. The intended consequences of this were publicised by US Justice Department in their uncovering of Microsoft’s memo labelled Embrace, Extend, and Extinguish which outlines how this eventually leads to less, not more, accessibility.

        That aside, Microsoft Windows already supported ZIP which is an open standard. The addition of RAR, which is a proprietary unfree standard, is actually less open.

  • Resol van Lemmy
    link
    fedilink
    English
    621 year ago

    Microsoft annonces an actually useful feature for Windows once in a blue moon basically. This is one of them.

    But I still hate Windows.

  • @MrFlamey@lemmy.world
    link
    fedilink
    English
    351 year ago

    This is great, but I honestly hate the way that windows treats zips like they are just folders on your computer when they are fundamentally different, and I want to do different things with them. Sure, it’s nice to be able to browse the files inside, but I can do that with 7zip.

    • @lmaydev@lemmy.world
      link
      fedilink
      English
      451 year ago

      The whole point is most people don’t want a third party app.

      I also think for most users treating them as a normal folder makes complete sense.

      Chances are you aren’t the target audience of the default configuration of windows. It’s aimed at people who have trouble checking their email.

      • prole
        link
        fedilink
        English
        -91 year ago

        Maybe they’re like that because they’ve been trained that way by shit software

          • Natanael
            link
            fedilink
            English
            4
            edit-2
            1 year ago

            What distro do you use which thinks an archive file needs executable permissions?

            Alternatively, what distro / file explorer can’t recognize the MIME types for archives (which has nothing to do with permissions but it’s the only relevant error that makes sense)?

          • @Knusper@feddit.de
            link
            fedilink
            English
            41 year ago

            What are you even talking about? Archives have been so much easier to use on Linux for many years, because that headline was built-in.

      • TheMurphy
        link
        fedilink
        English
        141 year ago

        It’s aimed at people who have trouble checking their email.

        Opening ZIP natively in folder app really is just user friendly practices. Ofc it’s easier to able to browse its content that way.

        You shouldn’t need 3rd party software for things that simple.

        • @Specal@lemmy.world
          link
          fedilink
          English
          31 year ago

          The problem being average people don’t tend to understand what a zip file is, I regularly have to explain that you can’t run an executable from a zip

          • KᑌᔕᕼIᗩ
            link
            fedilink
            English
            61 year ago

            You can though, Windows just prompts you to extract it if needed and it’s all fairly user friendly.

    • @XTornado@lemmy.ml
      link
      fedilink
      English
      2
      edit-2
      1 year ago

      It’s nice when you can use the file browser of an app and I can open a file from a zip directly but I see your point.

      • @MrFlamey@lemmy.world
        link
        fedilink
        English
        11 year ago

        Yeah, it’s probably best for most users, but I just personally prefer to treat them separately so I know what I’m dealing with.

  • @ShittyBeatlesFCPres@lemmy.world
    link
    fedilink
    English
    31 year ago

    On macOS, the default double click behavior just unzips the archive into a folder of the same name with no additional interface. I always thought that was a nicer implementation than opening the archive to browse the files how Linux distros usually do (and maybe Windows; I’m not a frequent Windows user). It’s probably what 90% of people want 90% of the time. Why not just make that the default and put the other use cases behind the right click menu?

    • @Gestrid@lemmy.ca
      link
      fedilink
      English
      41 year ago

      Windows does basically what you think it does.

      And I’d rather it not unzip the contents of a file that I haven’t looked at yet. I also sometimes only need one or two files from the zip folder and don’t want to unzip the entire thing.

      • Cethin
        link
        fedilink
        English
        51 year ago

        I don’t think it’s in any way unsafe, unless something is very wrong with the in-archiving software, in which case viewing it would likely have the same vulnerability. Files existing I don’t think can cause any harm, again without some severe vulnerability somewhere along the chain. Running them is the issue.

          • Cethin
            link
            fedilink
            English
            01 year ago

            I don’t think zip bombs have been an issue for a long time now. That was an issue with archiving software that has been solved I think, unless you use bad software.

    • prole
      link
      fedilink
      English
      32
      edit-2
      1 year ago

      Who unzips archives before you even know what’s in it? That’s madness.

      You can do that in Windows and Linux (kde at least), it’s just part of the right-click context menu, which makes far more sense to me.

      Edit: I just remembered that a Mac mouse only has one button lol

      • @barsoap@lemm.ee
        link
        fedilink
        English
        61 year ago

        Most importantly on KDE you have “extract archive here, autodetect subfolder”. Having Ark be a different program than Dolphin is also the right choice as archives aren’t directories.

        Also if you ever fucking make a tarball that doesn’t have a top-level directory and exactly one directory at the top level everyone officially hates you.

        (And yes for some unfathomable reason kde calls directories folders)

          • @barsoap@lemm.ee
            link
            fedilink
            English
            21 year ago

            I’m not angry I’m older than Windows 95 which started that whole new-fangled “folder” thing for no reason whatsoever. And it’s slowly infecting Unix, too.

            …and at the same time they’re still using dir to list… a folder?

          • Dave.
            link
            fedilink
            English
            1
            edit-2
            1 year ago

            A folder stores files and you look up the location of files within that folder with the help of a directory. It was a direct translation of physical concepts, such as the directory in the lobby of a building that tells you which floor and office a business is located.

            Just because Windows mushed those definitions together doesn’t mean that they’re the same.

  • Björn Tantau
    link
    fedilink
    English
    361 year ago

    Guess now pirates have to standardise on a new proprietary format.

    • Kayn
      link
      fedilink
      English
      91 year ago

      You have a point, but you’re being insufferable about it.

      • Phoenixz
        link
        fedilink
        English
        11 year ago

        I know that I might be a bit insufferable on this point, but I feel it bears repeating over and over. Somebody has got to do it, Microsoft fucked over this world and people still believe that Linux is decades behind windows whilst in reality it’s leaps and bounds ahead. Yet people keep paying for windows shit.

        People need to hear this shit, like it or not

        • Kayn
          link
          fedilink
          English
          01 year ago

          Alright then, keep repeating it the way you do and see how people react to you, and how it reflects on the Linux community as a whole.

          Perhaps you will gain the self-awareness necessary to actually understand why people are calling you insufferable.

          • Phoenixz
            link
            fedilink
            English
            11 year ago

            You call me insufferable, you are not people and I’m at the point where I don’t give a shit what a Microsoft apologist thinks. I had to reinstall operating systems this weekend, Linux for me, windows for my son. Linux was a breezy 30 minutes, including downloading the iso, writing the USB, and installing it with an encrypted drive.

            Windows was a breezy 7 hours of cursing, slamming my keyboard, loads of internet searches because 1) windows is an incompetent system and 2) Microsoft loves to sabotage their users. I wish I was kidding.

            This is not a one off, this is typical for a windows installation, I’ve been having to do this for decades, it’s always shit.

            It’s a retarded system and people have been scammed into buying shit and they love it because they don’t even know how bad it is.

            I would not really care much directly, to each their own. If you love to pay tripple for bad quality (hardware and software) Shiny toys then go ahead, buy Apple! If you love to roll around in shit then buy windows! The problem though is that inevitably, all windows users come to me with their windows crap show because inevitably it will break over stupid shit, not tell the user (or me) what’s actually wrong, it’s always some weirdo UUID or base64 registry string that nobody can know that needs to be changed. Fuuuuuuck that shit. I’m so tired of always having to deal with windows shit.

            If windows shots on me, I will shit on windows every chance I get.

            So yeah, install linux!

  • Space Sloth
    link
    fedilink
    English
    1001 year ago

    Still gonna use 7zip, the default Windows packing/unpacking interface is atrocious.

    • @vithigar@lemmy.ca
      link
      fedilink
      English
      76
      edit-2
      1 year ago

      Honestly though if they just added “extract to {archivename}\” as a right click option it would cover more than 90% of my usage.

        • @vithigar@lemmy.ca
          link
          fedilink
          English
          21 year ago

          I only see the “Extract All…” option which has been there for years and isn’t what I want. If it just proceeded with the extraction and didn’t pop up a window asking where to put it then we’d be in business, but as currently implemented it’s an additional interaction to do the same thing.

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        English
        111 year ago

        Literally the reason why 7 zip is the first thing I install on a windows machine.

        All the linux file managers I use have that context menu built in, so nothing else to install 😅 except that I also sometimes use 7zip file manager via WINE because I like a GUI

    • @pascal@lemm.ee
      link
      fedilink
      English
      21 year ago

      Which is an incredible effort, very few software have an interface more atrocious than 7zip.

      The UI is the main reason I actually paid for a WinRAR license.

      • Space Sloth
        link
        fedilink
        English
        21 year ago

        I don’t use the interface, that’s the thing. I just use the contextual menu - which is more than enough to operate it easily. If the windows version of it had the same, then I wouldn’t mind at all.

    • @Honytawk@lemmy.zip
      link
      fedilink
      English
      -51 year ago

      They host the biggest open source platform in the world for free. So they do plenty for the open source community.

      • @havokdj@lemmy.world
        link
        fedilink
        English
        121 year ago

        Github? You mean the one that used a legally questionable AI that borrows code from projects with licenses that don’t allow you to do so under certain circumstances?