• ChickenLadyLovesLife@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    26 minutes ago

    As a programmer, it’s pretty wild how much of Windows under the hood has remained completely unchanged. I started writing software synthesizer applications back in the late '90s, using a part of the Win95 API called “winOutX”. The functions are kind of clunky to use but they allow you to programmatically create your own audio buffer arrays filled with whatever sounds you’re up to creating and dump them into the playback stream for seamless audio. This shit has remained in place, working pretty much perfectly, for the last 30 years. It was even there in WinCE/Windows Mobile, which allowed me to write software synthesis applications for early smartphones circa 2005. And it’s still all there today.

    I like to rip on MS as much as the next guy (not least for them completely dropping the fucking ball as far as smartphones were concerned), but sometimes their incredibly long-term conservatism can work to your benefit.

  • codingitwrong@lemmy.zip
    link
    fedilink
    arrow-up
    105
    arrow-down
    1
    ·
    6 hours ago

    macOS, can I install this 2 year old program?

    No, the architecture is no longer supported in this version of macOS

    • Ironfacebuster@lemmy.world
      link
      fedilink
      arrow-up
      63
      arrow-down
      2
      ·
      6 hours ago

      “no because the dev hasn’t paid us to certify it as safe so you’ll have to jump through 37 hoops in order to allow you to right click, hold options, and click open. THEN we’ll give you an option to install it”

      • mintiefresh@piefed.ca
        link
        fedilink
        English
        arrow-up
        14
        ·
        4 hours ago

        Is this a LibreWolf on Mac reference, because I hate this so much about LibreWolf on Mac lol.

        • Ironfacebuster@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          53 minutes ago

          Not so much a librewolf reference as much as a “any app you download from the Internet” reference lol

          I’ll have to try installing librewolf when I’m feeling frisky though

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        1
        ·
        6 hours ago

        I mean, macOS has a lot of issues but the one hoop needed to run any unsigned app is “right-click app icon, click open”.

        • Ironfacebuster@lemmy.world
          link
          fedilink
          arrow-up
          16
          arrow-down
          1
          ·
          5 hours ago

          Sometimes it won’t let you even get to that step without going into the settings and finding a secret security notification that it blocked it from opening

          • MrLLM@ani.social
            link
            fedilink
            English
            arrow-up
            7
            ·
            4 hours ago

            Yeah, and in rare instances, you’ll need to take the app/binary out from the quarantine

          • TrickDacy@lemmy.world
            link
            fedilink
            arrow-up
            2
            arrow-down
            2
            ·
            5 hours ago

            I guess that is true, yes. I do think it’s generally a good thing that they’re locking down specific permissions like that though.

        • Ironfacebuster@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          4 hours ago

          Is it? The only hoop I can remember jumping through is the (usually) singular UAC popup

          Unless you’re Ubisoft and pop up 5-8 of them every time you open Ubisoft connect 🫩

  • SillyDude@lemmy.zip
    link
    fedilink
    arrow-up
    22
    ·
    6 hours ago

    I wanted to do the cool neofetch thing all the femboys in thigh highs are doing. Shits already installed on mint. My boring ass win98 clone is doing the femboy thing no questions asked.

  • collapse_already@lemmy.ml
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 hours ago

    My issues are not install, but uninstall. Why do I have so much crap installed? I used it on a project once 7 years ago and haven’t since. Why not uninstall it? It is useful, just not currently. It took less than a minute to install when you installed it the first time and your connection is faster now? But what if the archive goes down or it is retired or obsolete? It is small, keep it!

    Turns out lots of small adds up to big.

    • nek0d3r@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      And yet some linux devs look at me using containers for development like I’m the Demon Lord of Overhead

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        41 minutes ago

        If you use it to make sure your deployment is sane and that your dev system didn’t have an invisible component that you assumed as a dependency, great. Containers are a great tool for simulating minimalist clean setups and not incurring surprise hidden dependencies.

        If your application carries a whole container with it for the user to use and that’s the only way to use the software, that’s going to be annoying. ‘docker style’ for bloat, flatpak/snap depends on the app but sometimes the application functionality is broken by the container boundaries. Admittedly flatpak/snap is frequently acceptable, really depends on if the program has a lot of interoperability features that get broken in the flatpak/snap runtime model.

        If your application only is deployable as a pod… I’m almost certainly going to want to avoid it if at all humanly possible. Pods as a self-hosted approach to do what you want, ok, fine and I own all that. If a third party pod is happening, I tend to see some part of it fall over it and no one can figure it out because the application is microserviced into oblivion and no human actually understands the whole flow… It’s possible also to do this with ‘traditional’ application delivery, but a pod is a very high sign that no one even bothered thinking hard about how it should come together and play nice with others.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      Specially for rolling release distros.
      I had fun installing everything I thought of just checking out once, including games and stuff (assets tend to be large).
      But after a few updates and not actually using most of them, I realised how much load I was putting on the network and removed many of them.

    • TheRealKuni@piefed.social
      link
      fedilink
      English
      arrow-up
      81
      ·
      edit-2
      9 hours ago

      I’m really sorry to do this, but 25 years ago was 2001.

      Now that the painful part is out of the way, 32-bit software from 2001 should work in Windows 11.

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        33 minutes ago

        Oh cool, let me install this software, what, it won’t install because it’s missing quicktime? Oh it needs directx 8 runtime? That could be a problem. Let’s advance the clock, 2004, that should be fine… What do you mean you can’t run .NET 1.1 applications and so that won’t run?

        Ironically, wine is more likely to have a path to easily run those programs under Linux, but if you had a Linux binary from that era you’d likely have a hard time getting that to run, probably harder than the microsoft scenario. So old Windows software is more likely to run under Linux than old Linux software…

      • korte7@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        10 minutes ago

        I ran into old software (for Windows XP), especially games not working even with compatibility mode used for the install and opening of the app. Now if the publisher or Steam or some party puts a tad bit of effort, then yes, those games can work, although I guess a big part of that is also hardware and driver related if talking about 3D games for instance.

      • hissing meerkat@sh.itjust.works
        link
        fedilink
        arrow-up
        45
        arrow-down
        1
        ·
        8 hours ago

        Oh, it should work and it will if you put all the files in the right places yourself by say installing it on wine and copying the changes to the wine system directories over, but starting in Windows 11 running the installer gets a deliberate “this program isn’t meant for this version of Windows” error.

        • PacMan@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          6 hours ago

          You will run into a lot of old Library issues. Like elf binary missing, lack of 32 bit is starting to become a problem. If you have any old 2.4 kernel dependencies your probably gonna have a problem in Linux

          • hissing meerkat@sh.itjust.works
            link
            fedilink
            arrow-up
            16
            ·
            8 hours ago

            Didn’t work. Application doesn’t even need compatibility mode to run. Running the app copied by someone else from their previous Windows 10 computer sorta works but didn’t find files installed to system directories. Windows 11 just deliberately refuses to execute the installer probably based on recognizing the old family of installer programs specifically.

            The users wanted a new Linux laptop. I installed LMDE, showed them how to run the installer with wine. It made a menu item. Drag and drop from whatever the cinnamon file manager is doesn’t work, and there was no file association to open the program’s files. I added one that just opens them with wine and lets it figure it out. I also showed them where their wine c drive was.

            After a few weeks they wanted to print to pdf as well as their printer from wine and I had them install cups-pdf

    • Dyskolos@lemmy.zip
      link
      fedilink
      arrow-up
      8
      ·
      6 hours ago

      Windows sucks, but I made some tools 20 yrs ago and they still just run in win11. As they did on all other windows before since…I dunno, 95? Or 3.11?

      But anyhow: Windows sucks.

      • calango@programming.devOP
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        6 hours ago

        you’re right, but Windows 7 had a space in our hearts, after that it’s all a load of garbage

          • jj4211@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            32 minutes ago

            I’m still on Windows 3.11 because I demand an edition for Workgroups and nothing else has it in the name!

    • wizardbeard@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      9 hours ago

      Depends on the program. I’ve got a handful of that old on CDs that still install fine. Checked when I was backing them up to ISO. There’s little bits of weirdness and unintended behavior while running them now, but they still install and run to a fairly acceptable degree.

      That experience varies wildly though. Wine tends to handle things better and more consistently.

    • WolfLink@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      6 hours ago

      I’ve tried getting Windows XP games to run both in windows 7/10/11 and wine with little success. However, I have gotten them to work in Windows XP virtual machines.

  • mycodesucks@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    7 hours ago

    “Old tools” does not mean obsolete or bad. It means tested, hardened, and reliable. And crucially, probably runs in a couple megabytes of memory, which you might need if the cost of RAM suddenly quintuples for no reason.

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        38 minutes ago

        AI in vim is actually often convenient.

        :set ai
        

        Cool, now it will keep track of my indentation.

        Now sometimes that gets in the way, and while you can:

        :set noai
        

        Usually it’s best for me to:

        :set paste
        

        And that’s my take on the utility of AI in vim. (that is what you meant right, there isn’t some other AI people are thinking of right?)

    • Pika@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      edit-2
      7 hours ago

      You can almost hear the legacy programmers screaming about Haskel and C from here. /j

    • ViatorOmnium@piefed.social
      link
      fedilink
      English
      arrow-up
      41
      ·
      9 hours ago

      You can still compile it against the modern version.

      And if it’s static linked it will either run or you can ask Linus to murder someone for you.

      • If I may, is there a way to quickly and easily have a disposable/revertible environment for building? For Fedora specifically. It’s annoying to install a whole suite of packages because I need them just this once and then either manually delete the ones I didn’t manually install before and actually need or just live with a whole bunch of devel packages that’ll never be used again

      • pewpew@feddit.it
        link
        fedilink
        arrow-up
        12
        ·
        9 hours ago

        I was trying to compile the first version of SuperTuxKart just for fun, how naive I were… Nowadays it’s like translating ancient runes and good luck finding those ancient libraries

  • Jankatarch@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    6 hours ago

    Helps that if they aren’t installed, they will be aliased to the opensource equivalent.

    I am looking at you cc. I should NOT have been able to follow a programming book that old so smoothly when I knew nothing about computers at the time.

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    9 hours ago

    Initial release of dd was for Unix in 1974 and it’s still updated for use in modern systems.

    I used it just the other day and it was already installed.

  • Digestive_Biscuit@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 hours ago

    We have a 22 year old version of RedHat 4. It works fine and is reliable but has problems with out dated security.

    • fartsparkles@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      9 hours ago

      It does work but if you’re using Wayland, it won’t. But one would be rather silly to expect an X11/Xlib tool to work without X11.

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        10
        ·
        9 hours ago

        Yeah, I wouldn’t expect it to work, so I wouldn’t expect a meme to imply that Linux has great backwards compatibility, when things change somewhat rapidly in mainstream Linux, making it quite hard to maintain.

        • fartsparkles@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          8 hours ago

          X11 isn’t Linux… Linux is excellent for backwards compatibility. Can’t say the same about userspace though.

            • MotoAsh@piefed.social
              link
              fedilink
              English
              arrow-up
              6
              ·
              edit-2
              7 hours ago

              Yes, it does. Not only for servers, but every single application that wasn’t written for X11 specifically continues to just work. Which is the vast majority.

              • FishFace@piefed.social
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                3
                ·
                7 hours ago

                Would you enjoy trying to explain this to your grandma or other stereotypically tech-un-savvy relative after you got her to install Ubuntu and something she was able to do before stopped working after an update?

                You’re interested in backwards compatibility on servers, and in backwards compatibility for a subset of applications. Cool. Convenient for you! Recognise that there’s more to it than that, that when people meme about how awesome Linux is compared to Windows, focusing on servers and non-graphical applications isn’t good enough.

                • MotoAsh@piefed.social
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 hours ago

                  Not backwards compatibility. Straight up compatibility.

                  and yes, I wouldn’t mind. I enjoy explaining things.

        • TrickDacy@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          The meme isn’t implying great backward compatibility. It’s implying great tool maintenance and availability.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      2
      ·
      9 hours ago

      I’m going to miss xdotool (and wmctrl) when my distro eventually ditches X11.

      I don’t use them often, but I do use them, and their functionality is nice to have.

      There are partial replacements out there, but last I checked, they were very weak approximations.

        • palordrolap@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          They allow the user to script changes to, and pull information from, windows in the window manager. Like read, if not also set, a window’s title, change a window’s dimensions, move it around, send it to a different desktop, send keypresses, bring a window to the foreground, etc. etc.

          Basically, anything the user can do with the mouse, keyboard or window manager via the GUI, and a little more besides, can be automated.

          The two commands work slightly differently to each other and one can often do something the other can’t.

          As an example, I have a script that resizes the active window to a 4:3 ratio at full vertical height on my 16:9 monitor. I’ve then bound that script to a keypress in the window manager. It’s a lot like having something halfway between window mode and maximised mode.

          Couldn’t I do that with the mouse? Sure. But with the script I don’t have to gauge by eye and spend multiple mouse clicks and movements trying to get it just right.

          • Pika@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            4 hours ago

            That sounds absolutely amazing and something that I’m definitely going to be looking up when I go on my desktop later. Thank you for informing me

            • palordrolap@fedia.io
              link
              fedilink
              arrow-up
              1
              ·
              4 hours ago

              Be aware that a lot of distros will be switching from X11 to Wayland at some point in the not-too-distant future and these ancient tools will not work there.

              People have tried to write equivalents (ydotool is one I’m aware of), but Wayland has intentionally been written to make doing such things difficult, for “security” reasons.

              I will be grumpy until I can make my scripts work again, but that’s for future me to deal with.

              • Pika@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                4 hours ago

                Yeah, sadly, I’m aware. I know that Wayland is making its rounds. I’m not looking forward to it. I try it every once in a while to see if it’s gotten better, but so far, every time I’ve tried, I have artifacting and tearing, which just doesn’t happen on X11