"Where did this function come from and why are the variables in swedish?"
the mastodon instance at cybre.space is retired see the end-of-life plan for details: https://cybre.space/~chr/cybre-space-eol