galoisenne
ll
galoisenne | ll | |
---|---|---|
2 | 1 | |
105 | 1 | |
- | - | |
9.7 | 10.0 | |
6 days ago | about 3 years ago | |
Kotlin | Go | |
Apache License 2.0 | MIT 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.
galoisenne
-
Show HN: Game of Life on non-square topologies with 2^32 update rules
During a recent programming detour, I discovered that finite elementary cellular automata with circular boundary conditions can be simulated using power iteration using matrix-vector multiplication with a circulant matrix and a strange kind of algebra, which I call a kernel algebra. [1] I wonder if this same idea could be generalized to higher dimensional automata on other topological surfaces.
[1]: https://github.com/breandan/galoisenne/blob/8f0f1e9e4e02062c...
-
From zero to 10M lines of Kotlin
Well, I've been trying for about three years, but to be fair I'm a pretty slow programmer so you may have better luck.
> a language being too obscure to have seen much academic study
Doesn't seem too obscure to me.
https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=kotl...
> T isn't generic in that code, it's just a class.
I think it needs to be a generic type in Kotlin for this to work, because otherwise it will dispatch to a single method. It's tricky to get Kotlin to do much compile time computation. Not saying that it's impossible, but LMK when you've actually tried it. Here's some sample code if you want to try encoding a Boolean logic:
https://github.com/breandan/galoisenne/blob/2e465e7a753f6341...
ll
-
Show HN: Game of Life on non-square topologies with 2^32 update rules
Look up the b/s format for specifying rules. It is a lot more flexible.
Here's my version : https://github.com/chewxy/ll/blob/main/main.go#L176
I also live coded this in a series of 3 videos:
1. https://youtu.be/5JArQO8YeRo
What are some alternatives?
javalin.github.io - Javalin website source code
vhs - Your CLI home video recorder 📼
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
Go-L - Game of Life with different update rules and on a bunch of different topologies (sphere, torus, klein bottle, etc.)
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Anki-Android - AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
KotlinLanguageServer - Kotlin code completion, diagnostics and more for any editor/IDE using the Language Server Protocol
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort