• sfxrlz@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    6 days ago

    So that’s why they shipped like every past systems’ control windows with every new version. Not for people’s convenience. Because of spaghett

  • endeavor@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    13
    ·
    6 days ago

    Which control panel? There’s like 20 of them and a new worse one gets added every other year.

  • Strawberry@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    12
    ·
    6 days ago

    … This seems like standard GUI stuff. The interface component defined by some markup, with a hook to some programmatic behavior, and perhaps a corresponding resource ID

  • wreckingball4good@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    6 days ago

    Can confirm. I worked as a contract program manager for Microsoft with O365, Azure Gloval Ecosystrm, and yes, the dreaded Windows team. I wakk out out my last two Microsoft jobs in the middle of a shift. I would do it again.

  • rtxn@lemmy.world
    link
    fedilink
    arrow-up
    136
    ·
    8 days ago

    …maybe it’s better that the Windows source code remain closed.

    At the same time, I’d love to see the developers of the world glimpse at that eldritch cognitohazard and collectively go insane.

    • Snot Flickerman@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      68
      ·
      8 days ago

      Maybe we’ve been misunderstanding what Closed Source really is this whole time?

      It’s a codex holding back “eldritch cognitohazard” horrors that the technopriests of Microsoft have captured and tamed into an operating system. Releasing the source would release the beasts into our reality, much like the plot of John Carpenters In the Mouth of Madness.

      Well, figured out one good reason for closed source, I guess. Let’s not solve this LeMarchand’s Box.

    • dan1101@lemm.ee
      link
      fedilink
      arrow-up
      10
      ·
      7 days ago

      At least modern hardware runs the spaghetti code much better than Windows XP used to run.

  • Supervisor194@lemmy.world
    link
    fedilink
    arrow-up
    82
    ·
    edit-2
    8 days ago

    I don’t think this is legit because even as I was reading it, I was expecting it to sound a lot worse than it ended up sounding. Like, it didn’t sound great or anything, but it didn’t sound nearly as fucked up as I would expect firsthand descriptions of piled-on legacy code to sound after almost 50 fucking years.

    • AdamBomb@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      9
      ·
      7 days ago

      Seriously, it doesn’t sound great, but it sounds about what you might expect wiring up a new UI widget in WPF or whatever the latest thing for native Windows is. Sounds like what would happen if you started developing a Windows app using the Microsoft scaffolding and never applied any kind of software architecture beyond that and it just grew and grew into a big ball of mud. Exactly what I would expect given the quality of so many of their frameworks, and I say that as a professional dotnet software engineer.

        • AdamBomb@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          True, that is surprising and makes everything worse. It’s probably controlled by a setting that none of those engineers knows how to change, based on the lack of knowledge described here.

          • HiddenLayer555@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            6 days ago

            My guess is that a stack trace is being generated, but something further down the chain is consuming it, realizes there’s an error, and just throws -1 instead of the stack trace itself.

            Something like

            try {
                compileThisDamnProgram()
            } catch Exception {
                return -1
            }
            
    • slazer2au@lemmy.world
      link
      fedilink
      English
      arrow-up
      44
      ·
      7 days ago

      But did you read the last line? This isn’t classic control panel, this is the new control panel.

      • AdamBomb@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        10
        ·
        7 days ago

        Sounds like classic junior engineer shit. “Let’s do a big rewrite!” Followed by everything going to shit because they don’t how to create good maintainable software architecture and for whatever reason there weren’t enough senior engineers around to show them the way.

      • filcuk@lemmy.zip
        link
        fedilink
        arrow-up
        11
        ·
        7 days ago

        Same shit trying to implement with systems on the backend older than a lot of people using them today I’d imagine

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      39
      ·
      8 days ago

      Yeah this is classic legacy code.

      Complicated code is when 700 projects are all entangled and when you add a 3D bar for measuring purposes (it was just a bar like 100 nanometers long so you could get a feel for size in 3D scans, in the 3D viewer), the up (not the down) mouse scroll stopped working for sliders in all the 2D GUIs…

      That is crappy code and I was there when we got that bug (Avizo software).

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        English
        arrow-up
        20
        ·
        7 days ago

        What cracked me up was all that copying blocks of code “because no one knows how anything works”.

        That reeks of novices copying code without bothering to read it well, and since this work method is horrendous, no one stays enough to stablish a proper knowledge base.

        • Jayjader@jlai.lu
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          It’s a bit sad, but not that surprising, that if this is true then Microsoft is clearly not tasking their most experienced engineers on the control panel (you know, that part of the OS who’s function is to allow you to tweak all the rest of the OS?).

  • HStone32@lemmy.world
    link
    fedilink
    arrow-up
    50
    ·
    7 days ago

    I’ve heard an ex microsoft employee said in a blog once that the windows team has no seniors. Anyone who has worked there for one or two years has left for better employers. Nobody knows how to refactor or maintain old codebases, so instead, they just write new things on top of the old things. The windows kernel has hardly changed since XP.

    • HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 days ago

      The windows kernel has hardly changed since XP.

      Windows NNT when? Surely from a business/competition perspective they can’t let Linux get that many years ahead of them in terms of kernel optimisations?

    • Fushuan [he/him]@lemm.ee
      link
      fedilink
      English
      arrow-up
      37
      ·
      7 days ago

      This makes sense, most of that explanation in the screenshot reeks of novices working with something they don’t understand.

      • essteeyou@lemmy.world
        link
        fedilink
        arrow-up
        17
        ·
        7 days ago

        Copying and pasting a current example and changing the names… yep.

        Instead of making it worse you could extract it to a new file. Make an interface. Write a unit test. Anything.

        The guy wonders why the file is 15k lines long and then describes exactly why.

        • zalgotext@sh.itjust.works
          link
          fedilink
          arrow-up
          6
          ·
          6 days ago

          Right? Like my dude, bare minimum at least write down those steps in a text document so you can reference it the next time you have to add something. Bonus points for putting it on some shared internal wiki or whatever Microsoft uses.

          • IsoSpandy@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            6 days ago

            I don’t think anybody gets paid enough to write that down. In fact, they might get punished for wasting company time. They could open source it and people would automatically fix these things. Who knows.

  • _____@lemm.ee
    link
    fedilink
    English
    arrow-up
    29
    ·
    7 days ago

    pretty much every windows GUI framework is trash or a pain in the ass to deal with except for Avalonia (my beloved), but it’s more cross platform.

    I’m not sure if this is 100% real but it very well could be. although imo makes me think of skill issue (not because the system makes sense, but these problems don’t really seem like problems to me, just minor set backs)

      • _____@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 days ago

        well, no. everything is a god damn web app because everything runs browsers.

        so why write native (device) applications if the device can run a browser ? just write code for the browser, which also runs on desktop. now you have a cross platform app without needing 5 different teams

    • Naia@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      19
      ·
      7 days ago

      I haven’t done much with UI in general, but the one time I thought of making some UI stuff in windows I gave up.

      Even modifying an existing .net program someone else made for a feature I wanted was a nightmare.

      • _____@lemm.ee
        link
        fedilink
        English
        arrow-up
        21
        ·
        7 days ago

        Yep, I was shocked to see that there is no defacto 1st party framework and during my time searching online I found lots of “use x, use y, no y is dead and none uses it, no x is terrible” which is how I found Avalonia.

        I still don’t think there’s a solid Windows gui framework, but I haven’t looked in years.