This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-30
Channels
- # announcements (8)
- # babashka (73)
- # beginners (126)
- # calva (8)
- # cider (5)
- # circleci (2)
- # clara (9)
- # clj-kondo (4)
- # cljdoc (18)
- # cljfx (49)
- # clojure (51)
- # clojure-australia (3)
- # clojure-europe (41)
- # clojure-france (1)
- # clojure-nl (5)
- # clojure-norway (1)
- # clojure-russia (1)
- # clojure-uk (16)
- # clojurescript (14)
- # conjure (4)
- # cursive (5)
- # data-science (7)
- # datascript (1)
- # datavis (1)
- # datomic (13)
- # defnpodcast (2)
- # emacs (4)
- # events (2)
- # figwheel-main (7)
- # graalvm (23)
- # hoplon (2)
- # jobs (1)
- # meander (15)
- # numerical-computing (1)
- # off-topic (35)
- # pedestal (5)
- # portkey (5)
- # re-frame (19)
- # reagent (9)
- # reitit (14)
- # releases (1)
- # shadow-cljs (28)
- # sql (4)
- # tools-deps (5)
- # xtdb (7)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
Downloading: honeysql/honeysql/1.0.444/honeysql-1.0.444.jar from repository central at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
Downloading: com/layerware/hugsql/0.5.1/hugsql-0.5.1.jar from repository central at
Downloading: com/typesafe/config/1.4.0/config-1.4.0.jar from repository central at
Transferring 0K from clojars
Error transferring file: Server returned HTTP response code: 501 for URL:
[WARNING] Unable to get resource 'com.layerware:hugsql:jar:0.5.1' from repository central (): Error transferring file: Server returned HTTP response code: 501 for URL:
Downloading: com/layerware/hugsql/0.5.1/hugsql-0.5.1.jar from repository clojars at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
Downloading: hiccup/hiccup/1.0.5/hiccup-1.0.5.jar from repository clojars at
Error transferring file: Server returned HTTP response code: 501 for URL:
[WARNING] Unable to get resource 'honeysql:honeysql:jar:1.0.444' from repository central (): Error transferring file: Server returned HTTP response code: 501 for URL:
Downloading: honeysql/honeysql/1.0.444/honeysql-1.0.444.jar from repository clojars at
Error transferring file: Server returned HTTP response code: 501 for URL:
[WARNING] Unable to get resource 'com.typesafe:config:jar:1.4.0' from repository central (): Error transferring file: Server returned HTTP response code: 501 for URL:
Downloading: com/typesafe/config/1.4.0/config-1.4.0.jar from repository clojars at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
Downloading: funcool/cats/2.3.2/cats-2.3.2.jar from repository clojars at
Transferring 0K from clojars
Transferring 0K from clojars
Transferring 0K from clojars
Transferring 0K from clojars
Transferring 0K from clojars
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
Downloading: com/layerware/hugsql/0.5.1/hugsql-0.5.1.jar from repository clojars at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
Downloading: org/clojure/tools.logging/1.1.0/tools.logging-1.1.0.jar from repository central at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
Downloading: honeysql/honeysql/1.0.444/honeysql-1.0.444.jar from repository clojars at
Downloading: com/typesafe/config/1.4.0/config-1.4.0.jar from repository clojars at
Error transferring file: Server returned HTTP response code: 501 for URL:
[WARNING] Unable to get resource 'org.clojure:tools.logging:jar:1.1.0' from repository central (): Error transferring file: Server returned HTTP response code: 501 for URL:
Downloading: org/clojure/tools.logging/1.1.0/tools.logging-1.1.0.jar from repository clojars at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
Downloading: com/amazonaws/aws-java-sdk-s3/1.11.808/aws-java-sdk-s3-1.11.808.jar from repository central at
Transferring 0K from clojars
Error transferring file: Server returned HTTP response code: 501 for URL:
[WARNING] Unable to get resource 'com.amazonaws:aws-java-sdk-s3:jar:1.11.808' from repository central (): Error transferring file: Server returned HTTP response code: 501 for URL:
Downloading: com/amazonaws/aws-java-sdk-s3/1.11.808/aws-java-sdk-s3-1.11.808.jar from repository clojars at
Transferring 0K from clojars
Transferring 0K from clojars
Transferring 0K from clojars
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
Transferring 0K from clojars
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
Downloading: org/clojure/tools.logging/1.1.0/tools.logging-1.1.0.jar from repository clojars at
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - RETRYING
Downloading: com/amazonaws/aws-java-sdk-s3/1.11.808/aws-java-sdk-s3-1.11.808.jar from repository clojars at
Transferring 0K from clojars
Transferring 0K from clojars
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1965c4952cc8c082a6307ed67061a57aab6632fa'; remote = '<html>
<head><title>301' - IGNORING
Copying 22 files to /tmp/build_0e8ba7b5_/lib
Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
Caused by: java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
at clojure.lang.LazySeq.sval(LazySeq.java:47)
at clojure.lang.LazySeq.seq(LazySeq.java:56)
at clojure.lang.RT.seq(RT.java:450)
at clojure.core$seq.invoke(core.clj:122)
at leiningen.deps$extract_native_deps.invoke(deps.clj:174)
at leiningen.deps$deps.doInvoke(deps.clj:200)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.Var.invoke(Var.java:365)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$apply_task.invoke(core.clj:262)
at leiningen.core$_main.doInvoke(core.clj:329)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:332)
at user$eval42.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 11 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at clojure.lang.Reflector.invokeConstructor(Reflector.java:160)
at leiningen.deps$extract_native_deps$fn__2418.invoke(deps.clj:174)
at clojure.core$map$fn__3699.invoke(core.clj:2096)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
... 30 more
is not the right URL for that repo. Should be https at least.
That's why you're getting the 301 response instead of successful downloads @emccue
Yeah, an old version of Leiningen could well have the outdated Clojars URL.
A standing desk also does wonder for posture
Looked at the article - I would suggest that it is a subset of Yoga. Handy knowledge anyway and true - I can testify to that
Hey, I cannot seem to find a straightforward answer and since Clojurists are smart people, here I go. Say I work on a private project which already includes license A, although the project is not yet public. Many commits later, I switch to license B and only then distribute it publicly. When software is re-licensed, this naturally does not void the application of the previous license to the previous public versions of the work. But what about this scenario, would rewriting the git history be mandatory?
so you mean, the git-repository is public now and in the history there is a different license somewhere? I guess it depends on the license then but as long as all of this is your copyright you should be able to change even the history of your repository. Hopefully you got the sole copyright.
(no lawyer and no previous info on subject) As stated in git pro book, "git thinks about its data more like a stream of snapshots", therefore I would imagine that each commit is a "standalone" app that is subject to a specific license attached to it. If you desire that license B work for all the previous versions of your app, I would change git history.
Next to java.nio.file.FileVisitor
and
, which classes have you reified in the past to interop with Java?
I'm asking specifically for babashka (so in the context of scripting) but more general answers are ok too
I'd look at some of the main function interfaces, particularly things like Consumer, Supplier, Predicate, etc
ThreadFactory
Closeable can be useful
Possibly of interest to those who dislike Slack, https://matrix.org/blog/2020/09/30/welcoming-gitter-to-matrix
2020-09-30T15:47:37.513527+00:00 app[web.1]: 2020-09-30 15:47:37,510 [main] INFO space.egge.main - {:space.egge.main/startup-step "Starting app", :line 62}
2020-09-30T15:47:37.515165+00:00 app[web.1]: 2020-09-30 15:47:37,515 [main] INFO space.egge.main - {:space.egge.main/startup-step "Loading initial config", :line 14}
2020-09-30T15:47:37.588042+00:00 app[web.1]: 2020-09-30 15:47:37,587 [main] INFO space.egge.main - {:space.egge.main/startup-step "Connecting to db.", :line 16}
2020-09-30T15:47:37.662074+00:00 app[web.1]: 2020-09-30 15:47:37,661 [main] INFO space.egge.main - {:space.egge.main/startup-step "Creating email service.", :line 20}
2020-09-30T15:47:38.638620+00:00 app[web.1]: 2020-09-30 15:47:38,638 [main] INFO space.egge.main - {:space.egge.main/startup-step "Creating photo service.", :line 22}
2020-09-30T15:47:38.670295+00:00 app[web.1]: 2020-09-30 15:47:38,668 [main] INFO space.egge.main - {:space.egge.main/startup-step "Starting server.", :line 30}
2020-09-30T15:47:38.871482+00:00 app[web.1]: 2020-09-30 15:47:38,871 [main] INFO org.eclipse.jetty.util.log - Logging initialized @14321ms to org.eclipse.jetty.util.log.Slf4jLog
2020-09-30T15:47:39.518616+00:00 app[web.1]: 2020-09-30 15:47:39,517 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.z-SNAPSHOT; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_262-heroku-b10
2020-09-30T15:47:39.590670+00:00 app[web.1]: 2020-09-30 15:47:39,590 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@6921cfa{/,null,AVAILABLE}
2020-09-30T15:47:39.613174+00:00 app[web.1]: 2020-09-30 15:47:39,612 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@760a2b6e{HTTP/1.1,[http/1.1, h2c]}{localhost:4502}
2020-09-30T15:47:39.614069+00:00 app[web.1]: 2020-09-30 15:47:39,613 [main] INFO org.eclipse.jetty.server.Server - Started @15065ms
2020-09-30T15:47:39.615434+00:00 app[web.1]: 2020-09-30 15:47:39,615 [main] INFO space.egge.server - {:space.egge.server/debug "Started", :line 113}
2020-09-30T15:47:39.616396+00:00 app[web.1]: 2020-09-30 15:47:39,616 [main] INFO space.egge.main - {:space.egge.main/startup-step "Started all components.", :line 32}
[main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@760a2b6e{HTTP/1.1,[http/1.1, h2c]}{localhost:4502}
2020-09-30T15:48:51.621030+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 90 seconds of launch
2020-09-30T15:48:51.643206+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-09-30T15:48:51.720519+00:00 heroku[web.1]: Process exited with status 137
2020-09-30T15:48:51.759997+00:00 heroku[web.1]: State changed from starting to crashed