Johannes!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months ago

Trolley problem

sh.itjust.works

external-link
message-square
86
fedilink
0
external-link

Trolley problem

sh.itjust.works

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months ago
message-square
86
fedilink
alert-triangle
You must log in or # to comment.
  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Quickly move the switch while on track, then hope the paths willl be wide enough to stop the trolley.

    • Morphit @feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

  • finley@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    Removed by mod

  • Ziglin (it/they)@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Now how do I get it to drift over everything but teams a and b?

    • I Cast Fist@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      It’ll hit the bomb, so teams a and b will be blasted either way :)

  • Iceman@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    There is at least one user here in the superposition of being on two tracks at once.

  • DontMakeMoreBabies@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Fuck the metro I guess.

  • zzx@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I like those odds

  • kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Javascript Standards Team is such an Oxymoron.

    • kattfisk@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      They’ve done amazing work trying to turn the clusterfuck they started with into a good language

      • scutiger@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        That “trying” is doing the heavy lifting in that sentence.

        • kattfisk@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          What are some of the outstanding issues that haven’t been addressed? I feel like there are genuinely good ways of doing everything these days

          • far_university190@feddit.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            5 months ago

            Javascript

    • rimjob_rainer@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      Yeah, didn’t know there was a standard committee and can’t believe how inept they are.

  • Nublets@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Middle track. Then I have plenty of time to hotwire the nuke with my handy dandy mallet

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    “You and your entire family” means “All life on Earth”.

    That should make the decision somewhat easier.

    • metaStatic@kbin.earth
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I thought seaweed didn’t have a common ancestor

    • Zozano@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      By my definition, family is who you treat like family.

      • Donkter@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I try to treat everyone I meet like family

    • trxxruraxvr@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      If you make it “all human live” it starts to look quite attractive again

  • DarkDiamondK@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I like those odds

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    there might be an argument that JavaScript kills more than a nuclear bomb

  • kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Option 3 means that the Javascript standards team dies either way, right? Number 3. No hesitation.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      the c++ team is a sacrifice I’m willing to make. can we just shoot Brendan Eich in the head if he’s not in there too?

      • kryptonianCodeMonkey@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        Push him onto the pressure pad. Make it his fault.

      • Ricky Rigatoni@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        C++ is obsolete now that we have Go

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          wat

          • Ricky Rigatoni@lemm.ee
            link
            fedilink
            arrow-up
            0
            ·
            5 months ago

            I am currently in the process of completely rewriting the BSD kernel in go.

            • lime!@feddit.nu
              link
              fedilink
              English
              arrow-up
              0
              ·
              5 months ago

              how are you handling the GC? how are you handling things like interrupts?

              • Ricky Rigatoni@lemm.ee
                link
                fedilink
                arrow-up
                0
                ·
                5 months ago

                GOd will handle it 🙏

                • lime!@feddit.nu
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  5 months ago

                  oh so you haven’t actually done any of it.

        • KSP Atlas@sopuli.xyz
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          C++ is better suited to lower level operations than Go, C++ can have huge control over the environment (allowing it to be run on bare metal with no OS) while Go is limited due to it using a garbage collector

          If there was a replacement for C++, the best bet IMO would be Zig

          • stetech@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            5 months ago

            As someone who knows neither of the three: Why Zig over Rust as a Cpp replacement?

            • ZILtoid1991@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              5 months ago

              Rust has its own issues.

              Before the memory safety craze, Rust was hyped as a functional programming language, meaning it not only has lambdas and monads, but also const by default, which will force you to rethink all your programming decisions. Also no classes, so you do even more rethinking.

              • optional@sh.itjust.works
                link
                fedilink
                arrow-up
                0
                ·
                5 months ago

                I don’t just rethink my programming decision but all my life decisions every night. Seem like Rust is the perfect language for me.

            • dejected_warp_core@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              5 months ago

              As someone who just picked through the Zig docs (take this with a mountain of salt), Zig has a few things going for it:

              • spec is simple and closer to C in scope
              • modern language design, toolchain, and overall ergonomics
              • Go-like struct & interface system
              • 1st-class C interoperability

              Go foists co-routines on you and the runtime, and Rust has the borrow checker. Both of these things deeply impact language design, standard libraries, and the overall developer experience. So Zig might actually be a “more modern C” in many ways which makes it a contender. That said, it’s not a 1:1 comparsion since it lacks everything else that C++ does: you’d have to re-envision your software designs as something other than OOP if that’s what you’re used to.

      • RoyaltyInTraining@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I feel like all C++ does these days is badly and very slowly copy other languages. It wouldn’t be a huge loss.

  • sga@lemmings.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    my family is dying and i dont like it, atleast get me on the tracks with them, would not be able to live with the guilt anyway

    • Flipper@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Take another look, you’re already standing on the top track.

      • sga@lemmings.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        well that gives me some soothe

  • Whorehoarder@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Are we in the blast zone of the nuke?

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Maybe we could use Javascript to direct a simple robot to set the lever while we remain at a safe distance?

      Maybe the real solution to this diagram is to nuke it from orbit.

      • seang96@spgrn.com
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        But the robot has to run windows vista

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          And have a valid Apple developer account?

  • zib@lemmy.world
    cake
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I’d take my odds with the bottom track.

    • Chakravanti@monero.town
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      I agree. And if it doesn’t fire the missile, I’ll go get that and hook it up to my Motorcycle like Raven (Snow Crash)!

      • threshold_dweller@lemmy.today
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        poor impulse control

        • Chakravanti@monero.town
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          Oh, don’t misunderstand. I had that thought first time I read Snow Crash about a decade ago now. Haven’t found thought changing mind since. Just because Raven was poor doesn’t mean he made a “bad” decision in certain senses!

          • threshold_dweller@lemmy.today
            link
            fedilink
            arrow-up
            0
            ·
            5 months ago

            He literally has it tattooed on his forehead.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 59 users / day
  • 438 users / week
  • 1.62K users / month
  • 4.19K users / 6 months
  • 0 local subscribers
  • 24.2K subscribers
  • 1.01K Posts
  • 18.8K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org