~derf

Services

genregenerator
Provides random music genres

Projects

Software

App::Raps2 v0.54
CLI password safe
Travel-Routing-DE-VRR v2.17
Interface to EFA-based itinerary services
Travel-Status-DE-DeutscheBahn v2.03
Interface to HAFAS-based arrival/departure monitors
Travel-Status-DE-VRR v1.15
Interface to EFA-based departure monitors

Firmware and Hardware

MicroMoody
I²C moodlight
VUSB-I²C v0.02
USB ↔ I²C adapter

Obsolete

These projects are neither developed nor maintained any more. Some do offer basic functionality, though.

App::Slackeria v0.12
Project status overview

News

I have a set of maildirs (one for each mailing list / other context) and want to know which of them contains unread mail without firing up my MUA.

Luckily, this is easy to do on the commandline without even looking at mail contents, as there's (mostly?) two kinds of unread mail:

  • new and unprocessed mail. These messages are stored in Maildir/new, so if there's anything in there, it's an unread mail
  • new but no longer "Recent" mail. These messages have not been read yet, but have already been transferred to a MUA using a Read-Write operation, causing them to be marked as no longer new on the server side. They are stored in Maildir/cur alongside read mail, but do not have the "Seen" (S) flag set.

This is easy to check with zsh globbing: new/*(N) expands to a non-empty list if new and unprocessed mail is present, and cur/*~*,*S*(N) expands to a non-empty list if old but unread mail is present. Note that it requires the extended_glob zsh option to be set.

Travel-Status-DE-IRIS-1.18.tar.gz (signature)

  • Update station dataset to Open Data Haltestellenliste 2017-09

Travel-Status-DE-IRIS-1.17.tar.gz (signature)

  • Fix DS100 codes for Dülmen, Stuttgart Hbf (tief), and Wolfenbüttel
  • db-iris: Support -d/--date tomorrow

Travel-Routing-DE-VRR-2.17.tar.gz (signature)

  • Handle routes containing cancelled connections
  • Allow date to be specified as 'tomorrow'
2017-11-29 00:00

mqtt-multipub v0.01

mqtt-multipub-0.01.tar.gz (signature)

  • Initial release
  • Supports publish/retain message types and reading message body from files

TIL: If esptool can successfully communicate with an ESP8266, but the chip seems stone dead otherwise (i.e., no flashed programs work), it may be due to a wrong flash mode.

Debugging aid:

  • The ESP8266 bootloader sends some debug output at 74880 baud after each reset.
  • This baud rate is not supported by screen – miniterm.py (provided by python-serial) can handle it just fine, though.
  • If it complains about a “csum err”, you probably flashed the wrong file / at the wrong address / used the wrong flash mode (there are differences e.g. between various NodeMCU / D1 mini shipments!)
  • esptool -fm dout seems to be a safe (but slow) fallback

Travel-Status-DE-IRIS-1.16.tar.gz (signature)

  • Fix miscalculated delays of prematurely terminating trains
  • Lookahead and lookbehind are now interpreted with 1-minute granularity. Note that this also affects the default lookahead.
  • Fix floating point-related test failures on some architectures
  • New ./Build test dependency: Test::Number::Delta

Travel-Status-DE-VRR-1.15.tar.gz (signature)

  • Fix encoding issues caused by recent API changes

Travel-Routing-DE-VRR-2.16.tar.gz (signature)

  • Fix encoding issues caused by recent API changes

Travel-Status-DE-IRIS-1.15.tar.gz (signature)

  • Performance improvements
  • Distinguish between cancelled/additional arrivals and departures
  • Travel::Status::DE::IRIS::Result: New accessors arrival_is_additional, arrival_is_cancelled, departure_is_additional, departure_is_cancelled and is_additional.
  • Travel::Status::DE::IRIS::Result: is_cancelled now only returns true if both arrival and departure have been cancelled.
2017-04-05 00:00

ekgping v1.32

ekgping-1.32.tar.gz (signature)

  • Add -l / --volume option

Travel-Routing-DE-VRR-2.15.tar.gz (signature)

  • Remove support for Vorarlberger Verkehrsverbund (VVV) backend (no longer working, apparently superseded by non-EFA software)
  • Update EFA URLs for Verkehrsverbund Rhein-Ruhr (VRR2) and Verkehrsverbund Rhein-Neckar (VRN) backends
  • Add support for Braunschweiger Verkehrs-GmbH (BSVG)

Travel-Status-DE-IRIS-1.14.tar.gz (signature)

  • IRIS->new: Add optional argument lookbehind
  • db-iris: Remove a useless HTTP request, resulting in slightly faster responses
  • db-iris -V / --track-via: Improve support for faraway stations

Travel-Status-DE-IRIS-1.13.tar.gz (signature)

  • Fix support for line numbers, remove manual line map workaround

Travel-Status-DE-URA-2.01.tar.gz (signature)

  • Add support for departures in Mainz supplied by the local URA service (MvgMainz)
  • ura-m: Show stop-specific messages (if present)
  • New module: Travel::Status::DE::MvgMainz
  • Travel::Status::DE::URA->new: add option with_messages
  • Travel::Status::DE::URA: add ->messages_by_stop_id and ->messages_by_stop_name
2017-01-08 00:00

App::Hashl v1.01

App-Hashl-1.01.tar.gz (signature)

  • You can now use -s 0 / --read-size=0 to hash entire files
  • New option: -e file / --extra-db=file
  • New option: -x / --one-file-system
  • New command: "hashl ls" lists files using an ls-style output format
  • Fix find-new and find-known output so it can be piped to other commands
  • New dependencies: DateTime and List::MoreUtils

Travel-Status-DE-DeutscheBahn-2.02.tar.gz (signature)

  • New dependencies: DateTime and DateTime::Format::Strptime
  • Result: New accessors ->datetime, ->countdown and ->countdown_sec

Travel-Status-DE-IRIS-1.12.tar.gz (signature)

  • Unfortunately, line numbers are not available at the moment due to IRIS backend changes. Some lines in NRW have been provided with a manual line number mapping to remedy this.
  • Fix DS100 code for "Bielefeld Hbf"
  • Travel::Status::DE::IRIS::Stations::get_station_by_location: Fix bug in num_matches (parameter was silently ignored)

Travel-Status-DE-IRIS-1.11.tar.gz (signature)

  • IRIS->new: Fix partially broken cache handling when using with_related => 1
  • Improve parser performance