Echo JS 0.11.0

<~>

fcambus comments

fcambus 4018 days ago. link 1 point
That makes sense yes! :) I see you are using EJS templates, they look pretty similar to ERB templates actually, seems like a good choice indeed.
fcambus 4019 days ago. link 2 points
Tried it after answering your comment, and it could display the news titles from my test instance, so I would say it's a really good start!

Regarding templating, there doesn't seem to be anything viable written in Node which would be similar to Lamer News HTML generator or to Erector :)
fcambus 4021 days ago. link 2 points
Thanks for sharing, this looks interesting! Starred the repository, will try to have a proper look soon.
fcambus 4021 days ago. link 2 points
Some interesting suggestions indeed, thanks for your input. I believe front page pagination should be a top priority, and switching to a non-monospaced font for the comments as well.

Regarding the later, I really like Open Sans [1] these days. Does anyone have advices or suggestions regarding typefaces?

[1] http://en.wikipedia.org/wiki/Open_Sans
fcambus 4023 days ago. link 2 points
Telescope is a nice proof of concept, but I wouldn't use it in production, as even the GitHub repository mentions that it still is beta software.

Also, when checking the official demo site [1], pages sometimes take several seconds to display. For this kind of site, I think it's better to generate the pages server-side.

[1] http://demo.telesc.pe/
fcambus 4023 days ago. link 2 points
That's a difficult question, and I'm still unsure of what to do regarding this topic.

Lamer News has served Echo JS well for the last two years, it's pretty solid and works as intended. Unfortunately, the development is stalled as Antirez is obviously focused on Redis. For bugfixes and small patches, I think it would be better to commit them to the original repository, so other sites running Lamer News would benefit from the changes as well.

After two years though, I have to say my experience with running Ruby applications in production has not been that great, managing Ruby versions and gem dependencies has been painful. I've been thinking a few times about porting the code to another language, and for the record there is a Perl port of Lamer News so it has been done before. Now, though, not sure there is an immediate benefit in doing this. Another option might be to build something new on top of the API, generating pages server-side using the existing API, and completing/enhancing the API if required.

To be honest I would not change much to the actual implementation though, and stay as close as HN as possible.

At the moment, what I would really like to add is a way to view all the latest comments on a site wide level in order to encourage discussions.

What features do you have in mind?
fcambus 4026 days ago. link 1 point
You can follow NodeCloud Twitter account to get updates (low volume) : https://twitter.com/nodecloud

If you know any potential site which could be added (must be on it's own domain, and fully dedicated to Node.js), please mention them :)
fcambus 4027 days ago. link 4 points
That's a good question! Indeed, I'm paying for hosting out of my own pocket, and I'm not monetizing the site. Hosting is not that expensive nowadays anyway and I'm also hosting a couple of other sites on the same server, like NodeCloud and my personal site, so it's not really an issue at the moment.

So in a way, one could say I'm trying to give back to the community :)
fcambus 4027 days ago. link 3 points
Agreed, more (constructive) comments would be a nice thing, I like to think we're slowly getting there though.

I'm also thinking about tweaking the site design, yes. Still maintaining a minimalist approach, but with added focus on typography and spacing.
fcambus 4028 days ago. link 1 point
Just tried from my home connection, it's a lot faster indeed. Nice initiative!

time npm install forever

real	0m9.392s
user	0m4.830s
sys	0m1.254s

time npm --registry http://registry.npmjs.eu/ install forever

real	0m4.540s
user	0m3.890s
sys	0m1.049s
[more]