HNHacker News
TopNewBestAskShowJobs

dengnan

712 karma · joined August 9, 2013

submissionscomments
dengnan··on How CMU Increased the Proportion of Women in Computer Science (2013)
No offence. But I would be more interested in how they increased diversity without lowering the bar.
dengnan··on Alleged Bitcoin Creator Satoshi Nakamoto Denies Bitcoin Involvement
I think it's just because he is a Japanese. To most East Asian people, we often use wrong tenses because there's no tenses in our native language. This happens to people even if they were in the U.S. for decades. It's actually not about how long you've been in the U.S., it's about when did you start using English as your primary language. If they started using English (as their major language) when they were 20s, it is likely they would make mistakes about using tenses.
dengnan··on Bram Moolenaar responds to Neovim
> Things you should never do: rewrite the code from scratch.

I can clearly see the benefit of this old wisdom under context of limited resource and limited time, esp. in a commercial company.

However, as an experimental, personal(?), non-profit, free/open-source project, I do think neovim has value in its own right:

1. It won't affect any existing plan of vim, and won't change any existing code in vim. We can still happily use vim as usually. 2. If it succeeded, then we would have another powerful free/open source editor in our community. 3. If it failed, then we as a community have nothing to lose. The author might be unhappy then, but he would at least gain lots of experience.

There are so many rewritings happen in this community, and they are definitely good things:

- svn is a rewriting of cvs, and git is a totally new one (with more features?) written from scratch. - nginx was written even if there's apache httpd - There's zookeeper, but people wrote etcd - etc.

dengnan··on Neovim
Finally, someone took this step. I really appreciate his work.

Don't get me wrong. Vim is an awesome editor and it is the only editor I'm using now. I've been using it for decades and still cannot find an editor which can replace it. Sorry, emacs, I tried several times but failed. I know it's my problem but I'm too familiar with vim's short-cuts.

However, I do think we can still do some improvement on vim, especially on its plugin systems. If you wrote plugins for vim, you know what I'm talking about. For example, can you quickly tell me the differences between map nnoremap nnoremap? How to write comment in vimscript?

To me, vimscript seems like a language patched by lots of authors with inconsistent goals. It's not as cohesive as Emacs Lisp. And there are lots of historical reasons why they do that --- I know, it's backward compatibility. But you have to move forward at some time.

With that being said, I do think it is necessary to have an editor which keeps the good parts in vim and improve it by not considering too much about backward compatibility. I'm so glad that someone did it for us.

dengnan··on Very tense atmosphere at a Google Bus stop in San Francisco
I can see the problem of the imbalance of the demand-supply. But I see no reason to blaim tech companies. It is like blaming patients when emergency room responds slowly because of too many patients. Instead of asking patients to leave, we should ask for more doctors or more hospitals. In this case, why not blaming landlords for rising the price? Or asking the government to provide more affordable housings. Stopping a tech company's bus will fix nothing.
dengnan··on Very tense atmosphere at a Google Bus stop in San Francisco
This really confused me. They are complaining the high price of the rent. But instead of protesting in front of real estate companies, landlords, or those who rent their properties with high prices, they stopped Google buses, Apple buses and buses whose owners sell computers, build websites, share information across Internet. They really picked wrong targets. They can buy computers with low prices and the price is getting lower. Remember: Apple decides the price of laptop and/or desktop, not the price of the real estate.
dengnan··on China's Jade Rabbit lunar rover dies on moon
FYI, according to recent news[0], The lunar rover is recovered now. Sorry that I did not find a source in English.

0. http://www.bbc.co.uk/zhongwen/simp/china/2014/02/140213_yutu...

dengnan··on China's Jade Rabbit lunar rover dies on moon
We, Chinese, do not know too much details either. It is hard for us to know details about the spending.

I tried to google it with key words like "Chang'e budget", but found nothing useful. However, I did found an article about the history[0]. Here is some fact: Back to 90s, there were Chinese scientists suggesting for lunar exploration. But the projects requires a budget around 1.5B, which was declined by the prime minister LI Peng (Family name first.)

0. http://www.baike.com/wiki/%E4%B8%AD%E5%9B%BD%E6%8E%A2%E6%9C%...

dengnan··on Go for Objective-C developers
Before any insightful discussion, may I suggest that we do not discuss generics?
dengnan··on What The Chinese Tech Industry Is Like
Well. According to Ugly duckling theorem[0], any classification algorithm is biased. It's not about finding an unbiased system, it's about which side should be preferred by the system. Specific to the discussion about network surveillance, it's about which group of people should be protected: The mass majority or the minor elite/politicians.

If we have limited resources to control speech, I would argue that those resources should be mainly used on to government/politicians. Because they have much more power over the others.

Piracy, drugs, child porn, online gambling, blocking these things online is supposedly by the people through direct or indirect votes. (NOTE: I'm not talking about the facts in the U.S. or any country. I'm talking about how things should work.) The things blocked in China, on the other hand, are only decided by the government, not the people.

> In either case you need enough staff to monitor for such illegal content.

Until there's a clear definition of "illegal". As I mentioned, Chinese government can shutdown any website at their will, without any warranty. No need to say that the government is not voted by the people, which by itself is illegal.

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

EDIT 1: add another graph to clarify my point.

dengnan··on What The Chinese Tech Industry Is Like
To those who are interested in startups in China:

I personally know some people who worked on start ups in China. From their experience, I see no hope for start ups without connection with government. I will show you some facts and some real examples here.

Here are some basic facts:

Chinese government controls Internet content tightly. Note that it is not the same level as NSA's surveillance. NSA's surveillance is bad. But it won't, or rarely, (directly) change/delete the content. The Chinese government, on the other hand, can even shut down a whole datacenter without telling the administrator with no reason --- By "no reason", I mean absolutely no explanation.

I had a blog and I know the service provider personally (It was a website hosting blogs like myspace). My blog was a high ranked one on their website. I posted some content discussing related to democracy/free speech in China and the whole website was down for a day. My friend received a call from network management department after they cut the network. They forced my friend to delete my blog entirely (the whole blog including posts for years.)

Chinese website was required to control any content on their website, otherwise, like the case I mentioned above, their website might be shutdown before telling you the reason. This is especially true for small startups.

Here is another example: during the early age of twitter (around 2008.), there were several startups in China trying to make a copycat of twitter in China. We call it micro-blogs and there are companies like hainei, jiwai, etc. working on twitter-like services. As we all know, content on such websites generated very fast. Much faster than traditional blogs. This makes the filtering work extremely hard --- those websites has to identify contents which are "politically incorrect" and delete them before any government officer found them (And yes, we DO have government employees who are dedicated to found those contents and report it to their higher authorities.) Such filtering work is impossible for a startup with tens of employees -- They used some filtering algorithms but people can always use other words to bypass the filter. Such micro-blogs (or twitter-like services) grows so fast with too much "unwanted" content, that finally, by mid-May 2009, they were all shut down by the government for half a year. Imagine a startup running without a live service for half a year, you know how hard it would be.

During this time, large companies with government connections like sina, tencent, 163, ect, prepared their own micro-blog services and finally put it on line. Such companies has large teams who dedicated themselves to filter content on their websites. Nowadays, the micro-blogs are only run by those large companies and none of the startups survived.

I told these stories to those who do not familiar with Chinese Internet Policy and intent to do some startups in China. My advise is: do not run a content-based startups, otherwise you can hardly afford the cost of filtering the users' contents.

EDIT 1: changed some spellings and expressions.

dengnan··on Docker on Linode
> Interest in it seems to have died down.

Not really. AFAIK, they are right now preparing the next release and there will be a lot of activities on lmctfy in 2014.

dengnan··on What's wrong with Object-Oriented Programming and Functional Programming
I know this person from many ways. Here is a simple version of the education background of the author: He pursued a PhD from TsingHua university in China, but failed (Or he chose to quit.) Then he got an offer from Cornell and then quit within one (or two?) years. After that, he tried to pursue a PhD from Indiana University in programming language area but failed again. Now he got a master degree and got a job. In many ways, he is really not a researcher in programming language field.

I don't want to judge someone from his/her education background. But keeping saying "I'm a PhD, my research is about programming language and my advisor is some guy who you should believe" really doesn't help his argument. To be honest, I can hardly find the main argument he want to make. If he just want to say that FP and OO both have their cons and pros, then I totally agree and I really think it doesn't need such an article to say this simple fact. But the author seems have other things to say, which to me is quite vague and I can hardly get it.

dengnan··on Push Notifications to Mobile Devices Using Amazon SNS
Well. It seems that kindle does provide some cloud service for push notification [1]. Then I will add this support in recent release

1. https://developer.amazon.com/sdk/adm/concepts.html

dengnan··on Push Notifications to Mobile Devices Using Amazon SNS
Well. Considering kindle does not support GCM, no, uniqush does not support kindle. But there's some work around: there's another piece of program which maintains long term TCP connections: http://github.com/uniqush/uniqush-conn

However, uniqush-conn is still under construction (more precisely, the server side program is almost there, but the client library is still under construction.) The whole picture of the system is described here: http://blog.uniqush.org/uniqush-after-go1.html

I haven't heard that amazon has any free public service for push notification for kindle, like GCM or APNS. If there exist one, I will definitely add support to uniqush-push. Otherwise, a long term TCP connection may be the only choice for uniqush.

Supporting Windows Phone would be a trivial job. But I do not have a Windows device to work with, the support for windows has to be delayed.

dengnan··on Push Notifications to Mobile Devices Using Amazon SNS
For those who want to setup a similar service on their own server: http://github.com/uniqush/uniqush-push It is free and open source, written in Go and It can run on most major platform.
← PreviousPage 3 of 3