• Traversing paginated APIs is usually easiest with `while resp.links.get(‘next’):`
    • Finished the netflix take-home coding assignment and submitted. It was a bit larger time ask than I’d prefer for this stage in the interview process.
      • There’s a few good examples of raw stuff in here. Pagination traversal, greedy page counts, custom manual mocking.
    • 2 divisional round games! Niners. Went to the pier to watch with the sbsc season finale.
    • Tox can have issues finding output data from pytest-cov. Just add usedevelop=True or setenv=pythonpath={toxinidir}.
    • type(”, (), {})() for an empty object you can set attributes for, etc. I know, there should a single call like object(), but you can’t write to that instantiation.
    • Remember, classmethod is run on the class not the instance (class()). staticmethod doesn’t get self passed, it can be run without an object.
    • Always patch in the namespace of module you’re working. This is true even if the function lives somewhere else! @patch(‘mypackage.mymoduleimtesting.myfunc’).
    • Hahaaaaaaa: https://www.youtube.com/watch?v=4Pr_E8Tz7RE. Amazing game show idea. https://en.wikipedia.org/wiki/Killer_Karaoke.
    • Went through notes/career/software and split up some of the bigger docs: general software, web. They had smaller partitions that made more sense (dbs, etc). Consolidated all the books too: SICP, PIE, CTCI, DS&A.
      • 30 incredible summary documents in total now.
    • Grouped all behavioral questions into categories and then meshed them with an independent bank of my experiences/skills/projects/interests. Helped organize the responses, which should make them easier to bring to memory for the amazon leadership principles.
    • Wrote a system design diagram for all the nodes in autotest, from memory. Was a good exercise to connect new design knowledge with old (semifamiliar) architectures.
    • Watched another couple design videos on uber and tinyurl.