Most cafes in Chiang Mai are hit or miss IMHO. If you need truly stable wifi, you'd be better off at a co-working place like Punspace. But if you insist on a cafe, The Barn: Eatery And Design is decent. Good luck finding a seat that won't numb your bum …