This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-19
Channels
- # beginners (25)
- # boot (143)
- # braid-chat (9)
- # cider (18)
- # cljs-dev (88)
- # cljsrn (1)
- # clojure (91)
- # clojure-austin (2)
- # clojure-berlin (3)
- # clojure-japan (26)
- # clojure-russia (148)
- # clojurebridge (1)
- # clojured (29)
- # clojurescript (105)
- # cursive (7)
- # data-science (4)
- # datomic (15)
- # devcards (4)
- # emacs (8)
- # euroclojure (2)
- # events (1)
- # gsoc (27)
- # hoplon (3)
- # immutant (3)
- # ldnclj (3)
- # lein-figwheel (9)
- # leiningen (2)
- # luminus (1)
- # off-topic (5)
- # om (176)
- # onyx (136)
- # parinfer (16)
- # proton (13)
- # re-frame (33)
- # reagent (34)
- # spacemacs (1)
- # yada (127)
@numberq: I think your question probably fits better here in #C053K90BR than in #C03RZMDSH
@numberq: either way, at the top of tailrecursion.boot-datomic, a private var deps
is defined which specified datomic-transactor-pro
I'm having some trouble getting Datomic setup using Boot. I tried using tailrecursion (https://github.com/tailrecursion/boot-datomic) but that seems to be tailored for the pro version, and I'm on datomic-free. Is there something I'm missing in this process? I'll post my boot.build
in a second.
tailrecursion has a :repositories
line in their example boot.build
, but it asks for a username and password which I obviously don't have with the free version
@numberq: you could get the pro starter edition http://www.datomic.com/get-datomic.html
@devn: I see that now, in boot_datomic.clj
. Does that mean tailrecursion can't be used with the free version?
I am retrying boot and I have a question, I am moving away from leiningen with figwheel. Can you guys recommend figwheel or boot-reload?
Boot-reload
Another question while I am at it. I am using the boot-less task and want to move the compiles css file to resources/public/css but I can’t figure out how to do it with the
sift
taskthis is basically what I want to do: src/public/css/(.*).css:resources/public/css/$1.css
sift operates on the classpath/fileset and so it can't move files outside of these
@mitchelkuijpers: really you don't want to move compiled stuff into resources/
but instead just compile to public/css
on the classpath and dump the fileset somewhere else if you need it as files. Putting compiled files into resources/
is not what resources/
is intended for
@jethroksy: why are you moving files into resources
there? like what's the end goal?
+ TIL sift can break out of fileset stuff
@martinklepsch: I am trying to serve my files with catacumba and that gives me some problem I don’t really care where the files are as long as they are on my classpth
@mitchelkuijpers: files that are in the fileset are on the classpath
@jethroksy: are you serving files from the filesystem or from the classpath? if the latter you should not need to move files into resources/
@martinklepsch: Ow awesome
@martinklepsch: that solves a lot of my problems
here's some odd behavior: i have ~3000 files in my bower dir in resources, and when I run boot show -f i get tons of these:
2016-02-19 09:19 java[53645] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
this is os x java 1.8. the show -f command does (eventually) seem to complete correctly.
ok, thought it might be an os x problem or maybe something in iterm2. thanks. another item for the FAQ, oh boy!
i'm going to look at the boot-bower lib listed in community tasks and see if it can help me cut down on the stuff in my bower dir anyway
hmm, i did once have all of the polymer components (that's whats in bower) jarred up but dropped that. maybe its not a bad idea after all.
How to compile with optimizations none when using web workers: https://github.com/aatree/aaworker/wiki/Compiling-with-Optimizations-None
@jethroksy: we don't have anything planned yet for 3.0 because all the things we need can be implemented as 2xx versions really
you can pass any java object, plus functions, records, and all the clojure core data types
here it is: https://github.com/boot-clj/boot/blob/2.6.0-SNAPSHOT/boot/pod/src/boot/pod.clj#L473-L477
it uses reflection heavily in the current implementation, so it's like 10x - 100x slower than pr-str/read-string
@micha For my updates to get-env, I feel a bit dirty doing (if pod/env :foo :bar)
due to it not being particularly functional in nature. But I'm not sure if there really is a "functional" way to determine an environment status. Any strong opinions on this?
@micha Previously we discussed that tasks shouldn't need to be "pod aware" when grabbing details about the environment
Sorry if it's a silly question but with the boot war task is it possible to include static content in the war but outside of the WEB-INF folder. The lein project I'm porting to boot currently produces a war that is deployed to tomcat and has a number of static html/img files. The only example I've seen with boot still uses lein uberwar and specifies a war-resources-path.
@garethdavies: the static things will end up in WEB-INF
@micha I thought that the boot.core pod might be special for some reason. Hmm, so is there any reason that get-env uses @boot-env instead of pod/env? Does one make more sense than the other?
@micha, yes that's what has been happening. I'll take a look at the zip task but maybe look at refactoring the code as well. Thanks
@micha it doesn't particularly help that my pod doesn't have a reference to boot.core...
I need to refine my method for creating a stripped down pod. At the moment it's the result of concatenating the application depedencies to the repl's default dependencies, and now adding boot at version boot.core/boot-version
what is a common techniques for running multiple tasks in parallel?
just spin off multiple terminals?
or should i look into something like pod?
@settinghead: I have had this working in patch #401 but is specific for tests
nonetheless you can have a look, I am passing a (thread safe) data structure using pod/data
from/to which the different tasks are reading/writing
also, @micha runboot
task allows you to launch a boot in boot session on another thread