Latest blogposts

Cracking a mystery of massive black holes and quasars with supercomputer simulations

Researchers address some of the questions surrounding these massive and enigmatic features of the universe by using new, high-powered simulations.

Python

Should I use type() or isinstance() ?

Both should help you achieve the same result, checking for a given object's type. But they are not quite the same.

Understand Your Code Better With Bytecode Inspection

Ever wondered why some Python constructs are faster than others? Do you know why to use {} instead of dict()? This and other "secrets" will be revealed by a bytecode representation of your source code.

5 Favorite Python Code Formatters

Python, unlike some other languages (I'm looking at you, JavaScript!), has an official style-guide for writing code. If you want to prevent other programmers, who read your code, from thinking all kinds of things, you should stick to that. But don't worry, there are several tools that aim to help you achieve that.

Computer Science

Cracking a mystery of massive black holes and quasars with supercomputer simulations

Researchers address some of the questions surrounding these massive and enigmatic features of the universe by using new, high-powered simulations.

Gaming Graphics Card Allows Faster, More Precise Control of Fusion Energy Experiments

Nuclear fusion is supposed to be leveraged for a safer, cleaner, and more efficient source of energy in the near future. All of this is thanks to its great properties, like no long-lived nuclear waste, no CO2, no risk of meltdown, or its predicted lower future price. Fusion reactors are still in an experimental state, as the involved plasma requires extreme conditions so that the atoms fuse together, releasing abundant energy.

Modern gaming graphics cards now allows faster, more precise control of fusion energy experiments.

Django

Django Setup 101: How To Fire Up Your Web Application

If you are a Python or a web developer, you probably already know about Django: “The web framework for perfectionists with deadlines”. It is a great universal framework that provides tools to build a robust web app out of the box.