Learntofish's Blog

A blog about math, physics and computer science

Awesome Pycon 2015 presentations

Posted by Ed on April 29, 2015

Watch the Pycon 2015 presentations here. I recommend the excellent talk Facts and Myths about Python names and values by Ned Batchelder. It clears misconceptions you may have regarding assignments, references and values in Python. I love this slide.

Posted in Uncategorized | Tagged: , | Leave a Comment »

How to write code the pythonic way

Posted by Ed on April 24, 2015

Check out this interesting article by Constantine Lignos called Anti-Patterns in Python Programming. It demonstrates with several examples how you should write code in Python.

Posted in computer science | Tagged: , | Leave a Comment »

Some changes in Chrome

Posted by Ed on April 23, 2015

Today there were some changes for the Chrome browser that I did not like. Read the rest of this entry »

Posted in Uncategorized | Tagged: , , | Leave a Comment »

Introduction to generators in Python 3.4

Posted by Ed on April 22, 2015

In this blog post I will explain how generators are used in Python 3.4. Read the rest of this entry »

Posted in computer science | Tagged: , , | 1 Comment »

PC does not boot and black screen – FIX

Posted by Ed on April 20, 2015

In this blog post I will describe how I solved a problem with my PC that did not want to boot and the screen remained black. Read the rest of this entry »

Posted in Uncategorized | Tagged: , , , , , , | Leave a Comment »

How to write Python code the right way

Posted by Ed on September 18, 2014

Here is a wonderful talk by Raymond Hettinger with the title Transforming Code into Beautiful, Idiomatic Python

Slides can be downloaded here and viewed online here.

His Twitter where he regularly posts short Python code.

Posted in computer science | Tagged: | Leave a Comment »

How to fix a wobbly table (with Math)

Posted by Ed on August 27, 2014

Here is a nice Numberphile video on how to fix a wobbly table with math:

Posted in mathematics | Tagged: | Leave a Comment »

Optical illusions with impossible motions

Posted by Ed on March 3, 2014

The balls on the ramps seem to defy gravity, hmm…

Posted in mathematics | Tagged: | Leave a Comment »

Toys in Applied Mathematics

Posted by Ed on February 20, 2014

Watch this great talk by Tadashi Tokieda presenting some surprising phenomenona in toys. This is quite fun to watch.

Posted in mathematics, physics | Tagged: | Leave a Comment »