This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-19
Channels
- # beginners (37)
- # boot (96)
- # cider (23)
- # clara (2)
- # cljs-dev (40)
- # clojars (1)
- # clojure (149)
- # clojure-conj (1)
- # clojure-dev (2)
- # clojure-dusseldorf (5)
- # clojure-france (82)
- # clojure-italy (1)
- # clojure-nlp (1)
- # clojure-russia (13)
- # clojure-spec (24)
- # clojure-uk (62)
- # clojurescript (131)
- # core-async (13)
- # core-logic (7)
- # data-science (1)
- # datomic (10)
- # defnpodcast (3)
- # docker (4)
- # emacs (3)
- # events (4)
- # hoplon (68)
- # klipse (4)
- # leiningen (1)
- # off-topic (5)
- # om (140)
- # onyx (16)
- # pedestal (24)
- # planck (10)
- # proton (2)
- # re-frame (9)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (16)
- # untangled (5)
- # vim (8)
- # yada (30)
@onetom: you’ll want to pull this update, resolves a nasty little bug that wreaks havoc when loop-tpl based macros containing hoplon/ui
elems are used.
@jumblerg thanks. i think we might have hit that issue a few times and we were just wrapping the loop-tpl into extra elems to work around it
I’m using the hoplon/google-maps library and I need to set my API key. I’m following the example here from the demos: https://github.com/hoplon/demos/blob/master/google-maps/src/index.cljs.hl#L8 But it looks like that causes 1 JS request with the API key (to "https://www.google.com/jsapi?key=AIza…”) and then a callback JS request without the API key I set (to "https://maps.googleapis.com/maps/api/js?v=3&sensor=false&libraries=geometry&callback=google.loader.callbacks.maps”). That’s causing a Google Maps API error in the console, and my map looks like this:
In the code from hoplon-demos I see the same warnings in the console, but the map still loads. My map was loading up until a few days ago, without any code change, so I think they cut me off for too many unauthenticated requests to their API. It looks like a bug in the hoplon/google-maps library
@alandipert and @micha I started listening to the cognicast. I always enjoy your talks and presentations. I didn’t know you’d worked with Craig. I know him from our days consulting at RoomKey. Looking forward to the hoplon interview.
@zilvinask not for .hl
files. If you use it from .cljs
it should work fine.
Ops sorry, it was @zilvinasu
Hey guys I'm prepping a presentation for the Toronto Clojure Meetup, I wanted to ask what the number 1 issue you have when learning hoplon is, so that these things can be addressed??? @onetom @jjttjj @mynomoto any ideas?
For my hoplon/google-maps issue I inlined the google-maps code in my app and fixed a couple of things. When I get some time I’ll make a PR.
@flyboarder documentation, higher level design patterns (like re-frame provides)
@flyboarder I think you need to ask people that are starting now, but I would guess that more docs for beginners is still an issue. We should try to improve this a bit before the cognicast goes live. It would be nice to have more/better intros for new hoploners.
I think learning boot should be an obstacle for people used to lein. I don't know because when I started it was boot 1 😉
Ok sounds good, I am going to do a quick intro to boot as well
what i always liked about hoplon is how far just a very basic knowledge of html and excel gets you. as for things that gave me trouble, the template macros, specifically the cell-let inside of them kinda always led me sort aimlessly wrapping things in cells until things worked for awhile
@flyboarder not really my issue, but we get a steady stream of reports from newcomers about problems with the templates
i think because they're set up to bring the latest versions of everything, which don't necessarily always work. seems like it would be good to pin deps there
@alandipert: that should be pretty easy to fix up
yeah i think so, i just keep forgetting
if anyone wants to jump on it, would be much obliged
@alandipert: made a todo list
@flyboarder also a Hoplon 6 release would be great because working from alphas do not give a great first impression. We are used to but new people will judge us 😉
@mynomoto: yeah I need to get the GCL stuff tested before next release
@flyboarder wdyt about marking it as experimental and fixing bugs on minor/patch releases? New people shouldn't be affected as long as they use the default.
@mynomoto: agreed that was mentioned by @alandipert the other day, I am partial to a clear baseline tho
@jumblerg: is there anything in any branches that are needed for hoplon/UI? Or is that still depending on master?
Something that would be nice is to having Hoplon running on Klipse. That way people could start using it without any setup. I have a minimal version working but no macros which means no cell=
and no fun 😉 But cell
works
Can someone point me to a website or tell me exactly how one goes from a fresh hl project to cider-jack-in to a REPL from development branch of spacemacs? It seems like it should be something pretty easy after much searching I haven't been able to figure out how to do it.
And if someone shows me, and its not already clearly documented on the wiki, I'll write it up myself
It doesn't. It will read the #cljs reader and the namespaces it depends needs to be available in cljs.
So, you need to port the macros to clojurescript
[6:28]
There is the same problem with `core.match`
Yeah, I had to delete a bunch of code only to make it run. I don't think it would be fun to have all that not optimized.
to use the bootstrapped cljs you need to add megabytes of compiler stuff to the js you ship to the client
And currently klipse gets libs from github requesting each file necessary. This is not for performance.
To make it work yes but once working you just go to a page and live code there. No setup necessary for the user until he wants a library 😉
@micha @alandipert making the readme pretty 😛
@flyboarder awesome!
If anyone else would like to help organize things for the next release, I created a target project here: https://github.com/hoplon/hoplon/projects/1
yeah I just recently read the blog post about it, figured why not right