• Avicenna@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    7 days ago

    But my wheel will be much better. I will start from the center with a very simple skeleton and build on top of it as needed. It will be very modular, elegant and easy to understand. It will be my masterpiece.

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      141
      arrow-down
      2
      ·
      edit-2
      9 days ago

      Hello, Rust developer. [My name, etc.] It works fine, and is written in C++. [Rest of challenge is the same.]

      Truly diabolical

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      49
      arrow-down
      1
      ·
      edit-2
      9 days ago

      Look, I’m not saying the wheel is wrong. It rotates, but what if two people try to turn the wheel at the same time, in opposite directions?

      What if—instead of risking misuse of the wheel—we have a my_wheel::Wheel, which only one person can rotate at any given time? The multiverse could enforce this safety at compile time by making it impossible for there to exist a universe where two people both think they own the right to rotate the wheel. In fact, it could even make it impossible for me to lend out the wheel to more than one person at a time.

      And, maybe… we could make the wheel even better. Cars rest on top of wheels, sure. But what if I wanted to make a car that rests on top of other cars? If we rotate the super-car’s wheels, we don’t want to make the sub-cars flap around—we want the sub-car wheels to rotate. It would be more future-proof to make a Wheel trait, then to make RubberTyre implement Wheel. Then, if we ever needed to make cars into wheels, we could have them also implement Wheel—but delegate the responsibility of rotating to their own wheels.

      In fact, we should make it into a whole library. Our other projects could need wheels. Mr. Mittens might need them eventually!

    • Chloé 🥕@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      27
      arrow-down
      1
      ·
      9 days ago

      Disclaimer: I have never actually written Rust.

      neither have most of the people advocating for (or against) rewriting stuff in Rust lol

      • boonhet@sopuli.xyz
        link
        fedilink
        arrow-up
        13
        ·
        9 days ago

        I’ll have you know, I’ve started several projects in Rust!

        Only to realize I don’t have time to do unpaid work even if it IS fun.

    • GreenCrunch@lemmy.today
      link
      fedilink
      English
      arrow-up
      10
      ·
      9 days ago

      That name may be taken, depending on how you look at it! Game developer Tim Cain wrote an OS abstraction library called GNW (GNW’s not Windows). That allowed games like Fallout to be built for DOS, Windows, and Mac without major changes. I highly recommend his Youtube channel!

  • Auth@lemmy.world
    link
    fedilink
    English
    arrow-up
    111
    ·
    9 days ago

    Developer: Kill me if you must but i’ve turned the wheel into a modular service called systemd-wheel

      • Wolf@lemmy.today
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        Consumer: It say’s here I can subscribe to ‘Wheel Pro’ for only $69.99/month and I will automatically receive all the latest features the second they come out!

        Noob: I just use WIMP, it’s free and does 99% of what Wheel Pro does. I don’t need all those extra features.

        Consumer: Psh, WIMP is ugly and you can’t even adjust the tire pressure by millipascals.

        Noob: They added that feature in March.

        Consumer: I NEED IT FOR WORK OK!

  • I have had plenty of suggestions to do very simple things in the games I mod to blow up the lines of code and do the exact same thing I already am doing, but in a more complicated, roundabout way that ends up working slower.

    “Why are you spawning blank soldiers and then equipping them, instead of spawning already equipped soldiers?”

    “Because I can only spawn soldiers already equipped with stuff from a pool of premade classes, and I want to customize their loadout. It also takes 5 minutes longer to load them in already equipped for some damn reason, whereas when I do it this way it only pauses the game for 10 seconds before it’s good to go.”

    “… ARMA’s engine sucks.”

    “Agreed.”

  • digger@lemmy.ca
    link
    fedilink
    arrow-up
    56
    ·
    9 days ago

    Here’s the real question… What licenses are the wheel and door using?

    • Susaga@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      31
      arrow-down
      1
      ·
      9 days ago

      I read that as ffmpreg, and I thought it was some new ao3 trope where two girls impregnate a guy or something.

        • dohpaz42@lemmy.world
          link
          fedilink
          English
          arrow-up
          17
          ·
          9 days ago

          That is horrible! How ridiculous and just horrible! What’s the url so I know what to stay away from?

          • Imadethis@lemmynsfw.com
            link
            fedilink
            arrow-up
            4
            ·
            9 days ago

            I don’t know what the url is, but I remember as a wee child exploring the internet before pictures were quick to load, and the text was all we had, finding a story about a wife discovering her husband sexting with another woman. They proceeded to surprise him, and yes, a strap-on was pulled from a bag. The only phrase from the story that I can recall was him describing it as a telephone pole being shoved up his ass.

            …I’ve never been able to find it again. If you find such a thing, don’t ever let it escape you.

        • shalafi@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          9 days ago

          I volunteer as tribute! (Anything, anything, is worth having two girls blow you. My god, it’s full of stars.)

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        7
        ·
        9 days ago

        Close. Final Fantasy 1000. It’s a game that’s fallen through a time hole from the future and contains technology that can do absolutely anything to anyone, including that.

        Why? It’s a nineteenth-stage capitalist thing. Something about gods of wealth, insatiable hunger and first-borns.

        • CrazyLikeGollum@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          9 days ago

          I wanted to propose that WH40K make a new Chaos God of Capitalism…and then I thought about for 5 seconds and realized they did. The Emperor. The Emperor is a god of capitalism. Which is an interesting (to me) perspective on the franchise. So, thanks for that random completely unrelated Lemmy comment.

  • Gerowen@lemmy.world
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    edit-2
    9 days ago

    Does the wheel fall under any cumbersome non free licenses or patents? If I want to modify this wheel to suit my needs, then share that work and information with others, am I free to do so?

  • Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    42
    ·
    7 days ago

    How is it licensed, Jigsaw? Eh? What distro is it from? Is that a fucking Snap wheel?

      • Blackmist@feddit.uk
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        7 days ago

        What I hadn’t anticipated in my 20 years away from Linux was not only had teams of unpaid volunteers been beavering away behind the scenes to make everything work better, other much more enthusiastic teams have been thinking up new and exciting ways to break it again.

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    36
    ·
    8 days ago

    We’d rather re-create reality where we know everything rather than taking the time to learn how to use a system someone else wrote.

    IT and DevOPS does this too.

    I worked with a group once that re-invented XML so that non-technical people could create text-based rules instead of writing code. But it ended up with a somewhat rigid naming structure with control characters and delimiters. The non technical people hated it more the actual XML they had used prior.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        11
        ·
        8 days ago

        LOL. not far off

        They started out with something close to YAML. As the project moved forward, they found out they needed to represent logic with interlinked sections. They needed section 3, point a to link back to section 1 point 3, sub point 2. So they toyed with some assembly-like operations. Then they needed some inheritance. They really just slowly re-implemented the common applications of xml one at a time, it just had less brackets and <> symbols when they were done.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 days ago

          it just had less brackets and <> symbols when they were done.

          Hence making the parser more inefficient than XML?

          • rumba@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            7 days ago

            It wasn’t without some advantage. The client hating it didn’t bode well though

            • ulterno@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 days ago

              YAML definitely felt less intimidating to me than XML, when I first saw them.
              But the YAML examples also had much less information in them than the XML ones.
              But not having to type all those brackets definitely helps. In case of XML, I am always looking to just get a GUI going for it instead, because typing it out feels cumbersome (I’m from C++)

            • floofloof@lemmy.ca
              link
              fedilink
              arrow-up
              3
              ·
              7 days ago

              The client hating it just means you’re smarter than them and should press on to help them outgrow their ignorance. It’s a good sign.

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      7 days ago

      Re: the not-XML-instead-of-code thing. Eventually, this sort of thing turns into a programming language. It’s just like carcinisation. Or you wind up writing ever-more code to support the original design. The environment inevitably creates evolutionary pressure that only if/else and iteration logic can solve, forcing the design ever closer to being Turing-complete.

    • Lovable Sidekick@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 days ago

      I woulda tried them on JSON. As long as they use an editor that keeps track of nested brackets I think it’s much more natural than XML.

        • Lovable Sidekick@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          7 days ago

          Wow, I never even heard of TOML. Very interesting - thanks!

          edit: after looking at it a bit I think I’ll actually try using it. But I find it ironic that the website for something billed as “for humans” and “easy to read” is done in light gray text on a white background. The CSS class they chose is even called “light gray” LOL.

  • Rose@slrpnk.net
    link
    fedilink
    arrow-up
    33
    ·
    7 days ago

    I’d just like to interject for a moment. What you’re refering to as wheel, is in fact, GNU/Wheel, or as I’ve recently taken to calling it, GNU plus wheel.