I'm currently living in Thailand (remote programmer) and it's a great country to do these kinds of things from. When it comes to the visa situation here it's kind of difficult, I have a Thai wife which kind of takes care of that for me, otherwise your best option is probably getting a student visa. The internet connection is not the fastest (max 100k/s to the EU/US) but it's very stable even out here in the jungle.