Fork me on GitHub
#hoplon
<
2016-10-08
>
mynomoto01:10:18

Can I release boot-hoplon "0.2.5" with https://github.com/hoplon/boot-hoplon/pull/8 ?

micha01:10:25

πŸ‘ sounds good to me!

micha01:10:34

thanks @mynomoto πŸ™‚

micha01:10:55

how's the life?

vigilancetech01:10:49

@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....

micha01:10:16

this is the dream

micha01:10:27

i think that the components you need to make a user interface have been discovered already

flyboarder01:10:14

My thought was to generate hoplon edn from the dom, either from HTML -> hl or just directly hl

vigilancetech02:10:38

@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?).

flyboarder02:10:47

there is an html2cljs boot task which should be able to generate valid hlisp

flyboarder02:10:46

@vigilancetech my concept for a designer would be something like noflow-ui so you can visualize the dom structure

mynomoto02:10:44

@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 πŸŽ‰

mynomoto02:10:16

With a bit of spec that's why that pr.

micha02:10:25

congratulations!

mynomoto02:10:46

And how is life for you?

micha02:10:25

everything is fine, no complaints πŸ™‚

micha02:10:44

busy, you know

mynomoto02:10:08

Yeah, I know the feeling πŸ˜‰

vigilancetech02:10:22

@flyboarder I don't see that as an option in 2.6.0

vigilancetech03:10:33

@flyboarder ahh, I think that's had me screwed up for a while! Hence me resorting to the hiccup stuff. Thanks.

vigilancetech03:10:27

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 πŸ˜•

vigilancetech03:10:53

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

vigilancetech03:10:31

actually a cljs file.

vigilancetech03:10:42

Should I rename it to .hl?

flyboarder03:10:06

Were you not using hoplon task before? @vigilancetech

vigilancetech03:10:55

yes, hoplon task was part of my dev task

vigilancetech03:10:32

all I did is install hoplon-boot and follow the instructions in the readme

vigilancetech03:10:28

I added [hoplon "6.0.0-alpha16"] to the dependencies in build.boot

vigilancetech03:10:44

and [hoplon/boot-hoplon "0.3.0-SNAPSHOT" :scope "test"]

vigilancetech03:10:30

I made this all instead of hoplon in the requires: '[hoplon.boot-hoplon :refer :all]

vigilancetech03:10:28

I think that's what was being instructed in the hoplon-boot readme

vigilancetech03:10:18

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

vigilancetech04:10:33

here's my build.boot: http://pastebin.ca/3726299 Why am I getting this error? java.lang.IllegalArgumentException: No matching clause: ns+ @micha?

flyboarder04:10:03

@vigilancetech: you should use boot-hoplon 0.2.x

flyboarder04:10:57

The 0.3.0 is not available on clojars

vigilancetech04:10:21

I cloned boot-hoplon and boot dev'ed it locallh

flyboarder04:10:41

Your boot file looks ok, is there a repo I can try building?

vigilancetech04:10:11

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

flyboarder05:10:40

@vigilancetech I’m not sure how ns+ works, I would try removing it

flyboarder05:10:48

and go from there

flyboarder05:10:07

seems it’s failing within the ns declaration elsewhere

vigilancetech05:10:07

Its syntactic sugar to clean up the require macros stuff: https://github.com/hoplon/boot-hoplon

vigilancetech05:10:22

and quite nice when it works I might add

vigilancetech05:10:38

idk how its not being in scope there

vigilancetech18:10:37

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

vigilancetech18:10:10

so wtf?!? I just rebooted too.

vigilancetech18:10:35

any idea what I should delete and reinstall?

mynomoto18:10:40

@vigilancetech

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

mynomoto18:10:00

this is my boot dev output.

vigilancetech18:10:59

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

vigilancetech18:10:07

it does the same thing in both chromium and firefox

vigilancetech18:10:52

should I just blow away ~/.m2?

mynomoto19:10:07

@vigilancetech well, that looks right. You could open the console on the browser to see if there is something failing there...

vigilancetech19:10:48

@mynomoto blowing away .m2 did the trick

mynomoto19:10:00

@vigilancetech well, good luck now that things are working, feel free to ask any questions πŸ˜„

flyboarder19:10:56

^hmmm I think this means a problem in boot-hoplon using the newer dev builds

flyboarder19:10:32

since I am getting the same errors, I would presume the versions on clojars dont have this problem