Julius Bier Kirkegaard
Julius Bier Kirkegaard
Btw. CUDA seems to stuck on the `__exit__` part of `with Tape`, i.e. when calculating the gradients of `paint()`.
Aha, found the problem. Apparently gradients do not support the "smart indexing" used in the for loops. Replacing `paint` with ``` @ti.kernel def paint(t: ti.f32): for i in range(n *...
Hi @robertour . Thanks for your reply. I opened this issue back in February... I'm sure many things could have changed since then (e.g. `ti.var` no longer being used). Perhaps...
@FrankDMartinez Yeah, I opened this issue years ago. I don't really care about it anymore. However, I comment because I disagree with what you say: as soon as you call...
Haha no offence taken! Well it happens to software all the time. :)
Probably even more correct to do ``` from requests_threads import AsyncSession session = AsyncSession(n=100) async def _main(): rs = [] for _ in range(100): rs.append(asyncio.ensure_future(session.get('http://httpbin.org/get'))) for i in range(100): rs[i]...
Alternatively, I guess I would like to know if there is a way to replace the entire `BokehWidget` with a new `BokehWidget`? I guess this would be quite expensive, but...
Ah!, I found a hackish way to do it ```py from flexx import flx import numpy as np from bokeh.plotting import figure from flexx import app, ui from bokeh.models import...
ah, thanks! Do you think this could be useful to add to the documentation? Currently it simply says ``` Returns: x [list]: location of the minimum. ``` At least it...
having the same issue.