• 0 Posts
  • 40 Comments
Joined 1 year ago
cake
Cake day: August 11th, 2023

help-circle
  • areyouevenreal@lemm.eetoProgrammer Humor@lemmy.mlblahaj
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    edit-2
    2 months ago

    You’re still trying to weasel out of being wrong. It’s not an archive nor is it compressed. Go read what a Portable Executable is. It’s not about being diplomatic or whatever. Just admit you’re wrong and go and read about how it actually works. You might learn something.


  • areyouevenreal@lemm.eetoProgrammer Humor@lemmy.mlblahaj
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    2 months ago

    Bruh an exe is not an archive. Some just happen to contain an archive, not all. As me and the other guy discovered some archive utilities can read them, but what they are doing is closer to a binary analysis tool than unpacking an actual archive. It’s not about being nerdy, it’s about getting your facts right.


  • Okay that’s actually slightly different from what I was expecting. Does the .text file contain machine code or assembly language by any chance? It seems the archive program can pull out the executable code as well, similar to the binary analysis tools I have worked with.

    .reloc is probably the relocation table used by the OS to load the program into an address space.


  • areyouevenreal@lemm.eetoProgrammer Humor@lemmy.mlblahaj
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 months ago

    Mate I saw the blind leading the blind and had to step in. You could have actually opened some exes on Linux as the other guy suggests. In fact I am surprised you never noticed your system presenting that option. It just isn’t actual proof of what they said, even if it appears like it. In fact I am a bit lost how neither of you realized something weird was going on. On what planet would an executable format being a zip file make any sense? Exes actually can include several executable formats.

    There are things like self extracting archives that make this all more confusing. They are basically an archive with an extraction program in the same file. Installer exes work in a similar way too. Not all exes can be extracted since not all of them contain secret hidden archives or extra resources.

    There actually are tools to show you the contents of an executable file, and you could probably learn a lot by using one. They contain more than just a blob of machine code like one might assume. Often they contain data as well, and instructions and information on how to load the executable like what memory layout to use.

    I am annoyed that people upvoted the other guy without double checking as well. Now we have more people walking around spreading misinformation just because of some guy on Lemmy. This is why things like climate change become contentious issues. People come to their own conclusions based on partial information, and since it appears to make sense without proper investigation it gets spread around like wildfire. It’s only when you actually know what’s going on at a deeper level that it becomes possible to spot the flaws in the reasoning.


  • You are actually correct. They can contain archived files or resources that can be unpacked with an archive program (including on Linux btw), but they aren’t just a zip file. That’s why my Linux archive manager (ark I think) offer to open one, but won’t execute it. They can see the extra content even if they can’t execute the file as intended.


  • areyouevenreal@lemm.eetoProgrammer Humor@lemmy.mlblahaj
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    2 months ago

    Just because they open in 7-Zip or whatever doesn’t mean they are just a zip file. There are several kinds of archives. EXEs are a special case as well. They aren’t archives at all. Rather they can contain archives or extra content along with being an executable. One reason is self extracting archives. Here an archive is packaged with an extraction program as an exe all in one. The other case is exes that have extra resources like images, videos, graphics textures, etc. Either way it’s an executable plus some extra stuff, not a zip archive. DLLs I am not sure about, but I suspect something similar is happening here.

    Next time you should research stuff before posting it on Lemmy. Things are sometimes more complicated than they appear.

    docx you are correct about though. Specifically it’s a zip file that contains XML files and resources.

    Edit: I actually found an article on self extracting archives, it’s quite an interesting technology to be fair even if it causes confusion: https://en.m.wikipedia.org/wiki/Executable_compression




  • I don’t write web applications for a living and I especially don’t write front ends. I do have to ask though:

    What information are you actually keeping in the front end or web server? Surely you don’t need any ephemeral state that isn’t already stored in the browser and/or for you like the URL or form details. Only thing I can think of is the session ID, and that’s normally a server side thing.

    I mean I’ve written web sites where there is no JavaScript at all, and the server is stateless or close to it. It’s not a difficult thing to do even. All the actual information is in the database, the web server fetches it, embedds it into a HTML template, and sends it to the client. Client doesn’t store anything and neither does the server. Unless I really don’t understand what you mean by state. You might keep some of your server fetches data from another server using REST or SOAP but that’s only used once as well.


  • The whole conversation was about backend being similar because you can write a stateless server. Have you forgotten? The issue here is a backend isn’t just one service, you can write a stateless service but you are in fact just moving the statefulness to the database server. The whole backend isn’t simpler than the front-end for that reason. It might be simpler for other reasons, though many popular websites need complex backends.

    I am not arguing that a stateless service isn’t a useful concept. I get why people might want that. That’s not what this conversation is about. It’s about the backend vs frontend. Backend to me includes databases and other support services.







  • It didn’t realize I was replying to someone else. The person I thought I was replying to was on a 4790K.

    This change isn’t a problem at all, just like the Nazis interior decor wasn’t a problem. AI needing certain instructions to run well isn’t unreasonable at all. They are using these instructions and resources to provide a service. This isn’t them wasting resources unnecessarily, presumably they are only used if you engage those services. Don’t get me wrong Microsoft does waste resources but this isn’t an example of that afaik.

    What you and others are doing is a motte and bailey argument. First you say these AI requirements are unreasonable, then I say actually they aren’t unreasonable at all and is well exceeded by the actual Windows 11 requirements or most machines made in the last 10 years, then you counter that the Windows 11 is slow and has unreasonable requirements. Do you see how the first and second points are unrelated? The general Windows 11 requirements are way more strict than requiring SSE 4.2. any PC back to like 1st or 2nd gen will have the needed instructions. Maybe the 16 GB requirement is a bit more than some people have, but it’s not a large amount either and you can just keep using it without the AI features.