They cannot block a specific repo (although GitHub could make it inaccessible to Chinese users, but I don't think they'd want to censor their platform), which is why China resorted to DDOS. I think it really speaks volumes as to how important GitHub currently is to them.
You do know that Wechat's chat history stored in Tencent's database in plain text? The authorisation could check/monitor any Chinese citizen who uses Wechat, if they say something bad about the government or spread the rumours of some officials corruptions, they will be in big trouble?!? How do you mean Chinese people are not harmed? Their privacy is absolutely harmed and they have less choices for chatting and that's what the Chinese government wants - they want everyone in China to use Wechat so they could absolutely control/monitor
I wouldn't use WhatsApp or Wechat or any of these spyware apps.
The Chinese government isn't taking something away (privacy, freedom) because it was never granted. Therefore I say "no harm". If the people want these rights, they will have to reform their government.
What's the problem of writing a function with a few lines of code and exports as a module?
I think it's totally fine. Like other people said, it's the mindset we borrow from Unix, do one thing and do one thing well. The function would be well tested, and could be reusable.
I don't understand why so many people just require lodash into their project (when they start project) while they only use one or only minimum set of the functions. I mean lodash is a very great library with clean and well tested code, but it's also quite bulky like a big utility lib, and for me most of the time I only need one or two of the functions I would just go to npm and find a module just do that thing.
Also, Node.JS modules can be used browser side. On the browser you only want to include code you're using so you're not making the client downloading excessive code. A large 500kb module with one useful function is worse than a one 10kb module with the one function you need.
From our experience to develop the mobile app with HTML5/Javascript/CSS i.e. Cordova, not only that the mobile safari in iOS and webkit in Android sometimes not render js/css the same ( the point brandon_wirtz has raised), but another difficulty we found very hard is to debug the javasript (js that resides in the device, not on the server side) .
in iOS it's okay we could connect device/simulator and open the safari inspector to debug. But in android it's almost impossible to know what & where the javascript has gone wrong and fix.
The webkit in android 2.3.x version also will render differently on some css properties compared to 4.x version.
To me this doesn't sound very exciting. To publish static website/contents programatically , why would i bother use this and not Github pages? It's easier and more programmers friendly too, since it's git.
https://news.ycombinator.com/item?id=9275041