Agents.jl
Elm
Agents.jl | Elm | |
---|---|---|
13 | 198 | |
691 | 7,451 | |
1.6% | 0.2% | |
8.8 | 5.4 | |
6 days ago | about 2 months ago | |
Julia | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
Elm
-
Ludic: New framework for Python with seamless Htmx support
Elm [1] is based on a similar idea. Build your app from pure functions that return HTML tags.
[1] https://elm-lang.org/
- Learning Elm by porting a medium-sized web front end from React (2019)
-
Can you make your own JavaScript by implementing ECMAScript standard?
You also wouldn't really be creating your own new programing language. You would be creating something that can run JavaScript by following JavaScript standards and syntax. You might be able to add some non-standard features of your own on top of those standards, or include your own standard library of helpers or utilities, but you can't completely make a new or alternative language and then load it in the browser (or at least not by reimplementing ECMAScript standards... you actually can make your own language that runs within any Javascript enviroment, if you provide an interpreter or compiler that transforms it into valid JS. Some people have done something like this, eg Elm: https://elm-lang.org/).
-
What is the best way to present the user the results of Haskell computations?
You should at least have a look at https://elm-lang.org/ it is a pure functional language like Haskell (although with fewer fancy syntax/type classes) but it has some lovely libraries for visualisation and even with plain elm (+ elm-ui) doing string transformations can be easily done.
- Course using F#: Write your own tiny programming system(s)
-
Building React Components Using Unions in TypeScript
I get it. However, the whole point of using Unions to narrow your types, ensure only a set of possible scenarios can occur, and only access data of a particular union when it’s safe to do so. That’s some of what pattern matching can provide, and 100% of what using switch statements in TypeScript with their Discriminated Unions can provide. Yes, it’s not 100% exhaustive, but TypeScript is not soundly typed, and even Elm which is still has the same issue TypeScript does: You’re running in JavaScript where anything is possible. So it’s good enough to build with and much better than what you had.
- What's the state of the Elm repo? · Issue #2308 · elm/compiler
-
How to render a basic calendar UI in Elm
The beauty of a language like Elm (and other lambda-calculus / functional programming inspired languages) is that there's very little transformation involved in going from an idea to code. And that seems to have a big impact on getting things done.
- Como desenvolvi um backend web em Clojure
-
Is it possible to write games like Pac-Man in a functional language?
I think the most fun and approachable way for beginners to build games with functional programming is with Elm [1].
See a few (small, demo) games built by the community in [2] .
Notice Elm has abandoned the FRP approach in favor of Model-View-Update [3].
[1] https://elm-lang.org/
What are some alternatives?
Molly.jl - Molecular simulation in Julia
rescript-compiler - The compiler for ReScript.
mesa - Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.
haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.
LanguageServer.jl - An implementation of the Microsoft Language Server Protocol for the Julia language.
purescript - A strongly-typed language that compiles to JavaScript
NetLogo - turtles, patches, and links for kids, teachers, and scientists
yew - Rust / Wasm framework for creating reliable and efficient web applications
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.
idris - A Dependently Typed Functional Programming Language
ReinforcementLearning.jl - A reinforcement learning package for Julia
reflex - Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.