This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-07
Channels
- # admin-announcements (4)
- # beginners (63)
- # boot (67)
- # clara (29)
- # cljs-dev (38)
- # cljsjs (10)
- # clojars (7)
- # clojure (336)
- # clojure-belgium (3)
- # clojure-dev (22)
- # clojure-greece (30)
- # clojure-nl (1)
- # clojure-russia (9)
- # clojure-spain (3)
- # clojure-spec (169)
- # clojure-uk (12)
- # clojurescript (45)
- # clojurex (4)
- # core-matrix (3)
- # cursive (58)
- # datascript (3)
- # datomic (18)
- # events (38)
- # hoplon (228)
- # immutant (5)
- # lambdaisland (6)
- # leiningen (3)
- # luminus (8)
- # off-topic (11)
- # om (113)
- # om-next (2)
- # onyx (10)
- # parinfer (7)
- # planck (22)
- # re-frame (11)
- # reagent (25)
- # robots (7)
- # spacemacs (3)
- # specter (10)
- # yada (3)
oh no! but it looks like homebrew only has 1.12.1! @mfikes insert oliver twist voice please sir, can I have some more? š
@slipset may have implemented HTTP servingānot sure. There is also a trick Bruce Hauman pointed outā¦
$ cat my-watch.sh
#!/bin/bash
fswatch -0 -r src | xargs -0 -n 1 -I {} planck build.cljs
$ websocketd --port=8081 ./my-watch.sh
ā¦ā¦ā¦
fswatch
watching for my HTML to change. It tells Planck about changes. The build.cljs script already prints out one line saying what updated. Added a websocket connection code to my template (4 lines in template.html) and I have auto-reloading
Interestingly, if Planck supported the accept-fn
aspect of Socket REPL, then you could probably hand-code support for any protocol in pure ClojureScript.
Didn't realize that CORS and such don't apply to websocket connections. Even better š
Swift is kinda cool, but I only just dabbled in it a little bit. Itās kinda like āIn hindsight, this is how we should have designed Objective-Cā. You still need to use all the old objective-c libs to do anything useful, so you should at least be able to read the old stuff
I think the main libs have mostly been given Swift interfaces? but itās been a while since Iāve looked
I'm really hoping that someone smarter than me just flat out produces clojure that compiles down to swift one of these days. (Clojureswift?)
Yes, something similar to the recently-announced Scala Native would indeed be interesting.