Seol mar théacs é seo: Codensity, profiniteness and algebras of semiring-valued measures