Dirk,
@Dirk@lemmy.ml avatar

console.log(“Does it happen here?”)

z500,
@z500@startrek.website avatar

Every time that last part happens I have to check the proper spelling of Berenstain. I've had some that really seem like they should have been impossible lol

ZcaT,
@ZcaT@lemmy.world avatar

Has it ever!?

axtualdave,

Everyone always skips the last step, but that's where you learn.

DarthYodaX,

My boss does 1 <--> 2 with us over most every bug any of us has ever found. Ticking time-bomb...

Rhaedas,
Rhaedas avatar

I have some Excel VBA scripting that I've been on 1-4 for a while now, so there's a branch off of 4 that should be "fuck it, here's the workaround" or "that part isn't that important anyway, ignore it".

(it's actually not Excel that's the problem, it's the change to its call to IE that throws up a stupid security warning.)

chaorace,
@chaorace@lemmy.sdf.org avatar

Oh my god this comment gave me an aneurysm

kkby,

My wife got me this shirt…

randombit,

One of the best pieces of advice I have ever gotten was to build diagnostics first. The time it takes to do will pay for itself 100X over the course of development.

dan1101,
@dan1101@lemmy.world avatar

How did that ever work, I've been there many times.

fubo,

"I notice that I am confused, and thus that one of my beliefs is fiction."

kriss0706,
kriss0706 avatar

its funny i see this now, after spending 3 hours debugging D:

macgregor,

Get enough experience and you just have a brief moment of stage 3 as you dive straight to stage 4.

Unless it's a customer/that-one-guy-at-work (it's a title, but there's usually a handful of them) and then there's this vast stage 0 of back and forth of "are you sure that's happening, run these commands and paste the entire output to me" to be sure of what they are saying then you jump to stage 3/4.

V699,

I jump straight to step 6

PtitSerpent,
PtitSerpent avatar

if (0 === 0) {
var_dump($test); die;
}

perviouslyiner,

if ((x != x) || (x == x+1)) then it's one of those weird numbers

tgxn,
@tgxn@lemmy.tgxn.net avatar

Ahhhhh, PHP… 😭

ShustOne,

As true as true can ever be

DonjonMaister,
@DonjonMaister@programming.dev avatar

Stage 4.5: console.log() everything.

zqwzzle,

And then the logging fixes the subtle timing issue causing the problem.

V699,

Race conditions are the worst

zqwzzle,

Good ol’ Heisenbugs.

sickmatter,

Especially if logging ends up spreading a global mutex around the log file.

danc4498,

We have logging software built in, but I can never remember how to turn it on, so I just console.log

SpicyTofuSoup,

“Oh..that’s why it’s not working”

0x4E4F, (edited )
@0x4E4F@sh.itjust.works avatar

Step 4.6: Get another drive for the logs.

gerdesj,

4.7: Write app specific log parser 4.8: Fix log parser goto 0.99999999999999923415

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmerhumor@lemmy.ml
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines