split posts into two categories: writing and code