[Week 7] Jarvis, get the bugspray!

 The joy of debugging!

Summary

  • Implemented code to update local locations to remote locations after blobs have been uploaded.
  • Started to work on tests for the above.
  • Found several bugs in the implemented code, start fixing them.

Details

The method I'm working on currently is named update_lookup_table and it is a classic bin packing problem. Now, you'd think a "classic" problem would not take a whole week to successfully implement. Yeah, I thought so too. But this seemingly innocuous method has given me a crappy time all week.

screenshot of a failed assertion during debugging

The output from this bin packing problem contains negative array indicies!

Anyway, currently I'm debugging this method line-by-line to figure out what's going wrong.

Comments

Popular Posts