Perl 6 - the future is here, just unevenly distributed

IRC log for #opentreeoflife, 2015-08-26

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

All times shown according to UTC.

Time Nick Message
02:59 pmidford2 joined #opentreeoflife
03:01 mtholder joined #opentreeoflife
03:08 mtholder left #opentreeoflife
03:34 pmidford2 left #opentreeoflife
10:42 snacktavish joined #opentreeoflife
11:09 snacktavish joined #opentreeoflife
12:15 snacktavish guten morgen!
13:50 jimallman snacktavish: back atcha! (in truth, I was sound asleep)
13:50 snacktavish hahah, reasonable
14:03 jimallman knock, knock…
14:05 snacktavish joined #opentreeoflife
14:05 snacktavish I got disconnected but I am back!
14:07 jimallman bummer. are you presenting now? (i don’t have a hangout link yet)
14:08 josephwb joined #opentreeoflife
14:08 snacktavish eh, mark said that he is there but others have not yet arrived
14:08 jimallman ok, standing by
14:08 jimallman good morning, josephwb!
14:08 snacktavish I'm flexi on time, want to get dinner in 2.5 hours or so, but anytime between now and then is ok for me.
14:08 josephwb howdy
14:08 jimallman i miss the beard!
14:08 jimallman but the new look is fun too
14:09 snacktavish how do you seee eachother?
14:09 jimallman (i noticed it yesterday, on the hangout)
14:09 jimallman psych!
14:10 snacktavish ah ha!
14:10 josephwb snacktavish had a beard?
14:11 jimallman it’s complicated
14:12 snacktavish I'm making a good fake beard by putting my hair on my face, but in the absence of video it is a joke only for me!
14:12 jimallman and yet i lol'd
14:12 josephwb nerds
14:12 snacktavish text based visual humor
14:12 jimallman :-{ ) >
14:13 snacktavish ha, I was just thinking about how to emoticon that
14:13 jar286 joined #opentreeoflife
14:14 jimallman hi jar286!
14:14 jar286 hello.  we’re ramping up here
14:15 guest|97124 joined #opentreeoflife
14:16 snacktavish cool!
14:16 guest|97124 jimallman and snacktavish, I'll start a hangout...
14:16 jimallman thanks, guest|97124
14:16 jimallman (so mysterious!)
14:16 snacktavish MTH-syterious i think...
14:18 pmidford2 joined #opentreeoflife
14:58 jar286 joined #opentreeoflife
15:06 jar286 jimallman, are you getting this?
15:06 jimallman i’m following in the Google Doc
15:36 jar286 joined #opentreeoflife
15:53 snacktavish joined #opentreeoflife
16:14 jar286 joined #opentreeoflife
16:35 guest|97124 joined #opentreeoflife
16:35 josephwb joined #opentreeoflife
16:36 jar286 joined #opentreeoflife
16:53 jar286 joined #opentreeoflife
17:13 jar286 joined #opentreeoflife
17:29 jar286 joined #opentreeoflife
17:31 jar286 joined #opentreeoflife
19:17 josephwb joined #opentreeoflife
19:26 jar286 joined #opentreeoflife
19:28 mtholder joined #opentreeoflife
19:30 mtholder jimallman, we're back. do you want to hangout?
19:30 jimallman sure!
19:38 mtholder joined #opentreeoflife
20:51 josephwb jimallman you do use "nleaves", right? that is, it cannot be recycled to give tip count?
20:54 jimallman we currently use it for *visible* leaves, yes… it might be used to help with tree-drawing layout, i’ll try to confirm
20:54 jimallman if not, we could re-use this field. if so (we currently use it), we’ll want to add a field instead.
20:54 jimallman josephwb: ^
20:59 jimallman josephwb: here we use nleaves (of the target node) to set the synth-tree view height, so that’s one vote for keeping the existing nleaves (or a similar visible-leaves field): https://github.com/OpenTreeOfLife/opentree/blob/51a96f3885c5eecc3a14547d6c664a0e714d49b8/webapp/static/js/argus/drawtree.js#L448
20:59 jimallman other instances of ‘nleaves’ in this script would be better served by an ‘actual leaf’ count
21:06 josephwb so this is the reference to nleaves in the list of children, right?
21:07 jimallman by “visible leaves”, i mean the number of descendant tips (for a given node) in the current arguson.
21:07 mtholder joined #opentreeoflife
21:07 jimallman by “actual leaves”, i mean the number of descendant tips (for a given node) in the complete tree.
21:07 josephwb right
21:09 josephwb i got it; just trying to narrow down which instances of 'nleaves' have to change
21:09 jimallman hm, not sure i follow. i can handle the client-side changes.
21:09 josephwb i think this is easy; just need to find time to focus on it
21:10 josephwb here is an example:
21:10 josephwb curl 'https://devapi.opentreeoflife.org/treemachine/v1/getSyntheticTree' -H 'Content-Type: application/json' --data-binary '{"format":"arguson","maxDepth":"3","subtreeNodeID":"696701"}'
21:10 josephwb 'nleaves' appears a bunch, but the ones that need to be changed to actual number of descendants are under 'children'
21:11 josephwb i'll get to this soon.
21:11 jimallman i think i see what you mean. we only need the ‘visible leaf’ count for the topmost node in the arguson view!
21:11 jimallman so maybe it’s best to rename that and treat it as a singleton.
21:12 jimallman see this thread for my past discussion with Cody, including a (hopefully) notion I had about how to gather ‘actual leaves’ as part of the current depth-first traversal:  https://github.com/OpenTreeOfLife/treemachine/issues/63
21:12 josephwb ok, understood. looks easy enough. i'll get something up on dev later on today
21:12 jimallman “(hopefully) helpful notion”, that should have been
21:14 josephwb jimallman: what would you like this tip count called?
21:15 jimallman descendant_tips, perhaps?
21:15 josephwb ok, will do
21:15 jimallman such service!
21:22 josephwb hold on. for any given arguson, do you only need 1 tip count (that of the focal clade), or do you need it for each visible node?
21:29 pmidford2 joined #opentreeoflife
21:30 josephwb will ilbot3 join us on slack? seems like a dealbreaker
21:35 jimallman josephwb: sorry, missed your question above. we only need the *visible* leaf count for the top-level node. all nodes need the *actual* leaf count
21:37 josephwb ok
22:43 josephwb joined #opentreeoflife
22:45 jar286 joined #opentreeoflife
23:13 jar286 joined #opentreeoflife
23:42 jar286 joined #opentreeoflife

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