@bthalpin Glad you’re enjoying it! And yeah, that’s a fair point.
@bthalpin I found this example to be very interesting and wanted to see if I could golf it down a little with Distances.jl - I think it came out quite clean.
https://gist.github.com/jonocarroll/8180c068fa46fb3a3be4d7bbf0fd146f
@bthalpin I love this. It is a long-term goal to translate all the models from the book into Julia (and other languages, but Julia is top priority). As you surmised, I chose NetLogo for practical reasons, but I think that serious modelers should be competent in more general languages.
I've been looking at @psmaldino's book on social simulation https://press.princeton.edu/books/paperback/9780691224145/modeling-social-behavior for a potential new course.
I like it a lot but it uses NetLogo. I'd prefer to use Julia, so I spent a couple of hours this afternoon translating his first example.
Result: likely quite straightforward to teach from this book using Julia. Blog summary:
Paradigmatically promiscuous scientist. Modeler. Curmudgeon. Faculty at UC Merced and Santa Fe Institute.
Web: https://smaldino.com/wp/
Bluesky: @psmaldino.bsky.social