this post was submitted on 01 Nov 2023
1 points (100.0% liked)

Technology

59569 readers
3431 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

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

top 29 comments
sorted by: hot top controversial new old
[–] pHr34kY@lemmy.world 0 points 1 year ago (1 children)

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.

[–] pastermil@sh.itjust.works 0 points 1 year ago (1 children)

Serious question: why would one use .7z when .tar.gz and .tar.xz exist?

[–] Aux@lemmy.world -1 points 1 year ago (1 children)

Tared files are cancer and should never be used for any reason.

[–] theneverfox@pawb.social 0 points 1 year ago (1 children)

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 -1 points 1 year ago (1 children)

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 0 points 1 year ago (1 children)

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 -1 points 1 year ago (1 children)

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

[–] theneverfox@pawb.social 0 points 1 year ago (1 children)

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

[–] Aux@lemmy.world -1 points 1 year ago (1 children)

Again, not the reason for archives.

[–] theneverfox@pawb.social 0 points 1 year ago (1 children)

... Do you think archives are just when you store old files on magnetic tape?

[–] Aux@lemmy.world -1 points 1 year ago

For fucks sake... That's what YOU think! And that's the problem! TAR is a shit archive format. Deal with it.

[–] gnuplusmatt@reddthat.com 0 points 1 year ago (2 children)

If they're incorporating open libraries, Hopefully support for real filesystems will be next

[–] stoy@lemmy.zip 0 points 1 year ago (1 children)

Humm, I doubt it as NTFS has ACLs built in to FS directly, so far I don't know if Linux FS has that feature, I know that ACLs exists in the Linux file world, but I don't know if they are built in durectly in the FS.

[–] barsoap@lemm.ee 0 points 1 year ago (1 children)

Pretty much all Linux FS support ACLs and have for an eternity.

The thing is that nobody uses ACLs because the good ole user/group/world rwx scheme is much less of a hassle to work with in 99.9% of the cases and the remaining 0.01% can still be done.

[–] Aux@lemmy.world -1 points 1 year ago

User/group/world scheme is useless in most cases.

[–] Aux@lemmy.world -1 points 1 year ago (1 children)

Other file systems are supported since Win10.

[–] gnuplusmatt@reddthat.com 0 points 1 year ago (1 children)

tell that to my btrfs formated USB sticks or when I try to access an ext4 partition from a windows machine

[–] Aux@lemmy.world -1 points 1 year ago (1 children)
[–] gnuplusmatt@reddthat.com 0 points 1 year ago (1 children)

not really scalable when you want to just stick the usb stick in a family member's PC. They dont want you fucking around with WSL, or they probably run home edition which has no hyper-v for WSL

[–] Aux@lemmy.world -1 points 1 year ago (1 children)

Then use NTFS or FAT, problem solved!

[–] gnuplusmatt@reddthat.com 0 points 1 year ago (1 children)

Yes reformat my already working keys for the one time I have to plug into a Windows box, or you know Microsoft could put the effort into being compatible.

[–] Aux@lemmy.world -1 points 1 year ago (1 children)

They did. But you always have something to complain about. Grow up.

[–] gnuplusmatt@reddthat.com 0 points 1 year ago (1 children)

of course! You're right! Suggesting in a thread discussing a large corporation that wants to be seen as pro open source (hearting Linux, buying github) for the last decade does something with open source code in their OS and being bold enough to do even more in the name of native compatibility is childish!

[–] Aux@lemmy.world -1 points 1 year ago
[–] Resol@lemmy.world 0 points 1 year ago (1 children)

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

But I still hate Windows.

[–] UnderpantsWeevil@lemmy.world -1 points 1 year ago

It only took them 20 years to incorporate a handful of mainstream file formats as core features. Give them a medal.

[–] speaker_hat@lemmy.one -1 points 1 year ago (1 children)

For history fans:

LZ77 and LZ78 are the two lossless data compression algorithms published in papers by [two Israelis named] Abraham Lempel and Jacob Ziv in 1977 and 1978... Besides their academic influence, these algorithms formed the basis of several ubiquitous compression schemes, including GIF and the DEFLATE algorithm used in PNG and ZIP.

Source: https://en.m.wikipedia.org/wiki/LZ77_and_LZ78

[–] pascal@lemm.ee 0 points 1 year ago (1 children)

The last two Israeli that did something useful for the society.

[–] speaker_hat@lemmy.one -1 points 1 year ago* (last edited 1 year ago)