News for hackers. Stuff that matters.
Re:Visual Q-Learning Demo in JavaScript from Karpathy (2013) by nielsinho on Sunday November 26, 2023 @02:54PM (#38424419)
I stumbled across ScriptBots when I was a kid, and became obsessed with implementing my own variants, and subsequently with neural networks. This one [1] is close to Karpathy's original, and this one [2] turns the world 3D and the beings are slightly more advanced. Both are implemented in MoonScript/Lua and run with Love2D. In part due to this this YouTube video, I work as a Machine Learning Engineer today.

[1] https://github.com/nilq/genesis [2] https://github.com/nilq/plane

Re:Visual Q-Learning Demo in JavaScript from Karpathy (2013) by eigenvalue on Tuesday November 28, 2023 @02:14PM (#38449940)
Yes, I also became somewhat obsessed with ScriptBots when it first came out. I remember re-compiling it from source using the Intel C++ compiler and getting a pretty massive speedup on my machine. It was the first time I really dug into a fairly complex program. Even now I think it's probably too heavy to work well in JS.