This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-14
Channels
- # admin-announcements (5)
- # aws (3)
- # beginners (35)
- # boot (96)
- # cider (1)
- # clara (6)
- # cljs-dev (12)
- # cljsrn (34)
- # clojure (151)
- # clojure-boston (3)
- # clojure-brasil (4)
- # clojure-canada (1)
- # clojure-czech (8)
- # clojure-dusseldorf (11)
- # clojure-japan (5)
- # clojure-russia (120)
- # clojure-taiwan (1)
- # clojure-uk (3)
- # clojurescript (7)
- # component (27)
- # cursive (13)
- # data-science (45)
- # datomic (1)
- # devcards (5)
- # emacs (3)
- # funcool (65)
- # hoplon (103)
- # instaparse (3)
- # jobs (14)
- # jobs-discuss (1)
- # juxt (2)
- # lein-figwheel (2)
- # off-topic (16)
- # om (20)
- # onyx (49)
- # parinfer (17)
- # perun (1)
- # planck (5)
- # proton (4)
- # re-frame (14)
- # ring-swagger (4)
- # spacemacs (4)
- # untangled (110)
- # yada (14)
Has anyone been having problems with boot-cljsjs download? I get
clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: IllegalName: compile__stub.clj_http.headers.clj-http.headers/HeaderMap, compiling:(clj_http/headers.clj:105:1)
when trying to run the download
task. This is fixed by adding clj-http dependency. It looks like boot-cljsjs is loading clj-http in a pod.a question, when using add-cached-resource
I use digest/md5
as key, but what about cache-fn
?
hey another thing for us to maintain https://en.wikipedia.org/wiki/Boot_(software)
in srssnss tho, could use a hand with the wiki page. some editor came in an marked it as a stub 😢
yeah we'll see. i was amazed at how quickly editors swooped in
i haven't created a page since like 2005, i was pleasantly surprised that the creation barrier is still so low
I've become disillusioned with wikipedia lately. I've found more information in the talk pages a lot of the time.
is pokemon some scandal?
err i'm aware of the TV show, just hnt the relationship to wiki
It used to be that every pokemon had a wikipedia page. Now there's ~5 pokemon-related pages. Everything has to pass this bar, that many kinds of content no longer match, e.g. pokemon. This is called the "pokemon test" Rich Hickey only has primary sources (himself). So he can't have a page. Apparently.
ah, yeah
i see that same thing go on in big OSS projects
It's essentially a deletionist mentality which has become prevalent in the wikipedia staff mentality. For a universal compendium of knowledge, I want all the information, not just the information which can be proved via both [crappy newspaper] and the origins.
people with the dumbest ideas seem always to have the most time to defend them
altho i can respect the philosophical problems inherent in what they're doing lol
for instance, it wouldn't make sense for me to make pages for each of my dreams
but yeah, seems like they've drawn the line way too early. i'm always stunned when i run across clj page and don't see Rich Hickey is a link
Trying to make strict rules for such a broad problem seems impossible. You have start very light, and, well, probably stay that way.
I just went to check a controversial page, the paleo diet, it looks like it's gone. The paleo diet was literally insulted in it's opening sentence, Bill Clinton got more respect in his opening sentence.
yeah the lifestyle and political preferences of people with the most time seem also to always dominate
is there a sort of let-destroy
for pod auto annihilation by any chance? 😄
like with-open you mean?
yes but calling pod-destroy
or another question would be: do I need to call pod-destroy
every time? I see sometimes is not performed: https://github.com/boot-clj/boot/blob/8bdefc986798db9539f6351958632bf63d0a39a3/boot/core/src/boot/task/built_in.clj#L654
@richiardiandrea: hm, i'd guess that's a leak, probably warrants a core/cleanup
ah ok got it 😄
i sense a cool macro coming
it is not that complicated to implement and having a let just for destroying the pod is kind of visually ugly 😄
so yesterday it was working but today when I do:
(pod/with-pod @pod
(let [tj (~transit-json ~input-path ~out-path)]
(boot.util/dbug "Tj %s\n" tj)
(.getPath tj )))
I see Tj (boot.App/getStash "5b3bd323-2670-478e-a8a9-7a3edb9d6313")
I basically moved the code from build.boot
to a custom namespace that I require in build.boot
does it make any difference?
I actually see:
:unknown "java.io.File"
Tj (boot.App/getStash "392f10e7-b2be-427e-a2ec-1b1a942368f5")
ok, will check...
but first I need to find a workaround
@payal: that would declare a task
...mmm maybe this? https://github.com/boot-clj/boot/wiki/Tasks
@payal: tasks are used to do stuff, like compile clojurescript to javascript, start a server, concatenate css, etc.
usually you will need to do a number of things, so tasks are designed in sucha way that they're easily composed with each other
That helped Thanks @micha and @richiardiandrea
i just got some insight on installing .exe files for windows from someone who contributed to alda's readme -- might be of interest for boot's readme as well? see: https://github.com/alda-lang/alda/pull/218
moving the .exe file to a folder inside of Program Files and adding that folder to PATH may be a better approach
was the from where the pod
classpath created from called :directories
?
answer: yes - but I don't know why it does not work at the moment here
shall I apply for the best build.boot
award ? https://github.com/Lambda-X/cljs-repl-web/blob/devel/build.boot
probably Sean and you guys beat me 😄
@richiardiandrea: holy cow! i think you win lol
@martinklepsch: thanks to your confetti it is actually smaller
I wanted to have a task called "sma" or "save-me", go upload individual files, which is really easy to do with deploy-s3
@richiardiandrea: do you have any particular strategies for deploying? (content-hashing or similar)
@richiardiandrea: are you also using the library on it's own separately to sync-bucket?
Ah, I see, you were referring to your deploy-s3
task wrapping sync-bucket
No hashing for now, just fileset to confetti
It is good enough, buf for sure improvable
What is the proper way to remove your source files when building an uberjar? I have tried doing (uber :exclude #{#".*\.clj.*"})
but then I get a "Invalid signature file digest for Manifest main attributes."
@kenny: you can plug a (sift :include #{#".*\.clj.*"} :invert true)
another option is to put yuor clj code in :source-paths
instead of :resource-paths
so it's in the fileset and on the repl classpath, but isn't "output role"
Right. That works for my case. Doing the sift that @richiardiandrea said won't screw up the manifest like doing :exclude
in the uber
task did?
@kenny: I think your option should work but uber
caches and there might be some issue with :exclude
Actually the sift option didn't even work. All the .clj* files are still in the uber jar
sift
happens after uber
so you are kind of "wasting" some processor time...but it is a workaround
@kenny: maybe the regex is wrong?
remember that it is matched against the whole path
Works on http://regexr.com/
I use: https://github.com/Lambda-X/boot-pack-source/blob/master/src/replumb/boot_pack_source.clj#L93
ah ok 😄
it does the same but while it runs
but there must be a problem, if you have a repro case you might want to open an issue
But if you use it it will change the fileset without updating the manifest causing that java security warning I mentioned above
oh well, yeah, I agree with you that it should be handled...I am going to yield and let more experienced boot
-ers continue 😄