Perl 6 - the future is here, just unevenly distributed

IRC log for #askriba, 2017-02-10

| Channels | #askriba index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
05:04 dboehmer joined #askriba
07:36 ribasushi frew: DBIx::Class::MaterializedPath can not possibly represent a DAG, it can only represent a tree ( a node can't have > 1 parent )
09:15 * ashimema wonders where that just came from
09:16 * ashimema was tempted to at some point write a later on top of that module so he could use the api from DBIx::Class::Tree::NestedSet s his codebase uses that currently
09:58 ribasushi ashimema: cross over from #dbic
10:11 ashimema I see
10:12 ashimema out of interest what would you recommend for dag?
10:13 ashimema my tree is starting to develop the need for multi-parent relationships :(.. (I'm thinking of just making something akin to symlinks in my app)
10:15 ribasushi never had to model something like that myself, so afraid don't have much insight ( I suspect you are not asking the obvious, but "how do I do it efficiently" )
13:14 ashimema thanks ribasushi.. yeah it was a 'how do I do it efficiently/any recommended out of the box modules for it' question.
13:14 ashimema always worth asking in case I'd missed one ;)
13:14 ashimema I don't need to 'go there' for a while yet thankfully so I'll happily leave it at yhat ;)
13:23 _Dave joined #askriba
14:59 frew ribasushi: it could and I've used it that way, but you have to do some work yourself; basically if X has two parents, store p1.X and p2.X
15:04 ribasushi frew: but that would work for only "one way" traversal not the other way, also how do you encode multiple multi-parent nodes in a path?
15:05 ribasushi generate the entire permutation set?
15:05 frew hm
15:05 frew nop
15:05 frew stil waking up; lemme see if I can remember
15:06 frew I am 90% sure we had to do this at mitsi and it was fine, we just had to store the tree with references to the data and join data in, instead of having them in the same table
15:06 frew taking shower, will let you know if I remember
15:13 ribasushi frew: basically I am fuzzy how that would work: https://www.hpc.science.unsw.edu.au/files/docs/condor/7.4/img7.png
15:14 ribasushi ( random multi-focus-node dag found on imagesearch )
15:14 ribasushi as I said I haven't worked/thought about this kind of problem so looking to find out a canned way of doing it ;)

| Channels | #askriba index | Today | | Search | Google Search | Plain-Text | summary