Fork me on GitHub
#clojure-uk
<
2019-07-26
>
practicalli-john07:07:35

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/

guy07:07:23

Morning!

guy07:07:30

everyone enjoying the rain?

❤️ 4
practicalli-john09:07:36

Yes, I am loving the rain and my cats are a lot happier too

parrot 4
otfrom10:07:00

:thunder_cloud_and_rain:

otfrom10:07:02

last night

😄 4
thomas08:07:54

morning...

thomas08:07:58

what rain?

3Jane08:07:48

G L O R I O U S

3Jane08:07:03

couldn't sleep at all through the night, I want to go out and dance and shout 😄

😄 8
3Jane08:07:05

feels weird to be this excited about rain falling out of the sky, given ~99% of the time people complain about it 🙂

danm08:07:42

The grass is wet, so I assume there must have been rain, but all it seems to have done is made it muggier...

danielneal08:07:31

anyone ever used a meeting owl?

bronsa08:07:01

like this?

danielneal08:07:57

yes, something like that. I find the presence of two large creepy feathered eyes helps the meeting run to time

practicalli-john09:07:27

Standing up in meetings helps make them go quicker, unless you are like me who likes to stand up most of the day anyway 😁

practicalli-john09:07:23

: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 😰

😱 12
🔥 4
otfrom10:07:19

@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)

8
practicalli-john18:07:36

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

seancorfield19:07:56

> ~/.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)?

seancorfield19:07:28

> /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?

practicalli-john21:07:19

~/.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.

practicalli-john21:07:34

Maybe there is a difference between running the Linux installer and running the homebrew install (I dont have Mac, so cant check)

practicalli-john21:07:03

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

seancorfield22:07:01

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.

seancorfield22:07:32

I look forward to more blog posts then! 🙂

practicalli-john20:07:31

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

seancorfield20:07:14

From the ### Combining Aliases -- is there something missing there?

seancorfield20:07:50

we have two aliases defined, `:We
also seems to be missing something shortly below the above piece.

seancorfield20:07:39

congnitect spelling

seancorfield20:07:44

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?

seancorfield20:07:35

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).

seancorfield20:07:06

-Stree - adding dependencies to deps.edn
does not add dependencies, it lists them.

seancorfield20:07:55

Hope that feedback is helpful!

otfrom10:07:24

and other directories

rickmoynihan11:07:43

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.

maleghast15:07:45

Hello everyone 🙂

seancorfield16:07:25

Glad it's Friday 🙂

seancorfield16:07:15

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 🙂

seancorfield16:07:51

@maleghast Anything fun planned for the weekend?

maleghast17:07:29

@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.

❤️ 4
maleghast17:07:44

(bicycle, not motorbike)

seancorfield17:07:35

I think "fitting an air conditioner" is on my "honey do" list for this weekend (assuming it arrives Saturday).

maleghast17:07:17

I hope that it either arrives if you are keen to cross it off or that it is delayed if you wish to procrastinate.

maleghast17:07:08

I would REALLY like to do some personal coding and personal writing (fiction) this weekend, but I don't see either really happening...

seancorfield17:07:17

23C today, 27C tomorrow, 25C Sunday... We need the A/C 🙂

maleghast17:07:10

Indeed you do! Yowser!

maleghast17:07:55

Only 20C here in the West Highlands today

dharrigan17:07:45

A refreshing 18c in Norn Iron atm.

maleghast17:07:33

I dream of sub 10C days...

rickmoynihan17:07:11

… I mean why else would you live in Scotland, if not for the dreich weather? :rain_cloud: 😀

dharrigan19:07:58

Perhaps having the cool weather has helped, along with the lovely beaches up in Donegal 🙂

guy21:07:35

Integrant is nice

guy21:07:52

we use integrant and aero which can make it quite fun