Making progress toward computer literacy: TIL how to login to SE with lynx, how to persist cookies in lynx, how to script it and set up a cron job. Hm, what good can I do with all this?
@Undo where did you get to with including feedback in /posts/recent.json? I'm having a play around with various things, but I haven't come up with anything that works yet.
.includes(:feedbacks) ends up with an empty result set. .where adds WHERE rather than ON clauses. Raw SQL... doesn't work. For some reason.
@Undo Here's an idea - prompted by Ferry's feedback just above, why not allow additional feedback, collected by smokey and recorded in metasmoke? That allows notes to be on permanent record along with the post.
link at end is currently active only at "superuser.com", "askubuntu.com", "drupal.stackexchange.com", "meta.stackexchange.com", "security.stackexchange.com", "patents.stackexchange.com", "money.stackexchange.com"
Also, pasted.co would not trigger it because it's whitelisted: people on SU/AU etc put some information in a paste and post the link at end.
Discussion time for those of you that use the API!
In end points that have {ids} as an element but not the last element (example: /answers/{ids}/comments), how do you generally handle this in your code?
Do you simply replace the ids in line before calling the API? Do you replace the {ids} place holder text? Something else?
I ask because I'm close to having a release of StackAPI (thanks @404 for the name suggestion) and this is the last major issue I need to fix.
Your example would have to be either: .fetch('answers', ids=[1,2,3], path='comments') or .fetch('answers', 'comments', ids=[1,2,3]) as you can't have an unnamed parameter after a named one
@Andy be careful with your copyright notices if you're accepting contributions. The one in the license will need to read "Andrew Wegner and contributors", and you've got one at the bottom of docs pages which should read the same. Unless, of course, you want to try copyright transfer. (Hint: don't.)
@ArtOfCode You sure that's needed? I modeled mine off of Requests. Their license (Apache, not MIT) has the author's name and the docs only have the author's name
@Andy Technically they're doing it wrong then :) You can't claim copyright on code or documentation that isn't your own. Honestly, I doubt anybody would complain, but if you want to be technically correct then the contributors need to be part of the copyright.
Anyone up for simultaneous metasmoke-reviewing and Science™? I've got a whole load of posts on my copy of metasmoke that I've thrown back into review to see what we get.
One of our beloved SO mods, 0x7fffffff is stepping down. As a result we had a hole to fill, we've called up 2 runners-up from the previous election. Both Undo and TheLostMind have agreed to take his place and help out with the workload.
Please welcome them to the team! And thank 0x7fffffff...