Do you ever feel like you have to apologize for .7z archives?

https://lemm.ee/post/3563067

Do you ever feel like you have to apologize for .7z archives? - lemm.ee

Like when you send a .7z instead of a .zip or .rar to a friend or a teacher because that’s what your computer has installed and they’re like “Oh No, not one of those, now I have to install 7Zip” even though the same program that opens .rar also opens .7z I feel like people are way more annoyed when they receive a .7z

Large ones can be a pain and I’ve generally converted those to other formats even it’s at some cost in disk space.
no, I’m civilized. I use .tar.zstd
whats so good about those

you can pipe a shell command directly into the archive. they’re also a standard archive format understood by most computers on earth.

or maybe this was a joke reply.

A few features of how tar archives work:

  • Compression is completely independent of the file bundling process, so it’s easy to recompress or convert without potential loss of information.
  • Compression works on the whole archive, so it can achieve better compression ratios if you’re compressing a bunch of text files as it just sees it as one big file
  • tar archives are streamable: you can decompress and extract the files live as they’re being downloaded, or uploaded.
  • tar archives can preserve permissions and user/group association, although that’s only really relevant on Linux/macOS/*BSD.
  • You can copy them easily to tape drives
  • It’s all open standards that are widely supported by most software, so unlike a rar or 7z, you’re pretty sure people will be able to extract those no matter what OS they use.

Fun examples of how this can all come together:

  • Download a file from the Internet with curl, pipe it into the decompressor on my computer and then pipe to a Raspberry Pi over SSH and then pipe it into tar to extract it directly on it without ever needing an intermediate step as the target device have barely enough space on it to fit all the files.
  • Clone a computer: tar up the whole drive, pipe that over the network to a better computer which compresses it, then pipes it to both a hard drive for archival and then split it to send it to multiple computers who will decompress and extract it to their own hard drive, and voilà you have 5 clones of the computer and a backup copy of what you just did with zero intermediate steps slowing the process down.

In practice, you double click your .tar.gz and it opens in your preferred archiver and it’s no different than a zip file.

Awesome thanks for the all this info!
Use .arc for old time’s sake.
Hmmm I’m more of a File.zip.tar.gz.epub.7z.xs guy
Wait, people still use RAR?
I got a rare file for work a few weeks ago and had the same thought. ‘RAR is still a thing!?!?’

They’ve certainly become a lot more…

Nope, not gonna do it.

Come on man, you think of how many Dads you’d make proud.

Just edit the comment

You know you want to

embrace the daditude, OP

for work

That doesn't count, businesses will continue to use whatever they have instead of upgrading if it's still fit for purpose.

see also COBOL

see also COBOL

“Battle not with monsters, lest ye become a monster, and if you gaze into the abyssCOBOL, the abyssCOBOL gazes also into you.”

I mean, I paid for winrar sooo....
Oh that was you?
No you didn’t Mr Simpson, no one did.
RAR5 is a nice format with a very good compressor. More efficient than 7z. However I believe 7z with lzma2 can be tuned for a better compression ratio when throwing a lot of RAM and CPU on the problem. But for day to day usage, I prefer the speed of RAR.

Can’t comment on that because I don’t send archives very often, but here’s my aliases (aliae?) in my .bashrc to make extracting easier:

alias 7x=‘7z x’ alias untar=‘tar -xvf’ alias untargz=‘tar -xvzf’ alias untarxz=‘tar -xf’ alias ux=‘unrar x’

and for zip files it’s just unzip

alias untar=‘tar -xvf’

alias untargz=‘tar -xvzf’

alias untarxz=‘tar -xf’

Modern tar handles all of those with tar xf

Wouldn’t ‘7z x’ handle all of the above as well?
Sort of. 7z x on a .tar.gz (or .tar.xz) gives you a .tar. If you don’t mind running 7z x again on that tar, it works
tar can auto detect file type from the extension, so you could get away with one alias for everything.
Check out atool which is basically a program for dispatching to such aliases (aliases that it already provides on its own).
Dam, I gotta check this out!
I have an extract alias that just checks the extension and uses the right command. Upside is I didn’t have to remember tar’s flags in years. Downside is when I don’t have my alias (e.g. remote machine) I’m stuck googling lol

Who uses RARs who doesn’t use 7z though?

I think using anything other than deflate zip for things like sending to teachers or whatever isn’t very wise, and if you’re not then you won’t need to apologise anyway

Pirates. Almost always pirated software that comes in rars. Probably due to how it can be split up.
that, and for recovery records--which can be useful when downloading files from that thing you don't talk about.
Wink wink on that.
But it’s rar and nor arr

No?

I just used 7Zip to compress to a .zip file when sending to anyone who I supect won’t have a something that can open the default compressed file.

Now I’m on linux, I don’t even know what application is doing the compressing, I just right click stuff in dolphin to compress/uncompress things using whatever format is suitable.

and people still think linux is hard

It can be. But pick a stable distro as long as you get past installation, you’ll be set.

I put Vanilla OS on my suster laptop, showed her the “app-store” (flatpak) and she’s been happily minecrafting ever since.

Yeah my mom’s 80 and her laptop runs Ubuntu. For the day to day stuff it’s dead simple, I haven’t had to do “tech support” for her in years

To be fair, someone with a more basic grasp of computers probably has fewer use cases that Linux will give you trouble with. I installed PuppyLinux on some ancient machine for someone I was renting from in like '08 and it was fine for her, but that’s because all she ever did was look at YouTube and check her email. It didn’t have any of the features of modern Ubuntu and the UI was clunky; if memory serves it didn’t even have DHCP.

But if you tried to do anything more complex, you’d better be ready to learn a thing or two.

Today it’s still pretty similar. Ubuntu and GNU at large have come a long way in the past couple of decades, but you still start running into issues when you get to more niche use cases.

I’d probably be running Ubuntu as my daily if Solaar worked properly with my MX Ergo, but it doesn’t, so I can’t. I guess I could go learn how to make contributions to patch that myself, and I may at some point, but at the moment I have stuff to get done and dealing with an unexpected hiccup in my workflow too often brings everything to a grinding halt.

Yeah that’s a good point, the simple stuff will surprisingly enough tend to be simple
What does it mean to not have DHCP? Does that mean you need to either pray the router is ok with you squatting on an IP, or you need to explicitly tell the router an IP will be reserved?

Normally it means that people have to set their network IP when they connect their device since they are not automatically assigned one. If the IP is taken, the router will tell you.

The upside is that you don’t have changing IPs in your network. I use my phone to control Kodi on my RPi and if I didn’t force a static IP on it, I would have to search for the Kodi host probably every time I restart the RPi.

Many routers do support IP reservation while still having DHCP enabled tho.

You had to manually configure your IP on the PC’s end. In practice it just meant you had to hit a button to connect to your network when you boot up. Considering that like a decade earlier we were all on dialup it didn’t feel that weird at the time.

I was also getting my internet via cantenna back then, so DHCP was the least of my worries!

I did this, picked a stable distro (Ubuntu) and had endless problems. Each time I was told that I just picked the wrong distro (and they recommended a different one each time), or that I shouldn’t want to do what I wanted to do, or that it’s my fault for not having compatible hardware, or that if I want something I should just code it myself. Switched back to Windows eventually. Linux is great for server but I wouldn’t touch it again on desktop.
Majority of my problems have by solved by not having Nvidia graphics. Personally Linux has been great at extending the life of old computers for me. Linux mint runs a million times faster than windows 10 on my old machines. But it also helps I am fairly tech literate so problems that come up don’t register as a bif of a deal to me compared to others.
Yeah, I was using nvidia graphics so a lot of my issues were definitely caused by that.

When was this? When I finally went full time a year ago, compatibility and ease of use hasd improveed greatly since the previous time I tried to leave Windows. And it sounds like the people giving you advice were gate-keeping assholes.

Any distro can install and run any software, choosing one is really just a matter of getting something that is already as close to the config you want as possible.

Not to discount your experience, but you’re only one data-point. The vast majority, in my experience, encounter few, if any, issues. And the ones they do can be solved by someone who knows even just the basics of linux. I’ve made the jump on several systems, for myself and other users.

A lot of windows know-how is useless, and linux newbies who are used to windows may look for solutions in the wrong places, and hence don’t find any. That doesn’t mean they don’t exist, or are more complex than on windows. I did this myself, bashing my head on problems with a simple solution, simply because I didn’t know that solution. Windows would seem pretty “complex” too if you didn’t know the control panel exists, or what its for.

For windows, the know-how for solving problems is simply more accessible. If you know someone who can help with linux, and don’t want to learn, then yeah, by all means, stick to windows.

But linux can absolutely be a good experience on desktop. And who knows, any given person can give it a try, and chances are, their system wont run into any issues at all!

This was earlier this year. Last time I tried it before that was in 2013 and I had heard that Linux had advanced a lot since then so was hopeful for giving it a try. I think you’re right to a degree that I don’t have as many issues with Windows because I know how to fix most issues there. However, one of the first issues I ran into on Linux was trying to increase the scroll speed on my mouse and searching showed me the only solution was a 3rd party program that listens for scroll events and just doubles them up which was far from ideal.

Damn, when was this? I can’t remember the last time I installed Linux on a machine and had this experience.

I understand the frustration. Except the point about hardware. I mean, yeah, of course you need to pick hardware that’s compatible with the OS you want to run. Can we blame HP for not being compatible with macOS, or an iPhone for not running Android? Hardware needs drivers, so if your hardware isn’t compatible, that’s just… reality. 99% of the time I hear this complaint it’s either a wifi card or an Nvidia GPU lol

Earlier this year. I was using a thinkpad x1 carbon laptop, supposedly a good laptop for that but still had problems. I was using an nvidia gpu, granted and one of my issue was related to WiFi
That’s because the kinda people who push Linux irl still tend to be the arch/Gentoo/random niche distro kinda people.
That’s why I don’t even recommend it to people anymore. Over the years I’ve lost track of all the distros and I wouldn’t even know what to tell someone to install.

Honestly, I’m not a Linux person. I’ve been thinking about it, however I’m being held back by the fact that I think some of the software I use probably wouldn’t work in Linux, even with wine or proton. I know, I know, I can dual-boot Linux with windows, however really I don’t really want to fuck around with having to reboot everytime I want to use Substance Painter (rip Substance for Linux, if it weren’t for that I’d be dipping my toes in again) or some niche game modding tool that doesn’t play well with emulation layers. Also I have an Nvidia card because there’s a ton of support for Cuda (but not a lot of support for amd compatible GPU compute apis), and I’ve heard those don’t usually play well with Linux.

If I had to choose a distro to recommend for a non-techy person though, it’d probably be something like Mint or Ubuntu, and I’d make sure wine and/or proton is installed. Additionally, I’m not sure if wine or proton have the ability to setup a config database (it’s been a long time since I tried to use Linux), but I’d also setup something like that with all the most commonly used configs so that whenever a new program is launched in wine/proton, it searches the DB and then uses whatever config is set to be “the best”.

My reasons are almost the exact same as yours. CUDA, software compatibility, and not wanting to mess with dual boot in case I mess up. I ended up trying linux mint on an external drive and it works pretty well, but I don’t think I see myself using this full time beyond software development.