Re: [nodejs] Re: Suggestions on how to print from node.js

2016-02-03 Thread boby rahmawan
can u show us the error?

On Fri, Jan 29, 2016 at 4:34 PM, Jawahar Venkatesh 
wrote:

> Hi,
>  I have tried this, but got errors in the process. unable to succeed in it
> still.
> https://github.com/tojocky/node-printer/issues/110
>  if you have any suggestions let me know.
>
> Thanks,
> Jawahar
>
> On Tuesday, August 12, 2014 at 5:44:50 PM UTC+5:30, Julien Morvan wrote:
>>
>> Hello,
>>
>> I use node-printer
>>
>> https://github.com/tojocky/node-printer
>>
>> Maybe this can help if someone is looking for a solution.
>>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/f7eac8fd-1fc9-4ed1-8945-96a9a62b760e%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/f7eac8fd-1fc9-4ed1-8945-96a9a62b760e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards. . . .


Boby Rahmawan

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTMwREocyJSttijuMWj%2B6rHqkjnKAEY_r%3DsSqKL3p2imug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nodejs] Not able to connect Node.JS Sever using Socket.io in Windows from a Linux System in LAN where client(using C++) is running

2015-09-21 Thread boby rahmawan
Hi Pradyot, would u like to show us your sample code? And the error if any.
Thanks
On Sep 20, 2015 2:08 AM, "Pradyot Hota"  wrote:

> Hello Everyone,,
> I was going through some projects using Node.JS and Socket.io, Now, i am
> doing something similar where i have written a client application in C++
> using Websockets trying to connect a Node.js/Socket.IO server running in a
> LAN connectivity. I found the server application is not responding at all.
> I tried a couple of other options from client side eventually getting no
> response from the server. Basically, i am trying to send a JSON object to
> the system running SocketIO server.
> From Client Side i am trying to connect to server using :: connect
> ws://localhost:3000 , Server is listening on port 3000. I find no response
> on to  the server part.
>
> Help, is really appreciated. Thank you.
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/f2e41444-48a3-481e-9496-223f448d41c1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTNUm5X6weOst--P%3DwZWP3Cka%2BbeVBzqBzsGT0vt8Ksbsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nodejs] Install node JS on VPS - help!

2015-09-04 Thread boby rahmawan
Are u install node with root user?
On Sep 4, 2015 8:33 PM, "Aria Stewart"  wrote:

>
> On Sep 4, 2015, at 5:45 AM, Kristofer Tryggvason 
> wrote:
>
> Hi,
>
> I'm trying to setup Node JS on my VPS. I've successfully got it running
> locally but I can't for the life of me getting working externally.
>
>
> My VPS is running Plesk, I'm the root user, and I tried to set it up
> following this tutorial
>  via Putty.
>
>
>
> What OS is this running on? It may be that there's simpler and better ways
> -- both RPM-based and Debian-derived distros can use the nodesource repos,
> and there's nvm and n.
>
> Aria
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/E8CF95F2-CA45-4904-A102-7E6A94A4AB6E%40dinhe.net
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTNjyc6JWe4QJpH9Dxp1p8yUs%3DmrScx0%2BSGJfizC5RuG4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nodejs] NodeJS clustering

2015-09-01 Thread boby rahmawan
Hi Dirk. May be u can split into child process. So it can split usage
resource CPU. CMIIW
On Sep 1, 2015 7:27 PM, "Dirk Hoving"  wrote:

> Hi,
>
> We are trying to cluster a level deeper than is usual.
>
> NodeJS seems to developed to be able to run a code than can be accessed by
> multiple users and every instance can be run by a different worker.
>
> Now we have a case, where we have only one user with a very complicated
> backend process. This single instance of the code causes the CPU to
> overload at times so we want to split up the work over different CPU cores.
> We have tried multiple approached but haven't been able to make it work
> yet, any insight to this?
>
> Thanks, Dirk
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/cf3a1c41-df02-4888-b713-4784ec65c4ac%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTMYRfLZQB09VVrG3QdwWa7xgBoy0vCa5OA_SOWQ4wvxaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nodejs] Newbie Question

2015-08-29 Thread boby rahmawan
Hi Manav, It's depend on your code in program.js . If output of code create
a file it'll be, if not it can't. CMIIW
On Aug 29, 2015 9:41 AM, "MANAV GARG"  wrote:

> If I type
> node program.js
> in my terminal. Where will the file be generated in the computer?
>
> I am using Ubuntu 15
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/ed4f3d31-1691-4951-ad57-7b55f18b7c8f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTMh_mvQhwTEN9pswg_XXW2WRacehQjPfUAD%3DVJKme8VaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nodejs] start nodejs express automatically

2015-08-29 Thread boby rahmawan
Hi, Is it like nodemon module?
On Aug 29, 2015 9:41 AM, "Uomo di Carbone"  wrote:

> Is there a way to add nodejs express to rc similar to adding vsftp to rc?
> sudo update-rc.d vsftpd defaults
>
> I'm running nodejs with express on port 80 using Debian on an Rpi
>
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/b4e9e344-b579-4ab9-9d5d-b67a9002c30a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTMUh1c54CRRQDUeS%3DZJrWoNFXOv2qBrLbSisYgyopJi3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-09 Thread boby rahmawan
Hi moacir, is there any socket process not completed to execute? Maybe it
can make your server not responding because main program wait the response
from socket.
On Aug 9, 2015 10:55 PM, "zladuric"  wrote:

> Well, in that case, I would say it looks like a memory leak or something.
> You say the socket should close in two minutes - are you leaving some
> closures there too? Maybe those get piled up and then afterwards they only
> accept new requests when old ones expire.
>
> Did you count how many requests get piled up before this block?
>
> Also, you seem to also be using third-party services - outgoing calls?
> Your global max of http connections is set?
>
> Zlatko
>
>
> On Sunday, August 9, 2015 at 3:21:23 AM UTC+2, Moacir Braga wrote:
>>
>> Hello Rob. I'm not using webpack nor sass.
>>
>> Zladuric, I'm logging the connections and I found one service that
>> usually is involved with the problem, however when I restart the
>> application, I create a request with the same logged data, but the problem
>> does not reproduce. Strange, right? Not be able to reproduce an error is
>> really bad.
>>
>> I analysed the function, but all outputs are handled with HTTP 200 or
>> 302, i.e., I'm always closing the connections, but even if I don't, the
>> socket should do that in two minutes.
>>
>> Sometimes I think about if this problem happens only on Windows... but
>> unfortunately I must use Windows because this application is just a
>> middleware for my main solution.
>>
>> On Friday, August 7, 2015 at 12:51:17 PM UTC-3, Moacir Braga wrote:
>>>
>>> It’s been a few weeks since I started trying to solve this problem, but
>>> I still haven’t figured out a possible solution. The issue is that my
>>> server accepts requests and responds to them normally in the beginning.
>>> However, after an unknown event happens (I’m still trying to discover which
>>> event it is), the server continues accepting requests, but it stops
>>> responding to them.
>>>
>>>
>>>
>>> I’ve already checked the Process Monitor (the server is running on
>>> Windows Server 2012 R2) and I could notice that when this problem happens,
>>> new requests generate a TCP Accept, a TCP Receive, but not a TCP Send nor a
>>> Disconnect.
>>>
>>>
>>>
>>> I tried to execute the server in debug mode, but then again, when this
>>> problem happens the debugger does not work and it hangs up as well.
>>>
>>>
>>>
>>> The server doesn’t explode and no errors occur. Thus, domains won’t help
>>> me in this case. I’ve tried to handle uncaughtException, but it also didn’t
>>> work.
>>>
>>>
>>>
>>> The server keeps running without using excessive processor or memory
>>> resources. Its behavior is still similar to the one during the first
>>> execution, except for the fact that it’s not responding as it was before.
>>>
>>>
>>>
>>> When I sent a SIGNAL via console, the server simply started working
>>> normally again without restarting or anything. It just got back to normal.
>>>
>>>
>>>
>>> I tried to execute a lot of requests using ApacheBench and NeoLoad, but
>>> I just can’t reproduce this problem. It simply happens randomly.
>>>
>>>
>>>
>>> The socket has a timeout of two minutes. However, the server keeps
>>> hanging up the requests for hours.
>>>
>>>
>>>
>>> When I sent the SIGNAL mentioned before, all requests that were hanging
>>> were executed, as if they were in a queue waiting for the last request to
>>> be finished.
>>>
>>>
>>>
>>> I don’t know what else could I do to find out what is causing this
>>> problem.
>>>
>>>
>>> I'm using Node.js + Express + body-parser + cookie-parser + Windows
>>> Server 2012 R2 x64 with GUI + Amazon EC2 micro instance.
>>>
>>>
>>> *If somebody has any idea of what is causing the server to hang up
>>> forever, please tell me.*
>>>
>>>
>>> Best Regards,
>>>
>>> *Moacir Braga*
>>>
>> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/75a9f95f-f069-4449-b8d8-4bf2a8d20a01%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe fro

Re: [nodejs] [ANN] node.js client API for SQL Relay

2015-08-07 Thread boby rahmawan
Great.. Is it can be used with mongoDB?
On Aug 8, 2015 2:21 AM, "David Muse"  wrote:

> Hello all,
>
> SQL Relay 0.62 was just released, and this release includes a node.js
> client API.
>
> See the release announcement
> and SQL
> Relay web site. 
>
> SQL Relay is a database connection management solution with features like:
>
>- connection pooling - maintaining persistent connections to databases
>to overcome connection delay
>- database proxying - accessing databases from unspported platforms
>(like oracle from a BSD or arm-linux system)
>- throttling - queuing requests to prevent your database from becoming
>overloaded
>- load balancing - transparent distribution of load over replicated or
>clustered databases
>- query routing - transparent routing of DML/DDL to masters and
>distribution of selects over slaves
>- query filtering - preventing queries that match certain patterns
>from being run at all
>- suspended transactions - provides a means for a single transaction
>to span multiple web pages
>- and more...
>
> SQL Relay runs on unix/linux systems and Windows, and supports Oracle,
> Sybase/SAP, IBM DB2, Microsoft SQL Server, Firebird, PostgreSQL, MySQL and
> SQLite databases, as well as any database with an ODBC driver.
>
> It also acts as a database abstraction layer.  When using SQL Relay, the
> same node.js code can be used to access any of these databases.
>
> Feel free to contact me with questions or comments.
>
> Take care,
>
> David Muse
> david.m...@firstworks.com
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/242a95a5-3589-4384-95ac-1ac3f0de94a8%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADfCNTPpw-6psayV2pe22DMkR1Y_hLM7ZRF4kbxjRtrH4TEJrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.