Joined September 2012
·

Aaron Meurer

New Mexico
·
·
·

Posted to Learn Python by example- 001 over 1 year ago

Why do you coerce them to integers? Then max(1, 1.5) will return 1.

Posted to Find Your Most Prolific Contributors over 1 year ago

This only works if your file structure has never changed, as git ls-files only shows those files that exist in the current checkout. So if someone made a lot of changes to a file, but that file was subsequently deleted, it won't show up. Even worse, if the file was just renamed, all the changes will show up as from the person who renamed the file! I wonder how hard it would be to write a version of this that uses git's pickaxe feature, which avoids these shortcomings.

Achievements
87 Karma
0 Total ProTip Views