last day (60 days later) » 

Bob
Bob
15:34
So, in here?
yep!
one sec. let me fetch my notes
Bob
Bob
Hm. Looks like I'll need to set up my Python environment too.
I never bothered to install it on this computer.
o.o
I have it installed, somehow. Ok, whatever.
heeh
err @Bob i cant seem to find the notes
anyway, what i had in mind was to track how many questions get any kind of response
Bob
Bob
Hmm... could you elaborate?
so, we check how many questions (from hereon) get comments, votes, answers, etc
Bob
Bob
15:39
Ah.
Essentially, check how many questions get no response?
like, last 100 questions- 5 got answers, 40 upvoted, etc.
Bob
Bob
Or the opposite, anyway.
@Bob that could be the extension of it
depending on how complex we want it to be.
that's pretty much the idea i have in mind.
Bob
Bob
Right.
How did you want it displayed?
Like, a list of questions? Overall statistics?
stats perhaps?
expanding to the list of questions could be nice too. but might be expensive
expensive in terms of resources
Bob
Bob
15:44
Resource-wise, it would probably have to be paginated.
I'll probably end up making API requests every 15 mins, and caching the results.
Maybe longer if it's a lot of requests.
actually, right now, i just would like to have some numbers.
and a list for questions with no response only.
would be easier to get a look into the site's vibrancy etc.
Bob
Bob
I would still end up caching requests, though.
It's just not feasible to fire off API requests every time someone loaded the page.
that's reasonable.
you can cache it per day
Bob
Bob
Unless that was done on the client side, but I suck with JavaScript.
okay how about a tabular form?
questions asked / answered / accepted / commented / voted / favorited etc
just let me enter the date from which i want to view the data. that's pretty much what i would like right now.
Bob
Bob
15:52
Well, see what you want to keep from here: win8challengestats.tk/cgi-bin/stats.py
let me see
@Bob you can keep all those stats aside. nice to have them but don't have the ones i am looking for.
Bob
Bob
@jokerdino I meant, what from the formatting.
oh formatting.
two rows + lots of columns
100 questions / 40 answers / 30 accepted / 80 commented / 90 voted/ 5 favorited.
Bob
Bob
The numbers?
yeah, just the numbers
you want to list the questions too? i would be more than glad :P
Bob
Bob
15:56
I mean, what are the numbers?
100 questions?
40 answers?
@Bob just a filler
from 30 Dec 2012 onwards, x questions were asked. of it, etc ...
Bob
Bob
Right.
replace x with 100 and you should get what i am saying
Bob
Bob
Maybe use those as column headings with numbers under them?
16:08
also, you might want to include numbers on closed posts as well.
Bob
Bob
I'm just going to try to get a Python environment up
this could take a while
programming with python on windows is not easy eh?
and do you use stack.py?
Bob
Bob
@jokerdino not at the moment. I was making raw HTTP requests
considering it though
@jokerdino more effing around with the virtualenv batch script generator
but at least I understand batch and powershell... bash gives me headaches
funny. i understand bash. never tried batch or powershell
@Bob using the wrapper should help no?
Bob
Bob
@jokerdino maybe
16:15
discounting the bugs, hopefully
Bob
Bob
I'll take a look at the wrapper. Looks like it has a caching implementation.
Weird that it doesn't seem to have good rate limiting / backoff handling.
I thought I had that, though it's untested.
yeah, i vaguely remember you saying something about backoff
wait, i saw that from your code.
Bob
Bob
backoff is something the API replies with if you request too many times
it just tells you to wait X seconds before another request
I just add a sleep for X seconds
though sleeping in a library is bad practice, so that might be why stack.py doesn't do it
makes sense
16:34
dinner time here. brb
17:07
and I am back.
Bob
Bob
17:27
Welcome back.
how is sleep?
Bob
Bob
Not bad.
What the hell is PYTHON_HOME?
I'm trying to migrate my Python install from my old laptop. Docs mention PYTHONHOME but not PYTHON_HOME.
What the hell is it.
WHAT'S CLIPPY DOING IN HERE
clippy is everywhere on SU network
@Bob could be the same thing. i dont know
Bob
Bob
@jokerdino Yea, maybe.
At some point, though, I modified the virtualenv config script to add it. So it's something special.
Oh I see. I'm an idiot.
@Bob so what happened?
Bob
Bob
17:41
@jokerdino Turns out it was a custom one.
I was using it to set the default file handler to %PYTHON_HOME%\python.exe
cause Windows doesn't have a shebang
Bob
Bob
don't worry about it :P
:D
makes me glad I use Linux.
a lot easier to get started on python programming :P
Bob
Bob
Eh, getting started is easy.
I just liked my customised environment :P
Customising on Linux is an even bigger pain, if you consider it being tied in to the package manager :\
i am usually too lazy to mess with those things.
it's just too much work man
Bob
Bob
17:54
lol
Bob
Bob
18:09
yea, I'll have this done within a month at this rate :P
lol
if you put it up on github, i can chip in
Bob
Bob
would you prefer stack.py or manual?
whichever you like.
you are the lead dev
Bob
Bob
o.O
 
2 hours later…
Bob
Bob
20:49
Finally got a Python environment up.
And it's almost 7 AM.
I'll do more tomorrow. Or tonight.

  last day (60 days later) »