This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-17
Channels
- # admin-announcements (17)
- # announcements (1)
- # aws (8)
- # beginners (5)
- # boot (125)
- # cider (28)
- # clojure (33)
- # clojure-berlin (21)
- # clojure-italy (1)
- # clojure-japan (1)
- # clojure-nl (12)
- # clojure-poland (90)
- # clojure-russia (120)
- # clojurescript (284)
- # clojurex (2)
- # cursive (6)
- # datomic (14)
- # devcards (4)
- # events (2)
- # funcool (2)
- # hoplon (238)
- # ldnclj (32)
- # off-topic (27)
- # onyx (9)
- # re-frame (3)
- # reagent (22)
In bhauman’s Flappy Bird demo, I can’t get :onKeyPress to move the bird. Does anyone know what I’m doing wrong? https://github.com/tjg/flappy-bird-demo/commit/88f4106a6f4ccd30c666313e93bb52ce13046952
Oh I see, it has to do with div
s not being able to accept such events (unless you add tabindex
and focus on it)...
@paulb: well transit-clj is a server thing so it needs to work on streams and bounded buffers. transit-cljs however cannot provide such knobs because JavaScript doesn’t widely provide similar abstractions.
Given a list of items like this:
(def my-list {:web01 {:ip "192.168.0.1"
:tags ["web" "production"]}
:db01 {:ip "192.168.0.2"
:tags ["database" "production"]}})
I want to look up servers by tags. Is this a good structure for the data? How would I find db01 by looking for the tag database?