FediMeteo

@admin@fedimeteo.com

FediMeteo brings real-time weather updates to the Fediverse, covering cities across multiple countries. Explore country-specific weather forecasts and RSS feeds.

This account will be used for communications, announcements, and support for FediMeteo.

You can also follow the Delta Chat Announcements account: https://i.delta.chat/#49D35DE6D9A8B2DBF331A0B5B2C356182251EE7F&v=3&x=VkR4i67gbmH2PWV0QjLZ9QfR&j=4mjRgK31mZJ6OCWMunL4mxnd&s=8MXN8_kVM9aigooRfvYevcz3&a=oiktcl0kn%40chatmail.bsd.cafe&n=FediMeteo&b=FediMeteo+Announcements

You can also chat with me via Delta Chat: https://i.delta.chat/#49D35DE6D9A8B2DBF331A0B5B2C356182251EE7F&v=3&i=rztkYSZ6P9Yl5di0HX68AjHn&s=TpA-79rnOBljXikI-UPbGBxX&a=oiktcl0kn%40chatmail.bsd.cafe&n=FediMeteo

The homepage of the project is https://fedimeteo.com

To contact me, you can use this account or my main one: @stefano@bsd.cafe

Also, you can send an email to admin@fedimeteo.com

Thank you!

Your Fediverse Meteorologist,
Stefano Marinelli

1 following, 869 followers

27 ★ 11 ↺
ThOverlord boosted

[?]FediMeteo » 🌐
@admin@fedimeteo.com

Under the hood update!

I’ve finally retired the old cron + sh setup for the weather bots. It served us well, but it had a major flaw: if I rebooted the server while it was posting, the job just died halfway. If the server was down during a scheduled slot, the forecast was lost forever.

So, I wrote a custom Python daemon to run inside the FreeBSD Jails.

  • It’s stateful now. If a crash happens at city 15 of 50, it resumes exactly there on reboot.
  • If the server naps/is rebooting during a scheduled run, the bot realizes it missed a slot and runs immediately upon waking up.

    ...

    History