Fork me on GitHub
#asami
<
2021-04-10
>
simongray11:04:24

Does anybody know if Loom is abandoned? seems like no PRs have been merged since early 2019

simongray11:04:52

(sorry to use this channel, but there is no general #graph channel)

quoll16:04:58

Asami-loom, or Loom itself?

quoll16:04:23

Because yes, it appears abandoned.

quoll16:04:13

I started getting into Loom when I did Asami-Loom, but couldn’t raise much response from the owner

quoll16:04:55

As soon as I get a moment I want to get back to Asami-Loom and extend the relevant protocol to the durable store in Asami.

quoll16:04:47

From memory I hit a bug in ClojureScript. I submitted a PR, but I a think someone else submitted one for the same issue and theirs was accepted? Maybe. I forget

simongray17:04:55

@quoll Loom itself. I just made PR for an issue that I circumvented in my code back in 2018 thinking that it would be fixed soon. Now in 2021 seems like not much has happened with Loom since then. It kind of sucks, since Loom and its protocols are used from many different Clojure libraries, but it has some longstanding issues and the author doesn't seem to care about it anymore.

simongray17:04:24

I'm thinking of either forking it or having it transferred to clj-commons.

💯 9
quoll17:04:51

I’m with you on this. I can contribute, if you’re interested?

👍 5
quoll18:04:20

I think my private fork has a number of changes, like separating the function that generates the content of dot files from the i/o. That way you can use it in ClojureScript and provide a way for a user to download a generated file from a web page

simongray18:04:41

hah, the primary issue I’ve been having is the shoddy http://loom.io/dot-str function

😄 3
simongray18:04:22

and I actually needed to solve the same issue since CoreNLP comes with its equivalent that I used instead.

quoll18:04:52

I wish I could say that I addressed it, but all I did was tease out the i/o

quoll18:04:39

BTW, I saw that I have a PR from you. Thank you! I haven’t looked at it yet, since I’ve been in the kitchen all day, and am just taking a break to look at my phone

simongray18:04:17

but I also really can't stand that it has these protocols that other libraries implement, but then it doesn't even use them... It's so dumb... And it's been like this for years now.

simongray18:04:39

PR from me? I don't think so.

quoll18:04:15

Ah! I thought it was to Asami-Loom. I was mistaken… it was a PR for aysylu/loom. How did I end up on the email notifications? :thinking_face:

simongray18:04:26

Weird :thinking_face:

simongray18:04:48

But anyway your help is very welcome should I proceed with it.

quoll18:04:38

A lot of people seem to like the Loom API, so I like the idea of supporting it. It’s a bit frustrating though, as I only recognize nodes that have edges, and all edges are labeled and directed. It took a bit of work to fit into that picture

👍 2
simongray18:04:09

I just like the idea of some common API and a common set of protocols, but loom is a half-hearted attempt

simongray18:04:35

it’s a shame

quoll18:04:40

Are you proposing that we work on a new one? 🙂

simongray19:04:26

not really… just that if I were to fork loom, I would probably change a bunch of stuff that I find poorly implemented, which might break some callers in the process…

simongray19:04:59

mostly the fact that edges have this nice Edge protocol, but in every function where it matters, edges are represented as two args n1 and n2. Edges should be represented as a single arg IMO. Representing edges as two nodes everywhere precludes certain graph types from existing in loom and complects the meaning of an edge and the 2-tuple vector that loom considers an edge.

simongray19:04:09

I also don’t like the fact that labels aren’t something generic which you can fetch using a label function (assuming you’ve implemented a protocol for the datatype), but rather a weirdly specific :label key in a map.

simongray19:04:15

too much of loom is weirdly implementation-specific

simongray19:04:27

it should be entirely based on its own protocols

dcj00:04:00

I too am sad about the current state of Loom, which I do use a little. When exploring alternatives, I found: https://github.com/Engelberg/ubergraph, but I didn't end up trying to use it. so I do not have any opinion or experience with it. Transfering/migrating Loom to clj-commons is an interesting idea, what would it take to do that? I don't currently have the time to take that project on personally, but I'd be willing to chip in on a funding effort, and/or maybe if there was an interested developer, perhaps make a pitch to Clojurians Together....

simongray07:04:55

@U07TTE6RH Ubergraph is pretty great, but it is “just” a data structure and it also builds on the loom protocols: https://github.com/Engelberg/ubergraph/blob/master/src/ubergraph/core.clj#L16-L56

simongray07:04:07

Loom is at the intersection of a lot of graph-related libraries in Clojure, so that is why it’s a shame that it goes unmaintained. It feels a bit like the Incanter story with a fast uptake and then stagnation and abandonment.

quoll01:04:53

Well… it is still being implemented 😉 It was kinda cool to get it working on Asami.

quoll01:04:04

It’s already moved maintainer once. There’s no reason it can’t move on again. Does anyone know how to get in touch with Aysylu?

👍 2
quoll01:04:43

I first heard about Loom when she did the https://www.cognitect.com/cognicast/076 interview

dcj05:04:44

• [Aysylu Greenberg] (https://github.com/aysylu), <mailto:[email protected]|aysylu [dot] greenberg [at] gmail [dot] com>, http://twitter.com/aysylu22