I lived in Bangkok the past 6 months and made many "intellectual" friends since moving here.
Two things I do, occasionally stay in hostels to meet people (hit and miss) and going to tech-related meetup.com and eventbrite.com events in Bangkok and Chiang Mai (80-90%+ of my friends in Thailand were met this way)