« first day (390 days earlier)      last day (1728 days later) » 

 
9 hours later…
4:17 PM
Hi Guys, wondering if any of the SEDE magicians could have a look at my answer about site metrics here: meta.stackexchange.com/a/332430/361484 and if that is achiavble with SEDE. My gut feeling is that it should be possible, but no SQL wizzard here ;)
 
5:25 PM
if you run it a couple of times most of the data is in memory and then it completes in time
 
5:42 PM
Thx a lot @rene. Ill have a try on a computer tomorrow. Almost out of battery on my mobile.
 
 
2 hours later…
7:41 PM
@rene
Just tried in on a computer, but only getting 100 returned in about 6ms
Would it be helpfull to add intermediate results for debugging?
Or is it because I'm not registered with SEDE?
Even tried switching to a smaller site (IPS)
 
cool, thx. Seemed that last conversion line did the trick
 
@Luuklag yeah, if you keep dividing integers, the result will be an integer
 
yup
now running on SO
hoping caching will come in soon
 
8:20 PM
@rene, been looking at the results at IPS, with Q = 2453 and A = 12748 the avg A/Q should be about 5,5. And we should not take into account the amount of Q's, but % of Q's without answers
 
That is what you get from vague specs ;)
 
haha, pay peanuts get monkeys ;)
 
It is a bit at the end of my day and I have an office day tomorrow so it will have to wait till the weekend if you didn't get it resolved yourself before that.
 
ofcourse, no problem
Bedtijd ;)
 
8:47 PM
my try at reworking
 

« first day (390 days earlier)      last day (1728 days later) »