SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lars to Memes@lemmy.ml · 3 年前

Has anyone notified Elon?

message-square
25
link
fedilink
714

Has anyone notified Elon?

lars to Memes@lemmy.ml · 3 年前
message-square
25
link
fedilink
alert-triangle
You must log in or register to comment.
  • morrowind@lemmy.ml
    link
    fedilink
    arrow-up
    76
    ·
    3 年前

    It’s all fun and games until you have to implement goingToCrashIntoEachOther()

    • lobelia581@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      65
      ·
      3 年前

      // TODO: needs improvements but works 99% of the time

      return false;

      • ifGoingToCrashDont@lemmy.world
        link
        fedilink
        arrow-up
        27
        ·
        3 年前

        This looks good. PR approved.

      • ApeNo1@lemm.eedeleted by creator
        link
        fedilink
        English
        arrow-up
        13
        ·
        edit-2
        1 年前

        deleted by creator

      • Scubus@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        ·
        3 年前

        To improve that, you could get rid of the comment to save space.

    • tourist@lemmy.world
      link
      fedilink
      arrow-up
      40
      ·
      3 年前
      void dont() {
          fuckenNoseDiveLmao();
      }
      
      • r00ty@kbin.life
        link
        fedilink
        arrow-up
        5
        ·
        3 年前

        Well I think goingToCrashIntoEachOther needs to return another drone object. Then don’t can take that object. Based on self.serialNo and other.serialNo a mutually beneficial avoiding manoeuvre could be executed.

        If you’re about to crash into more than one other drone… Good luck the function specifies “EachOther” meaning just one other drone!

        • tourist@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 年前

          this calls for a whiteboard

      • larsOP
        link
        fedilink
        arrow-up
        3
        ·
        3 年前

        Did a Japanese lunar probe write this?

    • AnonTwo@kbin.social
      link
      fedilink
      arrow-up
      12
      ·
      3 年前

      You leaked the code for when it’s out of warranty

      • Viking_Hippie@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 年前

        Or when your subscription to braking has lapsed.

    • YIj54yALOJxEsY20eU@lemm.eedeleted by creator
      link
      fedilink
      arrow-up
      4
      ·
      3 年前

      Love me some clean code. Just please don’t look at the function definition or ever expect me to change my pyramid of abstractions.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      3 年前

      That’s what interns are for.

  • Avicenna@lemmy.world
    link
    fedilink
    arrow-up
    56
    ·
    3 年前

    for the person who wrote that “coding and algorithms” is the same as “magic and alchemy”

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
      link
      fedilink
      arrow-up
      45
      ·
      3 年前
      if (launch) {
         landOnMoon()
      }
      

      What’s so hard, Japan?!? Sheesh.

      • IndiBrony@lemmy.world
        link
        fedilink
        English
        arrow-up
        21
        ·
        3 年前

        Hey, the code was executed perfectly. The orientation wasn’t defined!

        • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
          link
          fedilink
          arrow-up
          4
          ·
          3 年前

          You could even say it self-optimized and saved fuel by not decelerating!

    • r00ty@kbin.life
      link
      fedilink
      arrow-up
      19
      ·
      3 年前

      I think they call algorithms AI these days. At least I caught one of our VPs saying that a few months ago.

      • haui@lemmy.giftedmc.com
        link
        fedilink
        arrow-up
        5
        ·
        3 年前

        I think the vast majority of people has no idea how coding works, doesnt know what an algorithm does and is oblivious to the fact that AI isnt everything its hyped to be.

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 年前

        I had a manager 10 years ago tell me we should start using these “API” things he had just read about. A conspicuously non-technical manager, obviously.

  • majestic@sh.itjust.works
    link
    fedilink
    arrow-up
    35
    ·
    3 年前

    Lemmy Shitpost-13542426

    • bruhduh@lemmy.world
      link
      fedilink
      arrow-up
      26
      ·
      3 年前

      qpewhrxm7lec1

  • twoshoes@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    3 年前

    I work in IT. My boss is by all accounts very competent in both programming and administration, yet all his documentation basically says “remember to set DoTheRightThing=True”

    Edit: I just looked up the documentation for an internal service and under “Error recovery” it just says “The output of command xy should make sense”. fml

    • r00ty@kbin.life
      link
      fedilink
      arrow-up
      19
      ·
      3 年前

      #pragma OccasionallyCrash false

      • xthexder@l.sw0.com
        link
        fedilink
        arrow-up
        8
        ·
        3 年前

        Damn, I must’ve been missing this in my code the whole time.

        Not even joking, I’ve got a project that crashes the MSVC linker with “Internal compiler error occurred” like 1 out of every 5 builds.

        • r00ty@kbin.life
          link
          fedilink
          arrow-up
          6
          ·
          3 年前

          Back in the olde days of programming (I’m talking about compilers from the 80s) the coding connoisseur knew that getting a certain error that seemed like nonsense could easily be solved by adding an extra, or removing a remark line from the top of the code and recompiling.

Memes@lemmy.ml

memes@lemmy.ml

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: !memes@lemmy.ml

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
Visibility: Public
globe

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

  • 499 users / day
  • 2.4K users / week
  • 5K users / month
  • 8.99K users / 6 months
  • 421 local subscribers
  • 56.7K subscribers
  • 15.5K Posts
  • 327K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org