Notes on partitions and their generating functions