This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-08
Channels
- # aleph (4)
- # beginners (34)
- # boot (37)
- # cljs-dev (5)
- # cljsrn (8)
- # clojure (31)
- # clojure-austin (3)
- # clojure-greece (4)
- # clojure-spec (11)
- # clojure-uk (1)
- # clojurebridge (2)
- # clojurescript (13)
- # cloverage (22)
- # cursive (9)
- # datascript (2)
- # defnpodcast (2)
- # devcards (12)
- # emacs (1)
- # hoplon (67)
- # off-topic (5)
- # om (3)
- # onyx (36)
- # planck (3)
- # quil (2)
- # testing (1)
- # untangled (4)
- # yada (168)
Can I release boot-hoplon "0.2.5" with https://github.com/hoplon/boot-hoplon/pull/8 ?
@flyboarder yeah, but that puts out html/css rather than hoplon/ui. I would think the point would be to get the basic layout and then go put the javlin functionality in by hand without having to touch html/css in its native form. But maybe that could be used to start to build the first hl/ui authoring tool then use that resultant tool to build the 2nd, etc....
i think that the components you need to make a user interface have been discovered already
My thought was to generate hoplon edn from the dom, either from HTML -> hl or just directly hl
@flyboarder what is the state of such translation? I tinkered around with a html2hiccup but I wasn't sure if it was generating valid hlisp (for one, it seemed to use almost all square brackets, instead of parents which maybe hlisp doesn't care?).
there is an html2cljs boot task which should be able to generate valid hlisp
@vigilancetech my concept for a designer would be something like noflow-ui so you can visualize the dom structure
@micha life is good, I have a little boy now, it's almost 2 months old. But this weekend I think I will do a little bit of Hoplon for a small project π
@flyboarder I don't see that as an option in 2.6.0
@vigilancetech: it's in boot-hoplon
@flyboarder ahh, I think that's had me screwed up for a while! Hence me resorting to the hiccup stuff. Thanks.
ok, I just installed boot-hoplon and now its not finding my main namespace in my .hl file. Is there some way to clean the cache or something? It was working fine with just ordinary boot π
adzerk.boot_cljs.util.proxy$clojure.lang.ExceptionInfo$ff19274a: ERROR: No such namespace: guardian- ui.dashboard, could not locate guardian_ui/dashboard.cljs, guardian_ui/dashboard.cljc, or Closure na mespace "guardian-ui.dashboard" in file /home/kevin/.boot/cache/tmp/home/kevin/0work/hoplon/guardian -ui/ls3/462rpk/boot/cljs/main7439.cljs at file boot/cljs/main7439.cljs
actually a cljs file.
Should I rename it to .hl?
Were you not using hoplon task before? @vigilancetech
yes, hoplon task was part of my dev task
all I did is install hoplon-boot and follow the instructions in the readme
I added [hoplon "6.0.0-alpha16"] to the dependencies in build.boot
and [hoplon/boot-hoplon "0.3.0-SNAPSHOT" :scope "test"]
I made this all instead of hoplon in the requires: '[hoplon.boot-hoplon :refer :all]
I think that's what was being instructed in the hoplon-boot readme
then I even went in and renamed the ~/.boot/cache/boot directory, and it created a new one but still the same error. Also still the same error if I removed the hoplon line from the dependencies
here's my build.boot: http://pastebin.ca/3726299 Why am I getting this error? java.lang.IllegalArgumentException: No matching clause: ns+ @micha?
@vigilancetech: you should use boot-hoplon 0.2.x
The 0.3.0 is not available on clojars
same problem
I cloned boot-hoplon and boot dev'ed it locallh
*locally
Your boot file looks ok, is there a repo I can try building?
hmm... let me try and push it to github. Don't think I've done this before, or at least not in a long time π Always cloning/pulling and working locally lately
@flyboarder testing branch: https://github.com/vigilancetech-com/guardian-ui.git
@vigilancetech Iβm not sure how ns+ works, I would try removing it
and go from there
seems itβs failing within the ns declaration elsewhere
Its syntactic sugar to clean up the require macros stuff: https://github.com/hoplon/boot-hoplon
and quite nice when it works I might add
idk how its not being in scope there
can someone else test this for me? boot -d seancorfield/boot-new new -t hoplon -n newtest cd newtest boot dev browse to localhost:8000 I get a blank page
@vigilancetech Doing that.
so wtf?!? I just rebooted too.
any idea what I should delete and reinstall?
Starting reload server on
Writing adzerk/boot_reload/init3428.cljs to connect to ...
Starting file watcher (CTRL-C to quit)...
Writing HTML files...
β’ index.html
Adding :require adzerk.boot-reload.init3428 to index.html.cljs.edn...
Compiling ClojureScript...
β’ index.html.js
Starting Jetty on port 8000...
2016-10-08 15:33:28.421:INFO::clojure-agent-send-off-pool-0: Logging initialized @26579ms
2016-10-08 15:33:28.474:INFO:oejs.Server:clojure-agent-send-off-pool-0: jetty-9.3.1.v20150714
2016-10-08 15:33:28.597:INFO:oejw.StandardDescriptorProcessor:clojure-agent-send-off-pool-0: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2016-10-08 15:33:28.626:INFO:oejsh.ContextHandler:clojure-agent-send-off-pool-0: Started o.e.j.w.WebAppContext@2f36f420{/,file:///home/y/.dotfiles/dotfiles/boot/cache/tmp/home/y/newtest/mfu/bxhn44/,AVAILABLE}
2016-10-08 15:33:28.634:INFO:oejs.ServerConnector:clojure-agent-send-off-pool-0: Started ServerConnector@56aa5d79{HTTP/1.1,[http/1.1]}{0.0.0.0:8000}
2016-10-08 15:33:28.635:INFO:oejs.Server:clojure-agent-send-off-pool-0: Started @26792ms
Elapsed time: 16.499 sec
mine: >kevin@sabayon ~/h/newtest $ boot dev Starting reload server on <ws://localhost:35495> Writing adzerk/boot_reload/init3285.cljs to connect to <ws://localhost:35495>... Starting file watcher (CTRL-C to quit)... Writing HTML files... β’ index.html Adding :require adzerk.boot-reload.init3285 to index.html.cljs.edn... Compiling ClojureScript... β’ index.html.js Starting Jetty on port 8000... 2016-10-08 11:36:10.072:INFO::clojure-agent-send-off-pool-0: Logging initialized @42416ms 2016-10-08 11:36:10.154:INFO:oejs.Server:clojure-agent-send-off-pool-0: jetty-9.3.1.v20150714 2016-10-08 11:36:10.345:INFO:oejw.StandardDescriptorProcessor:clojure-agent-send-off-pool-0: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 2016-10-08 11:36:10.372:INFO:oejsh.ContextHandler:clojure-agent-send-off-pool-0: Started o.e.j.w.WebAppContext@1b2356d{/,file:///home/kevin/.boot/cache/tmp/home/kevin/0work/hoplon/newtest/2pr/-o0c97c/,AVAILABLE} 2016-10-08 11:36:10.381:INFO:oejs.ServerConnector:clojure-agent-send-off-pool-0: Started ServerConnector@b7339e6{HTTP/1.1,[http/1.1]}{0.0.0.0:8000} 2016-10-08 11:36:10.382:INFO:oejs.Server:clojure-agent-send-off-pool-0: Started @42727ms Elapsed time: 26.675 sec
it does the same thing in both chromium and firefox
should I just blow away ~/.m2?
@vigilancetech well, that looks right. You could open the console on the browser to see if there is something failing there...
@mynomoto blowing away .m2 did the trick
@vigilancetech well, good luck now that things are working, feel free to ask any questions π
^hmmm I think this means a problem in boot-hoplon using the newer dev builds
since I am getting the same errors, I would presume the versions on clojars dont have this problem