Monthly Archives: July 2013


Jul 2013

Tracking the Evolution of the Slang Word “Diaosi”

The Chinese slang word 屌丝 (meaning approximately “loser”) has become pretty popular in recent years, thanks to the internet. Of course it’s got its own Baidu Baiku entry (in Chinese), and you can find it in the ChinaSmack glossary (in English) too.

But there are a few weird things about this term. First, sources don’t always agree whether 屌丝 is pronounced “diǎosī” (3-1) or “diàosī” (4-1). [My personal sources usually assure me it’s 3-1.] Second, isn’t a vulgar slang term for “penis”?

Rather than delving into these issues myself, I’d like to direct you to an article on a new blog called Civil China which, as one of its first articles, takes a look at how the term has surged in popularity in recent years, and even how connotations shifted from mostly negative to not-so-negative. The article is Diaosi: Evolution of a Chinese Meme.

The post includes some very interesting textual analysis of the use of the term 屌丝 on Weibo over the past year and a half. (Complete with fancy data visualizations!)

Analysis of the term "diaosi"

For those of you actually trying to learn vocabulary (and possibly too lazy to read the whole thing), don’t miss this conclusion about the meaning of the word 屌丝:

> Although “diaosi” is often translated as “loser” in English, our analysis points to a distinction between a Chinese “diaosi” and a “loser”: losers are responsible for their own lack of success, while diaosi are made by larger social conditions. No wonder then, that “loser” remains an indisputably negative term, personal in its injury, while “diaosi” is a true meme: dynamic, complex, and current, cultural rather than personal.


Jul 2013

Help with the Chinese Usage Dictionary

Yale University has a great Chinese Usage Dictionary with 85 entries. Only problem is that it uses the deprecated HTML practice of frames, and the links in the left sidebar are not right. You actually can get to the articles by hovering over the links, noting the HTML file it points to, and then editing the URL in your browser, but that’s a bit tedious.

To make access easier, AllSet Learning has added an index page for Yale’s Chinese Usage Dictionary, and at the same time, added a few relevant Chinese Grammar Wiki links as well. Check it out!

The Chinese Usage Dictionary isn’t a full dictionary in the sense of Pleco or MDBG, and it doesn’t stick strictly to vocabulary or grammar, alternating between the two. But if you like comparisons of similar words with examples of correct and incorrect usage, or want some exercises, then definitely give it a look.


Jul 2013

Door Door

Here’s a Chinese door that not-so-subtly reminds you it’s a door:

This is a Door

“Door” in Chinese is written in traditional Chinese, and in simplified. Obviously, the character above is traditional.

Unfortunately, it’s not a door to a door shop or anything quite so fitting.


Jul 2013

A More Complete iOS Solution to the China GPS Offset Problem

This is a guest post by a friend, [unnamed for now]. It goes quite in-depth into China’s GPS issue, which I’ve complained about here before. The hope is that, armed with the following information, non-Chinese developers will be able to get around the issue more quickly and more effectively. Note that while the information below was applied to iOS app development, it isn’t strictly iOS-specific.

Description of the Problem

One problem that often comes up when people stay in China for an extended period of time is that they find their GPS devices don’t work. Sure your iPhone or Android phone will report your own location just fine, but try using a route tracking feature when you’re jogging or if you use an app showing other people’s GPS locations like Find My Friends, you’ll likely see they’re standing in a river or some place 500 meters away even if they’re standing right next to you.

This is the mysterious China GPS offset problem. This has been covered in a few posts [in Chinese] here, here, and here. Basically the Chinese government strictly controls mapping data within China. It’s illegal to map or create GPS traces within China without authorization. There have been stories of a few foreigners who created hiking trails near sensitive buildings w/ GPS devices being arrested due to relevant local laws.

For popular map apps such as Google Maps or Apple Maps on iOS, the user’s own location will be correct. This is because licensed companies that register with the government will be given the corrected algorithm to adjust the user’s position. Google Maps, Bing and others allow you to search for a location based on the GPS coordinates, but no local Chinese map providers such as Baidu Maps allow you to.

If you had taken a photo near the Forbidden City, load the photo into iPhoto or Picasa and look at where it is on the map you’ll see the location is just a bit off, 300-500 meters and typically about a block or two away. Not far enough to be extremely inaccurate but incorrect enough to annoy and not place you in the proper position.

Baidu Maps offset example

Fig 1. Example of proper position at Xujiahui and the offset location to the northwest

Two GPS standards

The most common GPS standard used internationally is based on a coordinate system called WGS-84. The globe is an imperfect sphere and any mapping from 3D to 2D introduces some compromises. People who get really into it will note that as you get further away from the equator, the way GPS coordinates for latitude and longitude change aren’t the same even if you’re traveling the same distance. However this is the GPS we’ve come to know and is used globally.

China uses a standard called GCJ-02 which is based off an older Soviet system of coordinates introduced in the 1940’s. It’s converting from WGS-84 to GCJ-02 that we’d like to accomplish. Chinese programmers refer to this coordinate system as the 火星坐标系统 or “Mars coordinate system” (as in you’re mapping from Earth with WGS-84 to Mars in GCJ-02).

Preliminary tries to correct the problem

Static offset

The first tries in the English-language world to correct for this China offset problem noticed that in local areas like within the city of Shanghai or Beijing, the difference was relatively fixed. That is, if you just subtract a few degrees from the latitude and add a few for longitude, you can correct the position. They quickly realized that the translation was non-linear, though, changing from city to city.

Collecting data points

Approaching this problem myself, I found out that as long as I was within China’s IP range, I would see the iOS simulator report my simulated location correctly, but if I dropped a pin on the same GPS coordinates it would be off. I created a simple app that let you drag the pin back to your real location and after scraping Wikipedia’s list of cities in China, had 657 data points.


Fig 2. 657 points taken from list of official cities in China from Wikipedia

Using Excel’s LINEST function you can split the data up into groups and actually get a pretty decent correction that works across the whole country although it will still be off by a few meters. Enough to put you across the street from where you really were or down a few stores.

google data

Fig 3. Example of Google data point set with offsets

It turns out if you search in Chinese, several people sell massive data sets of tens of thousands of points within China with their corresponding offset. Apparently people have run into this need before. On Taobao you can find sets from 400 RMB to 900 RMB.

datasets for sale 3

Fig 4. Example of data set for sale on Taobao

Hints at already solved code

A few English language posts stated that Chinese Android coders had already released the proper algorithm in open source. After several searches in Chinese, finding relevant posts was easy. But the actual ones that solve the problem took more hunting until I found the personal website of Rover Tang and a post on a popular tech site called

Solution found and explained

Keeping it brief, the originally released code was a C file that took into account all sorts of height, GPS time and date etc. even though they were unused. This could be found several places online. A refactored and cleaner version of the code is available in C# on EvilTransform.cs.

It’s basically a complicated transform using equations describing an ellipsoid (what the Earth is) from one system of coordinates to another. Once you throw in GPS in WGS-84 you get the same ones back in GCJ-02.

You’ll note that the code interprets that anything within China needs this conversion, anything outside of China, doesn’t. And that China is defined as anything between Latitude 0.83 to 56 and Longitude 72 to 138. I think there’s a few countries caught in that rectangle that might object.

So what now?

So now any web or mobile app developers who need to record GPS paths, post GPS locations, or anything else on top of a map can now have the proper locations. It was a huge relief to me to finally find a solution that works anywhere in China so we can all go back to creating apps that work.


Dec. 23, 2014 Update:

A developer recently found this post vey useful in solving his own China location app problems, but needed some additional information to properly implement the above advice. I’m sharing that extra information below in the hope that it’s useful to more developers:

  1. Apple returns their coordinates in the WGS format and offsets the map when rendering (I thought the coordinates themselves were offset, not the rendered map).

    Not mentioned but deduced from the above was that Google does it the other way around… if I’m not mistaken, Google returns the GCJ coordinates for a China location (even if you are not in China)… This explains why Apple’s coordinates are off when input into Google until they are converted into GCJ.

  2. MapKit only offsets the map from devices within China.

    Because we were testing on devices in and out of China we weren’t sure where the root problem was; we had tried the conversion, but then tested the results with MapKit on a device that was outside of China.


Jul 2013

The Wheely Spotted in Shanghai

I saw this guy on the street the other day in Shanghai’s Hongkou District:


A little research seems to indicate that this is the Wheely 500W by BeInMove. €899 is over 7000 RMB. Not only is that expensive, but I’ve never seen this kind of thing for sale here. I wonder where this guy got it…

Update: it seems to be selling for 2999 RMB on Taobao. (Thanks, Brad!)


Jul 2013

Meaningful Chinese Transliterations (for fun!)

One of the big headaches about learning Chinese is the relative dearth of cognates and loanwords. None of that “car” is “carro” stuff you get when you start learning Spanish. In fact, when you do learn words that were transliterated into English from Chinese (like 麦克风 for “microphone”), the result is often bizarre and a lot harder to learn than if it had been “more Chinese” (keep in mind that you also have to learn all the tones of the word transliterated into Chinese). Kind of a downer.

It seems to me that the Chinese aren’t too crazy about these transliterations either. When they can, they’ll do things like use the Chinese word 苹果 (“apple”) for the American company “Apple” rather than resorting to transliteration. But for foreigners’ names, foreign country names, foreign company names, foreign brand names, and foreign product names, you do get stuck with an awful lot of transliterations into Chinese.

Recently I came across this list of English words (probably taken from a list of vocabulary words for some horrible standardized test) that have been transliterated into Chinese in a humorous way. That is to say, the Chinese characters chosen, rather than being random or “standard transliteration characters,” were chosen for their meanings. I’ve added pinyin tooltips to the transliterations, and also English translations of the transliterations.


– pregnant (怀孕): 扑来个男的 (“throw a man on me”)
– ambulance (救护车): 俺不能死 (“I can’t die”)
– ponderous (肥胖的): 胖得要死 (“ridiculously fat”)
– pest (害虫): 拍死它 (“squash it”)
– ambition (雄心): 俺必胜 (“I must win”)
– agony (痛苦): 爱过你 (“having loved you”)
– hermit (隐士): 何处觅他 (“wherever can I seek him?”)
– strong (强壮): 死壮 (“damn strapping”)
– abyss (深渊): 额必死 (“I must die”)
– admire (羡慕): 额的妈呀 (“mama mia”)
– flee (逃跑): 飞离 (“fly away by plane”)
– gauche (粗鲁的): 狗屎 (“dog crap”)
– morbid (病态): 毛病 (“mental issues”)
– putrid (腐烂): 飘臭 (“wafting stench”)
– obtuse (愚笨): 我不吐死 (“I’m not going to puke to death”)
– lynch (私刑处死): 凌迟 (“kill by dismemberment”)
– tantrum (脾气发作): 太蠢 (“too stupid”)
– bachelor (学士/单身汉): 白痴了 (“turned dumb”)
– temper (脾气): 太泼 (“too unreasonable”)
– addict (上瘾): 爱得嗑它 (“love to the point of cracking it in your teeth”)
– economy (经济): 依靠农民 (“rely on the peasants”)
– ail (疼痛): 哎哟 (“Owww”)
– coffin (棺材): 靠坟 (“leaning on the grave”)
– appall (惊骇): 我跑 (“I’m gonna run”)


Jul 2013

Chinese Baijiu Toasts as an RTS Video Game

The “Chinese Banquet Baijiu Toast” video game needs to be made. (Indie game developers, this idea is free. Hurry up and go start a Kickstarter campaign!)

Starcraft Baijiu Banquet

I was having dinner last week with former AllSet intern Parry and current AllSet intern Ben, and we started talking about baijiu (白酒) drinking strategies. I told them about my friend Derek who kind of made himself into an authority on baijiu by drinking way more of the foul liquid than most white people ever have. And then we started talking about baijiu toasts at Chinese dinners. I told them about my experience in Baoding last CNY, and how our hosts had brought “baijiu assassins” to bring down my father-in-law, who’s kind of legendary in the bajiu-drinking department. And I told them about some of the different strategies that are used in big banquet situations where the baijiu flows freely.

What are these strategies, you ask? I’m not talking about cheap “drink water instead of baijiu” tricks, I’m talking about respectable above-board strategies for these drinking events. Some basic ones:

1. Ganging Up: Individuals go toast one particular person, one by one, in rapid succession. That way each “attacker” only has one shot of baijiu, but the “victim” has many, with no time to recover.

2. Table Takedown: Similar to “ganging up,” but you send one person from your table to toast an entire table (everyone at that table must do a shot). When that person from your table returns, you send another person from your table to toast the whole table again. Repeat ad nauseam (and I do mean nauseam!).

3. Empty Table: If things get hot and heavy and there are enough tables at the banquet, it might be wise for everyone at the table to fan out and do multiple table takedowns (or ganging up) at the same time. That way there’s no one left at your table to get taken down! This is also a good time to go to the bathroom, but beware: if you seem to just be running from your drinking duties, you’re just asking to get ganged up on.

Now rarely is there really this much strategizing going on, I think (although there certainly was that dark night in Baoding!). But it makes me think that this could make a cool strategy game. It all reminds me of an RTS (real-time strategy) game like Starcraft.

Starcraft Baijiu Banquet

Could some indie game developer make the Starcraft of Chinese Baijiu Toasts? That would be cool… As long as I don’t really have to drink any baijiu to play!

Starcraft Baijiu Banquet

Thanks to Mei for doing the PSing!


Jul 2013

The Foreign Feel of a Chinese Transliteration

Foreign words, like “Minnesota” or “Kobe Bryant” or “Carrefour” often get “translated” into Chinese in a way that uses the original sounds of the words and tries to represent those in Chinese (thus, using Chinese characters). This process is called transliteration, or sometimes transcription (音译, which breaks down character by character into “sound translation” in Chinese). Thus, the three examples above become “Mingnisuda” (明尼苏达), “Kebi Bulai’ente” (科比·布莱恩特), and “Jialefu” (家乐福) in Chinese.


These foreign names can be quite a pain for learners to remember, because the pronunciation is “off,” and they’re often quite long, plus the worst part: you have to remember all the tones for those “nonsense characters!”

But are they really nonsense characters? That depends. A carefully transliterated name will make some sort of sense in Chinese. This is almost always done with company and brand names, and is the case with Carrefour (家乐福) above; the three characters chosen mean “home,” “joy,” and “happiness,” respectively. For place names, though, the characters are a bit less lovingly selected. So Minnesota (明尼苏达) got: “bright,” “Buddhist nun,” “Suzhou,” “arrive.” Pretty random. Same goes for “Kobe Bryant” (科比·布莱恩特) in Chinese.

So a typical learner of Chinese wants to know: what’s my name in Chinese? And that’s where the tumble down the foreign name transliteration rabbit hole begins. You see, most English names already have standard translations in Chinese. So “John” is 约翰, “Mary” is 玛丽, “Richard” is 理查德, etc. Clearly, these are all transliterations; the sounds are approximated in Chinese, but not the meanings.

From the moment I first heard “约翰” (“John” in Chinese), I hated it. It didn’t sound like “John” at all! There wasn’t even a “zh” or a “j” sound in the whole name. (It does sound quite similar to “Johann,” though; I think I had early European missionaries to thank for the “standard” transliteration of my name.)

After examining the characters, there were two main things I didn’t like about 约翰:

1. The characters 约翰 didn’t make much sense (OK, they make a little sense, from a “Gospel of John” missionary perspective)
2. “Yuēhàn” just sounded weird to me, and unlike most Chinese names

These two features define most foreign names transliterated into Chinese. In fact, oftentimes the characters really are nonsensical; they’re chosen systematically from a fixed list of characters used in transliterations. This list even has its own Wikipedia page: Transcription into Chinese characters.

Looking over the list, I can’t help but feel that certain specific characters are more “foreign” (used especially often in foreigners’ names, and not so often in Chinese names), while others are more “Chinese” (equally likely to appear in Chinese names). For example, and are both common in Chinese names. and … not quite so much.

Thus, over time, as you hear more and more combinations of these “transliteration characters” (杰克, 汉克, 路易, etc.), you start to get a feel for when a “Chinese name” sounds foreign, especially compared to the growing list of authentic Chinese people’s names you’re compiling in your memory. In fact, a computer program could actually run through big long lists of transliterated foreign names and original Chinese names, and by comparing the character distributions in the two lists, assign “Chineseness” and “foreignness” values to each character, allowing for fairly accurate prediction of what “Chinese” names would sound the most foreign. You could probably increase accuracy by taking note of the position of the characters in a word, and certain repeated character sequences (like 斯坦).

But this is what your brain does unconsciously as you learn more and more names. This is how we develop a sense for when a Chinese name feels foreign.

The ironic part of all this for me personally is that after rejecting 约翰 as my Chinese name, I later settled on 潘吉. Both of those characters are in thetranscription table! (Ah, but 潘吉 is actually much more Chinese, even if a bit boring. So 潘吉 is my official Chinese name, although these days I usually just go by John.)

Rose's Revelation