When building scipy from the current portage tree, the source of scipy references the file qhull/qhull.h. But, alas, equery proves it not to be part of media-libs/qhull any more # equery files media-libs/qhull | grep qhull.h /usr/include/libqhull/libqhull.h /usr/include/libqhull/qh-qhull.htm /usr/share/doc/qhull-2012.1-r1/html/qhull.htm The good news: it’s a known bug. The bad news: the […]
Blog
When I tried to fit some date for f(x)=a*(1-2*exp(-b*x)) gnuplot gave me the error gnuplot> fit f(x) "foo" using 1:3 via a, b Undefined value during function evaluation The reason could be found easily: gnuplot> print a 0.312581387868822 gnuplot> print b -1.44080853023923 As the valid range for x covers [1:500], […]
Vorab: Mir ist bekannt, dass dieses Thema ernst behandelt werden muss. Dennoch handelt es sich um eine einfache Antwort auf eine einfache Frage. Korrelation und Kausalität sind zwei verschiedene Dinge. Das Bestimmtheitsmaß ist eine überstrapazierte Größe. Heute hat sich zwischen den Vorlesungen im Gespräch die Frage ergeben, ob es eine […]
When creating presentations with sozi, the built-in table of contents feature surely helps navigating. However, some frames are only added due to aesthetic reasons and do not serve as a sensible entry point during the discussion after the talk whatsoever. As I just opened the issue, there is only a […]
There’s one caveat for iterating over xml.etree elements in python. Although the following code works on iterators – just like in C++ – the code sliently fails in checking consecutive children of the element being iterated over import xml.etree.ElementTree as ET xml = ET.parse('filename.xml') root = xml.getroot() for elem in […]
Die regelmäßige Raumbelüftung hat zwei Ziele: Frischluft mit höherem Sauerstoffgehalt zur Verbesserung der Konzentrationsfähigkeit. Reduktion der Luftfeuchtigkeit zur Entlastung der Bausubstanz. Lüften hat aber v.a. im Winter den Nachteil, das die Raumtemperatur rasch spürbar absinkt, sodass im Sinne der Heizkostenreduktion eine möglichst kurze Belüftungsspanne wünschenswert ist. Für die Sauerstoffkonzentration habe […]
In case you observe strange (long distance) bonds while animating a trajectory with VMD, this might be due to rearrangements of the molecule structure during the animation’s time frame. Sometimes, this behavior is not useful – especially, if you have lots of those conformation variations. In order to disable the […]
Let’s assume, we are interested in deriving all allowed term symbols for any electron configuration. Normally, this involves drawing a lot of arrows and coping with possible combinations. The following description is rather terse. Throughout the following text, all electrons in the last unoccupied shell share the same quantum number […]
boost::program_options ist recht hilfreich, hat aber eine merkwürdige Standardformatierung bei der Ausgabe – hier ein Beispiel aus einer aktuellen Beta-Anwendung: Die Beschränkung von 80 Zeichen pro Zeile ist konservativ gewählt und nachvollziehbar, wenngleich nicht immer nötig. Darüberhinaus sind unterschiedliche Gruppen (options_description) unterschiedlich formatiert, was die ohnehin eingeschränkte Übersichtlichkeit nicht gerade […]
Damit Artikel für den Seitenspiegel schon näherungsweise die richtige Länge haben, wenn sie für das Layout vorliegen, wird oft gefordert, ein bestimmtes Zeichenlimit einzuhalten. Leider ist diese Vorgabe aus verschiedenen Gründen selten hilfreich – insbesondere bei kurzen Texten: Die Schriftart hat zwar einen theoretisch großen Einfluss, jedoch ist davon auszugehen, […]
Wenn ich das Haus verlasse, schalte ich meistens die Rufumleitung auf mein Handy ein. Leider ist das über das Benutzerinterface der FRITZ!Box 7270 etwas zeitraubend. Lieber ist mir da ein shell-Kommando, das zusammen mit dem shutdown-Skript oder dem init-Skript ausgeführt werden kann. Die Quintessenz: man kann den ersten Eintrag der […]
Beim Erstellen einer Grafik mit matplotlib bin ich über die Problematik gestolpert, dass EPS nicht nur wegen der einschränkten Unterstützung unter Windows ein suboptimales Ausgabeformat zu sein scheint – es unterstützt keine Transparenzen: entweder man gibt den Vektorgrafik-Vorteil auf und begibt sich in die Niederungen des Rasterns von Bildern (gerade […]