• node.js anyone?

    From art@DIGDIST/BATTLEST/FREEWAY to All on Tuesday, March 06, 2012 07:01:00
    Hi all,

    Anyone here use Node (node.js)?

    I've got an issue trying to send a telnet IAC AYT to a net.socket. Anyone done something similar or worked with net.sockets?

    Regards,

    art@fatcatsbbsdotcom

    "Data, you must be the first person who has come to my office and
    been excited of the prospect of a new neurosis."
    -- Troi to Data in ST:TNG "Phantasms"

    ---
    þ Synchronet þ fatcats bbs - fatcatsbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to art on Saturday, March 31, 2012 22:36:00
    Re: node.js anyone?
    By: art to All on Tue Mar 06 2012 07:01:22

    Anyone here use Node (node.js)?

    I've got an issue trying to send a telnet IAC AYT to a net.socket. Anyone done something similar or worked with net.sockets?

    What is this node.js file to which you are referring? Is that a Synchronet JavaScript file?

    If it's something I'm familiar with, I'm happy to help with Synchronet JavaScript here, but this forum was intended as a more general JavaScript forum, so if it's something Synchronet-specific, please mention that in your post. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From art@DIGDIST/BATTLEST/FREEWAY to Nightfox on Monday, April 16, 2012 09:44:00
    Re: node.js anyone?
    By: Nightfox to art on Sat Mar 31 2012 21:36:32

    Hey NF,

    What is this node.js file to which you are referring? Is that a Synchronet JavaScript file?
    No, it's actually something that's come out from Google's Chrome, IIRC. The website is http://nodejs.org.

    It's a JRE designed for scalable network code. I think it really shines for coding web servers and services, tho it's wide enough to be used for most purposes.

    I have been toying with it, as it seems to be "decent" at coding network sockets for client or server. I've got some issues with it tho, such as not getting very far in getting basic telnet RFC functions working.

    Kind regs,

    art@fatcatsbbsdotcom

    "Bok is no Daimon. He was relieved of command six years ago.
    He was unstable, dangerous. We had to confine him to Rog-prison."
    "But he's no longer there?"
    "He was able to buy himself out about .. two years ago."
    -- Daimon Birta and Picard in ST:TNG "Bloodlines"

    ---
    þ Synchronet þ fatcats bbs - fatcatsbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to art on Sunday, April 29, 2012 09:19:00
    Re: node.js anyone?
    By: art to Nightfox on Mon Apr 16 2012 09:44:50

    What is this node.js file to which you are referring? Is that a Synchronet JavaScript file?

    No, it's actually something that's come out from Google's Chrome, IIRC.
    The website is http://nodejs.org.

    It's a JRE designed for scalable network code. I think it really shines
    for coding web servers and services, tho it's wide enough to be used for most purposes.

    That looks interesting, a JavaScript framework for building network applications. It seems that JavaScript is being used for more and more things these days. :) It reminds me of how JavaScript is one of the languages supported to build Windows 8 Metro applications..

    And in this context, I'm assuming JRE means something other than Java Runtime Environment? That's the first thing I thought when you said JRE, but Java is a different language entirely..

    I have been toying with it, as it seems to be "decent" at coding network sockets for client or server. I've got some issues with it tho, such as
    not getting very far in getting basic telnet RFC functions working.

    It does look interesting. I've made a bookmark to it so I can check it out later. :)

    Nightfox


    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From art@DIGDIST/BATTLEST/FREEWAY to Nightfox on Tuesday, May 01, 2012 08:01:00
    Re: node.js anyone?
    By: Nightfox to art on Sun Apr 29 2012 09:19:58

    Hi NF,

    And in this context, I'm assuming JRE means something other than Java Runtime
    In this context, it was used mistakingly. :) :( Sorry, my bad. NodeJS is not dependent on JRE AFAIK for the reasons you state--they are separate tecnologies.

    applications. It seems that JavaScript is being used for more and more things
    these days. :) It reminds me of how JavaScript is one of the languages supported to build Windows 8 Metro applications..
    Yar. I have yet to start developing Metro apps against it, but I imagine I'll do so later this year, I am interested, if not a little skeptical.

    Regards,

    art@fatcatsbbsdotcom

    "Although we run a peaceful mission, we are ready to into a battle instantly.
    I know I can count on every Klingon warrior in this crew to serve and die in
    that battle. So I ask you again, Commander Riker, where are your loyalties ?" "I've been assigned here to serve this ship and to obey your orders, and
    I will do exactly that."
    "Will you take oath to that effect ?"
    "I just did."
    -- Captain Kargon and Riker in ST:TNG "A Matter Of Honor"

    ---
    þ Synchronet þ fatcats bbs - fatcatsbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to art on Wednesday, May 02, 2012 20:38:00
    Re: node.js anyone?
    By: art to Nightfox on Tue May 01 2012 08:01:42

    these days. :) It reminds me of how JavaScript is one of the languages supported to build Windows 8 Metro applications..

    Yar. I have yet to start developing Metro apps against it, but I imagine I'll do so later this year, I am interested, if not a little skeptical.

    I'm a little skeptical too. Using HTML and JavaScript to write native apps for an OS seems wrong to me somehow, like an abomination. :P HTML was originally designed as a markup language to store a document and originally had little to do with being part of an application. Then they added JavaScript for some dynamic interactivity, and then CSS, and I guess using them all to make apps is someone's idea of a natural evolution, but it still seems odd. From what I've heard, it sounds like Microsoft is allowing Metro apps to be written with C# or JavaScript with HTML. It seems to me that C# is more structured and powerful than JavaScript, and is also more safe in that more errors can be caught for you at compile-time (whereas in JavaScript, many errors aren't seen until you run the code and happen to see something blow up).

    Using web technologies for apps still seems interesting though.. Around 2004-ish, I remember seeing an Amazon.com market browser "app" using JavaScript, HTML, and Mozilla's XUL engine, made to run in Firefox, but it looked a lot like a native app. I don't know whatever happened to Mozilla's XUL, but I haven't heard anything about it since then..

    Nightfox


    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to art on Monday, October 28, 2013 21:15:00
    Re: node.js anyone?
    By: art to Nightfox on Tue May 01 2012 08:01:42

    these days. :) It reminds me of how JavaScript is one of the
    languages supported to build Windows 8 Metro applications..

    Yar. I have yet to start developing Metro apps against it, but I imagine I'll do so later this year, I am interested, if not a little skeptical.

    The more I use JavaScript (for Synchronet, and now for adding scripting support to some C++ apps), the more I'm getting used to it. I think some of JavaScript's features (such as being able to dynamically create objects at runtime and lambda functions and such) are fairly useful.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com