clojure-uk

A place for people in the UK, near the UK, visiting the UK, planning to visit the UK or just vaguely interested to randomly chat about things (often vi and emacs, occasionally clojure). More general the #ldnclj
dharrigan 2021-01-13T05:54:59.363100Z

Morning!

dharrigan 2021-01-13T05:55:06.363300Z

How the night flies...

seancorfield 2021-01-13T05:58:53.363700Z

๐Ÿ™‚ Is it that time already?

dharrigan 2021-01-13T06:01:47.364Z

Indeed! Time stops for no-one!

dharrigan 2021-01-13T06:03:17.364800Z

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?

seancorfield 2021-01-13T06:15:49.365700Z

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.

seancorfield 2021-01-13T06:17:31.366600Z

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 ๐Ÿ™‚

seancorfield 2021-01-13T06:19:34.369Z

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

dharrigan 2021-01-13T06:20:26.369800Z

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!

dharrigan 2021-01-13T06:21:45.370400Z

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

seancorfield 2021-01-13T06:26:50.371100Z

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

dharrigan 2021-01-13T06:32:23.372700Z

:thumbsup:

seancorfield 2021-01-13T06:33:16.373600Z

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 ๐Ÿ™‚

djm 2021-01-13T06:58:57.373700Z

Is there a recording available?

djm 2021-01-13T06:59:14.373900Z

Oh, sorry, you answered that already

djm 2021-01-13T06:59:42.374200Z

๐Ÿ‘‹

alexlynham 2021-01-13T07:56:38.374300Z

morning

dharrigan 2021-01-13T08:18:58.374400Z

dharrigan 2021-01-13T08:19:08.374900Z

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

dharrigan 2021-01-13T08:23:23.375100Z

(reduce drink coffee)

mccraigmccraig 2021-01-13T08:36:47.375600Z

mรฅnยกng

thomas 2021-01-13T08:52:10.376500Z

moin moin

2021-01-13T09:06:12.376800Z

Good moaning

alexlynham 2021-01-13T09:26:18.377400Z

morning

jasonbell 2021-01-13T09:41:32.377600Z

Morning

joetague 2021-01-13T09:55:30.377800Z

Morning

jiriknesl 2021-01-13T11:17:55.379200Z

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. ๐Ÿ˜ณ ๐Ÿ˜„

2021-01-14T09:49:46.006700Z

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

mccraigmccraig 2021-01-14T10:10:48.007Z

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

1
mccraigmccraig 2021-01-13T11:55:16.381300Z

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 ๐Ÿ˜ฌ

mccraigmccraig 2021-01-13T12:15:49.383800Z

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