Lemmy Mengsk
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 5 months ago

tickling ur spidey senses

mander.xyz

external-link
message-square
22
fedilink
727
external-link

tickling ur spidey senses

mander.xyz

fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 5 months ago
message-square
22
fedilink
  • vrighter@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    30
    ·
    5 months ago

    I LOVE finding bugs.

    I HATE looking for them

    • Rubanski@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      Are you a spider?

      • vrighter@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        no, but I used to have one. He didn’t like looking for them either.

    • yetAnotherUser@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      5 months ago

      And the bugs are always in the last lines of code you check. It’s so infuriating! Why can’t they be in the first?

      • meowMix2525@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        5 months ago

        You’re not desperate enough for them to reveal themselves to you yet

      • Iron Lynx@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        5 months ago

        Because you stop searching when you find the bug.

        You have to not execute

        lines[] = Load(file.code);
        
        bool bug_found = false;
        i=0;
        while(!bug_found)
        {
          bug_found = findBug(lines[i]);
          //looks like I missed a bit, lemme fix
          if(bug_found)
          {
            break;
          }
          i++;
        }
        bug_fix(lines[i]);
        // Who'd've thought that I'd need to fix a bug in a joke about fixing bugs
        // Now that's some tasty irony ^-^'
        

        You have to run

        lines[] = Load(file.code);
        
        def bugs[];
        a = 0;
        for(i=0;i<lines[].length();i++)
        {
          if (findBug(lines[i])
          {
            bugs[a] = lines[i];
            a++;
          }
        }
        for(b=0;b<=a;b++)
        {
          bug_fix(lines[b]);
        }
        

        /j

        • vrighter@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 months ago

          shouldn’t b loop until it’s <a instead of <=a ?

          • nilclass@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            Yes

    • propter_hog [mirror/your pronouns]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Ok that’s a fair point

Science Memes@mander.xyz

science_memes@mander.xyz

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: !science_memes@mander.xyz

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don’t throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

  • !spiders@lemmy.world

Other Mander Communities

Science and Research

  • !academia@mander.xyz
  • !science@mander.xyz
  • !scicomm@mander.xyz

Biology and Life Sciences

  • !abiogenesis@mander.xyz
  • !animal-behavior@mander.xyz
  • !anthropology@mander.xyz
  • !arachnology@mander.xyz
  • !balconygardening@slrpnk.net
  • !biodiversity@mander.xyz
  • !biology@mander.xyz
  • !biophysics@mander.xyz
  • !botany@mander.xyz
  • !ecology@mander.xyz
  • !entomology@mander.xyz
  • !fermentation@mander.xyz
  • !herpetology@mander.xyz
  • !houseplants@mander.xyz
  • !medicine@mander.xyz
  • !microscopy@mander.xyz
  • !mycology@mander.xyz
  • !nudibranchs@mander.xyz
  • !nutrition@mander.xyz
  • !palaeoecology@mander.xyz
  • !palaeontology@mander.xyz
  • !photosynthesis@mander.xyz
  • !plantid@mander.xyz
  • !plants@mander.xyz
  • !reptiles and amphibians@mander.xyz

Physical Sciences

  • !astronomy@mander.xyz
  • !chemistry@mander.xyz
  • !earthscience@mander.xyz
  • !geography@mander.xyz
  • !geospatial@mander.xyz
  • !nuclear@mander.xyz
  • !physics@mander.xyz
  • !quantum-computing@mander.xyz
  • !spectroscopy@mander.xyz

Humanities and Social Sciences

  • !archaeology@mander.xyz
  • !folklore@mander.xyz
  • !history@mander.xyz
  • !old_maps@mander.xyz

Practical and Applied Sciences

  • !exercise-and sports-science@mander.xyz
  • !gardening@mander.xyz
  • !self sufficiency@mander.xyz
  • !soilscience@slrpnk.net
  • !terrariums@mander.xyz
  • !timelapse@mander.xyz

Memes

  • !bushrat_confidential@slrpnk.net
  • !science_memes@mander.xyz

Miscellaneous

  • !answered@mander.xyz
  • !mander@mander.xyz
Visibility: Public
globe

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

  • 2.27K users / day
  • 6.02K users / week
  • 12K users / month
  • 24K users / 6 months
  • 1 local subscriber
  • 14.5K subscribers
  • 4.56K Posts
  • 105K Comments
  • Modlog
  • mods:
  • Salamander@mander.xyz
  • fossilesque@mander.xyz
  • SciBot@mander.xyz
  • fossilesque@lemmy.dbzer0.com
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org