HNHacker News
TopNewBestAskShowJobs

zellux

216 karma · joined March 18, 2010

submissionscomments
zellux··on Host Your Blog on DigitalOcean with Docker, Nginx and Let’s Encrypt
I've been using Netlify for a while with Hugo as site generator. It's free with HTTPS and CDN support.
zellux··on Huawei launches Matebook
Huawei has a very popular sub-brand for smart phones named 'Mate' (http://consumer.huawei.com/minisite/worldwide/mate8/). I guess that's why they are using Matebook for new laptops.
zellux··on Why Google Employees Quit (2009)
AFAIK Facebook will let you to choose between taking lump sum (a fixed amount of pre-tax money), or getting flight tickets and moving service ordered for you, plus after-tax reimbursement for other related cost.
zellux··on A Dark Room - minimalist text-based game
You need to find an iron mine in the map first, and then you can put workers for irons.
zellux··on Grc - it's like stylesheets for your terminal
At least the installation script adds some aliases to .bashrc.

https://github.com/mxcl/homebrew/blob/master/Library/Formula...

zellux··on China drops Dropbox
I guess it is blocked because Dropbox was used to share software like GAppProxy/MyEntunnel/Puff, which can be used to surf across the GFW.
zellux··on Amazing feats of Clang Error Recovery
Wow, that will help C beginners greatly!
zellux··on Squaring two digit numbers in your head
The trick applies to two-digit multiplication xy * xz while y + z = 10. And we can simply calculate like this:

  34 * 36 = 3*4 * 100 + 4*6 = 1224
  57 * 53 = 5*6 * 100 + 7*3 = 3021
For multiplications like yx * zx as long as y + z = 10, we need to add x * 100, like this:

  24 * 84 = 2*8 * 100 + 400 + 4*4 = 2016
  46 * 66 = 4*6 * 100 + 600 + 6*6 = 3036
zellux··on The Next Ten One-Liners from CommandLineFu Explained
Thanks for pointing out that :)
zellux··on The Next Ten One-Liners from CommandLineFu Explained
I didn't know that pipes can work with remote commands before, what amazing combinations!
zellux··on Unix recovery legend
AFAIK a single cd command will set current working directory to /root, and rm -rf will only remove everything under /root. Or does cd command had different behavior in Unix at that time, comparing to shells today?
zellux··on Unix recovery legend

  # cd 
  # rm -rf *
I'm wondering why they can delete files under /bin and /dev?
zellux··on Ask HN: What do you listen to when you code?
I don't feel like listening to music when I'm coding, especially songs, it may disturb my thoughts.
zellux··on A new approach to China: an update
I'm a college student in Shanghai, and my classmates and friends' attitude towards the party is almost opposite to what you said, I'm afraid.

As to what other people say in Xiaonei, which is a site I'll visit everyday, many people there are complaining about the network censorship in China. On the other side, it's also a site censored by the government, which means users' comments, blogs and updates will soon be deleted if they contain illegal keywords. It doesn't allow free speech at all. So what you see may not represent the majority.

On the other hand, many of us has access to twitter, using SSH tunnel/API/proxy or something else to jump over the wall. And what you see on twitter may differ greatly on what you see in Xiaonei. Sorry for my poor English :P

zellux··on A new approach to China: an update
I'm just wondering where you get this public opinion, which is quite different from what I heard. And I'm in Shanghai, China.
zellux··on A new approach to China: an update
http://www.google.cn now redirects to http://www.google.com.hk/, and there is a line of message saying 欢迎您来到谷歌搜索在中国的新家, which means "Welcome to the new home for Google Search in China".
zellux··on Please review my web-based Emacs color theme generator
Really nice one, and it would be better if you could can more settings like fonts and mode-line-inactive.