PyCon.de: friday lightning talks

Tags: pycon, python

(One of my summaries of a talk at the 2017 PyCon.de conference).

Parallel numpy with Bohrium - Dion Häfner

He had to port a fortran codebase to numpy. Took a few months, but was quite doable. Just some number crunching, so you can do everything with numpy just fine.

For production-running it had to run on parallel hardware. For that he used bohrium, a tool that works just like numpy, but with jit-compiled code.

He showed some numbers: a lot faster.

Cultural data processing with python - Oliver Götze

Cultural data? Catalogs of book archives. Lots of different formats, often proprietary and/or unspecified and with missing data. And with lots of different fields.

He wrote a “data preparation tool” so that they can clean up and transform the data to some generic format at the source.

The power of git - Peer Wagner

What do you think your repositories contain? Code? More!

He read a book about “data forensics”.

git log is ok. But you can pass it arguments so that you can get much more info out of it. You can show which parts of your code are most often edited.

You can also look which files are often committed together and make a relationship graph of it.

He’s started a tool for this: https://github.com/wagnerpeer/gitexplorer, which takes inspiration from Adam Tornhill’s codemaat.

(Update: corrected the project name and attribution)

A travel back in time: xmahjongg - Klaus

http://lcdf.org/xmahjongg/ . The first free version for linux. Also ported to osx.

But… it was only compiled for powerpc processors. And he wasn’t able to re-compile it.

So he re-build it in python: https://github.com/kbr/pyxmahjongg

pip install pyxmahjongg :-)

Test-driven Checkmk checks - Thomas Reifenberger

Nagios is a monitoring tool. You have to create all the config by yourself. Or generate it.

You can use Checkmk. It uses nagios as a core and generates the config for you.

If you want custom checks, you need both a plugin on the server and a some scriptlet on the target.

You don’t want to test it in production. You want to test it properly. So he build pytest-check-mk to do that.

https://pypi.python.org/pypi/pytest-check-mk/

This way:

  • you’re not testing in production.

  • the feedback cycle is much faster.

(Update 2019-08-16: updated project name and link.)

Learn to build the internet - Maximilian Wilhelm

If you’re afraid of networking and network setups: last year there were two days of info/introduction on linux networking system. It is in german. They videod everything. And the slides are available.

It is all here: https://blog.sdn.clinic/2017/09/ffrl-routingdays-learn-to-build-the-internet/

https://abload.de/img/screenshot2017-10-13alkup2.png

Photo explanation: some 1:87 scale figures on my model railway (under construction).

 
vanrees.org logo

Reinout van Rees

My name is Reinout van Rees and I program in Python, I live in the Netherlands, I cycle recumbent bikes and I have a model railway.

Weblog feeds

Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):