[nodejs] Re: Decrypt rememberMe cookie generated in Java

2013-01-27 Thread Tauren Mills
I forgot to report back previously, but I was able to get this working. I posted details in my blog: http://tauren.com/2013/01/decrypt-java-shiro-rememberme-cookie-in-node-js-express-app/ Maybe this will prove helpful to someone in the future. I'm certainly open to any improvements or

[nodejs] converting a string to binary

2013-01-27 Thread josh
I need to emit LWES event, and reading about an event structure here http://www.lwes.org/docs/doxygen/html/structlwes__event.html it looks like i need 1 byte string, 2 bytes number a struct and a hash of attributes. I know about dgram but not sure how to send the correct info in the socket.

[nodejs] Re: How to handle big incoming data buffers?

2013-01-27 Thread Floby
Getting several data events is the normal pattern in Node.js streams. I don't really understand what you are trying to achieve. On Saturday, 26 January 2013 11:32:49 UTC+1, Bodo Kaiser wrote: Hello, I am working on a websocket implementation mainly for learn use and am currently

Re: [nodejs] Running tests directly and as part of a suite

2013-01-27 Thread Daniel Rinehart
I would suggest modifying your runner.js so that it can take optional command line options to just run a single test or directory. That way you avoid any duplication of setup code or logic in individual tests. You just execute node test/unit/runner.js test/unit/test_404.js to run an individual

[nodejs] Re: Bangalore JS Meetup tomorrow at Microsoft offices in India

2013-01-27 Thread Karan Sheth
Argh, I missed it. On Friday, January 25, 2013 8:24:06 PM UTC+5:30, Marak Squires wrote: There is a JavaScript meetup tomorrow at the Microsoft offices in Bangalore, India. If anyone is in the area, I'd recommend attending. http://www.bangalorejs.org/fourth.html -- -- Job Board:

[nodejs] Re: Healthcare needs the help of the Node.js Community

2013-01-27 Thread Bradley Meck
Are there any conventions when sharing data between 2 mumps databases? Format or otherwise? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google

Re: [nodejs] Re: Healthcare needs the help of the Node.js Community

2013-01-27 Thread Eric Muyser
Write a MUMPS parser in JS. Run your code against it until it works. Start converting MUMPS modules into JS/Node.js until you can refactor and improve. Drop and replace existing systems. Open source them :p On Sun, Jan 27, 2013 at 10:49 PM, Bradley Meck bradley.m...@gmail.comwrote: Are there

[nodejs] Re: Running tests directly and as part of a suite

2013-01-27 Thread Benjamin Lupton
We use Joe - https://github.com/bevry/joe - for our tests. So executing a file individually is how you execute your tests. With combined tests just being a file that requires the other tests. It worked quite well. When you combine a file, their tests are just added to the global runner which is

Re: [nodejs] Re: Healthcare needs the help of the Node.js Community

2013-01-27 Thread Bradley Meck
Any errors in the interpreter/compiler could have impact on peoples well being, I would advise against doing this on old code that has been functional for long periods of time and may rely on edge cases. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Re: Bangalore JS Meetup tomorrow at Microsoft offices in India

2013-01-27 Thread Benjamin Lupton
Videos are up here :) http://hasgeek.tv/bangalorejs/4 On Saturday, 26 January 2013 06:27:58 UTC+11, Bradley Meck wrote: Good to see you around. Keep us up to date with any slides / videos :) -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] Healthcare needs the help of the Node.js Community

2013-01-27 Thread Luis Ibanez
I just want to second Rob's message and support his effort in this initiative. I'm a staff member of OSEHRA (the Open Source EHR Agent), http://osehra.org/ , and have been observing with concern the demographics of the M community. It is currently composed by developers who have decades of

Re: [nodejs] converting a string to binary

2013-01-27 Thread Adam Malcontenti-Wilson
Looks like binary data, you might have some luck parsing it manually with ref-struct. a one byte string doesn't make much sense to me though. On 27 Jan 2013 20:59, josh macmillan.jos...@gmail.com wrote: I need to emit LWES event, and reading about an event structure here

[nodejs] Re: Running tests directly and as part of a suite

2013-01-27 Thread josh
Daniel, your suggestion will make my test files shorter and DRY, but on the other hand running my tests might be less intuitive than before - node unit/test/test_404.js vs node unit/test/runner.js unit/test/test_404.js. I want to make it easy as possible to run the tests, so at the moment I

[nodejs] Multi-line strings bug, but not in Chrome

2013-01-27 Thread Aseem Kishore
For as long as I can remember (back to Node 0.4), Node's behavior with multi-line strings has been a little incorrect w.r.t. the ES5 standard: 'hello\ world' Should evaluate to 'helloworld', but evaluates in Node 0.6, 0.8, and even the latest 0.9, to 'helloworld'. I'd always

[nodejs] Re: Multi-line strings bug, but not in Chrome

2013-01-27 Thread mscdex
On Jan 27, 9:11 pm, Aseem Kishore aseem.kish...@gmail.com wrote: 'hello\         world' Should evaluate to 'hello        world', but evaluates in Node 0.6, 0.8, and even the latest 0.9, to 'helloworld'. It does. However, not in the REPL. -- -- Job Board: http://jobs.nodejs.org/ Posting

[nodejs] Re: Running tests directly and as part of a suite

2013-01-27 Thread Jamison Dance
Just put the call to runner in the npm test command, so people have an example to look at how to run the tests. On Sunday, January 27, 2013 5:25:15 PM UTC-7, josh wrote: node unit/test/test_404.js vs node unit/test/runner.js unit/test/test_404.js. -- -- Job Board: http://jobs.nodejs.org/

[nodejs] Re: How to handle big incoming data buffers?

2013-01-27 Thread darcy
I wrote a module to resolve similar problems, but in recentely stream2, maybe you can use the new api to read into a buffer larger than 64KB. https://github.com/freedaxin/head_body_buffers On Saturday, January 26, 2013 6:32:49 PM UTC+8, Bodo Kaiser wrote: Hello, I am working on a websocket

Re: [nodejs] Re: How to detect if file is text or binary using Nodejs?

2013-01-27 Thread Vladimir Starkov
It’s not working on windows On Tuesday, 22 January 2013 21:51:19 UTC+5, Nathan Rajlich wrote: Perhaps try node-mmmagic: https://github.com/mscdex/mmmagic On Tue, Jan 22, 2013 at 6:14 AM, greelgorke greel...@gmail.comjavascript: wrote: may be this can help you too

[nodejs] Re: How to detect if file is text or binary using Nodejs?

2013-01-27 Thread mscdex
On Jan 28, 1:54 am, Vladimir Starkov matmuchra...@gmail.com wrote: It’s not working on windows Can you elaborate? What errors (if any) are you getting? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You

[nodejs] Re: Bangalore JS Meetup tomorrow at Microsoft offices in India

2013-01-27 Thread Bradley Meck
Dependencies on a resource is pretty fancy pantsy. I like it. Reflected web admin trigger admin... http://memegenerator.net/instance/33969625 -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this

[nodejs] Re: How to detect if file is text or binary using Nodejs?

2013-01-27 Thread mscdex
On Jan 28, 1:57 am, mscdex msc...@gmail.com wrote: On Jan 28, 1:54 am, Vladimir Starkov matmuchra...@gmail.com wrote: It’s not working on windows Can you elaborate? What errors (if any) are you getting? Also, give the master branch a try: `npm install