HNHacker News
TopNewBestAskShowJobs

dengnan

712 karma · joined August 9, 2013

submissionscomments
dengnan··on Pets Allowed: Why are so many animals now in places where they shouldn’t be?
You are right to some extent. But may I ask what is your dogs' breed? Different breeds have different behavior patterns and some specific to barking, some breeds are just more noisy than others no matter how you trained them. For example, terriers were used to rats, rabbits, and foxes [0]. This means they had to work along underground so that barking was actually a good trait otherwise their owners might not be able to find them when they had some dangerous situation underneath. Barking was an old GPS for their owners. Terriers were specifically selected by breeders to bark loud and frequent[1]. Of course that does not necessary mean a barking terrier is acceptable. They have to be trained but may bark more than other breeds.

0. http://en.wikipedia.org/wiki/Terrier

1. Dawn Antoniak-Mitchell, Terrier-Centric Dog Training: From Tenacious to Tremendous. http://www.amazon.com/Terrier-Centric-Dog-Training-Tenacious...

dengnan··on Gmail blocked in China
We do care. The problem is: What can we do? Using technical method to get through GFW? Well, it works now but technically, Chinese government controls all Internet facility and they do not even care to block thousands of IPs, even if it means block the whole Internet (It happened in Xinjiang and Tibet.) Moreover, ISPs constantly throttle the international data which means connecting to a server outside GFW may be very slow or even randomly disconnected. In short, any technical solution does not work on a government who controls the country's Internet facilities and does not care to pull the plug. Other solutions? You cannot turn to traditional media like newspapers and TVs, because they are, as well, controlled by the government, which is in turn controlled by a single party. There's also no way to make any meaningful non-violence political influence. The government is not voted by the people so they just don't care whatever their people say. The only possible way is to use violence, but we do not have guns.
dengnan··on Harvard’s Asian Problem
As I said in another comment, this stereotype of American Asian men is partly caused by the universities admission procedure and the country's immigration policy. In short, they just like foreigners in STEM.

Another reason is probably the culture differences. Asian people are not only interested in STEM. We do have other majors in universities. However, Asian has an equally long, if not longer, history with Europe. Many fields are "stateful", i.e. they rely on the history. For example, a physicist could have a very successful career even he does not know Newton's anecdotes. However, a art-majored student probably needs to know some history in his field --- at least, he needs to remember some names and their corresponding achievements.

People majored in literature in China definitely know poets like Li Bai, Du Fu, Bai Juyi and they have devoted lots of time to learn these poets' work. The culture barrier prohibits them from studying in another country in a different language. That's probably another reason why there's little Asian students outside STEM.

dengnan··on Harvard’s Asian Problem
I would say that fairness is more important than diversity. Setting different goals for different races is a racism no matter how diverse you could get in the end.

About GPA/SAT: According to Goodhart's Law, "When a measure becomes a target, it ceases to be a good measure." However, a measure is required and should be consistent.

Asians are not born to be good at GPA, American Asians are good at that because the universities admission system and immigrant policy are specifically designed to select students who are good at school. The first generation of Asians in the US are most grad students from foreign countries.

dengnan··on Harvard’s Asian Problem
When talking about Asian's stereotype, one thing is always ignored: the stereotype of Asian in the U.S. is a direct result of the education system and immigrant policy. Most 1st generation Asian immigrants are students who come to the U.S. for grad school. They (and their children) are better at STEM simply because they (or their parents) are/were grad students in that area. As an Asian, I saw lots of students who are not good at STEM and simply did not get an offer from any U.S. university. The immigration policy and universities' admission procedure are intentionally designed to select foreign students who are good in those majors.
dengnan··on Chimpanzee Intelligence Is Heritable [pdf]
This is off topic: Is it the typical length of a biological paper? I mean in computer science field, a full paper would be 10~14 pages. Composed of 5~7 pages of experiment results. On the other hand, this paper only contains one table of result and a figure with quite large fonts. I would like to know if this is normal in this field?

Edit: typo

dengnan··on China collecting Apple iCloud data
Here's some history background of the train in China. (I realized that I have to start from the Hukou policy so that I could tell a reasonable story. Please bear with me.)

TL;DR, This is what a train station looks like before Chinese New Year [1].

Let's start from Hukou policy: Every Chinese is required to register their information to the government and has to provide a permanent address. This looks similar to most other country. But it goes quite far beyond a simple registration. Your Hukou is associated with a permanent address and in many cases, you are only allowed to do many critical things within the city of your permanent address. For example, your child cannot go to the local schools outside their Hukou address. Changing your address on Hukou is very hard and usually happens in some cases: When you go to university, you are allowed to temporarily change your Hukou under the university's city; 2. If you found a job in another city and your employer is willing to help you to relocate your Hukou address. 3. You married with a local person for several years. Basically, you can understand Hukou as a domestic visa. There are two types of Hukou: Farmer Hukou and City Hukou. Basically, they have different benefits/restrictions. Similar to F1 visa, H1B visa, etc.

Well, why I mention this? Here is some history. 30 years ago, major amount of the Chinese population were farmers. To build cities, you have to let those farmers live in the city and do lots of construction works. Due to the Hukou policy, people are not allowed to permanently migrate, esp. changing their Hukou status from Farmer to City. But there's more opportunities in cities and people could make more money. So gradually, there emerges a large group of people whose Hukou address is out of city but work in the cities. Their family has to in their home town, otherwise their children cannot go to school in the cities.

Every year, people works outside their home town will try to go back during Chinese New Year. Since the fact I mentioned above, there's a huge amount of people. They have to take trains (which is cheaper than flight.) Such yearly migration is quite large, ~3.3B tickets in 2014 [0].

Oh, and here is the answer to your question: Go to the train station is really not an option. It's like black Friday, but in a much larger scale. People have to wait outside for even weeks to get a ticket. To some extend, online ticket system helps. However, because of the throughput of the train system is limited, it's still hard to get a ticket.

0. http://en.wikipedia.org/wiki/Chunyun 1. https://www.google.com/search?q=%E6%98%A5%E8%BF%90&espv=2&so...

dengnan··on For a Better Brain, Learn Another Language
Yes. But experiencing the emotional part of a foreign language is also important, especially when you want to read their novels, watch their movies, experience their cultures, etc.

English is my second language and I was unable to understand the underlying emotional part of an expression. Imagine what Independence Day movie will look like without those inspirational speech. I'm getting better now. But still, there always lots of space to improve.

dengnan··on For a Better Brain, Learn Another Language
Chinese here. Learn Mandarin. It is based on Northern dialects which are spoken by 80% of Chinese people. And it is the official dialect used in China. People are required to use Mandarin in Universities. People are also required to learn Mandarin in school.

Northern part of China is mainly flat field with little mountain, which makes the dialects similar. Some Northern dialects can even communicate without trouble. On the other hand, the Southern part of China has lots of hills and mountains making people move infrequently (in old days, before cars/trains/etc.) That's why most dialects are from Southern part. Cantonese is one of the typical Southern dialect. However, most Southern dialects cannot communicate with each other even if their speakers were live only miles away.

dengnan··on Rental America: Why the poor pay $4,150 for a $1,500 sofa
Old discussion on HN: https://news.ycombinator.com/item?id=8471786
dengnan··on Rental America: Why the poor pay $4,150 for a $1,500 sofa
> educated and gainfully employed

Well. In this case, he may just don't want to care too much about financial math because he does not have any financial issue pressing him to consider that part.

Paul Erdős might not care about his own financial status as well, but that does not mean he will pay all he has to buy an iPad.

dengnan··on Rental America: Why the poor pay $4,150 for a $1,500 sofa
It's even not only about their math skill, it's also about self control. They just need to wait for a while and put small amount of money into an account each week. They could get a TV/couch/iPad within <72 weeks. Considering their financial status, why they want to buy those things right NOW?
dengnan··on Rust means never having to close a socket
Excellent site! Although it is still under development, I can see it'd become very important to the community.
dengnan··on Rust means never having to close a socket
Exactly! I think there's lack of document which quickly goes through basics and spends more time on rust-specific features. (Or I'm too lazy to find them?) For developers programming for decades, we do not need to repeat too much about integers, characters, etc.

I personally like to use slides to learn things. I'm not sure if this is typical, but slides are usually concise and easy to read.

dengnan··on Rust means never having to close a socket
Anyone has good learning resources about rust? I find it's a very interesting language but the document on its web site is so limited. Many topics are not covered or explained in vague terms. The new guide is a good starting point but still needs some improvement.
dengnan··on China Clamps Down on Web, Pinching Companies Like Google
Tor does not work in China. Since their servers' addresses are publicly available, it is quite easy to block.

To access real Internet inChina, it is not only about encryption, nor anonymity. you have to hide the fact that you are accessing a foreign server. GFW has this feature: if a node inside GFW access a foreign address too long/frequently, the foreign address will be temporary blocked. This is a very rude but powerful feature.

dengnan··on Goop – Dependency Manager for Go
In this case, try to run a `go get`, it will install everything into your current directory's bin/ directory.
dengnan··on Docker 1.0
> Inability to compile Docker from source without using the Docker Project's provided "black box" binary Docker.

You can compile it from source (assuming you have a go environment and set GOPATH properly):

$ sudo apt-get install libdevmapper-dev libsqlite3-dev btrfs-tools

$ go get -u github.com/dotcloud/docker/docker

docker will be in your $GOPATH/bin

> GO Lang is still pretty obscure for most developers, and an interesting choice given the language's youth and likely-hood to change rapidly as it matures.

Go1 promise will be kept by Go team[0].

> Docker is built on-top of existing Linux technologies, mainly LXC, making it more-or-less disposable in the future (as someone else figures out how to abstract/manage LXC better)

No, docker right now is built on top of libcontainer[1].

0. http://golang.org/doc/go1compat

1. http://blog.docker.com/2014/03/docker-0-9-introducing-execut...

Edit 1: Format

dengnan··on Richard Stallman – "Free Software and Your Freedom" (Beijing, China)
Thank you! I didn't know thus expression before. (I can always learn a lot from HN.) Upvote for the Wikipedia link.
dengnan··on Richard Stallman – "Free Software and Your Freedom" (Beijing, China)
free/open Internet in China? No way!

- You do not have choice of service providers. All providers are government department and there's nearly no competition.

- Try to use Google in China, lots of fun!

- Try to access any popular web site in China like Youtube, facebook, etc. Good luck.

- If you say something bad about the government on Internet, you may have the risk of being kidnapped by some unknown person and thrown into some unknown mountain area. (No kidding, one of my friend had this experience.)

Specific to RMS: I'm the translator of Free as in Freedom (Chinese edition.) Until now, I have no idea if the word "free" (自由) could appear in the title when we publish it.

Edit 1: grammar

dengnan··on Why Nerds are Unpopular (2003)
That's interesting. To my experience, in Asian countries --- at least in China, popular students are usually those who with higher grades. Physical education is only considered as a very small part of the school and usually not an important one. That's probably why Asian students are not as tall/strong as their U.S. (may be Europe?) peers.
dengnan··on All the Western companies you’d have to combine to get something like Alibaba
It's also about the scale. Most of their services are top competitors in the market. For example, Alipay, or 支付宝, is the de facto online payment service in China. As far as I know, I cannot imagine another company which provides similar service in China. Part of the reason is the government regulation.
dengnan··on ‘~’ is being removed from Rust
Thanks for the explanation! This change makes the code more clear to me. When I first read some rust code, those ~ and @ are annoying because I don't know their meaning and hard to search them for a explanation. The box keyword is a much better way for developers.
dengnan··on ‘~’ is being removed from Rust
Does this change affects managed box? Or it only affect owned box?
dengnan··on Why Chinese Is So Damn Hard (1992)
Exactly! Imagine to put those military people on an island and let them evolve more than 4000 years, then their vocabulary will be very different from nowadays American English.

Compound words in Chinese is something like that. But the good news is: each character in Chinese has its own meaning. So you can sort of guess what's the meaning of words if you know the meaning(s) of the characters.

However, except those compound words, there are lot of common expressions, which we call them 成语, which uses historical stories, poetries and you may never know what people are talking about if they use such expressions (people use them a lot and it is considered as a sign of higher education if they can use those expressions correctly and frequently.)

dengnan··on Why Chinese Is So Damn Hard (1992)
I'm a Chinese. According to my knowledge, most modern compound words are directly taken from Japanese (since we share lots of characters), who borrowed those words from classical Chinese. Many words like 选举 政治 数学 etc. are actually from classical Chinese articles.

Another important thing that this article did not mention is that every Chinese character has its own meaning. In classical Chinese, characters are treated like words. However, since there is only very limited space to put things into one character, Chinese quickly turned to using compound words.

Here is my theory: In ancient Chinese, strokes are like characters in English, and characters are like words. However, because we limited ourselves to write each character into a square space, we quickly run out of space for single characters --- like in English, no one likes long words. To solve this problem, Chinese used those meaningful characters to construct compound words. This practice is actually common in English esp. in tech world --- words like TCP/IP, PC, BSD, etc. are kind of compound words to me.

Edit: typo.

dengnan··on GHC 7.8.1 released
When I learn something, I would like to simultaneously read several books on the same topic, so that I could learn same things from different perspective. It works great for me when I learn Haskell, Scala, and other things.

Here is the list of materials I used to learn Haskell:

1. LYAH, http://learnyouahaskell.com/

2. Real world Haskell: http://book.realworldhaskell.org/read/

3. Programming in Haskell: http://www.amazon.com/Programming-Haskell-Graham-Hutton/dp/0... (No one suggests this book, but I do think this book is well-written and concise.)

4. Video tutorial by Erik Meijer based on Programming in Haskell: http://channel9.msdn.com/Series/C9-Lectures-Erik-Meijer-Func...

5. Advanced topics: http://www.haskellforall.com/2014/03/introductions-to-advanc...

Edit: Format

dengnan··on Anti-Tech Protesters Are Telling Kevin Rose’s Neighbors That He’s A “Parasite”
A little bit off topic, but related to the rents in SF: I've been to San Francisco and the first impression to me is that as a city with large population, why there's so little high-rise buildings? Is there any law which limits the buildings' height?
dengnan··on Julie Ann Horvath Describes Sexism and Intimidation Behind Her GitHub Exit
OK. I thought I could know what was inside her PR. but no, it's kind of like a TV show' story line now.
dengnan··on How CMU Increased the Proportion of Women in Computer Science (2013)
I start programming below college age as well. I also have some friends who learned programming by themselves. The major difference I can tell between those (used to be) young programmers and those who started programming in college is their motivation and passion. Those who started programming as boys/girls usually learned it by themselves and were motivated by curiosity. Knowledge can be learned, experience can be accumulated. But the passion of learning things almost defines one's behaviour. I saw too many people don't want to learn new things because they simply don't like to learn.

Sorry, a little bit OT.

← PreviousPage 2 of 3Next →