lsmu
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago

The difference between programmers and testers

message-square
84
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1

The difference between programmers and testers

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago
message-square
84
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or register to comment.
  • dragonlobster@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I’m working on a gameboy emulator and the amount of edge cases you have to consider feels just like this lol.

  • grooving@lemmy.studio
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Didn’t even consider leap years. Smh

    • T156@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      That’s the customer answer, where they give an age in leap years, and everything goes to pot.

  • vatlark@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    !lemmySilver

  • bisby@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Based on the only comparison we have, the OP is twice the age of their sister. so the sister is now 44/2, or 22. Easy problem.

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

      ML in action.

    • Redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Based on the only information we have, OPs sister is two. So the sister is 2. Trivial.

  • limer@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    This all assumes all years are measured by the same orbit with no mixing and matching planets or space habitats.

    The standard earth year had not been adopted system wide

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago
    [Test]
    public void Sister_IsAstronaut() 
    {
    
  • CodexArcanum@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago
    import birthday;
    
    let myAge1 = 4;
    let sisterAge1 = 2;
    let myAge2 = 44;
    
    let sisterAge2 = birthday.deriveAge(myAge1, sisterAge1, myAge2);
    
    print(sisterAge2);
    

    Any bugs should be reported upstream. Please open a tracking issue to sync changes with eventual upstream fixes.

    • Natanael@infosec.pub
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      The API has the wrong abstraction and the type definitions fail to capture necessary information (such as in which year you were of the given age) and thus conversions can not be guaranteed to be correct

  • doingthestuff@lemy.lol
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    You could also simplify by saying that assuming neither of them are dead, at some point while he is 44 she will be 42. Whether or not she is actually his sister seems to be irrelevant, she was stated to be his sister, so regardless of biological data, it is being presented as a fact assumption.

    The space stuff is not currently possible and can be disregarded as well.

  • stebo02@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    14 days ago

    deleted by creator

  • bandwidthcrisis@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Physicist: “assuming a spherical year …”

    • alt_xa_23@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      In a frictionless vacuum

      • jxk@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        All I wanted was a cubical day

        • Agent641@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          TIMECUBE!

      • Agent641@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Id hate to experience a vaccum with friction.

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

          Ahhh I’m rubbing up against all this nothing so roughly it feels almost sticky

  • outerspace@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Really have to start with a definition of “now”

  • Sergio@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Fails to consider the case in which the 2-year-old sister is now male.

    • Goldholz @lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Also that you have died or that she is now of no gender

    • theangryseal@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      It definitely does.

      • bampop@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        If your parents had another daughter in the meantime (or if your older brother became female), “my sister” would still be a valid reference, to a completely different person.

  • easily3667@lemmus.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    15 days ago

    deleted by creator

    • SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I mean, no, the tester didn’t say anything wrong here, and all of those (and more) are conditions one must take into account if one were to write a piece of software without errors

      • easily3667@lemmus.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        15 days ago

        deleted by creator

    • SlamWich@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I’m a Dev with no QA so i just have to be neurotically pedantic so nobody goes to jail

    • webpack@ani.social
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I think it’s more about how testers always run into all the edge cases programmers don’t think about

      • CheeseNoodle@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        2 months ago

        Can confirm, not even an official tester (just an open beta tester) and have acrued a reputation for having a legendary bug aura that can cause catastrophic and previously unseen edge cases to occur just by opening the software (game)

  • some_guy@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I used to have a QA job. Can confirm, this is the soup in my head. That’s why I was good at testing. Also, that’s not your sister. That’s your trans brother, who we also love. See?

  • KittyCat@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Also misses the edge case where sister was born on a leap day

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 months ago

      Or maybe in a country that recently switched from the Julian calendar, adding the possibility of >12 months between birthdays as described by calendar.

      • Dave@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        https://github.com/eggert/tz/blob/main/calendars has entered the chat.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 months ago

          Also, as ever, relevant XKCD.

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.

  • 18 users / day
  • 407 users / week
  • 1.04K users / month
  • 3.54K users / 6 months
  • 0 local subscribers
  • 23.3K subscribers
  • 767 Posts
  • 12.9K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org