Python programmer, and programmer of other languages as well. Maker of things.

M.Sc. in Computer Science at IME/USP (researching positioning/localisation, pose estimation and computer vision).

Team Lead at Layar/Blippar

Hoopy frood.

@rbp

Nov
16
awarded Autobiographer
Oct
17
revised How does Python's super() work with multiple inheritance?
Added clarification for lack of super() on First, Second and Third
Oct
17
comment How does Python's super() work with multiple inheritance?
@Cerin The point of this example is to show how the MRO is constructed. The example is NOT intended to print "first\nsecond\third" or whatever. And the MRO is indeed correct: Fourth.__mro__ == (<class 'main.Fourth'>, <class 'main.Second'>, <class 'main.Third'>, <class 'main.First'>, <type 'object'>)
Sep
21
awarded Great Answer
Sep
10
comment Upgrading all packages with pip
@LukeDupin if you're installing packages globally, then yes, you might need that. If you're using virtualenv, it shouldn't be necessary.
Aug
18
awarded Yearling
Jun
1
awarded Autobiographer
Jun
1
awarded Supporter
May
5
awarded Necromancer
Apr
21
revised How does Python's super() work with multiple inheritance?
Thanks for the formatting, @Kasra, but please keep my (correct) spelling :)
Apr
21
awarded Caucus
Mar
4
comment Upgrading all packages with pip
@richard-bronosky I've reverted your edit, although it was perfectly valid and probably even a good idea. As I've mentioned before, there are infinite variations of this solution, and I'm trying to keep the solution simple and as short as it's reasonable. For the record, Richard's solution was: pip freeze --local | tee before.pip.txt | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U (i.e., including "tee" to create a "before.pip.txt" file with the contents of "pip freeze" before the upgrade)
Mar
4
revised Upgrading all packages with pip
Adding clarification for keeping current answer simple
Feb
13
revised Upgrading all packages with pip
Reworked the edits to make it more readable
Feb
13
revised Upgrading all packages with pip
added 116 characters in body
Feb
13
comment Upgrading all packages with pip
Agree, it makes sense and is very useful. I'm editing the answer, thanks!
Jan
7
revised ScrollView inside ViewPager, scrolls to middle automatically
Added quotes to attributes, and enclosed all in a single code block
Jan
4
awarded Autobiographer
Dec
16
answered Using Amazon Web Service SDK for Android in Android Studio
Dec
9
awarded Civic Duty
1 2 3 4 5