Perl 6 - the future is here, just unevenly distributed

IRC log for #opentreeoflife, 2015-08-17

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

All times shown according to UTC.

Time Nick Message
00:42 pmidford2 left #opentreeoflife
06:31 guest|7825 joined #opentreeoflife
11:51 pmidford2 joined #opentreeoflife
13:51 pmidford2 joined #opentreeoflife
15:03 pmidford2 joined #opentreeoflife
15:51 kcranstn joined #opentreeoflife
17:08 josephwb joined #opentreeoflife
17:08 josephwb hey jimallman
17:08 jimallman howdy!
17:08 josephwb what do you expect in that sourceToMetaMap?
17:09 jimallman it should be an object with ‘study’ and possibly other properties… lemme find a good one
17:09 josephwb oh, i can just query production, right?
17:11 jimallman good thought
17:12 jimallman oh yeah, it should be an object with study_id, tree_id, and git_sha properties
17:13 josephwb ok, that sounds easy to fix
17:14 jimallman i thought i remembered some shortcuts in the dev data (vs production) that might explain this, but it would be reassuring to see edge properties on devtree
17:14 josephwb i haven't been able to get a good response from production
17:15 jimallman ? i got a good working view at https://tree.opentreeoflife.org/opentree/opentree3.0@3872738/Orbales--uncultured-Green-Bay-ferromanganous-micronodule-bacterium-MNH2--
17:15 jimallman but yeah, now it seems to be hung
17:15 josephwb oh, i meant a curl call
17:15 jimallman no longer hung (false alarm)
17:16 jimallman here’s a call that works for me (small subtree): curl 'https://api.opentreeoflife.org/cached/treemachine/v1/getSyntheticTree' -H 'Origin: https://tree.opentreeoflife.org' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36' -H 'Content-Type: application/json' -H 'Ac
17:16 jimallman text/plain, */*; q=0.01' -H 'Referer: https://tree.opentreeoflife.org/opentree/opentree3.0@3480623/Nitratiruptor' -H 'Connection: keep-alive' --data-binary '{"treeID":"opentree3.0","format":"arguson","maxDepth":"3","subtreeNodeID":"3480623"}' --compressed
17:17 jimallman (that might be mangled by the chat app, i’ll email it too)
17:17 jimallman email en route
17:18 jimallman fyi - i’m feeling sick today, so i might be coming and going for awhile
17:18 josephwb ok, thanks for the help
17:20 mtholder joined #opentreeoflife
17:20 josephwb your curl calls have a lot of extra junk in them, jimallman: curl 'http://api.opentreeoflife.org/cached/treemachine/v1/getSyntheticTree' -H 'Content-Type: application/json' --data-binary '{"treeID":"opentree3.0","format":"arguson","maxDepth":"3","subtreeNodeID":"3480623"}'
17:21 josephwb i see what the issue is
17:22 jimallman yes, in the interest of speed i gave you the raw curl call from Chrome dev tools (normally i snip off the extra headers)
17:22 josephwb for the publication i had to enter the DB and add gitshas using a script after the fact. i think the fix is easy
17:22 josephwb not a problem, except when it gets garbled
17:23 jimallman ok, and it’s no biggie if we’re confident that the information will appear on production.
17:23 josephwb feel better
17:23 jimallman thanks! i’m hoping to finalize the stats/Progress pages today, just a little cleanup needed.
17:24 * jimallman is off to take a short nap
18:00 kcranstn joined #opentreeoflife
18:11 kcranstn joined #opentreeoflife
18:14 kcranstn joined #opentreeoflife
19:14 josephwb joined #opentreeoflife
19:22 mtholder joined #opentreeoflife
19:36 mtholder jimallman, I'm starting to document how we use the unadvertised (non-v2 API) web service calls here: https://docs.google.com/document/d/1HTDZijGVWCT2ZKbalRMXvYeiPmYDralyMzFRQHuqsTc/edit#heading=h.5fhxi6n0alat
19:37 mtholder let me know if that documentation is redundant.
19:37 jimallman thanks, i don’t know of anywhere else that spells this out (beyond the code and config files, of course)
19:37 mtholder (I thought that when we discuss the API next week, we should try to figure out how to get the web app using our v3 API).
19:37 jimallman v3?! oh man
19:40 mtholder or v2.whatever
19:40 jimallman that’s the spirit
19:41 jimallman last time i checked, there were calls that were only possible in v1. otherwise, i’m game.
19:41 mtholder yeah. I think we should try to rectify that.
19:54 * jimallman nods
19:57 kcranstn joined #opentreeoflife
23:24 josephwb joined #opentreeoflife
23:35 mtholder joined #opentreeoflife

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