Notes on Carpet Knotting and Weaving