« first day (1436 days earlier)      last day (3516 days later) » 
00:00 - 14:0014:00 - 00:00

12:09 AM
@ZeroPiraeus Hello.
 
Wotcha @Veedrac :-)
 
I'll just paste my timings here:
>>> python2 -m timeit "filter(bool, ['', 'hihi', 'yo', ''])"
1000000 loops, best of 3: 0.904 usec per loop

>>> python2 -m timeit "filter(None, ['', 'hihi', 'yo', ''])"
1000000 loops, best of 3: 0.872 usec per loop

>>> python2 -m timeit -s "x = ['f']*10000 + ['']*10000" "filter(None, x)"
1000 loops, best of 3: 640 usec per loop

>>> python2 -m timeit -s "x = ['f']*10000 + ['']*10000" "filter(bool, x)"
1000 loops, best of 3: 639 usec per loop

>>> python3 -m timeit -s "x = ['f']*10000 + ['']*10000" "filter(bool, x)"
Those last two should have been:
>>> python2 -m timeit -s "x = [True]*10000 + [False]*10000" "filter(None, x)"
1000 loops, best of 3: 523 usec per loop

>>> python2 -m timeit -s "x = [True]*10000 + [False]*10000" "filter(bool, x)"
1000 loops, best of 3: 523 usec per loop
 
>>> from timeit import repeat
>>> setup = """
... from random import choice
... q = [choice(["foo", ""]) for _ in range(100)]
... """
>>> repeat("""[ filter(None, x) for x in q ]""",setup=setup)
[10.152168035507202, 10.167572975158691, 10.122709035873413]
>>> repeat("""[ filter(bool, x) for x in q ]""",setup=setup)
[27.4707989692688, 27.07459592819214, 29.2590069770813]
 
Yeah, that's having the same characteristics for me too. Thanks; I'll investigate.
 
Err... so what's with all the timeits? :)
 
12:15 AM
For those who're wondering about the walls of paste:
 
ah huh - okie dokies :)
 
@Jon feel free to delete them if you think they're annoying ...
 
Here's a minimal example:
>>> python2 -m timeit "filter(bool, 'foobar')"
1000000 loops, best of 3: 1.63 usec per loop
>>> python2 -m timeit "filter(None, 'foobar')"
1000000 loops, best of 3: 0.21 usec per loop
 
Nope - they're perfectly fine... was just curious about the context :)
 
FWIW it only happens on 2.x
 
12:18 AM
I can believe that ... didn't bother to test since OP specified 2.7.
 
Well... they are doing different things :)
 
Strangely filter is specialized for strings on 2.x, but the optimisation was at least attempted: github.com/python/cpython/blob/2.7/Python/bltinmodule.c#L303
Maybe it's not workin
 
Nice use of gotos in that code :)
 
Oh, hang on, my test code is wrong.
smacks self round head
 
Haha! I linked to the wrong place. I meant to link here: github.com/python/cpython/blob/2.7/Python/bltinmodule.c#L2827
Lookie lookie, it's a bug!
 
12:26 AM
>>> setup = """
... from random import choice
... q = [[choice(["foo", ""]) for _ in range(20)] for __ in range(5)]
... """
>>> repeat("""[ filter(None, x) for x in q ]""",setup=setup,number=100000)
[0.2917349338531494, 0.2737579345703125, 0.2804529666900635]
>>> repeat("""[ filter(bool, x) for x in q ]""",setup=setup,number=100000)
[0.31968212127685547, 0.3008580207824707, 0.2939260005950928]
I yam an eediot.
Will now go delete all my comments from that thread ...
 
XD
For strings, filter(None, ...) just returns the string again.
But it doesn't for bools.
 
Yes.
 
cbg
can anyone clarify my doubt on pool.map?
i am just wondering what happens if i pass dictionary as an iterable in pool.map?
 
It seems to me to do what you'd expect: iterate over the keys. Why?
 
yes.
but i need both key and values for that function
 
12:36 AM
Try pool.map(f, dictionary.items()).
 
ok here is my code.. dpaste.com/35Q3DWT
ok let me try
i tried, but it is passing each key value as a tuple
i guess.. and so i am getting this error - AttributeError: 'tuple' object has no attribute 'keys'
basic idea is , i am trying to find minimal subsets for each item in my dictionary(which has frozenset as key and some number as value), i am doing this by comparing it with other dictionary in my function. but i have nearly 70k frozensets. so trying to parallelize it using multiprocessing.
 
reduce is not getting the whole of output, just one key-value pair. Is that what you want?
 
yes.. is that because of chunksize?
not just one one key value pair. reduce should get the chunk from the dictionary to process.
my reduce function should be applied for my whole dictionary, but since the dictionary will have more items, i am trying to make chunks and process in parallel.
 
12:55 AM
1 message moved to recycle bin
@Eva please read the room rules regarding recently posted question: sopython.com/pages/chatroom
 
pool.map passing them as tuples not key value pair. that is the problem. Is there any other way to handle them?
 
1:11 AM
@ZeroPiraeus You'll be glad to know there's now a bug report: bugs.python.org/…
@Jeeva I don't understand. What's the difference between a tuple and a key-value pair? Do you want to have a dictionary with only one item instead?
 
no. Actually i want to access each key and compare in my reduce function, so tuple cant help me in getting the keys.
 
So you want the whole dictionary?
 
yes
 
@Veedrac Cool ... the alert is a nice touch, by the way :-)
 
@ZeroPiraeus I should've used "error_message"...
@Jeeva Then you can't map over the dictionary. You need to map over a different parameter.
 
1:16 AM
oh
thats the problem, because i need key value pair for my function
 
Do you perhaps want to map over the dictionary and have a separate copy of the dictionary?
 
if its possible. then fine
you mean to create a copy of it in reduce function?
 
Well, you could loop over the items but modify the values in the base dictionary as you go along. You'd have to be careful about concurrency, though.
The thing is, I'm still not sure what you should be doing. What algorithm are you trying to implement? Do you have a non-parallelized version?
If you have a non-parallelized version that works, it'll be easier to work out how to split the workload up safely.
 
yes. just a sec. \ok let me give that.
here you go
just a simple version of my algorithm without any parallelization
now i will have nearly 70k items in my 'output' dictionary, so i want to make chunks of that dictionary and parallelize this task
 
1:38 AM
Note that reduce is a confusing variable name; reduce is in the Python 2 builtins and you're sort of expected not to use it.
 
ok sure. i will change it.. :)
 
sum(j for i, j in probabilities.items() if i == key) should just be probabilities[key], surely?
 
yes
 
This also looks like you can speed it up nonlinearly by using a better data structure.
 
oh
 
1:47 AM
But I'll have to think about it for a while
 
ok sure
why i though of parallelize it because i will have more than 70k key value pairs in my output dictionary
 
Parallelizing won't do as much good as just doing less work, though ;)
Anyhow, this looks pretty simple to parallelize if you organize it right. I'm mocking up an example now.
 
and also in the 'result' dictionary i will be having nearly some 50k key value pairs. so i have to compare each key value pair from output with each key value pair in 'result'.
oh.. k sure
 
someone should make a chrome extension that somehow makes it so you don't have to give terrible sites ad revenue by clicking their links.
 
2:04 AM
@Jeeva You know your variable names are really irritating to work with XD. Anyhow, try:
 
:( i can understand
 
It's not ideal, but I don't understand the algorithm well enough methinks.
 
thanks for pointing it out.. i surely need to correct these things.
ok sure. let me see that
 
I was overcomplicating it. Updated: pastebin.com/Ptw62fTn
 
thanks for that. But i am not able to unpack this..
key, values = key_values
ValueError: too many values to unpack (expected 2)
 
2:27 AM
I'm not sure how you got that error. Are you sure you're mapping over .items()?
 
i changed it a bit and it works now.. :)
yes my badness.. confusion because of the variable names.. i am changing all of them now..
this is the working code..
i didnt use counter either..
thanks again..
 
3:15 AM
@Zero all but 2 have left, who appear to be unconscious on the sofas :)
So looks like everyone had fun... looking like I'm making fry-ups later :)
 
Cool :-)
Any particular reason for the party?
 
None whatsoever... it was just my turn to host, and we'd agreed end of September-ish
Not my turn now for another 5/6 years - which is a bonus
 
Heheheh ... and in thirty years or so, you can legitimately refuse to host parties at all ;-)
 
30 years? Nope... I'm sure people will expect to board my private yacht for a champagne party or something :)
 
Well, possibly, but in that case you can definitely give it a Hugh Hefner vibe ...
 
3:25 AM
Will have to get the pilot of the yacht's helicopter to pick them up from the airport where they've arrived via private jet
a puppy can dream at least :)
 
 
2 hours later…
5:29 AM
Hi
 
cbg
 
Hello
 
Back to the SO grind, just spoonfed an answer on classmethods, but he accepted before he realized I gave him everything he needed... lol
I'm trying to get over 9000 so I can tweet it. :D
 
I've stalled for the whole month so far. Made it to 5000 then... nothing.
 
bunch of reviews, amiright?
 
5:32 AM
Nothing I see inspires me to answer lately. Just VTC here, downvote there.
 
You've got a good point to answer ratio, better than mine, actually.
 
@davidism Same here... Either its too easy or I have no idea what the question is about.
 
do you credit that to sqlalchemy?
I think the reaction to varying subjects/tags are different
@thefourtheye you've got a great ratio too.
 
Thanks :)
 
mine's about 20 points per answer
you two are closer to 25 to 30.
 
5:36 AM
SQLAlchemy usually has the more interesting questions than Flask. So I'll put more effort into them.
 
mine's 22 now
 
I thought I liked web applications in general, but it's actually the data modeling that's my favorite part.
 
It was fun 2 odd years ago when I started on SO...
went mad on answering... now just do more admin work than anything
 
ok, did the numbers, @thefourtheye is at 25.6 points per answer, @davidism is at 26.2 points per answer.
 
And I have no idea why this answer keeps getting votes. Literally just got another.
 
5:39 AM
@AaronHall I bet mine is much lower :(
 
I was about to calc you too
nope, yours is the highest so far at 27.85 points per answer
 
A tad above mine :/
 
I tried an experiment last month by leaving a comment on 3 weeks of unaccepted answers where the users were still active. Didn't get one accept out of it.
 
@davidism it's a good enough answer to deserve an upvote, and happened to be the only one that would get you a badge :-P
 
I keep getting random upvotes each day for answers I don't even remember providing
 
5:41 AM
Veedrac is close to Jon's ratio
Yeah, that's the time factor
All of my answers were provided over the past year
Jon's been around a while
 
I guess with nearly 1800 answers over 2.5 years... kinda expected, but still a pleasant surprise :)
 
It'd be nice to have a histogram of points per answer
 
lots of people that have been signed up longer than myself (you included @AaronHall)
 
Yeah, but I didn't do anything until starting a year ago.
I wasn't good enough.
until then
 
Had my account for 4 years, only active this year.
 
5:45 AM
same as me
 
Yeah, I had mine for a while before doing anything with it.
 
I was holding the top 20 users in Python until Martijn got active :)
 
I could have started answering any time. But one day I just got fed up with the bad stuff, and looked up what I needed to downvote/close/delete. What an evil motivation!
 
Yeah, someone needs to pay him to do something else... :D
 
Ahh... think I found a bug in the system
 
5:48 AM
He's sniped way too many of ones I was gunning for... :D But that's the way the game goes!
 
@davidism That's some pretty awesome reason right there.
I just wanted to avoid doing work.
 
not quite sure how one can have -386.23 revenue and a 57.24 profit
 
gotta spend money to make money
 
That implies negative expenses
Where did you see that?
 
Well, these are daily reports... that should be "revenue - costs = profit" - not much more complicated than that
 
5:50 AM
maybe e.g. a item could be returned that was sold at a loss...
 
Nothing is truly sold at a loss
 
these are phone records... so the revenue is duration of call * carrier, by the cheapest switch
 
If it's returned, you can't suddenly sell it for more!
I mean, maybe the value has appreciated (which is odd in itself)
 
rebate of some kind?
 
But by that much?
 
5:51 AM
 
If both the revenue and costs are negative, it would really make more sense to swap the labels.
 
that's not how accounting works, though
 
Is anyone else sad enough to look at the model on the right and think - that's a really bad minecraft suit?
 
Nope.
 
I was more wondering why people want to sleep under things (never mind inside things). Do they not sweat to death? Maybe it's just me.
 
5:54 AM
sweet, just scored 2 late answers...
Review Queue doesn't update like it used to
 
ah ha... found it... negative call durations
 
Sweet, someone's getting paid to talk?
Phreakers, huh?
 
Umm... looking at the raw data - those aren't even the right columns... the supplier has changed the data format
 
.elbaborpmi ylhgih sdnuos tahT stnemelCnoJ@
 
@JonClements Calling from an in-flight TARDIS?
 
6:02 AM
Well, I didn't write this system, I'm just contracted to maintain it as such
so making a note to improve the validation, and inform the company that their data supplier should really be so kind to notify of data format changes
an amazing freaky thing that it passed the (albeit limited) validation and got counted
Lucky it happened today in some way... otherwise, had it been a 1st of the month, the system's linked to the automatic debiting payment system... which would have been interesting to say the least :)
so guess, roll back the changes, disable the auto-updates, get the system's auth tokens, log in and do a more reasonable manual update later -- one that's not 7am on a Sunday :)
 
6:32 AM
fantastic - can't find the usb drive with my keys on it, can't remember the password even if the system had password enabled logins... yay me
 
6:52 AM
@JonClements That's annoying.
 
too tired to be annoyed... I'll rack it up to an inconvenience :)
ahhh... mind you - can remember the control panel emergency thing, then I can login, reset the root password, login as root, then reset my account and then put things back again
Got a horrible feeling that USB stick might have been in my jeans pocket which I washed the other day though...
not favouring its survival odds if so though
 
Hello all, is there a pythonic way to combine a dictionary of dictionaries to a single dictionary ? for example, i have this -- > x = {{'a':1, 'b': 2}, {'d':10, 'c': 11}} , i want to make it as a single dictionary {'a':1, 'b': 2, 'd':10, 'c': 11} like this..
 
7:07 AM
Yes there is... :)
 
could you please share.. :)
 
do you want to mutate one of the dictionaries or have a new dictionary?
 
whatever is fine for me..
 
dict_a.update(dict_b) then
 
because my pool.map gives dictionary of dictionary..
oh no..
i dont have two different dictionaries
only one.. which is dictionary of dictionaries
 
7:09 AM
errr... you can't have dictionary of dictionaries
 
shshsh.. :( this is what i have ..
[{frozenset({'rfid'}): 0, frozenset({'time', 'rfid'}): 0.8}, {frozenset({'zone', 'time'}): 0.65, frozenset({'zone'}): 0}]
 
(not as keys anyway... and your syntax looks closer to a set of dictionaries)
 
i guess list with dictionaries.. sorry abt that
 
which wouldn't be allowed either... so okay, you've got frozensets then? :)
 
hmm.. i can see two dictionaries within that list..
yes.. thats my key.. :)
 
7:13 AM
@Jeeva Why didn't you use a Counter like I gave you last time I asked? Then you can just add them (or sum them, like I showed you)...
*you asked
 
i was getting error in unpacking the key,values
 
Erm, OK. Was that after the code I gave or inside the code I gave?
 
inside that
 
Do you have a full traceback?
 
oops.. i dont.. let me get it again.. wait
in the code you have give --> pastebin.com/Ptw62fTn
some changes were required.. i guess its because i haven't explained the algorithm to you..
i needed to change them
 
7:23 AM
Oh, OK
 
you have made this one result.items() as iterator.. but instead output should be my iterator
because i wanted to chunk that one to parallelize
 
OK, that makes sense
But you can keep the part where I make a Counter at the top, add to it and return it, yes?
 
so i did like this.. dpaste.com/1EXMZMG
mmm.. may be yes.. tats a good idea.. let me try that
i partitioned the dictionary as chunks before i pass them to the function.. so i am getting one dictionary for each chunk
 
Oh, I see.
Instead, you should probably make an empty Counter at the top, loop over output and set items = list(output.items()) to pass into the map.
 
yes.. is there a way to combine them? this is the output [{frozenset({'rfid'}): 0, frozenset({'time', 'rfid'}): 0.8}, {frozenset({'zone', 'time'}): 0.65, frozenset({'zone'}): 0}]
oh k
let me try
 
7:33 AM
Like this:
Gah, keep forgetting there's no code formatting
 
:)
i can see
pasted --> removed.. ;)
 
But actually pastebin.com/HHhm7uE6, because there's no need to loop over dictionaries to find keys :)
Note that you should possibly also use imap because the sum can then work in parallel too.
 
i see.. but there is something wrong in that counter approach
Counter({frozenset({'time', 'rfid'}): 0.8, frozenset({'time', 'rfid', 'zone'}): 0.8, frozenset({'time', 'zone'}): 0.5, frozenset({'rfid', 'zone'}): 0.3})
if u see there, outputs are different
 
I summed them for you
Just remove the sum if you want a list
 
Cbg()
 
7:43 AM
ok let me try
 
cbg
 
cbg()
 
@Ffisegydd We were talking about Answers:Reputation ratio earlier. Yours blows all ours away. How do you do it?
 
Does it?
What's mine?
On my phone so can't check
 
~31
Second best was ~27
Sorry, ~32
 
7:51 AM
Is this a straight rep / number of answers thing?
 
Yeah
 
So 36.75 is quite good then? ;-)
 
wut
 
I delete questions of mine if they have both low rep and someone else's answer there which is of similar or better quality. That might help it. I think I will peruse good tags overall though.
 
ummm
I appear to have acquired 3 mobile phones
 
7:57 AM
@JonClements You could arrange a conference call with yourselves.
 
:)
 
Hah @Veedrac yeah it may be the tags. DSM runs in similar tags to me and is on 46.2
 
I would do so, except I don't always agree with myself, except sometimes we do, then we get confused
 
We should publish these numbers for regulars. I was thinking of putting a quick script together using pandas and requests but don't have the time as I'm gonna be leaving soon
There doesn't seem to be a way to go from username to userid (which makes sense)
Which means we'd have to get all the userids together
 
now I'm troubled that we're confused, while I disagree with myself
 
8:02 AM
That's only natural
 
Well, that's what you get from a completely sane puppy I guess
 
This is weird - I was just watching a (not very good) film last night wose protagonist refers to himself plurally.
 
Jon Clements's would never do such a thing... would we puppy, no we wouldn't would we puppy...
So ummm... how do I return phones that I have no idea who they belong to
 
It did have one really good line: in turning down a proposition from the painfully obvious Writer's Fantasy Hot Chick, he says "We would only disappoint you, as we have countless others". Thinking of using that myself next time the opportunity arises :-)
 
@JonClements You could try phoning them and seeing who picks up
 
8:10 AM
apart from the labour and potential logic flaw involved... that'd be great :)
 
import pandas as pd
import requests
import json


api_url = 'https://api.stackexchange.com/2.2/users/{:s}?order=desc&sort=reputation&site=stackoverflow&filter=!)scTwHvyrBwQe(HB5GBj'

ids = {400617, 487339, 3005188, 1252759, 953482, 100297, 2188562, 1903116, 1014938}

r = requests.get(api_url.format(';'.join([str(i) for i in ids])))
d = json.loads(r.text)

df = pd.DataFrame(d['items'])

df['ratio'] = df['reputation'] / df['answer_count']

print(df)
There we go.
Only does the DC for now
Need to get more ids
   answer_count     display_name  reputation  user_id      ratio
0         11070  Martijn Pieters      287233   100297  25.946974
1          1577              DSM       72985   487339  46.280913
2          2232     thefourtheye       57348  1903116  25.693548
3          1797     Jon Clements       50071  1252759  27.863662
4           499            Kevin       15989   953482  32.042084
5           262     Zero Piraeus        9630  1014938  36.755725
6           187        Ffisegydd        6010  3005188  32.139037
In [32]: print(df[['display_name', 'ratio']].sort('ratio',ascending=False))
      display_name      ratio
1              DSM  46.280913
8       Peter Varo  38.966667
5     Zero Piraeus  36.755725
6        Ffisegydd  32.139037
4            Kevin  32.042084
3     Jon Clements  27.863662
7         davidism  26.432039
0  Martijn Pieters  25.946974
2     thefourtheye  25.693548
Sorry for filling chat up a bit D:
 
Scope for an Epic Battle between the Heirs to the Room there :-)
 
I need to run, Dad's visiting so need to get ready, but I've put together the wiki page so if someone wants to take the code and run with more people, please update it :)
Actually I've updated the ids to include editors too
And from my observations: @IntrepidBrit is a beast. He's got the least amount of rep but is 2nd in rep/answer.
Anyway really gotta run now.
When I get back later I'll fill it out a bit, maybe get some more data columns, and put it into a report style.
 
8:34 AM
@Ffisegydd How do you monospace?
    answer_count            display_name  reputation  user_id       ratio
0           5160            Greg Hewgill      368832      893   71.479070
1           5508           Alex Martelli      341519    95810   62.004176
2           6813              Mark Byers      325871    61974   47.830765
3          10828  Ignacio Vazquez-Abrams      319915    20862   29.545161
4          11070         Martijn Pieters      287233   100297   25.946974
5           4922                  unutbu      232368   190597   47.210077
Got it :)
 
9:10 AM
also got someone's laptop here which is interesting
good old parties... cleaning, need for liver transplants and leaving stuff all over the house... the good ole times :)
@Zero there can only be one!!!!!
or nine... which seems a reasonable enough number
 
@JonClements Heh ... I was actually thinking of the K twins - very close ratios there.
 
oh yes - I see what you meant now... very close between the management team :)
 
 
1 hour later…
10:27 AM
Hello guys anybody there...
i m new to python .. i wana to learn these..
anybody helps me...
 
@Ffisegydd hmmhm
"For sparse, high-dimensional sets it doesn't make sense because they are already good for a linear model."
 
hii antti
can u teach me python language
 
yes I can in the sense of that "I am able to teach", but not in the sense "I have time" :D
 
I m also an software engineer ..
 
@Darshan also this room's meant for questions of a specific nature... you can always read the tutorial(s)
 
10:38 AM
@Darshan I suggest you start from here: docs.python.org/3/tutorial
 
okk fine
 
If there is something unclear in the tutorial, then ask here ;)
 
11:01 AM
Cbg :)
 
cbg @Ian :)
one phone and one laptop returned
no idea who the other two phones belong to though
 
11:20 AM
@JonClements feel free to send them over to me
 
nah.. if no one bothers claiming them, they're going on ebay :p
 
Jerry is busy looting villages in clash of clans and showing off his booty to me
No doubt it is a Sunday and he is putting it to use
 
Cbg
 
cbg @vaultah :)
 
11:54 AM
 
awwwwwwwwwwwwwwww
 
12:25 PM
why does a function like this display instances in the out_array?
out_array=[]
n=0
for item in doc1_sentences:
    item2 = doc2_sentences[n]
    out = difflib.SequenceMatcher(None,item,item2)
    out_array.append(out)
    n+=1

print out_array
 
user559633
what's doc1_sentences?
 
consider it to be anything like ['hello my friend','cabbage']
 
user559633
how about you just show me
 
doc1_sentences= ['hello my friend','cabbage']
doc2_sentences = ['hello frnd','cbg']
this is just for test , in actual i'll have many items in the list
 
user559633
and the idea is that it could be an unbalanced group?
 
12:31 PM
dint get you
for now , i'll just go with "the length of doc1_sentences' , it is exhausted , we quit the loop
 
user559633
you're using a for loop and then incrementing on item2
 
yes , simultaneously on index of second list
 
user559633
and what are you trying to get
 
difflib.sequencematcher returns float values of match between 2 strings
@Ffisegydd cbg , that looks cool , how can i check my ratio??
 
@Swordy add your user id to the set
 
12:40 PM
@Ffisegydd it works but it isn't reliable as of now . the reputation of questions need to be taken into account..
3231320           Swordy  221.500000
which is definitely not the case.
but this is a good application :)
 
It's completely accurate :p
It's reputation / answers
 
in my case , all my reputation comes from questions.. :)
we could take questions also into account ..
 
That doesn't change the fact that it is exactly what I said it was
Meaning it is accurate :p
 
yeah , its right but practically it would look like I have earned 221 rep on my answers and there isn't a single upvote on them.
 
:p
You should be able to get question_count from the api
You'll need to edit the filter
I can't at the moment as I'm not at home
 
12:46 PM
in api_url?
ohk no problem , but we could add weightage on questions and eventually come up with better accuracy on answer/rep ration and questions/rep ratio..
like
(no.of questions) /(total no of questions +answers) * total rep
so for answers we could go for:
rep_for_answers = (no.of answers) /(total no of questions +answers) * total rep
rep_per_answer = rep_for_answers / no of answers
sorry , You ppl are far more smarter than I am
Just a suggestion though
and one more thing , we could assign a lesser weightage to questions because upvoted questions generate half the rep of an upvoted answer , and a viewer is more likely to upvote an answer than upvoting a question. So maybe something like a 0.25 bias on rep_for_questions.
 
user559633
1:09 PM
that rep/answer ratio confirms what i've known to be true all along -- i'm unappreciated and handsome
 
I don't think we should be adding weighting like that. You're just polluting your calculation
rep/(answers+questions) will do
In effect that is rep/post
 
user559633
I don't ask questions, and when I do, I answer them myself
 
1:23 PM
rep/(answers + questions) seems somewhat fair, but part of the motivation for the calculation is out of a desire to earn more rep. It would be better if we could segregate the rep by source.
 
is it possible to make some kind of quick script to deploy changes to heroku?
 
user559633
@corvid yes
 
@Aaron yeah would be but that is a much more complicated api request iirc.
 
1:56 PM
fabfiles are weird.
 
no module named requests...
 
00:00 - 14:0014:00 - 00:00

« first day (1436 days earlier)      last day (3516 days later) »