HNHacker News
TopNewBestAskShowJobs

eliasffyksen

14 karma · joined August 1, 2022

submissionscomments
eliasffyksen··on Names should be cute, not descriptive
I like descriptive names that fade. It provides a sort of local etymology. Maybe not good for business, but definitly provides some interesting discussions at the pub.
eliasffyksen··on Writing Snake in 12 Lines of PyTorch
Yes, but not in the matrix state we are using to represent it. It would probaly need to be represented as a "one-hot" MDP encoding, takes away from some of the beauty of it.
eliasffyksen··on Snakisms
Nice to see I'm not the only one obsessed with Snake. This goes directly in my bookmarks :P
eliasffyksen··on Writing Snake in 12 Lines of PyTorch
Are you asking for the Hamiltonian of the Snake world? I don't think it exists. The transformation is non-linear :P
eliasffyksen··on Writing Snake in 12 Lines of PyTorch
Really cool. That's how this project got started. I was doing the exact thing you were doing (tile-based RL path finding). But it was soooo slow, so I started implementing it in tensors, and that's when I realized I could do a whole game of Snake.
eliasffyksen··on Writing Snake in 12 Lines of PyTorch
Very cool. I would definitely like to see this in action!
eliasffyksen··on Writing Snake in 12 Lines of PyTorch
I wrote more for the fun of it than anything else. The challenge was just getting it as small as possible, just for the sake of it
eliasffyksen··on Writing Snake in 12 Lines of PyTorch
I'm glad someone liked it. r/programming didn't seem to enjoy it much :P
eliasffyksen··on [dead]
I wrote this article on a very concise version of Snake. I found it fun, maybe someone else will as well :P