This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-06
Channels
- # beginners (3)
- # boot (2)
- # cljs-dev (11)
- # cljsrn (122)
- # clojars (9)
- # clojure (8)
- # clojure-austin (5)
- # clojure-korea (1)
- # clojure-russia (3)
- # clojure-spec (7)
- # clojure-uk (14)
- # clojurescript (45)
- # cursive (12)
- # emacs (7)
- # euroclojure (1)
- # hoplon (285)
- # instaparse (1)
- # klipse (37)
- # leiningen (1)
- # off-topic (3)
- # om (11)
- # onyx (4)
- # re-frame (5)
- # reagent (1)
- # sql (3)
- # uncomplicate (2)
- # untangled (17)
- # vim (5)
well done @jrheard your article got very good feedback on HN and Reddit
https://www.reddit.com/r/Clojure/comments/5adfxi/procedural_dungeon_generation_a_drunkards_walk_in/
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.
Iāve deployed the infinite loop protection
You can test it in KLIPSE repl
http://app.klipse.tech/?cljs_in=(loop%20%5B%5D%0A%20%20(recur))&compile-display-guard=true
I added a flag to display the guard
in the transpiled js
by default, guard
doesnāt appear
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
because, you are using your own version of klipse and not the one from the cloud
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
Yeah that makes sense
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
Great article!
Thx for mentioning how much you enjoy klipse