Text this: Quasi-ideals in rings and semigroups