Agents.jl
rust
Agents.jl | rust | |
---|---|---|
13 | 2,683 | |
691 | 93,041 | |
1.6% | 1.2% | |
8.8 | 10.0 | |
6 days ago | 4 days ago | |
Julia | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Agents.jl
- Ask HN: I just want to have fun programming again
-
[P] Stochastic Differentiable Programming: Unbiased Automatic Differentiation for Discrete Stochastic Programs (such as particle filters, agent-based models, and more!)
We mean the standard "agent based model" https://www.pnas.org/doi/10.1073/pnas.082080899, https://en.wikipedia.org/wiki/Agent-based_model . The kind of thing you'd use Agents.jl for. For example, look at agent-based infection models. In these kind of models you create many individuals (agents) with rules. Each agent moves around, but if one is standing near an agent that is infected, there's a probability of infecting the nearby agent. What is the average percentage of infected people at time t?
-
What are the Netlogo competitors?
Jullia has packages too.
-
Julia ♥ Agent Based Modeling #2: Work, Eat, Trade, Repeat
Agent-based modeling looks like an interesting topic, something ripe for fun little side projects. The short (three paragraph) "Crash course on agent based modeling" [1] from the package docs gave me an idea of why ABM is useful, and scrolling through the example model [2] kinda answers what conveniences the package gives me over implementing the simulation myself.
Has anyone here used ABM for a serious project? Fields like economics and sociology are mentioned, but how prevalent is Agent based modeling in those fields in practice?
[1] https://juliadynamics.github.io/Agents.jl/stable/#Crash-cour...
-
Tetris game as Agent-Based modeling: maximizing density
Are the pieces the agents? I would recommend looking at Collaborative Diffusion for some examples of combining agent-based techniques with game modeling. As for frameworks, check out agentpy or Agents.jl for alternatives that are moreso software libraries that presume knowledge of programming.
-
What framework would you recommend to build a Tetris game AI using reinforcement learning?
I has a look to Julia too. There are nice tools build by JuliaDynamics. I.e. Agents.jl for agent based modeling. It handles collisions. There is also a framework for reinforcement learning. Also for Genetic Algorithms. Then I found a set of libraries related to Geometry. But it seems to be a lot of work to put that together for my use case.
- What would you like to see in a complex systems modeling software platform?
-
Transition from R Tidyverse to Julia (VS Code)
For agent based modelling, you've come to the right place because Agents.jl is great! It has a way to get interactive visualisations from your models, although I haven't used it myself. See this year's JuliaCon talk about Agents.jl to get an idea of what it can do.
-
Agent Based Simulation
I'm always happy to find you have documentation ;). The doc from https://github.com/JuliaDynamics/Agents.jl was pretty helpful to a noob like me.
-
"No backend available" error when using InteractiveDynamics
Here is the issue. Someone already commented saying it's due to a change in InteractiveDynamics.jl and referenced a pull request. I guess all we need to do is wait.
rust
-
Create a Custom GitHub Action in Rust
If you haven't dipped your touch-typing fingers into Rust yet, you really owe it to yourself. Rust is a modern programming language with features that make it suitable not only for systems programming -- its original purpose, but just about any other environment, too; there are frameworks that let your build web services, web applications including user interfaces, software for embedded devices, machine learning solutions, and of course, command-line tools. Since a custom GitHub Action is essentially a command-line tool that interacts with the system through files and environment variables, Rust is perfectly suited for that as well.
-
Why Does Windows Use Backslash as Path Separator?
Here's an example of someone citing a disagreement between CRT and shell32:
https://github.com/rust-lang/rust/issues/44650
This in addition to the Rust CVE mentioned elsewhere in the thread which was rooted in this issue:
https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html
Here are some quick programs to test contrasting approaches. I don't have examples of inputs where they parse differently on hand right now, but I know they exist. This was also a problem that was frequently discussed internally when I worked at MSFT.
#include
-
I hate Rust (programming language)
> instead of choosing a certain numbered version of the random library (if I remember correctly) I let cargo download the latest version which had a completely different API.
Yeah, they didn't follow the instructions and got burned. I still think that multiple things went wrong simultaneously for that experience. I wonder if more prevalent uses of `#[doc(alias = "name")]` being leveraged by https://github.com/rust-lang/rust/pull/120730 (which now that I check only accounts for methods and not functions, I should get on that!) so that when changing APIs around people at least get a slightly better experience.
- Rust Weird Exprs
- Critical safety flaw found in Rust on Windows (CVE-2024-24576)
-
Unformat Rust code into perfect rectangles
Almost fixed the compiler: https://github.com/rust-lang/rust/pull/123325
-
Implement React v18 from Scratch Using WASM and Rust - [1] Build the Project
Rust: A secure, efficient, and modern programming language (omitting ten thousand words). You can simply follow the installation instructions provided on the official website.
-
Show HN: Fancy-ANSI – Small JavaScript library for converting ANSI to HTML
Recently did something similar in Rust but for generating SVGs. We've adopted it for snapshot testing of cargo and rustc's output. Don't have a good PR handy for showing Github's rendering of changes in the SVG (text, side-by-side, swiping) but https://github.com/rust-lang/rust/pull/121877/files has newly added SVGs.
To see what is supported, see the screenshot in the docs: https://docs.rs/anstyle-svg/latest/anstyle_svg/
-
Upgrading Hundreds of Kubernetes Clusters
We strongly believe in Rust as a powerful language for building production-grade software, especially for systems like ours that run alongside Kubernetes.
-
What Are Const Generics and How Are They Used in Rust?
The above Assert<{N % 2 == 1}> requires #![feature(generic_const_exprs)] and the nightly toolchain. See https://github.com/rust-lang/rust/issues/76560 for more info.
What are some alternatives?
Molly.jl - Molecular simulation in Julia
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
mesa - Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
LanguageServer.jl - An implementation of the Microsoft Language Server Protocol for the Julia language.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
NetLogo - turtles, patches, and links for kids, teachers, and scientists
Odin - Odin Programming Language
Chain.jl - A Julia package for piping a value through a series of transformation expressions using a more convenient syntax than Julia's native piping functionality.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
ReinforcementLearning.jl - A reinforcement learning package for Julia
Rustup - The Rust toolchain installer