DjangoCon Europe 2015: Day 1

I’m lucky enough to be attending DjangoCon Europe this week.  See the schedule of talks for a teaser.  Talks are all being videoed and transcribed and will be shared online soon. My thoughts and fairly rough notes to self can be found below: Baptiste Mispelon: Baptiste’s adventures in Djangoland This speacker was very encouraging of welcoming new members to the community Look […]

» Read more

Docker

James Google input Even finance companies are considering it Only a young project What Packaging 1 app = 1 container What’s the diff Uses less space,  only store what is necessary Start instantaneously Use cases : Development Test prod architecture Can combine with Jenkins CI CD Can use base images And then keep the docker configuration file clean Is command […]

» Read more

The Twelve-Factor App by Kristian Glass

Notes taken during a talk at PyConUK #1 one code repo many deploys #2 what about declaring your dependencies, e.g. gcc compiled items, deply containers #3 read config from environment debug flag, db connections etc avoids secret leakage, add defaults make it language independent populating env – foreman, supervisor (d?), ansible, bash -whatever etc doismellburning – django app www.doismellburning. co.uk […]

» Read more

Performance

Notes taken during a Performance talk given at PyConUK. function calls c method instead cython instead Use operators Loops Avoid list comprehension is quicker than for loop over an emnumerator What is op? xrange vs range – no wasted memory NB: In python3 renamed range itertools Or use a c extension mstexttools Sorting l.sort vs sorted() – any iterator Key based: […]

» Read more
1 2 3 5