This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-26
Channels
- # aleph (9)
- # announcements (10)
- # aws (1)
- # beginners (65)
- # calva (9)
- # cider (11)
- # clj-kondo (1)
- # cljdoc (61)
- # cljsrn (6)
- # clojars (2)
- # clojure (40)
- # clojure-austin (1)
- # clojure-belgium (1)
- # clojure-europe (4)
- # clojure-finland (1)
- # clojure-france (1)
- # clojure-italy (57)
- # clojure-nl (6)
- # clojure-spec (134)
- # clojure-uk (67)
- # clojuredesign-podcast (2)
- # clojurescript (40)
- # cursive (25)
- # datascript (1)
- # datomic (8)
- # events (1)
- # figwheel-main (18)
- # fulcro (36)
- # immutant (5)
- # jobs (5)
- # joker (3)
- # kaocha (41)
- # leiningen (4)
- # luminus (4)
- # off-topic (13)
- # onyx (8)
- # pedestal (2)
- # perun (7)
- # planck (2)
- # protorepl (9)
- # re-frame (3)
- # reagent (73)
- # reitit (5)
- # shadow-cljs (186)
- # sql (4)
- # vim (1)
- # yada (2)
New Q&A forum from Cognitech, also giving you the ability to vote on current issues and shape the course of Clojure/Script Announcement: https://clojure.org/news/2019/07/25/clojure-forum Site: https://ask.clojure.org/index.php/
oo cool
feels weird to be this excited about rain falling out of the sky, given ~99% of the time people complain about it 🙂
The grass is wet, so I assume there must have been rain, but all it seems to have done is made it muggier...
anyone ever used a meeting owl?
yes, something like that. I find the presence of two large creepy feathered eyes helps the meeting run to time
Standing up in meetings helps make them go quicker, unless you are like me who likes to stand up most of the day anyway 😁
:thunder_cloud_and_rain: ❤️. I can get some work done now... One tip, never take a technical interview test when it's 36 degrees in your house 😰
@seancorfield used your clj config to create my first deps.edn based clojure project. Worked well (tho the error msgs were a bit odd). I just need to figure out how to point at github things now (esp private github)
Of you are still workin on that, this may help... Skip the 'under the covers' section of you want http://jr0cket.co.uk/2019/07/a-deeper-understanding-of-Clojure-CLI-tools.html
There is also a video https://youtu.be/KjCibf3hCOc
> ~/.clojure/deps.edn
is created the first time you run the clojure
command.
I thought that file was laid down by the installer itself (if it doesn't already exist)?
> /usr/local/lib/clojure/deps.edn
contains a few basic options that are applied to all projects.
...and that won't exist soon (it's being folded into tools.deps
itself). In fact a version of the CLI tools was released that didn't install that, but a subsequent version put it back temporarily while tooling moves away from calling (clojure-env)
. Also, it isn't in that location on every system. Maybe less confusing to refer to the output of clj -Sdescribe
for the locations of the files?
~/.clojure/deps.edn
was created only after I ran clojure
(I have a separate account for broadcasting so I can show things I have tried out on the other) and that makes sense to me as otherwise an installer would be putting that file in all user accounts. I would be very worried indeed if an installer were putting files in my user account, especially when running as sudo.
If I was installing Clojure CLI tools into my own account I would still be surprised to see a config file appear outside of that install directory until I run the program.
Maybe there is a difference between running the Linux installer and running the homebrew install (I dont have Mac, so cant check)
I am covering clojure -Sdescribe
and other options in the next blog post - hopefully finish tonight for the broadcast tomorrow. There doesn't seem to be much documentation about any of the operations available with clojure
cli tools. I am just trying them out and seeing what they do. The --help
option hints at what they do, but I havent seem details. So this is what the next post is about - giving examples of how to use the different options with the tool
Oh, that's interesting re: the user deps.edn
-- I hadn't actually tested it, I just sort of assumed it was the installer that laid that down. So if you remove it and run clojure
again, it puts it back? Good to know. Thanks.
I look forward to more blog posts then! 🙂
My latest one, exploring the mysteries of wha the command line options seem to do... (It's not as polished a post) http://jr0cket.co.uk/2019/07/gaining-confidence-with-Clojure-CLI-tools.html
reading...
From the ### Combining Aliases
-- is there something missing there?
we have two aliases defined, `:We
also seems to be missing something shortly below the above piece.congnitect
spelling
Not sure what this means clojure will also include configuration from the test build configuration.
-- does it need an example of clojure -A:test:runner
in there?
The -Sdeps option will also add the given dependency to the current projects deps.edn
This section is pretty confusing. -Sdeps
does not touch deps.edn
and does not need one -- most of that section seems to be referring to juxt.pack
's inject
functionality (which is what requires deps.edn
to be present and modifies it).-Stree - adding dependencies to deps.edn
does not add dependencies, it lists them.Hope that feedback is helpful!
if git clone
works for you on private repos then tools.deps should normally work too.
There are some occasional oddities to do with ssh agent; but for standard workflows it should just work.
Mornin' 🙂
Hi @seancorfield - how's things?
Glad it's Friday 🙂
My only enjoyable day this week was one spent working on my OSS projects (because I'm wrestling with some really complex Elastic Search issues at work). I spent Wednesday working on various libraries we use at work instead of work's actual codebase 🙂
@maleghast Anything fun planned for the weekend?
@seancorfield - If it does not rain I will be doing some more exterior decorating / painting, otherwise I am not really planning much. I'd really like to get out on my bike.
I think "fitting an air conditioner" is on my "honey do" list for this weekend (assuming it arrives Saturday).
I hope that it either arrives if you are keen to cross it off or that it is delayed if you wish to procrastinate.
I would REALLY like to do some personal coding and personal writing (fiction) this weekend, but I don't see either really happening...
23C today, 27C tomorrow, 25C Sunday... We need the A/C 🙂
Nice!
… I mean why else would you live in Scotland, if not for the dreich weather? :rain_cloud: 😀