This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-23
Channels
- # ai (1)
- # beginners (84)
- # boot (111)
- # cider (2)
- # cljsrn (9)
- # clojure (245)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-russia (6)
- # clojure-spec (92)
- # clojure-uk (32)
- # clojurescript (55)
- # core-async (1)
- # cursive (8)
- # datomic (19)
- # events (1)
- # hoplon (379)
- # lambdaisland (4)
- # lein-figwheel (8)
- # off-topic (115)
- # om (18)
- # om-next (5)
- # onyx (25)
- # re-frame (8)
- # reagent (5)
- # ring-swagger (1)
- # rum (19)
- # schema (3)
- # untangled (24)
@arohner you where right, I don't know why it was working https://github.com/boot-clj/boot/wiki/Boot-Troubleshooting#the-notorious--no-reader-function-for-tag-object-exception
mmm...still something weird here, I am going to try the test in the wiki
quick mac question: on recent macs with developer tools installed, does cc
point at gcc or clang?
@alandipert cc βversion says "Apple LLVM version 8.0.0 (clang-800.0.42.1)β, so clang.
@chunsj thank you
@alandipert ah, my macos is sierra.
that's the new one right?
@richiardiandrea lambone is a nice boot build, always wanted to start using pods and actually separate the dependencies for the client and server. Are there any big drawbacks with this approach?
My website is officially live. Unpolished and unfinished but good enough for now http://www.veganbusinessnetwork.org. Thanks to Boot I feel like I am starting to become a programmer and feel in control of my tools.
@grounded_sage I guess you need to use some js optimizations, cause now it loads all js in billion of files
@grounded_sage it looks nice, congratulations!
hey... I'm trying to publish an artifact to maven using boot and it turns out that I need to include in my bundle javadocs and source jars... Is there an easy way to do it and integrate with boot push?
Can u help us?
@iago.b2wdigital hi! what's up?
Hello man... @jsanchesleao and I are having some problems deploying to maven central
Our Christmas kinda depends on this =/
i don't think boot push currently supports this, but you can i think write your own push task that uses the lower level functions in the boot.aether
namespace, like boot.aether/deploy
, which accepts an artifact-map
Ok, that's cool
Guess we'll need that
And maybe if the company approves, we can contribute to boot adding the support to the tool π
Thanks again man
awesome yeah, it might be as simple as adding an option that passes the artifact map down to the lower level functions
All right.. Merry Xmas
Awesome
Thanks again.. we have big projects coming here
We're still writing docs and publishing to repos..
This is the first one, if you wanna take a look: https://github.com/B2W-Digital/pdg-core It's still missing some doc but we're working as fast as we can to wrap it all up
@mitchelkuijpers a bit more code maybe on the boot side, and a weird thing, with cljc file you will see that you cannot really achieve complete classpath separation. I don't recall the check now, I will check in the actual project and report back (minor thing though)
Yes, so when you include, say, clj-time in a :clj
clause in a cljc file you need the dependency in the frontend as well, you cannot omit it.
Probably because the cljs compiler still executes requires in order to see if there is some macro namespace to load? I don't know actually I haven't investigated
Retrieving maven-metadata.xml from https://repo.clojars.org/ (3k) Checksum validation failed, expected 219612d1b539be4871d4370ba5624a409aaa9e34 but is 56c7b63dc57de1fd4fad52d677c3c432acda211e
right, but the maven-metadata.xml will be for a particular project - is there more output above that error?
it's likely a project that had a failed deploy before we implemented atomic deploys - that could lead to a mismatch between the file and the checksum
Retrieving maven-metadata.xml from https://repo.clojars.org/ (3k) Checksum validation failed, expected 219612d1b539be4871d4370ba5624a409aaa9e34 but is 56c7b63dc57de1fd4fad52d677c3c432acda211e Retrieving maven-metadata.xml from https://repo.clojars.org/ (3k) Could not transfer metadata boot:boot/maven-metadata.xml from/to clojars (https://repo.clojars.org/): Checksum validation failed, expected 219612d1b539be4871d4370ba5624a409aaa9e34 but is 56c7b63dc57de1fd4fad52d677c3c432acda211e
@kanwei: hmm. it looks like we have a mismatch between the .sha1 sum file in the CDN vs what's on the server. I'll dig deeper
Is this the easiest way to start s "socket repl" with boot?
BOOT_CLOJURE_VERSION=1.8.0 boot -i "(do (require 'clojure.core.server) ((resolve 'clojure.core.server/start-server) {:port 9999 :name :repl :accept 'clojure.core.server/repl}))" wait
Is there an interest in a boot task to do that, similar to repl --server
?
Hi, I have Travis CI configured to run some ClojureScript tests, which up until now has been working fine using the crisptrutski/boot-cljs-test
library. However a recent test has broken the build with the following error thrown:
adzerk.boot_cljs.util.proxy$java.lang.Throwable$ff19274a: java.lang.OutOfMemoryError: PermGen space, compiling:(match.clj:760:1)
The error is being thrown when the CI server transpilles the cljs to JS (before it is sent to PhantomJS to run the tests). I believe the issue may just be that Boot is exceeding the memory limits allocated to the JVM (Java 8 ). The Travis server should have 7.5gb available to it, but I'm not sure how much is actually being allocated to the JVM. Does anyone have any experience configuring how much memory gets allocated to the JVM on Travis or other CI servers?sudo apt-add-repository -y ppa:webupd8team/java
sudo apt-get update -qq
sudo apt-get install -y oracle-java8-installer
@micha I just can't see how an older version of Java would be installed as well as Java 8. My Travis environment is a Ruby one hence the manual install of Java (as above) should be the only way Java is getting onto the server.
@micha, mind if I take a stab at a socket server repl task?
@pesterhazy that would be great, sure
should it be part of repl
, or in a different task?
I use emacs
I'm playing around with inf-clojure and liking it a lot
I basically just evaluate the current buffer, that's about it
I don't use a lot of the bells and whistles that come with CIDER
the only thing I haven't figured out is how to deal with errors (like syntax errors) while evaluating a buffer
currently it looks like I have to check the inf-clojure buffer manually each time to check if there was an error
that's error-prone
@micha your right the following prints javac 1.7.0_80
:
sudo apt-get install -y oracle-java8-installer
javac -version
Hi, i am trying to figure out why do my 'dev' task start a repl client in the console when i run 'boot dev'
it is similar to this https://github.com/juxt/edge/blob/master/build.boot#L117-L136, in my case, i dont need cljs repl, so i am just using repl to run repl server, like the run
task at line 159
for the issue above, i had to use both :server true
and :client false
in the options, either one only does not work
off topic, but also requires a weird imagination. thought you might enjoy http://adzerk.com/blog/2016/12/scripting-with-c/
i guess mkgo
is kind of a build tool, so it is related π
@kirill.salykin: yea I'm not sure how to optimise it. I'm taking a break now and then will review the entire thing branding, icon designs and abstractions in the new year. Aside from bundling the JS I also want to do code splitting. Loading what the page requires only first. Then preloading the next page or interaction that is in view.
Just had to fix a link. I also had a quick look. Wasn't using the production task. Now way better π