This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-18
Channels
- # admin-announcements (4)
- # beginners (306)
- # boot (191)
- # bristol-clojurians (4)
- # business (3)
- # cbus (4)
- # cider (6)
- # cljsrn (51)
- # clojure (147)
- # clojure-canada (1)
- # clojure-conj (6)
- # clojure-japan (2)
- # clojure-poland (8)
- # clojure-russia (57)
- # clojure-sg (1)
- # clojurecup (1)
- # clojurescript (229)
- # core-async (4)
- # cursive (47)
- # data-science (2)
- # datomic (3)
- # emacs (6)
- # events (1)
- # hoplon (16)
- # immutant (33)
- # jobs (1)
- # ldnclj (7)
- # off-topic (25)
- # om (69)
- # onyx (7)
- # re-frame (35)
- # reagent (3)
- # yada (4)
@johanatan thanks! Will try this!
@johanatan: apologies for the misunderstanding but isn't that doing the same thing as natal repl
?
@mfikes: got my hands on the video, but not sure if it belongs on the cljsrn website. It's more theory and only goes into om examples in the end - https://www.youtube.com/watch?v=oJ8t8Hc9XaE
@johanatan: Some of that stuff is in Natal (https://github.com/dmotz/natal/blob/0.1.6/natal.coffee#L428-L437). I suppose you are interested in whether Dan can figure out a way to tail
the logfile for you somewhere appropriate within Natal.
@dvcrn: Awesome It is in the Talks & Videos section of http://cljsrn.org now
@dmotz: can you find a way to integrate the tail into REPL output? I'd like to see something like: ^
btw, how do projects that have already been generated take updates from the natal/ambly upstream?
@dvcrn: maybe something like this, but not restricted to the js/React namespace? https://github.com/dmotz/natal-shell/blob/master/src/natal_shell/components.clj#L7
@johanatan: {:source {:isStatic true :uri "logo"}}
not work for me, read the RN source code, I find a ugly way to work around the problem:
1. put require('./img/logo.png');
in the index.ios.js
2. `(this-as this
[image {:source (.require this "issues/img/logo.png")
:style (:thumbnail styles)}])`
I thought that we don't need put images to ios imageset as v0.14.0 unified the way for both ios and android
@johanatan: I will try your way, still thanks a lot!
Did you put your images in the part of the file system that React is privy to? I'd imagine that it won't be looking in the ClojureScript dirs
Perhaps native/ (root of both iOS and Android native folders) would be the best bet.
having a little trouble with natal launch
failing to launch with an xcodebuild error and wondering if I'm doing something wrong
@jwinter: error says timeout waiting for simulator to boot. Try natal xcode
and seeing if you can launch simulator from the IDE (press the play button)
indeed. natal listdevices
does show simulators and I do see 23 iPhone 6s Plus (9.1)
in the results
I've tried a few times, just kinda wondering how to debug what the difference b/t natal launch
and XCode/Play-button
could be
@jwinter: maybe have a peek at what Natal is trying and run it by hand to see if more info pops out. (Natal is simple.)
@jwinter: this means that your actual Obj-C test failed. Most likely you removed the string that it is looking for.