News for hackers. Stuff that matters.

zellux

I've been using Netlify for a while with Hugo as site generator. It's free with HTTPS and CDN support.
Re:Huawei launches Matebook on Monday February 22, 2016 @01:15AM (#11148909)
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.
Re:Why Google Employees Quit (2009) on Sunday June 28, 2015 @04:07AM (#9792832)
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.
Re:A Dark Room - minimalist text-based game on Saturday June 29, 2013 @11:27AM (#5962653)
You need to find an iron mine in the map first, and then you can put workers for irons.
Re:Grc - it's like stylesheets for your terminal on Thursday April 19, 2012 @01:23PM (#3864095)
At least the installation script adds some aliases to .bashrc.

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

Re:China drops Dropbox on Monday May 10, 2010 @10:44PM (#1336676)
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.
Re:Amazing feats of Clang Error Recovery on Tuesday April 06, 2010 @08:19AM (#1244407)
Wow, that will help C beginners greatly!
Re:Squaring two digit numbers in your head on Monday March 29, 2010 @09:22AM (#1226450)
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
Re:The Next Ten One-Liners from CommandLineFu Explained on Friday March 26, 2010 @02:46AM (#1220417)
Thanks for pointing out that :)
Re:The Next Ten One-Liners from CommandLineFu Explained on Wednesday March 24, 2010 @01:07PM (#1216211)
I didn't know that pipes can work with remote commands before, what amazing combinations!
Re:Unix recovery legend on Tuesday March 23, 2010 @02:43AM (#1212394)
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?
Re:Unix recovery legend on Tuesday March 23, 2010 @02:05AM (#1212343)

  # cd 
  # rm -rf *
I'm wondering why they can delete files under /bin and /dev?
Re:Ask HN: What do you listen to when you code? on Tuesday March 23, 2010 @01:06AM (#1212270)
I don't feel like listening to music when I'm coding, especially songs, it may disturb my thoughts.
Re:A new approach to China: an update on Monday March 22, 2010 @04:17PM (#1211272)
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

Re:A new approach to China: an update on Monday March 22, 2010 @04:01PM (#1211222)
I'm just wondering where you get this public opinion, which is quite different from what I heard. And I'm in Shanghai, China.
Re:A new approach to China: an update on Monday March 22, 2010 @03:57PM (#1211209)
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".
Re:Please review my web-based Emacs color theme generator on Sunday March 21, 2010 @10:32PM (#1209128)
Really nice one, and it would be better if you could can more settings like fonts and mode-line-inactive.