A simple checksum

I was watching The Grand Unified Theory talk by Jim Weirich yesterday and was inspired to do a simple checksum on Python. Here follows the use: add_check_digit(‘2352366246’) # => ‘23523662461’ check(‘23523662461’) # => True check(‘23523662467’) # => False Here is the implementation: def add_check_digit(digits): check_digit = ((10 – check_sum(digits)) % 10) return digits + str(check_digit) […]

Read More A simple checksum

Proxy Object – Python Koans

I came back to Python once again and to start I used a magnificent tool that I used on the past. Koans! This was inspired on Ruby Koans built by Jim Weirich which by himself was a great mind with all sorts of contributions to the Ruby community. This is the former lesson and I […]

Read More Proxy Object – Python Koans

Install pip on Linux

I have been using Xubuntu 15.10 after passing through Debian, OpenSUSE and Fedora in the past few months. I can say that was pretty impressed by the latter and former. To this day my favorite one is Debian and the reason I installed Xubuntu on my laptop is because it saved me some time configuring […]

Read More Install pip on Linux