HNHacker News
TopNewBestAskShowJobs

c2u

2 karma · joined July 2, 2013

submissionscomments
c2u··on JavaScript for OS X Automation
I love this. Wish one day I can use javascript to build an ios app.
c2u··on Free Blog, Forum, Website Platform and CMS based on Node.js (Stored in JSON)
Thank you
c2u··on Free Blog, Forum, Website Platform and CMS based on Node.js (Stored in JSON)
Sorry the response may be very slow.

Yes. I plan to do this, cache everything.

I have carefully calculate the demand of memory and the cost.

1) As traffic grows, memory consumption does not growing, because of node.js?

I was running another site ourjs.com, sometime I saw 100~200 active users on site at the same time (from Google Analytic), but the memory used of ourjs thread is still less than 100Mb, almost the same when there is no traffic.

2) JSON Data doesn't consumption much memory, I post one article per day on my ourjs, now there are more than 450 articles, I think I can use this framework for 10 years.

3) There maybe memory limitation in V8 but I don't think the blog/website will exceed this limit, maybe I will split into several threads in future if I really run into this issue.

c2u··on Free Blog, Forum, Website Platform and CMS based on Node.js (Stored in JSON)
Yes, at first I use mongodb but I found the performance was not affected after I removed mongo, since I caching all the data in memory.

However the article ID is still created by mongodb-native module.

c2u··on Free Blog, Forum, Website Platform and CMS based on Node.js (Stored in JSON)
It's a beta version. I will be very appreciated if you can help me testing the usability, performance, security, etc.

PS: English is a foreign language for me, if you can point out any grammatical errors, I will be very happy too.

c2u··on Chris Lattner on Swift
Swift is a little complex.

Does it compile to Object-C?

c2u··on A simple light weight jquery plugin library to make working with Bootstrap css.
have fun
c2u··on Linux should be a part of School Education
Where to find the teather?
c2u··on Do you really know JavaScript?
"1 2 3".replace(/d/g, parseInt), I guess it should be "1 2 3".replace(/+d/g, parseInt)
c2u··on Do you really know JavaScript?
Me too.
c2u··on Ask HN: Should I switch from PHP to NodeJS?
PHP is great, but for beginner nodejs is better. If you are very good at PHP, you don't need to.
c2u··on Why do dynamic languages make it more difficult to maintain large codebases?
Really? I don't think so.
c2u··on Poll: What is your primary programming language?
js & nodejs