Perl 6 - the future is here, just unevenly distributed

IRC log for #opentreeoflife, 2015-05-15

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

All times shown according to UTC.

Time Nick Message
00:01 jar286 joined #opentreeoflife
00:48 kcranstn joined #opentreeoflife
01:14 josephwb1 joined #opentreeoflife
01:41 jar286 joined #opentreeoflife
01:45 jar286 jimallman, remind me how to clear the webapp cache?
01:45 jimallman easiest way is probably an apache restart (it’s a ram cache)
01:45 jar286 ok I thought that might be it. thanks
01:46 jimallman i could whip up a controller action if we want to allow external calls to do this.
01:48 jar286 no need.
01:48 jar286 and I bet all that study metadata is cached.
01:49 jar286 production seems to be mostly working but I’ll restart apache now for good measure
01:49 josephwb1 joined #opentreeoflife
01:52 josephwb1 are you there jar286
01:52 jar286 yes
01:53 josephwb1 i don't know anything about errors, how they are controlled or knowing the current status
01:53 josephwb1 is it simply a matter of throwing an exception?
01:53 jar286 look at that oti method for precedent
01:53 josephwb1 i am looking at it now
01:53 jar286 i don’t know what the code looks like. cody wrote it
01:54 jar286 neo4j catches exceptions and turns them into status codes somehow, but I don’t remember the details
01:54 josephwb1 i wonder: do all of the treemachine services return 200 errors?
01:54 jar286 yes, and they’re all wrong IMO
01:54 jar286 of course using POST instead of GET is also wrong
01:54 josephwb1 oh, i just did what cody told me many moons ago
01:54 josephwb1 i.e. reporting "error" messages
01:54 jar286 right. I argued with him and got him to change the status code
01:54 jar286 the payload remains the same
01:55 jar286 anyhow if you want to move on to other things just file an issue and come back to it later
01:55 josephwb1 how do i check what the status code is?
01:56 jar286 you mean, as an API client? depends on what language you’re writing in
01:56 jar286 what library you’re using
01:57 josephwb1 how did you know that my service returned 200?
01:57 jar286 oh, I did curl -v
01:57 josephwb1 ah
01:57 josephwb1 i did not know that. thanks.
01:58 josephwb1 [of all the things i know little about, web stuff is near the top]
01:59 josephwb1 does throwing an exception bump up the status code to what you'd like to see?
02:01 jar286 I think so, but I’m not sure you get control of the payload that way… I really don’t know how it works in neo4j, I’d have to look at cody’s code
02:02 josephwb1 ok, i will poke around
02:02 jar286 that is, yes, throwing an exception does cause the plugin method to turn into a 4xx or 5xx, depending on the exception type
02:02 jar286 you just have to raise the right kind of exception to get the right kind of status code
02:02 josephwb1 is cody using POST instead of GET as well?
02:03 jar286 yes, neo4j makes GET impractical, it’s a screwup in their design
02:03 josephwb1 yeah, that is what i thought. the whole "unmanaged extensions", right?
02:04 jar286 yes
02:05 josephwb1 ok, i don't need to worry about (read: learn) that at the moment
02:05 josephwb1 thanks for the pointers
02:08 jar286 joined #opentreeoflife
03:13 kcranstn joined #opentreeoflife
04:08 josephwb1 joined #opentreeoflife
05:19 jimallman josephwb: you’re a machine tonight!
07:27 mtholder joined #opentreeoflife
10:32 kcranstn joined #opentreeoflife
11:07 mtholder joined #opentreeoflife
11:52 jar286 joined #opentreeoflife
11:55 kcranstn joined #opentreeoflife
11:56 kcranstn joined #opentreeoflife
12:40 josephwb1 joined #opentreeoflife
12:53 kcranstn joined #opentreeoflife
13:35 josephwb1 joined #opentreeoflife
14:08 jar286 joined #opentreeoflife
14:23 blackrim joined #opentreeoflife
16:05 jar286 joined #opentreeoflife
16:06 jar286 josephwb, were you planning to do a PR with all your recent commits?…
16:12 josephwb jar286 yes, but i haven't been able to test yet; working on ms revisions
16:13 jar286 ok, ms trumps all right now, I was surprised you were even looking at these API issues
16:13 josephwb i believe everything is deployed on dev
16:13 josephwb just cleaning up issues since the source_tree service had to change anyway
16:14 josephwb a little doc work is required, but otherwise very minor stuff
16:16 josephwb should get to testing and a PR later in the day, but definitely not urgent
16:26 jar286 wondering how we’re going to dispose of the albatross
16:26 josephwb am i the albatross?
16:26 jar286 josephwb, were you working on the supplement? to me it looks done except for final editing
16:26 jar286 the supplement is an albatross
16:26 kcranstn dispose?
16:26 josephwb table 1 needs updating in the main ms
16:27 jar286 get it sent off so we can do other things
16:27 kcranstn ha
16:27 jar286 are we kcranstn-limited?
16:27 kcranstn kcranstn is done teaching this afternoon and can work on it this weekend
16:27 jar286 excellent
16:28 josephwb table 1 stuff is here: https://docs.google.com/spreadsheets/d/1tyNSBAJKHD-mrZGirzz8eu7tnzJf9Ynk5Y_GQwNcauQ/edit#gid=0
16:28 jar286 I would prefer ‘finish it’ to ‘work on it’
16:28 josephwb +1
16:29 kcranstn is that spreadsheet up-to-date? what needs updating?
16:29 josephwb it is the final numbers
16:29 josephwb just a question of which columns we want
16:29 kcranstn so we just need to transfer these numbers into the ms?
16:30 kcranstn or, some of the numbers
16:30 josephwb currently has edge-based stuff from tm
16:30 josephwb kcranstn yes. if you want to update, cool. i am busy for a bit.
17:24 blackrim joined #opentreeoflife
17:24 blackrim josephwb, everyone left
17:28 josephwb lame
17:29 josephwb is a trooper, tho
18:49 jimallman joined #opentreeoflife
20:21 jar286 joined #opentreeoflife
20:31 josephwb i updated the stats in table 1 of the main ms. original data are here: https://docs.google.com/spreadsheets/d/1tyNSBAJKHD-mrZGirzz8eu7tnzJf9Ynk5Y_GQwNcauQ/edit?disco=AAAAAbu_uNM#gid=0
20:36 blackrim thanks josephwb

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