Why is node seen as cool?
-
I'm curious why you people love that. Do the forum still has hard to debug crashes caused by node?
-
Why is node seen as cool?
People are stupid. Next question.
-
Why is Node seen as cool?
Same reason MongoDB and other NoSQL databases got popular: they were hyped up to be something they're not, and idiots bought into the hype.
-
@wharrgarbl said in Why is node seen as cool?:
I'm curious why you people love that. Do the forum still has hard to debug crashes caused by node?
Crashes? Cause by node? This is news to me.
I had fun using node when I was writing plugins and stuff. It was my first serious usage of javascript, which was actually pretty timely as I recently needed to do stuff with it for work.
-
@boomzilla I remember some crashes on NodeBB were giving admins a bad time a few months ago, and I think nodejs was blamed.
-
@wharrgarbl There have been crashes due to bugs and stuff. That's just...software.
We've never been able to figure out why occasionally a process will peg the CPU. Some of the difficulty in trying to debug that can definitely be placed on node, since it's so difficult to attach a remote debugger to find out what's going on.
But even after we were able to get a profiler hooked up we couldn't find a root cause, which could be node, but we don't have a good enough understanding of what's going on to really say.
-
@wharrgarbl said in Why is node seen as cool?:
Do the forum still has hard to debug crashes caused by node?
Did your English module crash? Can you debug it?
-
@wharrgarbl said in Why is node seen as cool?:
@boomzilla I remember some crashes on NodeBB were giving admins a bad time a few months ago, and I think nodejs was blamed.
"were giving admins a bad time" == "made them work" ???
-
@TimeBandit You're not wrong.
-
@loopback0 said in Why is node seen as cool?:
@wharrgarbl said in Why is node seen as cool?:
Do the forum still has hard to debug crashes caused by node?
Did your English module crash? Can you debug it?
I don't speak English. Sometimes I feel a sentence I wrote isn't OK, but I dunno how to fix it. Sometimes I'm just too lazy to think a better one.
-
@wharrgarbl said in Why is node seen as cool?:
I'm curious why you people love that. Do the forum still has hard to debug crashes caused by node?
I haven't had crashing issues with node. Sure memory leaks bring it down, but that goes for every platform.
Why is node seen as cool?
It's a fast growing tech. Barrage of new modules, language features and adoption stories creates a constant buzz. People who are into tech and programming are influenced to give it a try, and often end up adopting it. They then start producing their own modules, blog posts and other crap, adding to the buzz. It's a self fulfilling prophecy.
Do I love the coolness? Well, I like being on the upward surge of popularity of things. If you're into something (eg. programming), you want to be where the action is, not in stagnant backwater. Well, sometimes at least.
That said, I wouldn't be into it if I also didn't like the tech itself, and didn't think it was a good fit for both my projects and career goals.
-
@boomzilla said in Why is node seen as cool?:
We've never been able to figure out why occasionally a process will peg the CPU. Some of the difficulty in trying to debug that can definitely be placed on node, since it's so difficult to attach a remote debugger to find out what's going on.
Really? I find it super easy. In my current project, I can jump into any production instance within 30 seconds. It's even easier in dev environment.
-
@boomzilla said in Why is node seen as cool?:
Some of the difficulty in trying to debug that can definitely be placed on node, since it's so difficult to attach a remote debugger to find out what's going on.
Isn't there any debugger for this stuff?
-
@cartman82 what tools you're using?
-
@wharrgarbl said in Why is node seen as cool?:
@cartman82 what tools you're using?
Webstorm. Create a remote debug profile. Send
kill -s USR1 <pid>
to remote process. Click "debug". That's it. Super simple.
-
- HTML5 became cool
- HTML5 implied javascript
- Javascript is cool
-
@cartman82 said in Why is node seen as cool?:
@boomzilla said in Why is node seen as cool?:
We've never been able to figure out why occasionally a process will peg the CPU. Some of the difficulty in trying to debug that can definitely be placed on node, since it's so difficult to attach a remote debugger to find out what's going on.
Really? I find it super easy. In my current project, I can jump into any production instance within 30 seconds. It's even easier in dev environment.
I think the problem is that the debugger and the running code are effectively cooperatively multi-tasking. When the CPU was pegging it wouldn't do anything, because the event loop wasn't looping.
-
@boomzilla said in Why is node seen as cool?:
I think the problem is that the debugger and the running code are effectively cooperatively multi-tasking. When the CPU was pegging it wouldn't do anything, because the event loop wasn't looping.
Sounds like you have a dead loop.
But the debugger should be able to interrupt it.... Strange.