well done @jrheard your article got very good feedback on HN and Reddit
thanks! just realized i ended up on HN somehow, i was out with friends last night and was wondering why random people kept following me on twitter š
i love this bit of feedback from the reddit comments:
Ha, that was fun~!
Also those live blocks are boss.
Nice!
Iāve deployed the infinite loop protection
oh awesome!
You can test it in KLIPSE repl
I added a flag to display the guard in the transpiled js
niiiiice
by default, guard doesnāt appear
(defn foo []
(while true))
(foo)
works like a charmi like the default of 3 seconds, too, i think that makes sense
i noticed in the HN thread that someone put together an alternate version of the postās code - https://gist.github.com/Haspaker/74f124859633edeb8d04465ce0053225 - that takes a while to run if you paste it into klipse
so it looks like people are actually using these klipse windows to mess around and come up with stuff, which is awesome!
i was worried that people would read the lines like āgo ahead, try setting that foo to a barā and just skip right over them without trying it
and here weāve got this guy putting together an alternate version of the algorithm right there in the klipse window!
Awesome!
Iām wondering why this code doesnāt cause an inf. loop
I know
because, you are using your own version of klipse and not the one from the cloud
@jrheard ā¬ļø
Also I added your article in KLIPSE readme https://github.com/viebel/klipse/blob/master/README.md#community
ah yeah, yup - out of habit, i prefer hosting my siteās css/js/etc myself, that way i donāt have to reason about a third partyās uptime/speed/etc
plus i can control when i upgrade, etc š
Yeah that makes sense
iāll definitely upgrade before the next post, though!
itās basically done, but iām going to hold off posting it for a couple of weeks due to real-life stuff, and also i want to do a few assorted housekeeping things to the blogās code/setup first
http://jrheard.com/blog-staging/procedural-dungeon-generation-cellular-automata/ is the current version
you might want to configure the max-eval-duration
oh nice, will do
Great article!
Thx for mentioning how much you enjoy klipse metal
š np