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 😢
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.
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.
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.
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
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
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 basically moved the code from build.boot
to a custom namespace that I require in build.boot
I actually see:
:unknown "java.io.File"
Tj (boot.App/getStash "392f10e7-b2be-427e-a2ec-1b1a942368f5")
@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
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
shall I apply for the best build.boot
award ? https://github.com/Lambda-X/cljs-repl-web/blob/devel/build.boot
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?
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."
another option is to put yuor clj code in :source-paths
instead of :resource-paths
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
I use: https://github.com/Lambda-X/boot-pack-source/blob/master/src/replumb/boot_pack_source.clj#L93
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 😄