I love computers. That’s the geeky side of me. I find intrinsic joy in building Raspberry Pi desktop PCs and assembling automated webcams for my three guinea pigs. I am elated to know that Francis Fukuyama, the world-renowned political economist, is a Raspberry Pi fan. He uses a $50 Raspberry…


It is the Lunar New Year, the year of the Ox. “Wish You a Bullish 2021” has become the standard greeting on this celebratory day. Like every new year within the Christian community, we like to use Psalm 65:11 to thank God as He crowns the year with a bountiful…


Last week I did two things: I bought Dogecoin, and I posted on Facebook asking for a Clubhouse invite. Two unrelated things, but since Elon Musk tweeted about both, I guess I acted like his “disciple.”

There is something to be admired about Clubhouse. It is an invite-only audio-chat app…


There are eleven computing devices in my home office: my two work laptops, three spare Linux laptops, a Raspberry Pi desktop, a smartphone, two old and new iPads, a Chromebook, and a Kindle. They are all vying for the home WiFi and my attention.

As a tech aficionado, I work…


This post is a static and abbreviated version of this interactive tutorial on using R for social data analytics.

What is a topic model?

Have you dreamed of a day when algorithms can quickly scan through your textbooks and give you a bullet point summary? How convenient! No more tedious…


This post is a static and abbreviated version of this interactive tutorial on using R for social data analytics.

To understand what a semantic network looks like, go ahead and run the code below.

library(quanteda) library(ggplot2) reviews_tok <- tokens(review_corpus, remove_punct = TRUE,remove_numbers = TRUE, remove_symbols = TRUE, remove_twitter=TRUE, remove_url=TRUE) reviews_tok…

This post is a static and abbreviated version of this interactive tutorial on using R for social data analytics.

Now you are on course to try basic text mining techniques to extract insights from textual data. …


This post is a static and abbreviated version of this interactive tutorial on using R for social data analytics.

Why text cleaning?

Textual data are always messy. The data may contain words that, if taken out of context, would be meaningless. You may also encounter a group of different words…


This post is a static and abbreviated version of this interactive tutorial on using R for social data analytics.

Text mining: From corpus to DFM

There is a lot of interest in quantifying and visualizing textual data. Texts reveal our thoughts, our personality, and the pulse of a society. We broadly refer to the quantification of…


This post is a static and abbreviated version of this interactive tutorial on using R for social data analytics.

During the 2012 US presidential election, Twitter, in partnership with several polling agencies, launched something called Twitter Political Index. The idea was to track candidates’ popularity among voters based on sentiment…

Wayne Xu

assistant professor studying discord, distrust, and dishonesty on internet platforms. I occasionally writing about everyday tech and opensource computing.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store