Big Data Insights

August 24, 2016 Leave a comment

Someone shared this with me but I was not able to track down the source.

Big Data Insights

Categories: funny

Guide to python’s function decorators

July 29, 2016 Leave a comment
Categories: Interesting, python

Testing Django Projects at Scale

July 11, 2016 Leave a comment

Talk given by Ash Christopher

Categories: django, Interesting, python Tags:

Testing in Django

July 11, 2016 Leave a comment

Published on Mar 12, 2012

Carl Meyer
A deep dive into writing tests with Django, covering Django’s custom test-suite-runner and the testing utilities in Django, what all they actually do, how you should and shouldn’t use them (and some you shouldn’t use at all!). Also, guidelines.

Categories: django, Interesting, python Tags:

Cache Side Channel Attacks: CPU design as a security problem

July 8, 2016 Leave a comment

End of May I had the opportunity to present my research on cache side channel attacks at the “Hack In The Box” conference. After my presentation with Nishat Herath last year at black hat I published my private comments to that slide deck and that was well received. I had decided to do that again for “Hack In The Box”, unfortunately it took me a little longer to translate my comments into something human readable. But here they are. Since the comments relate directly to a specific slide in the slide deck you’ll probably want to have the slide deck open when reading this blog post. You can find them here:

Categories: Interesting

Writing online multiplayer game with python and asyncio

July 6, 2016 Leave a comment
Categories: Interesting, python

Splitting up the settings file

July 5, 2016 Leave a comment

If you use a source control system (CVS, SVN, …), or want to publish your application on the web, it may be a good idea to move sensitive or machine/user specific settings like database passwords and such out of the main file.

As discussions on the ​django-developers mailing list have shown everybody has different requirements and ideas how to do this. This page is meant to collect some of these ideas for future reference.

One thing to keep in mind is that Django’s config files are pure Python. This gives you the ultimate flexibility to handle configurations the way you think is best. Or to quote Adrian Holovaty:

We don’t need a default solution for this. It’s not within the scope of this project to tell people how they should organize their settings files. Take that opportunity to showcase your individualism.

Categories: django, notes

Get every new post delivered to your Inbox.

Join 45 other followers