Clojurians
#lumo
<
2017-09-13
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

grounded_sage03:09:06

I'm not sure I could have a decent stab at those right now. But I would be interested in being in the passenger seat. Be that we do some live collaboration on it together or I'll just look at the changes when the commit is made :)

anmonteiro03:09:11

@grounded_sage I’m not interested in e.g. livestreaming fixing a bug in Lumo or something like that

anmonteiro03:09:39

I’m available however to provide any necessary guidance someone might need in working in an issue

anmonteiro03:09:55

could also set up a Lumo hacking session in person at the Conj if people are interested

grounded_sage04:09:14

I'm location restricted. Otherwise I would love to do a hacking session. I'm exploring setting up mob programming groups to work on open source Clojure work as I am looking for something to get experience. I'll take a proper look at Lumo when I have some time in the next week or so and see if there is anything I think I can tackle.

stbgz16:09:01

@richiardiandrea hmm I haven't though about that, huckleberry is 100% cljs + node, you don't need the JVM to use it

stbgz16:09:29

you do need the jvm to modify it though

richiardiandrea16:09:22

@stbgz and you need the JVM to import it in lumo as well :smile: Like other libraries to be fair, but we should change that :wink:

stbgz16:09:11

to import it? you mean to add it to the classpath?

stbgz16:09:42

you don't actually, that's what calvin is for

richiardiandrea16:09:54

I mean, say I want to use only huckleberry as a lib, it is deployed as maven dep now, what if we start deploying lumo compatible things on npm instead?

stbgz16:09:47

where is deployed does not matter much, npm clojars, it should be transparent to you as a dev where they are, you should just be able to say: I need this. And the tool should figure out the rest

richiardiandrea16:09:00

that poses other questions of course for lumo itself (for example macro files need to be read from node_modules)

richiardiandrea16:09:16

yes except that no tool is the best tool :smile:

richiardiandrea16:09:45

ok better to say, let's use npm/`yarn` for everything :smile:

stbgz16:09:23

I'll just quote you back "no tool is the best tool" :smile:

richiardiandrea16:09:40

yeah well, still you have to resolve the deps somehow

richiardiandrea16:09:12

if huckleberry, or others for that matter, could be deployed on npm, one could use only yarn...

stbgz16:09:32

you want to use yarn to build

stbgz16:09:30

the process should be pretty straight forward, use cljs-jvm to create the js file, create a package file for it and publish that to npm

richiardiandrea16:09:34

I would like to avoid resolving Maven dependencies...especially if I work with lumo only, both repl and compilation, that is my current dream :smile:

stbgz16:09:14

if you go down that path, you'll miss out on basically all clojars deps

richiardiandrea16:09:30

I don't need them, I can install them directly from npm

richiardiandrea16:09:39

after conversion of course

stbgz16:09:48

ah I see, sure

richiardiandrea16:09:16

so not really many cljs libs I miss from clojars

richiardiandrea16:09:27

one is andare, which can be converted deployed to npm

stbgz16:09:38

reagent comes to mind

stbgz16:09:18

I mean maybe for a particular is fine, but I think it is not a great answer for the comunity as a whole

richiardiandrea16:09:35

in this you are definitely right

stbgz16:09:56

unless someone republishes all clojars in npm

richiardiandrea16:09:47

but sometimes things start and people see "that it is better", and keep doing it

stbgz16:09:29

wouldn't it be better to not care where the dependency is published?

richiardiandrea16:09:41

yeah, that won't work, I don't thing bootstrap will ever be able to compile the same things as cljs-jvm

richiardiandrea16:09:29

Another problem is that at the moment (big) companies need to have two mirrors, one is a Nexus mirror to Clojars/Central, the other is to npmjs. That is of course a lot to ask.

richiardiandrea16:09:52

Because they don't like to consume things directly from the net

richiardiandrea16:09:33

it would be awesome to get feedback on this, maybe I will set up some survey

anmonteiro17:09:00

You don’t lose access to the Clojars ecosystem

anmonteiro17:09:29

if I understand correctly, if you had huckleberry deployed to NPM we could use that to resolve Clojars deps