The Math Inspector Source Code [video]

1 point by calhoun137 4 years ago | 1 comment
  • calhoun137 4 years ago
    Project author here. In this video I discuss a crazy hack I discovered for the python exec function, where you can trick it into thinking you passed a dictionary as the 2nd parameter and then it will automatically trigger a series of callbacks when anything is changed.

    Wanted to share this trick with HN because I think it's really cool, and also am not sure if anyone has ever done this before.