nick32m's comments

nick32m | 8 years ago | on: China Blocks WhatsApp

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

nick32m | 10 years ago | on: NPM and Left-Pad: Have We Forgotten How to Program?

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.

nick32m | 13 years ago | on: Unraveling HTML5 vs. Native

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.

nick32m | 13 years ago | on: Announcing Google Drive Site Publishing

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.
page 1