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
jasonbell 2021-06-21T05:06:44.341100Z

Morning

djm 2021-06-21T05:38:03.341300Z

:flag-england:

2021-06-21T05:38:46.341500Z

Morning.

dharrigan 2021-06-21T05:57:03.341700Z

Good Morning!

dominicm 2021-06-21T07:10:52.341900Z

Morning

dominicm 2021-06-21T07:11:32.342700Z

@dharrigan Edge has rebel+nrepl if you recall ๐Ÿ™‚ It's MIT license so good to steal the code. You might also be able to add wedge-mise as a dependency to do this, (https://git.sr.ht/~severeoverfl0w/wedge-mise) but I haven't licensed that yet so YMMV.

dominicm 2021-06-21T07:11:40.343Z

Wedge-mise is pretty cool, I should really write about it ๐Ÿ˜›

dominicm 2021-06-21T07:12:56.343400Z

https://git.sr.ht/~severeoverfl0w/wedge-mise/tree/master/item/src/io/dominic/wedge/mise/rebel.clj yep, this does nrepl+rebel ๐Ÿ™‚

dominicm 2021-06-21T07:13:34.344Z

It doesn't depend on wedge at all, so you should be good to use it in any project. But, again, it's lacking a license so YMMV. Most likely I'll put it under MPL2 or similar.

dharrigan 2021-06-21T07:40:33.344400Z

@dominicm Hey! Good shout! I forgot about that. Thank you ๐Ÿ™‚

Jakob Durstberger 2021-06-21T07:45:24.344900Z

Good morning and happy Monday. Does anyone have any pointers to draw graphs (mostly line charts to begin with) with Clojure?

dominicm 2021-06-21T07:52:44.346900Z

@jakob.durstberger with JVM clojure, https://github.com/hypirion/clj-xchart/ has served me well (and is used by cognitect REBL). For something fancier on the JVM you'll want one of the funky Vega wrappers that are about, some of them run entirely in the JVM. For ClojureScript you'll probably want ReCharts or whatever your first hit is on search for "react charts". For fancy Cljs charts I recommend Visx as a very good D3 wrapper that gives a lot of flexibility.

dominicm 2021-06-21T07:53:00.347200Z

I'd love to do my own version of a radar or something at some point ๐Ÿ™‚

solf 2021-06-21T07:57:18.347500Z

Iโ€™ll just add that oz, one of the vega wrappers, works both on Clojure and Clojurescript https://github.com/metasoarous/oz

dominicm 2021-06-21T07:58:02.347900Z

Nice! couldn't remember if oz did that or not.

thomas 2021-06-21T07:58:11.348300Z

morning

Jakob Durstberger 2021-06-21T08:15:46.348400Z

Thank you Iโ€™ll look into those. I donโ€™t need anything fancy to begin with. Just a way to calculate some data over time and plot it on a line ๐Ÿ˜„

alexlynham 2021-06-21T09:11:28.348700Z

morning

mccraigmccraig 2021-06-21T09:28:32.348900Z

maaning

dominicm 2021-06-21T10:00:26.349Z

xcharts if def your friend ๐Ÿ™‚

Luis Thiam-Nye 2021-06-21T10:56:35.349200Z

Good Morningโ„ข