When writing a command-line interface (CLI) in C/C++, you may have experienced inconvenient line breaks right in the middle of a word or discontinued indentation. If you would like to display output tailored to the size of the terminal window, e.g. in help messages. Here I put together a couple of useful methods that I used to achieve that.
Amazon’s Mechanical Turk (MTurk) platform has become popular among researchers to gather all sorts of survey data from participants. The platform has good and not so good aspects but one thing I didn’t like for sure so far: Even though there is a way to upload a CSV to accept/reject submissions in batches, I had difficulties doing the same for paying bonuses. Here is a way to get around that.