• Zozano@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 hours ago

    Spent months setting up my home server with Docker containers while learning Linux. Everything worked perfectly fine.

    Then I realised Ubuntu Server is just a Debian-flavored landfill. Switched to EndeavourOS. Everything worked perfectly fine.

    Then I made NixOS my daily driver and thought, “Hey, let’s ruin my weekend.” Migrated the server. Everything worked perfectly fine.

    Found out I could run containers as systemd services. Replaced Docker out of sheer spite using compose2nix. Everything worked perfectly fine.

    Then I heard btrfs was the bee’s knees. Reformatted my drives, migrated again, and spent a week learning why subvolumes are better than sex. Everything worked perfectly fine.

    Got a free MacBook. Slight hardware bump. Migrated again. Spent hours fighting T2 drivers while deepthroating Tim Apple’s cock. Everything worked perfectly fine.

    Rewrote every systemd service as NixOS modules. Why? Something something George Mallory. Everything still works perfectly fine.

    Did I ever notice a difference from the frontend? Nope.

    Was this a good use of my time? Fuck no.

    Did it need to happen? Does the pope compile from source in the woods?

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    27
    ·
    16 hours 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.

    • Lovable Sidekick@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      9 hours 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.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        9
        ·
        14 hours 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.

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

    I feel this! When I need to do something in my computer my first impulse is usually to think about writing the code. Doesn’t matter how many free tools are already around. Why? Because software design and coding is fun! It’s not cost-effective in terms of time and effort, but way more fun than reading a manual for an existing thing and getting good at that thing. Example: right now I’m looking at a self-hosted wiki to organize my upcoming D&D campaign. As I look through the docs for dokowiki and wikijs I’m already thinking, how hard can it be to write one? A mind is terrible thing!

  • burntbacon@discuss.tchncs.de
    link
    fedilink
    arrow-up
    25
    ·
    16 hours ago

    One of the worst parts about this is that I would never have thought about reinventing it until he told me not to.

    Bloody reverse psychology still working on me. >:(

  • zod000@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    17 hours ago

    As if I don’t have a stash of previously reinvented wheels to choose from in my personal code. Buuuut, who can resist reinventing the wheel for the 25th time?

  • Gerowen@lemmy.world
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    edit-2
    23 hours 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?

  • Auth@lemmy.world
    link
    fedilink
    English
    arrow-up
    100
    ·
    1 day ago

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

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      124
      arrow-down
      2
      ·
      edit-2
      1 day 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
      45
      arrow-down
      1
      ·
      edit-2
      1 day 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
      25
      arrow-down
      1
      ·
      1 day 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
        11
        ·
        1 day 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.