Fork me on GitHub
#clojure-uk
<
2021-01-13
>
dharrigan05:01:06

How the night flies...

seancorfield05:01:53

๐Ÿ™‚ Is it that time already?

dharrigan06:01:47

Indeed! Time stops for no-one!

dharrigan06:01:17

What's the state btw, of the ability to dynamically add libs to the REPL, i.e., the add-libs branch that was there? Is that still being worked upon for tools-deps?

seancorfield06:01:49

Yes, it's still experimental but the idea of a standardized way to add dependencies at runtime now seems to be a goal of either t.d.a. or Clojure itself.

seancorfield06:01:31

Which I'm very pleased about. I don't use it a lot, but it is very convenient when you need it -- and I'm very attached to a long-lived REPL ๐Ÿ™‚

seancorfield06:01:34

Although I shutdown my work REPL prior to today's talk/demo, I normally have that running for a week or more at any given time, so being able to add new libraries to experiment with is a pretty important use case. But, it's not like this is really new: if you use lein, it has Pomegranate built in (that's how it fetches dependencies) so you can add dependencies to a lein repl session with a bit of work -- it's just not something folks are used to doing).

dharrigan06:01:26

I lost track a bit, since of the talk around basis etc., I just wondered if it was at the stage now where one could add a lib in for playing around. I hope it'll come this year then!

dharrigan06:01:45

Not that I use that "feature" atm, but would be cool to have - for experimentation.

seancorfield06:01:50

Anyone using my dot-clojure can leverage it with the :add-libs alias ๐Ÿ™‚

seancorfield06:01:16

In my talk today, one of the things I showed was how to put code in deps.edn with #_ and pull in t.d.a.'s add-libs and use it to update your deps so you can mostly do with the EDN and very little editing. Once this stabilizes, I will write a wrapper that just reads your deps.edn and fetches/installs whatever's in your dependencies ๐Ÿ™‚

djm06:01:42

๐Ÿ‘‹

dharrigan08:01:08

The cup has had it's first cup'o'joe!

dharrigan08:01:23

(reduce drink coffee)

mccraigmccraig08:01:47

mรฅnยกng

cdpjenkins09:01:12

Good moaning

jiriknesl11:01:55

Hi, this teaching from home is insane. All day, I just switch http://zoom.us calls for kids, fix that they have closed the window or missed something because of lagging internet. I hope, those of you, who have kids, are doing better. ๐Ÿ˜ณ ๐Ÿ˜„

mccraigmccraig11:01:16

i do an hour of maths and science with them, SO does some other stuffs - english, art, and then they have some zooms with their teacher - mostly seems ok, and they don't seem to hate me (even though i made them do binary long division). i wouldn't like it to carry on forever though ๐Ÿ˜ฌ

folcon09:01:46

binary long division, ok that's pretty cool ๐Ÿ˜ƒ...

mccraigmccraig10:01:48

binary long division is actually a lot easier than decimal long division, because you never have to figure out how many times the divisor goes into the current focus - it's either > than = 0 or <= than = 1

3
mccraigmccraig12:01:49

anyone had any (good or bad) experiences with the server-side of http chunked transfers from clojure ? aleph seems to support it straightforwardly, but i've not used it yet