▲ 703 ▼ tickling ur spidey senses (mander.xyz) submitted 2 years ago by fossilesque@mander.xyz to c/science_memes@mander.xyz 21 comments fedilink hide all child comments
[–] vrighter@discuss.tchncs.de 29 points 2 years ago (2 children) I LOVE finding bugs. I HATE looking for them permalink fedilink source hideshow 4 child comments replies: [–] Rubanski@lemm.ee 3 points 2 years ago (1 child) Are you a spider? permalink fedilink source parent hideshow 2 child comments replies: [–] vrighter@discuss.tchncs.de 3 points 2 years ago no, but I used to have one. He didn't like looking for them either. permalink fedilink source parent [–] yetAnotherUser@discuss.tchncs.de 3 points 2 years ago (2 children) 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? permalink fedilink source parent hideshow 4 child comments replies: [–] meowMix2525@lemm.ee 6 points 2 years ago You're not desperate enough for them to reveal themselves to you yet permalink fedilink source parent [–] Iron_Lynx@lemmy.world 3 points 2 years ago* (last edited 2 years ago) (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] vrighter@discuss.tchncs.de 3 points 2 years ago (1 child) shouldn't b loop until it's <a instead of <=a ? permalink fedilink source parent hideshow 2 child comments replies: [–] nilclass@discuss.tchncs.de 2 points 2 years ago Yes permalink fedilink source parent
[–] Rubanski@lemm.ee 3 points 2 years ago (1 child) Are you a spider? permalink fedilink source parent hideshow 2 child comments replies: [–] vrighter@discuss.tchncs.de 3 points 2 years ago no, but I used to have one. He didn't like looking for them either. permalink fedilink source parent
[–] vrighter@discuss.tchncs.de 3 points 2 years ago no, but I used to have one. He didn't like looking for them either. permalink fedilink source parent
[–] yetAnotherUser@discuss.tchncs.de 3 points 2 years ago (2 children) 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? permalink fedilink source parent hideshow 4 child comments replies: [–] meowMix2525@lemm.ee 6 points 2 years ago You're not desperate enough for them to reveal themselves to you yet permalink fedilink source parent [–] Iron_Lynx@lemmy.world 3 points 2 years ago* (last edited 2 years ago) (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] vrighter@discuss.tchncs.de 3 points 2 years ago (1 child) shouldn't b loop until it's <a instead of <=a ? permalink fedilink source parent hideshow 2 child comments replies: [–] nilclass@discuss.tchncs.de 2 points 2 years ago Yes permalink fedilink source parent
[–] meowMix2525@lemm.ee 6 points 2 years ago You're not desperate enough for them to reveal themselves to you yet permalink fedilink source parent
[–] Iron_Lynx@lemmy.world 3 points 2 years ago* (last edited 2 years ago) (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] vrighter@discuss.tchncs.de 3 points 2 years ago (1 child) shouldn't b loop until it's <a instead of <=a ? permalink fedilink source parent hideshow 2 child comments replies: [–] nilclass@discuss.tchncs.de 2 points 2 years ago Yes permalink fedilink source parent
[–] vrighter@discuss.tchncs.de 3 points 2 years ago (1 child) shouldn't b loop until it's <a instead of <=a ? permalink fedilink source parent hideshow 2 child comments replies: [–] nilclass@discuss.tchncs.de 2 points 2 years ago Yes permalink fedilink source parent