Clojurians
#lumo
<
2017-03-01
>

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

jonpither11:03:46

Hi @anmonteiro Any chance of a small release with that change in

jonpither11:03:58

no worries if not

dominicm16:03:31

@anmonteiro do you know if () should be able to "read" directories?

anmonteiro16:03:12

@dominicm it won't

anmonteiro16:03:23

but there might be a way :slightly_smiling_face:

anmonteiro16:03:44

I mean, you can’t slurp a resource that represents a directory

dominicm16:03:50

@anmonteiro nope, wanted to do an ls on it

anmonteiro16:03:56

the solution would be lumo.util/fileseq

anmonteiro16:03:07

it’ll return every file in a directory

dominicm17:03:24

@anmonteiro but I need to point it at a resource too :wink:

dominicm17:03:18

but yeah, I want fileseq + resource. That would be really useful rn. :stuck_out_tongue:

wilkerlucio18:03:59

@anmonteiro I just noticed Lumo 1.2.0 is not available on Homebrew, is there anything I can do to help get updated there?

anmonteiro18:03:29

@wilkerlucio there’s a problem with building Node 7.5.0 on El Capitan https://github.com/Homebrew/homebrew-core/pull/10169

anmonteiro18:03:56

I’m just waiting for Node 7.7.1 which will be released this week to push a new version /cc @jonpither

wilkerlucio18:03:30

@anmonteiro gotcha, thanks for the clarification

dominicm18:03:44

My submission of lumo to void seems to have stagnated.

dominicm18:03:55

I need to update it anyway it seems

anmonteiro18:03:11

what is void?

anmonteiro18:03:17

a Linux package manager?

dominicm18:03:35

Void is a linux distro

dominicm18:03:56

was quite fun getting everything to build in the containers

dominicm18:03:59

@anmonteiro don't suppose you've seen how involved the yarn build process is?

anmonteiro19:03:31

like actually building Yarn?

anmonteiro19:03:52

never looked at it no

anmonteiro19:03:59

@dominicm we could also stop requiring Yarn to build Lumo, and just use NPM if Yarn’s not present

dominicm19:03:12

https://github.com/yarnpkg/yarn/blob/master/scripts/build-dist.sh#L16 There's something about it being recursive they want to do ^^ using yarn to build yarn

dominicm19:03:30

That's where I gave up, really.

anmonteiro19:03:52

they both do the same thing, I just hopped on the hype train when building Lumo a few months ago

dominicm19:03:23

I think yarn is the future™ really. May as well stick with it, not worth the development effort to appease the sense of purity void goes for :stuck_out_tongue:

dominicm19:03:16

Someone will figure out how to get yarn building properly on void really, or they might be happy with what I put together

anmonteiro19:03:17

@dominicm this is really the only place where we use Yarn https://github.com/anmonteiro/lumo/blob/master/build.boot#L57

anmonteiro19:03:46

happy to take a PR changing that to fall back on NPM

dominicm19:03:53

Surprised you skip it once you detect that node_modules is there

dominicm19:03:02

that'll be a pita if you ever need to add a new dep :stuck_out_tongue:

dominicm19:03:13

or update a dep

anmonteiro19:03:35

oh I see what you’re saying

anmonteiro19:03:42

I suppose I only thought about myself there :slightly_smiling_face:

anmonteiro19:03:48

I always add new deps with yarn add …

anmonteiro19:03:54

and that installs it right away

dominicm19:03:35

yarn install should be really fast I think. Any reason you skip?

anmonteiro19:03:33

I think it was because I used NPM in the early days

anmonteiro19:03:36

which wasn’t that fast

anmonteiro19:03:57

if you verify it’s fast enough, I don’t mind removing that thing

dominicm19:03:43

"really" might be an exaggeration I guess :stuck_out_tongue:.