dammIT

A rantbox by Michiel Scholten

#python Articles


Infrastructure automation: hype

This weekend we did a big migration of our stack at work to a new data centre and I am stoked about how our applications and their virtual machines are set up now. Quite a bunch is already automated and having a decent base image is such a nice thing …

NS API 2019 edition

I just merged a new version of my trusty old NS API Python library. Last year I would have thought to not be touching it for quite a while, as nowadays I'm in the luxurious position of being able to bike to work and not wanting to do basically a …

webhaak all the things

If you're not using webhooks yet to automate things from automatically generating documentation, running tests, updating websites and web applications based on events, please go read up on them. In the meanwhile, I've basically hooked up all my personal projects based on webhooks in GitHub and gitea, powered by my …
article header image

Git-based versioning

So you have this (web) application and you are growing a bit tired of having to manually bump the version number it tells to its users. Also, you would like to see if you are using an up-to-date edition of said app. Enter your Git repository. When you are running …

isso commenting system in a subdirectory on nginx

I very recently moved this weblog to a new host, and in the process finally changed from Apache running mod_wsgi to nginx with uWSGI and supervisor (well, at least for the Python based web apps, as dammIT is a flat site). I'm using isso as commenting system, which runs as …

diskspacealarm.py

Because it's Friday, I was bitten by a filled-up volume on my VPS again, because Prometheus somehow is randomly crashing my VPS, and because I like thinkering and Python, I wrote a little notification script. Yes, it checks for available disk space on your nodes, with configuration per hostname (it's …

Quick December update

In my lunch break, I tinkered a bit with the code generating this weblog, fixing some theming bugs, adding metadata to some old posts and updated the About page a bit. There's also finally a page overviewing all the tags and the categories page also got some updates; the category …

EuroPython 2017, part 2

Photos of the whole EuroPython 2017 conference are available at the EuroPython 2017 flickr group, the EuroPython 2017 website, and my photo gallery. Videos (lifestream captures for now) are at YouTube, more will go live later at the EuroPython YouTube Channel. Recommended. Day three, Wednesday We kicked off with the …
article header image

EuroPython 2017, part 1

EuroPython 2017 (Needs editing after I get some sleep and more time) This post also appeared on the Sanoma Technology weblog. Day zero, Sunday After a rather pleasant flight on Sunday morning, where out of 80 passengers, I sat next to the only other EuroPython visitor, I took a nicely …
article header image

Computer Ethics quotes

"I have said that this new development has unbound possibilities for good and for evil. For one thing, it makes the metaphorical dominance of the machines, as imagined by Samual Butler, a most immediate and non-metaphorical problem. It gives the human race a new and most effective collection of mechanical …

Eleven years and counting

Yesterday this weblog turned eleven. I haven't always been that faithful to it, having times I didn't post for months (my inspiration apparently comes in waves). However, even though I've been using social media like Twitter for ages (five and a half year it seems), I keep on posting here …


Website framework: database driven or flat files?

To counterweigh my professional life in which I (thankfully) build nice things in Python/Django, I have hobby projects in which I can thinker with whatever I want to build. Python is still my preferred language, but Django is not a necessity. I have some legacy projects of my own …