nasauber.de

Blog: Einträge 05.09.2014–31.05.2015

Wasser mischen

Gestern habe ich mal ausprobiert, ob ich noch ein Bisschen Algebra und Physik kann. Es scheint so ;-) Für mein Dafürhalten ein gutes Gegenargument zu „Das braucht man dann doch später sowieso nie mehr“ :-P

Sollte irgendjemand mal, wie ich, vor dem Problem stehen, wie man reproduzierbar eine bestimmte Menge Wasser mit einer bestimmten Temperatur (z. B. aus kaltem Leitungswasser und kochendem Wasser) mischen kann: Das kann man folgendermaßen berechnen:

V3 ist also die Summe der beiden Volumina V1 und V2, somit ist

V_1 =V_3 - V_2

Dann gilt:

V_2 = \frac{V_3}{1 + \frac{t_2 - t_3}{t_3 - t1}}

„Und wofür braucht man sowas?!“ Ganz einfach: wenn man in seinen neu erworbenen Babybrei-Warmhalteteller Wasser mit der passenden Temperatur schütten will, ohne (abgesehen vom Herleiten der obigen Formeln natürlich ;-) nachdenken oder messen zu müssen :-)


vsmlist 0.2 out now

The new version of vsmlist, the very simple mailing list, is out now.

From the ChangeLog:

Using named variable references in the text patterns requires the config files to be updated. Please have a look at the new default ini file to see how the new format works.


gpx2svg 0.1.4

I just uploaded the new release of gpx2svg, the GPX to SVG converter. There's only one change, but it should increase speed and lower memory consumption a lot: when the drawing instructions for a segment are created, we don't assemble one probably huge single string containing it, but use a generator function instead.

That's all, Folks ;-)


gpx2svg 0.1.3

I just uploaded the new release 0.1.3 of gpx2svg. It's only a bugfix release. Here are the changes: