Kartik Chandra
Kartik Chandra
I would simply like to see the time taken to evaluate the expression, similar to the %time line magic in Jupyter notebooks (this is different from a timestamp!). It would...
I prefer (2), because I think the most common use case is to want to opt-in for a particular call to ic() rather than all calls globally. If I may,...
I like this version: ```python with ic.timing(): ic(foo()) ``` Imagine that when you enter the context manager you start the timer, and then each time you call ic() within the...
(You can implement this by maintaining a global stack of "timers" which store the start time of the current context manager. When you enter a context manager, you push the...
I don't have time to understand the icecream codebase and figure out how to add this feature. But here is "starter code" for the solution I described above: ```python from...
Might be that race condition. Try sticking a "wait 1 sec" in your for loop for now. Also, you probably want the "snapshot" block to be _inside_ the loop.
You have to serve the files from a server! (For security reasons.) Even localhost will do.
Regarding "list of costumes" — yes! I agree. See my [comments](https://forum.snap.berkeley.edu/t/snap-project-to-animated-gif/4895/15) on Bernat's solution in the forum thread (I'm sorry to have "forked" the discussion across two sites!). Regarding parameters...
Realistically, not before I finish my PhD… but maybe you could recruit another enthusiastic high school student or undergrad to wrap up this feature?