The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,915 other followers

Archive for the ‘Traffic’ Category

Python Breaking Distance calculator (includes the German DIN 1451 font for traffic signage)

Posted by jpluimers on 2022/09/20

If you ever want a good visual representation to compare the breaking distance for a car at two different speeds, and see at what speed you will hit the human “obstacle”, then use the Python script mkbremsweg.py.

Git repository: [Wayback/Archive.is] joschtl / bremsweg · GitLab.

The image is generated in the current directory

It probably won’t work on Windows as it dynamically builds a very long command-line calling ImageMagick tool [Wayback/Archive.is] convert once to do all the drawing.

The text in the picture for now is hardcoded in German, but would be easy to adopt.

The fonts used are and FreeSans and [Wayback/Archive.is] Alte DIN 1451 Mittelschrift Font Family · 1001 Fonts (which the Germans use for Traffic Signage and is very similar to fonts used in other countries).

Calculations are based on [Wayback/Archive.is] Bremsweg-Rechner für Anhalteweg & Bremsweg – Johannes Strommer.

Via:

–jeroen

Posted in *nix, *nix-tools, cars, Development, ImageMagick, LifeHacker, Power User, Python, Scripting, Software Development, Traffic, Windows | Leave a Comment »

Jubiläums BahnCard 25: 25 % Rabatt auf die Flexpreise und Sparpreise der Deutschen Bahn innerhalb Deutschlands

Posted by jpluimers on 2022/04/22

About a week still left if you plan to travel in/through Germany by train:

[Wayback/Archive] Jubiläums BahnCard 25: 25 % Rabatt auf die Flexpreise und Sparpreise der Deutschen Bahn innerhalb Deutschlands

Note that after a year, it will be extended into a full-price card (at about double the price) which is still a great way to get price reduction on German Rail.

Caveat: be prepared for rail delays.

If you want to cancel the card, use this link (or the one below it which goes to the cancellation form):

Discounts also apply to already cheap tickets that you can book at [Wayback/Archive] Günstige Bahntickets ab 12,90 Euro deutschlandweit.

Read the rest of this entry »

Posted in LifeHacker, Power User, Traffic | Leave a Comment »

 
%d bloggers like this: