Noir is a drop-in replacement for Black (the uncompromising
code formatter), with the default line length set to PEP-8‘s preferred
79 characters. If you want to use it, just replace black with noir in your
requirements.txt and/or setup.py and you’re good to …
Profiling in Python has always been easy, however, analyzing the profiler’s
output not so much. After the profile has been created you can use Python’s
pstats module but it feels quite clumsy and not really empowering. For Python
2 there has been RunSnakeRun, a very convenient tool for …
Two months ago I
asked
for help porting
python-debianbts, to
Python3. Python-debianbts is a tiny little library that allows for
querying Debian’s bug tracking system. Since Debian’s reportbug depends
on it, the library is installed on ca 80% of the Debian installations.
The main blocker back then was …
I’m currently trying to find a way to port
python-debianbts
to Python3. Debian’s standard bugreport tool
reportbug
depends on python-debianbts and can thus not convert to Python3 if
python-debianbts does not as well. Unfortunately python-debianbts
depends on
SoapPy for
parsing the Debian bugtracker’s responses, and …
Hi always wondered what the most popular options are, you usually find
in .vimrc files. So I downloaded 155.vimrc files from the net
(mostly from dotfiles.org and
github.com), and wrote a little
script which counts the
number of times an option has been set. Since most options …
Let’s consider the following scenario: I have two Python processes
receiving the same events and I have to measure the delay between when
process A received the event and when process B received it, as
precisely as possible (i.e. less than 1ms).
The last weeks I spend quite a lot of time hacking on a Python library
for the AR.Drone. The AR.Drone is a nice
toy for nerds. You connect to it via WIFI and soon you’ll realize that
it has 4 ports open. Reading the specs you’ll …
Scientists spend more and more time writing, maintaining, and
debugging software. While techniques for doing this efficiently have
evolved, only few scientists actually …
In desperate need to organize my collection of scientific papers, I had
a look at various tools which could help me organizing them. Probably
one of the best out there is Mendeley.
Mendeley seems to be a very good tool to keep your massive collection of
pdfs under control. Unfortunately …