There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

JackbyDev , to memes in Parasitic

Those ticket scalpers and land lords are providing an economic service to you by taking the risk that they miss the show or have to pay their own mortgage! It’s a very useful service for you!

gravitas_deficiency , to linux in Linux can be used at your workplaces

Downvoting because of point #4. That’s a catastrophically naive mindset, and a sure recipe to get your shit pwned if you’re running an IT org and you think that’s an accurate statement.

cactusupyourbutt ,

yup. found a virus at work because our on premise confluence wasnt patched in time. fun times

businessfish ,
@businessfish@lemmy.blahaj.zone avatar

it’s important to mention wherever that incorrect point is brought up:

the only reason people say there are no viruses on linux (which is wrong from the get go) is because there just isn’t enough market share for lots of malware to be written and distributed with a linux target in mind. it is out there and it is a risk, just much rarer than windows malware. if more people start using linux, user-targeted linux malware in the wild will likely become just as common (and effective) as the stuff targeting windows.

never assume your system is safe by default and requires no hardening or awareness from the user/org.

gravitas_deficiency ,

The only truly secure computer is one that’s air-gapped, disassembled, the components put in a faraday cage, which is then lowered into a hole and filled with concrete. And even that’s not necessarily a sure thing, in the context of possible future technology.

Murdoc ,

That sounds a lot like a quote from the Cyberpunk 2020 rpg.

terminhell ,

The only safe computer is one that doesn’t exist.

blkpws OP ,

Linux is very targeted by hackes, Linux is the OS (most used by servers/infrastructures) that keeps most personal data while Windows is just to hack users that miss click or gets hack by Windows vulnerabilities. Hackers do targets to Linux systems as all servers and infrastructures runs Linux. They do target, but it’s just different intention or methods.

businessfish ,
@businessfish@lemmy.blahaj.zone avatar

while you are correct that linux systems are targeted by bad actors all the time, the distinction that i am making here is that a vast majority of the time malware is targeted towards organizations and their linux servers, which could be both unapplicable and unseen to a home linux user. not much of that hacker effort is going into distributing malware that would find and infect a personal linux user like myself through, for example, a compromised public web page. instead, most of that user-targeted malware is made to infect windows users simply because they outnumber linux users by a large amount.

i guess what i mean to say is that there is plenty of malware for every type of popular system as well as people and organizations to exploit it, but due to the effects of having a small user market share, home linux users can develop this misinformed notion that traditional malware you might get from a web download or malicious email does not exist for linux.

Asymptote ,

My server with 2.4 kernel would like a word with point 4?

gravitas_deficiency ,

The issue is that OP made a sweeping blanket statement of “there is no Linux malware” which is demonstrably false, and a deeply unsafe narrative to push.

Asymptote ,

Exactly my point :-)

ShustOne ,

Very true. Also the degradation due to installed programs hasn’t been a thing for some time. Even if something does happen you can refresh without losing any data very easily these days.

brygphilomena , to linux in Linux can be used at your workplaces

At best, it means sysadmin have to support both Linux and windows. You’re going to double everyone’s tools.

This reads like an engineer who is way too invested in using their toolset and thinks everyone else is stupid for not using the same. Like someone who has never worked in management or had to make business decisions. They are looking at it only through a tech viewpoint.

Not only would you need to have an IT team that knew how to manage and support it (which costs money and time) but you then have to train your entire work force which costs insane amounts of time. You would have to do IT training for every new hire for them to even use their computer. That sort of time and training (which takes two employees, the trainer and trainee) costs a lot of money, far more than any OS licensing or end user software costs. Plus the decreased work output while the user to get used to the toolset.

In a software development company, sure, Linux might be a valid option. But it’s not ready for most companies main workforce. And it’s not a technological issue. It’s a human resources issue.

ShittyRedditWasBetter ,

It’s also a tech issue. Linux Desktop is a mess and breaks constantly as soon as you start to tweak it. And every damn plug in is maintained by a few different people with no commitment of backwards compatibility. It’s a disaster and incredibly time intensive to troubleshoot every broken desktop on patches.

Linux is great for running technology services. Linux DE is and has been a disaster for 20 years now.

x3i ,

Wtf is “Linux desktop”? There are more than a dozen different mainstream desktop environments and window managers that have different degrees of maturity, stability and complexity so this blank statement is very hard to support. Not even talking about the servers/prtocols behind it. I can certainly not confirm that experience on Sway, Gnome and Hyprland and with how young the latter is, I would actually expect it to break.

So no, from a technical perspective, Linux is absolutely ready as long as you stick to stable distros and configurations.

Edit: wording

ShittyRedditWasBetter ,

Lolol gnome, stable, 🤣🤣🤣

And I guess kdes swap to Wayland has been an easy joy for most people. I definitely don’t see bitching every other week about electron apps breaking.

Craftkorb ,

KDE is still working great on X11, which is the standard for most users anyway.

ShittyRedditWasBetter ,

👌👍 whatever you say.

TheAnonymouseJoker ,
@TheAnonymouseJoker@lemmy.ml avatar

GNOME is the king of stability and professionalism, like it or not. KDE is like the GNU car meme, except GNOME is also open source, so KDE has no bragging rights. On top of it, GNOME is the Windows of extension ecosystem, putting cherry on top of the truffle cake.

Bartsbigbugbag ,

You know Reddit is still around, if you like it better, you can go back. No one here would fault you.

ShittyRedditWasBetter ,

Nah

Bartsbigbugbag ,

So you’re purposefully using something you dislike even more than something you call shitty? Really healthy habits there, no wonder you’re a miserable to be around.

ShittyRedditWasBetter ,

I’m actually hoping this place is successful. I don’t think it will be but I’m here for now. You really are inventing an imaginative story from a user name.

rbos ,
@rbos@lemmy.ca avatar

Many places support MacOS as well, so it would only be a third additional toolset. Plus, there’s a ton of overlap between toolchains, which reduces the overhead further. If you’re supporting enterprise MacOS, you’re probably using Foreman, JAMF, or Puppet with Active Directory.

Not to mention, a lot of places already have Linux servers, so the configuration management toolchains and expertise may already exist in a given organization, unless they’re absolutely pathologically mired in the Windows ecosystem. Which, granted, is a lot of places, but you’re making it sound far harder than it would be in a real world situation.

space , to programmerhumor in New File Format

Also renamed xml, renamed json and renamed sqlite.

TrustingZebra ,

Those sound fancy, I just use renamed txt files.

neo ,
@neo@lemmy.comfysnug.space avatar

.ini is that you?

hemko ,

It’s everything

neo ,
@neo@lemmy.comfysnug.space avatar

surprised pikachu face

Natanael ,

yaml

TheAnonymouseJoker ,
@TheAnonymouseJoker@lemmy.ml avatar

No, I am .nfo

xtremeownage ,

Amateurs.

I have evolved from using file extensions, and instead, don’t use any extension!

H4mi ,

I don’t even use a file system on my storage drives. I just write the file contents raw and try to memorize where.

ArmoredThirteen ,

Sounds tedious, I’ve just been keeping everything in memory so I don’t have to worry about where it is.

257m ,

Sounds inefficient. You can only store 8 gigs and goes away when you shut off your computer? I just put it on punch cards and feed it into my machine.

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

So archaic. Real men just flap a butterfly’s wings so that they deflect in cosmic rays in such a way that they flip the desired bits in RAM.

257m ,

As yes good old M-x-Butterfly.

MonkderZweite ,

I use mime. Because magic bit.

dan ,
@dan@upvote.au avatar

Linux mostly doesn’t use file extensions… It relies on “magic bytes” in the file.

Same with the web in general - it relies purely on MIME type (e.g. text/html for HTML files) and doesn’t care about extensions at all.

fibojoly ,

“Magic bytes”? We just called them headers, back in my day (even if sometimes they are at the end of the file)

dan ,
@dan@upvote.au avatar

The library that handles it is literally called “libmagic”. I’d guess the phrase “magic bytes” comes from the programming concept of a magic number?

fibojoly ,

I did not know about that one! It makes sense though, because a lot of headers would start with, well yeah, “magic numbers”. Makes sense.

fibojoly ,

You can just go in Folder View and uncheck “hide known file extensions” to fix that! ;)

0x2d ,

Use binwalk on those

ScrewdriverFactoryFactoryProvider ,
@ScrewdriverFactoryFactoryProvider@hexbear.net avatar

Most of Adobe’s formats are just gzipped XML

Ineocla ,

Microsoft office also is xml

dan , (edited )
@dan@upvote.au avatar

SQLite explicitly encourages using it as an on-disk binary format. The format is well-documented and well-supported, backwards compatible (there’s been no major version changes since 2004), and the developers have promised to support it at least until the year 2050. It has quick seek times if your data is properly indexed, the SQLite library is distributed as a single C file that you can embed directly into your app, and it’s probably the most tested library in the world, with something like 500x more test code than library code.

Unless you’re a developer that really understands the intricacies of designing a binary data storage format, it’s usually far better to just use SQLite.

serpentofnumbers , to memes in nEvEr fOrGeT

I prefer buildings that weren’t demolished by airplanes

NocturnalMorning , to memes in nEvEr fOrGeT

I don’t subscribe to the whole never forget thing. But this is still in poor taste. 3000+ people did die that day.

AdlachGyfiawn ,
@AdlachGyfiawn@lemmygrad.ml avatar

You’re getting the point

NocturnalMorning ,

So why waste time posting it at all?

AdlachGyfiawn ,
@AdlachGyfiawn@lemmygrad.ml avatar

The point is that All Lives Matter is also in ‘poor taste’. About 250 Black people are shot by police every year, so there’s been well over 5,000 Black people killed since 9/11—yet the same people who give that tired old ‘all lives matter’ line are also the ones who say ‘never forget’.

NocturnalMorning ,

Yeah, I got that. Still doesn’t need a meme. You’re not changing anybodys mind about being racist by posting this.

AdlachGyfiawn ,
@AdlachGyfiawn@lemmygrad.ml avatar

Nothing needs a meme, lmao

Grayox OP ,
@Grayox@lemmy.ml avatar

WRONG! memes pointing out the hypocrisies of Capitalism got me to leave the Libertarian Party. Bahaha memes are quite literally the new pamphlets, the fact that Capitalist are trying to seize the outlets they are shared through quite literally tells us that they change people’s minds.

NocturnalMorning ,

Yeah pretty sure the memes isn’t why billionaires are going out of their way to shut down certain social media platforms. It’s an easy way to connect and start a movement. The fact that you think it’s because of memes is hilarious.

Grayox OP ,
@Grayox@lemmy.ml avatar

Gee I wonder how folks use social media as an easy way to connect and share ideas… if only there was a medium from which they could easily share concepts and ideas… alas all hope is lost cause we have no way to effectively share ideas in an easy to consume humorous format… 🤓

NocturnalMorning ,

Be condescending all you want. You’re still wrong.

Grayox OP ,
@Grayox@lemmy.ml avatar

Am I though? Lol cope harder 🤡

Sheeple ,
@Sheeple@lemmy.world avatar

He’s right tho

Grayox OP ,
@Grayox@lemmy.ml avatar

Its called drawing parallels. The meme is saying that people who said ‘All Lives Matter’ as a response to ‘Black Lives Matter’ would be like saying ‘All Buildings Matter’ on September 12th 2001.

neptune ,

The shock value is the point. It’s supposed to juxtapose how the people feel about 9/11 VS deaths at the hands of police. The point of the meme is NOT that those 3000+ lost are not valuable, rather that is insensitive, not the point, and not useful.

MNByChoice ,

Thank you for sharing that interpretation. That view had not occurred to me.

gibmiser ,

One of the rare instances where a meme really is like a piece of art

LastoftheDinosaurs , to memes in nEvEr fOrGeT
@LastoftheDinosaurs@lemmy.world avatar

deleted_by_author

  • Loading...
  • Grayox OP ,
    @Grayox@lemmy.ml avatar

    Gotta reinforce societal PTSD about terror attacks to keep the Military-Industrial Complex going…

    UlyssesT , to memes in nEvEr fOrGeT
    dylanmorgan , to memes in Parasitic

    Except I don’t have to go to a concert. If I don’t have shelter I’m pretty fucked.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Yup! Both are leeches on society, but one is sucking from the jugular and the other is sucking from an extremity. That being said they are both sucking the same blood.

    Tb0n3 ,

    Then why don’t you buy your own fucking house if it’s so easy.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Umm cause I lack generational wealth? I’m in my 30’s and almost every person I know that owns a home has done so with the help of their daddy or mommy’s money. 🥱

    LegionEris ,

    See, this is what gives scalpers the moral edge over landlords to me. Scalpers are largely working class people using money they earned to do something arguably unethical. Is it kinda lame? Are they losers? Yeah, and again it’s arguably unethical. But are they complicit enforcers of generational wealth and power divides? Are they, as a group, one of the primary forces siphoning wealth and power from the poor and working class to those who already have wealth and power? Nah. They’re just uncreative opportunists. Scalpers create a gulf of immorality between you and recreation to their own benefit, not between you and necessity to the detriment of society at large. So yeah, scalpers>landlords in my estimation.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Was just drawing parallels, i wholeheartedly agree with your sentiment that scalpers arent anywhere near as bad as landlords in the grand scheme of Capitalistic exploitation. Its just a great analogy of how you can most of the time turn a safe profit if you have the cash to flip a commodity. The issue is housing shouldnt be treated as a commodity.

    irmoz ,

    …who said it was easy?

    Droggelbecher ,

    Because scalping drives prices up? Pretty straight forward

    ShranTheWaterPoloFan ,

    It is easy, if you can get a mortgage.

    I currently pay less than $2k a month on my mortgage. A 1 bedroom apartment near me is about $1.8-2.5k and a 2 bedroom is $2.5-3.5k a month. People aren’t lazy and not buying houses because it’s so fun to live in an apartment, they are doing it because they can’t get a loan.

    The only difficult thing about buying a house is the hours of paperwork and surprise costs that make no sense.

    Licherally ,

    And if you own a house that is being flooded, just sell the flooded house and move you fucking idiot.

    Forbo ,
    @Forbo@lemmy.ml avatar

    “Sell their houses to who, Ben?? Fucking Aquaman?!”

    Comment105 ,

    I really have no empathy for the scalper problem.

    Don’t go to the concert.

    If anything the artists could charge more, seeing as some people will already pay scalper price. They’re doing they’re audience a favor by charging so much less than they’re willing to pay.

    irmoz ,

    The argument isn’t meant to make scalpers seem worse, it’s to demonstrate how illogical it is to treat houses the same way as tickets

    Comment105 ,

    Scalpers aren’t even bad.

    Just having some self-control and refusing to buy at what you see as an unreasonable price would make their entire business model invalid.

    If someone is willing to pay $3,000 for a Taylor Swift ticket, or $1,000 or more for an early PS5, that’s what they’re worth.

    BB69 ,

    Then buy a home in a lower cost of living area. There’s government grants to assist with down payments and closing costs.

    My first house, that I bought about 5 years ago before you start calling me a boomer, was a HUD foreclosure. I was only required to do 100 dollars as a downpayment.

    Duranie ,

    Buying in a lower cost of living area is easier when you don’t have to consider things like school districts for children, availability of public transportation to get to work, or even safe walkable areas to get groceries.

    BB69 ,

    Yes, it turns out that high demand for real estate in certain areas leads to higher prices because of a finite supply.

    You might have to look at different areas and consider the differences. I’d love to live in a penthouse downtown, but I’ll settle for my 1600 sq foot home in the suburbs.

    Duranie ,

    “You might have to look at different areas and consider the differences.”

    Always, but there are certain factors that aren’t so pliable. Getting a loan based on your income at a stable job means that you need to live within a reasonable area to continue to access that job. Six years ago when I was looking for a house I could have moved to a lower cost of living area, but that would have meant a 90 minute commute or changing jobs (at which time would have been an irresponsibly risky move.) Another factor was the question of changing school districts, and custody arrangements with the kids father. I wasn’t, but I know some who are restricted by custody agreements where they are required to live in certain districts or within X number of miles of the other parent. People in those situations don’t get to shop around and find other areas to live.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    People who buy a house today are quite literally paying double for the same house that they would have 5 years ago due to the federal reserve increasing the interests rates to ‘fight inflation’ same selling price for thr house accounted for they are paying double the mortgage because of the increased rates.

    BB69 ,

    Mortgage rates have returned to an average range. Still lower than they were in the 90s.

    Your payment isn’t doubled because of rates, it’s because of high demand areas.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Thats untrue, it isnt because of the demand (News flash there is always demand for housing) it is because of the increase in the intrest rate of the loan. Monetary policy trying to reign in inflation that isn’t actually inflation, but corporations taking profits at exorbitant levels while the average citizens can barely make ends meet.

    BB69 ,

    Man, I’m a loan officer at a bank. I know a lot more about this than what you do. Interest rate increases are squeezing all levels to decrease spending across the board. Banks are beginning to cut back lending to businesses.

    And demand for housing ebbs and flows. Things skyrocketed during Covid because of a lack of supply. There’s actually been decreases in pricing at this point.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    You must be a few crayons short of a full box, you just admitted prices are decreasing, yet folks who buy a house today will effectively pay almost double on their monthly mortgage rate because of the increasing interest rates, which have nothing to do with housing demand and everything to do with fighting inflation, which was caused by keeping the rates at effectively zero to prop up Obama’s bull economy that 45 ran into the ground.

    BB69 ,

    A few thousand dollars of decrease doesn’t offset the doubling of prices that happened during Covid. You should consider asking for specifics instead of trying to do a witty insult.

    Rates weren’t effectively zero prior to Covid. They were too low, yes, and should have been higher, but the bottom fell out during Covid.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    https://lemmy.ml/pictrs/image/3518e287-ca23-4ec6-82b8-e706babb8da7.jpeg pretty damn close to zero for a decade precovid my guy …

    AlDente ,

    Lol, does that look like the norm in the graph you posted?

    Empricorn ,

    There it is. What a dumb argument the post has. It’s like people who get mad at people complaining about skyrocketing food prices. We all have to eat! Greedy corporations are just exploiting that…

    happybadger , to memes in nEvEr fOrGeT
    @happybadger@hexbear.net avatar

    I live in a house and I’ve never been hit by a Boeing 767. I don’t get why the World Trade Centre didn’t just follow the zoning laws and make itself small around planes. It knew planes were there and it CHOSE to antagonise them.

    LinkOpensChest_wav ,
    @LinkOpensChest_wav@lemmy.one avatar

    As a plane, I’ve got nothing against buildings, but being out in public where a child might see them is where I draw the line

    happybadger ,
    @happybadger@hexbear.net avatar

    Skyscrapers are grooming my children to be lawyers. They see this skyscraper flaunting itself in public and they want to work there. They think “I’ll be so free if I can just look out over the entire city”, that “I can be an individual who defines the skyline”. Well kids, 9/11 happens if we let this continue. It’s a war on our traditional ideas of buildings and the bible says we shouldn’t build tall towers.

    7bicycles ,

    Maybe if the WTC was wearing high vis the pilots would’ve been able to see it

    quindraco , to memes in Parasitic

    There are some pretty significant differences, but you do you.

    And since I noticed the disingenuous responses to the other person saying this already, I’m excited for people to respond to this comment by fallaciously assuming I indicated either of these was better or worse than the other. I said they’re different.

    UlyssesT ,
    Clent ,

    “omg two related concepts are not 100% the same.” --edgelord.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Helps them stay in their disingenuous safe space where they can avoid critical thinking at all costs.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Care to explain how they are different, I’m not saying being a landlord and a ticket scalper are the EXACT same thing. Im saying they are both Parasitic on society. The onus is on you to prove they are not both parasitic, if you disagree with this meme. Go ahead!

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Still waiting…

    ZoomeristLeninist ,
    @ZoomeristLeninist@hexbear.net avatar

    don’t waste ur time, gonna be a looooong wait

    ryathal ,

    A landlord is more like the original box office than a scalper. A scalper is more like someone renting a place to put it on airbnb. This goes against the anti landlord circle jerk though so it will get downvoted.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Thats a decent parallel actually, since the box office is selling tickets to an act that creates the value. They profit off the talents labor. Similar to how landlords profit off of the labor of whoever built the house they are renting. It ultimately comes down to the necessity to abolish private property.

    Grayox OP ,
    @Grayox@lemmy.ml avatar

    Box offices which are currently being consolidated by corporations and setting up markets for the scalpers to sell their tickets where the box office takes a percentage of the resale.

    EnsignRedshirt ,

    Ticket scalpers take way more risk, plus they don’t get sympathetic coverage on the news when they’re whining that people aren’t buying their tickets at a high enough markup. Also ticket scalpers aren’t withholding a fundamental necessity from people. Ticket scalpers work harder, too.

    Really, ticket scalpers are just incorrigible scamps compared to landlords.

    Zerush , to memes in nEvEr fOrGeT
    @Zerush@lemmy.ml avatar

    Never forget this Tuesday September 11 with more than 3000 victims, in 1973, when the CIA helped an bloody Dictator Pinochet in his military coup against the democratic president Allende in Chile. Just 50 Years ago.

    rockSlayer ,

    And Kissinger had the fucking gall to say that the people of Chile didn’t have a right to self-determination.

    Fried_out_Kombi ,
    @Fried_out_Kombi@lemmy.world avatar

    Reminder that Kissinger is still alive at 100 years old now. Why is it the worst people absolutely refuse to die?

    AFallingAnvil ,
    @AFallingAnvil@lemmy.ca avatar

    Hate is an excellent preservative

    assassinatedbyCIA ,

    Hell refuses to take that monster.

    skullgiver , (edited ) to linux in Linux can be used at your workplaces
    @skullgiver@popplesburger.hilciferous.nl avatar

    deleted_by_author

  • Loading...
  • Spectacle8011 ,
    @Spectacle8011@lemmy.comfysnug.space avatar

    You won’t get anything as useful as RDP or plain old Teamviewer

    Is there something I’m missing? Teamviewer is available for Linux and I’ve done remote support with it: www.teamviewer.com/en/download/linux/

    I…assume it also works as the machine being remoted into?

    skullgiver ,
    @skullgiver@popplesburger.hilciferous.nl avatar

    deleted_by_author

  • Loading...
  • rbos ,
    @rbos@lemmy.ca avatar

    I would probably go with VNC or something else instead of Teamviewer for supporting Linux desktops remotely. Maybe set people up with a pointy-clicky script to do a reverse SSH tunnel to a central host, or do it over a VPN connection.

    skullgiver ,
    @skullgiver@popplesburger.hilciferous.nl avatar

    deleted_by_author

  • Loading...
  • rbos ,
    @rbos@lemmy.ca avatar

    Yeah, I’m not sure what the state of the art is these days. Maybe SPICE? I’ve used that to control VMs through tunneled SSH before.

    Spectacle8011 ,
    @Spectacle8011@lemmy.comfysnug.space avatar

    Ah, I see. I only used it once, so it’s not something I do often, but it worked perfectly for me as a client to a Windows computer.

    GustavoM , to linux in Linux can be used at your workplaces
    @GustavoM@lemmy.world avatar

    Then my bro (who is a “Windows tryhard fanatic”) must be a wizard or some sort because he simply doesnt care regarding security and privacy yet his PC is still intact for YEARS.

    joyjoy , to programmerhumor in New File Format

    There are 3 types of files. Renamed txt, renamed zip, and exe

    Toribor ,
    @Toribor@corndog.social avatar

    I’d argue with this, but it seems like image and video file extensions have become a lawless zone with no rules so I don’t even think they count.

    Hauskrampf ,

    Looking at you, .webp

    gamma ,
    @gamma@programming.dev avatar

    Video files are just a bunch of zip files in a trenchcoat.

    fibojoly ,

    Back in the day, when bandwidth was precious and porn sites would parcel a video into 10 second extracts, one per page, you could zip a bunch of these mpeg files together into an uncompressed zip, then rename it .mpeg and read it in VLC as a single video. Amazing stuff.

    gazter ,

    What’s it called when you logically expect something to work, but are totally surprised that it actually does?

    fibojoly ,

    Sounds an awful lot like a normal day at work as a dev.

    cultpony ,
    @cultpony@lemmy.blahaj.zone avatar

    Don’t forget renamed tar.

    GlitchyDigiBun ,
    @GlitchyDigiBun@lemmy.dbzer0.com avatar

    It’s a folder that you put files into, but acts as a file itself. Not at all like zip.

    Natanael ,

    Tar.gz is pretty much like zip. Technically tar mimics a file system more closely but like who makes use of that?

    AVincentInSpace , (edited )

    Tar mimics a filesystem more closely? Tf???

    TAR stands for Tape ARchive. It’s called that because it’s designed to be written to (and read from) non-seekable magnetic tape, meaning it’s written linearly. The metadata for each file (name, mtime etc.) immediately precedes its contents. There is no global table of contents like you’d find on an actual filesystem. In fact, most implementations of tar don’t even put the separate files on gzip boundaries meaning you can’t decompress any given file without decompressing all of the files before it. With a tape backup system, you don’t care, but with a filesystem you absolutely do.

    PKZIP mimics the traditional filesystem structure much more closely. The table of contents is at the end instead of the beginning, which is a bit strange as filesystems go, but it is a table of contents consisting of a list of filenames and offsets into the file where they can be found. Each file in a zip archive is compressed separately, meaning you can pull out any given file from a ZIP archive without any prior state, and you can even use different compression algorithms on a per-file basis (few programs make use of this). For obvious reasons, the ZIP format prioritizes storage space over modification speed (the table of contents is a single centralized list and files must be contiguous), meaning if you tried to use it as a filesystem it would utterly suck – but you can very readily find software that will let you read, edit, and delete files in-place as though it were a folder without rewriting the entire archive. That’s not really possible with a .tar file.

    You could make the argument that tar is able to more closely mimic a POSIX filesystem since it captures the UNIX permission bits and ZIP doesn’t (ustar was designed for UNIX and pkzip was designed for DOS) but that’s not a great metric.

    ytg ,

    Isn’t the Windows exe also a renamed zip?

    14th_cylon ,

    No

    Appoxo , (edited )
    @Appoxo@lemmy.dbzer0.com avatar

    No. But the Windows office suite is
    You can rename a docx and extract it.
    Don’t know how it is with ppt/x and xls/x

    MonkderZweite ,

    xls & co. (the older ones) are something custom. Only after standardization as OOXML (a shitshow btw, there’s a lengthy wiki article about it) they got zip.

    Appoxo ,
    @Appoxo@lemmy.dbzer0.com avatar

    The whole Word and Libre/OO-Writer world is a shit show.
    So complex and everyone decides to interpret it a bit differently.
    Not even Libre and OO can be interoperabel between the same file and feature.

    lord_ryvan ,

    docx are mostly markup language, actually. Much like SVGs and PDFs.

    Appoxo ,
    @Appoxo@lemmy.dbzer0.com avatar

    Arent they straight up HTML being specially formatted?

    cymor ,

    XML

    lord_ryvan ,

    And HTML is a lot like it, all of them are Markup Language.

    fibojoly ,

    No. The Office ???x files are archives. Inside them you can find folders with resources. Among those, you can find files written in markup languages.

    Not quite the same thing.

    Just rename your .docx file as .zip to check its contents.

    lord_ryvan ,

    Ah, last time I checked it was a kind of ML directly (XML, I’m guessing from [email protected] their comment), but that’s back in Office 2016’s time, so things might have changed.

    Thanks for the heads-up!

    joyjoy ,

    Just because you can open it with 7-zip doesn’t mean it’s a zip file. Some exes are also zip files.

    AVincentInSpace ,

    See, ZIP files are strange because unlike most other archive formats, they put the “header” and table of contents at the end, and all of the members (files within the zip file) are listed in that table of contents as offsets relative to the start of the file. There’s nothing that says that the first member has to begin at the start of the file, or that they have to be contiguous. This means you can concatenate an arbitrary amount of data at the beginning of a ZIP file (such as an exe that opens its argv[0] as a zip file and extracts it) and it will still be valid. (Fun fact! You can also concatenate up to 64KiB at the end and it will still be valid, after you do some finagling. This means that when a program opens a ZIP file it has to search through the last 64KiB to find the “header” with the table of contents. This is why writing a ZIP parser is really annoying.)

    As long as whatever’s parsing the .exe doesn’t look past the end of its data, and whatever’s parsing the .zip doesn’t look past the beginning of its data, both can go about their business blissfully unaware of the other’s existence. Of course, there’s no real reason to concatenate an executable with a zip file that wouldn’t access the zip file, but you get the idea.

    A common way to package software is to make a self-extracting zip archive in this manner. This is absolutely NOT to say that all .exe files are self extracting .zip archives.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines