Misc julia code that have not yet found its home in a package...