9
This dear StackExchange site has so many challenges, and so many good answers. But what about the challenges that were never answered?
Task
Write a program or a function that will print a pseudo-random open unanswered (as in, a question with exactly zero answers) challenge from PPCG. All possible challenges should be produced with the same probability.
Input
- No input will be taken.
Output
- Must only be the title, tags and the link which should be separated by newlines.
- The title must be exactly like it is in the challenge.
- The tags don't have a strict output format but must include all tags.
- The link may or may not include the
question-name
after the question id and must lead to the challenge.
- May or may not be translated to a human readable format.
&
to&
- Leading and trailing whitespace is allowed.
Examples
Encode a steganographic encoder into a package
code-challenge,unicode,steganography
https://codegolf.stackexchange.com/questions/65159/encode-a-steganographic-encoder-into-a-package
Simple predictive keyboard CG
code-golf
https://codegolf.stackexchange.com/questions/76196/simple-predictive-keyboard-cg
Scoring
As this is code-golf, shortest answer in bytes wins.
8I'm getting really sick of [tag:stack-exchange-api] challenges. – Rɪᴋᴇʀ – 2017-05-11T21:27:03.923
3@Riker Uhm... thanks for your feedback? I really don't know why you would downvote for that reason but more power to you, I guess. – totallyhuman – 2017-05-11T21:28:07.300
6I didn't downvote for that. I downvoted because I think the question is boring. Also, would closed questions need to have the equal probability of being outputted? – Rɪᴋᴇʀ – 2017-05-11T21:29:30.507
Thank you for expressing concerns with the question even after disliking it. – totallyhuman – 2017-05-11T21:33:42.843
1
While I don't feel as strongly about it as @Riker, there does seem to have be a lot of API-related challenges lately; so much so that I managed to get myself blocked from using the API for ~21 hours!
– Shaggy – 2017-05-11T22:09:13.573I will admit I got this idea after seeing the sudden influx of API questions. – totallyhuman – 2017-05-11T22:10:05.763
At this rate, we'll have to ask SE for an unthrottled "sanbox" API to work with on all these challenges! :D – Shaggy – 2017-05-11T22:31:33.440
4Interestingly enough, this challenge will show up during testing, but once I answer it, it won't show up in testing anymore. – HyperNeutrino – 2017-05-11T22:45:59.283
I suggest, to avoid hammering the API with multiple requests and having people hit the throttle trying to retrieve all unanswered that you add a minimum number of answers that we should work with that can be retrieved with a single API request, i.e.
<=100
. – Shaggy – 2017-05-12T09:19:17.433I also suggest that translating the output to "human readable format" be removed from the question as it adds an unnecessary (in my opinion) extra complication to the challenge that not all languages will be able to handle while remaining competitive. I think there's a post on Meta that covers this, I'll see if I can dig it out. – Shaggy – 2017-05-12T09:22:09.000
1Note your example list is now wrong as the Tetris challenge has been answered :D – Blue – 2017-09-15T08:52:42.947