rht
rht
Yeah, I think we want `matrix_client` as an optional dependency, installed via `pip install zulip[matrix]`.
I agree with @quaquel in regarding LOC as a
This issue seems to be a more suitable place to discuss about the API than #1900. > self.cell.neighborhood.select(n=1).move_to(self) If I do `cell.neighborhood.select(n=3)`, would adding a `move_to(self)` make sense? `move_to()` would...
> not all ABMs I have made rely on spaces, so moving in space is not essential to the Agent. I see your point regarding with moving being specific to...
I find `.select(how="random")` to be more general, which allows `.select(how="first")` without having to define an extra method. > For me, conceptual soundness and clarity trump concerns about the length of...
This reminds me of Steve Yegge's old rant about Java's unnatural/bureaucratic API: https://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html, natural language pseudocode ``` get the garbage bag from under the sink carry it out to the...
This is ChatGPT's answer for NetLogo's `move_agent_to_neighborhood`: `ask my-turtle [move-to one-of neighbors]`, while for `move_to_empty`: ```netlogo to move-to-random-empty-neighbor let empty-neighbors neighbors with [not any? turtles-here] if any? empty-neighbors [ move-to...
Temporary solution is to record the browser screen using e.g. https://chrome.google.com/webstore/detail/screen-recorder/hniebljpgcogalllopnjokppmgbhaden. But given that we use Solara now, it should be easier to capture the Matplotlib space state as pictures...
A quick hack to test the idea is to add a line after https://github.com/projectmesa/mesa/blob/9c9a02e25df7c83c866ae9a23416c5d32e76a48d/mesa/experimental/jupyter_viz.py#L262 to save the plot to a file, which filename is an increasing number. And then combine...
https://askubuntu.com/questions/648244/how-do-i-create-an-animated-gif-from-still-images-preferably-with-the-command-l