foone,
@foone@digipres.club avatar

I ran into a bug in a program but logging is off. I'll just enable logging and run it again, surely I'll quickly run into the same bug again, it'll definitely reoccur!

Behold, a fool.

foone,
@foone@digipres.club avatar

I think this might actually be an instance of one of my favorite kinds of bugs:

race conditions that only occur if you're automating something

foone,
@foone@digipres.club avatar

there's a surprising number of programs that work just fine because the fact that humans are not super-fast and accurate means that there's delays between clicking buttons and typing things and such

foone,
@foone@digipres.club avatar

but I can't prove it yet. thus, the logging.

onelson,
@onelson@mastodon.social avatar

@foone I used to say, "the only software that works is the software you never use."

jamesholden,
@jamesholden@mas.to avatar

@foone One of the test automation QA engineers at work once told me that most of her job was inserting delays so the tests work properly.

foone,
@foone@digipres.club avatar

@jamesholden yep. That happens so often.
time.sleep(0.1) everywhere

purp,
@purp@mastodon.social avatar

@foone or maybe my fave, things that don’t break when debugging is enabled?

18+ LinuxAndYarn,
@LinuxAndYarn@mastodon.social avatar

@foone Reminds me of Ellen Ullman's novel "The Bug" where a crash was happening intermittently but was maddeningly impossible to find until faster clock speeds made it appear more often.

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