Re: [nodejs] Markdown Syntax Highlighter

2016-02-26 Thread Louis Santillan
Highlight.js? [0] [0] https://github.com/isagalaev/highlight.js/blob/master/src/languages/markdown.js On Friday, February 26, 2016, 'Kevin "Ingwie Phoenix" Ingwersen' via nodejs wrote: > Hey everyone! > > I am looking for a syntax highlighter that - well -

Re: [nodejs] Re: Why siege test showing PHP is performing better than Node

2015-03-03 Thread Louis Santillan
In motorcycling, we call that the butt dyno [0]. [0] http://www.urbandictionary.com/define.php?term=butt-dyno On Mon, Mar 2, 2015 at 8:22 AM, Matt hel...@gmail.com wrote: That Node vs Rails benchmark is also broken for almost exactly the same reasons your benchmark is broken: It doesn't use

Re: [nodejs] NodeJS 12 ARMv5 Problem

2015-02-11 Thread Louis Santillan
You'll find that a response from Ben on a v8 matter is as good as it gets. LMGTFY...Here's where it was announced that older ARM ISAs were desupported [0]. [0] https://groups.google.com/forum/#!topic/v8-users/aSOFbaAQvMk On Wed, Feb 11, 2015 at 11:20 AM, Michael Boldischar

Re: [nodejs] Preprocess Javascript on-the-fly

2014-10-30 Thread Louis Santillan
Crockford offered up JSDev [0]. And as mentioned, using GNU cpp can have drawbacks. Alternatively, you may want to investigate using ucpp [1] which will do C99 style preprocessing without doing parsing or compilation. [0] https://github.com/douglascrockford/JSDev [1]

Re: [nodejs] v8::Context::GetCurrent()-Global()

2014-10-29 Thread Louis Santillan
It looks like you're trying to call the Global object, which makes no sense JS since the Global object isn't accessible in that way. It also wouldn't make sense from the v8 side unless you had set a getter on it. On Tue, Oct 28, 2014 at 12:22 PM, jas jason.ger...@gmail.com wrote: I have run

Re: [nodejs] V8::Number to unsigned int?

2014-10-16 Thread Louis Santillan
The code you want is: int n = ( int )( args[ idx ]-Int32Value() ); On Thu, Oct 16, 2014 at 8:46 PM, Jeremy Darling jeremy.darl...@gmail.com wrote: I'm trying to wrap up some hardware libraries for use with Node.js and have run into a casting issue. I did some searching around, but Google and

Re: [nodejs] Re: ANN: ssh2 module

2014-10-11 Thread Louis Santillan
It is very likely that your router has its user's shell pointed at /bin/false or /sbin/nologin. On Saturday, October 11, 2014, Aria Stewart aredri...@nbtsc.org wrote: On 11 Oct 2014, at 14:23, cesdaile cesda...@gmail.com javascript:; wrote: The target server is a network firewall from

Re: [nodejs] Re: ANN: ssh2 module

2014-10-10 Thread Louis Santillan
Also, if you're using a board with a new/exotic BSP, exec() (in libc) may not be implemented fully or may be simply stubbed for cross compilation. On Fri, Oct 10, 2014 at 2:03 PM, Jeremy Darling jeremy.darl...@gmail.com wrote: You may have to specify your shell on your embedded device. What

Re: [nodejs] Repercussions of GN replacing GYP upstream?

2014-07-09 Thread Louis Santillan
On Wed, Jul 9, 2014 at 9:23 AM, Ingwie Phoenix ingwie2...@googlemail.com wrote: I actually always wondered: We have a scripting engine. Why do we rely on Python for GYP, if we have NodeJS? Is there no gyp replacement in node itself? Its something that I just never understood... Since the only

Re: [nodejs] Node.JS in the DoD

2014-02-12 Thread Louis Santillan
Unless the VA is using DISA IA procedures for their software approval, such info is good referential info but probably won't help the OP or convince his IAM. On Wednesday, February 12, 2014, Chris Casey borochr...@gmail.com wrote: Node.js has got official approval for use within the U.S.

Re: [nodejs] Terminal does not recognize node in Mac

2014-01-31 Thread Louis Santillan
~/usr/* is not unusual in *nix environments where / is intended to remain fixed (like on the iPhone), or where /home is large (like a RAID/NFS mount), or the user wishes to install a user specific package (where /usr is intended for system-wide packages and /opt is intended for system specific

Re: [nodejs] Ben Noordhuis's Departure

2013-12-05 Thread Louis Santillan
If joyent really wanted to make this about about gendered pronouns or some other social issue, they always had one really simple solution: declare their, or node.js', or the community's stance in a DIVERSITY or similarly named file (like README or LICENSE) within the codebase or elsewhere. Think

Re: [nodejs] PowerLinux (PowerPC aka PPC) early (unofficial) version of Node.js

2013-10-12 Thread Louis Santillan
This seems to be for much newer PPC boxes. On Fri, Oct 11, 2013 at 5:00 PM, Carlos Arija carari...@gmail.com wrote: I gave them a try in an old G4 iBook running Debian, and all I got was an Illegal instruction message Same result compiling the source files. ¿Any idea? El martes, 3 de

Re: [nodejs] You're going to have to rewrite it anyway

2013-07-10 Thread Louis Santillan
There was the v8 abstraction layer, k7 [1]. [1] https://github.com/sebastien/k7/ -L -- -- 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 Groups

Re: [nodejs] You're going to have to rewrite it anyway

2013-07-09 Thread Louis Santillan
I said it years ago, v8 needs something like SpiderMonkey's cookbook https://developer.mozilla.org/en-US/docs/SpiderMonkey/JSAPI_Cookbook.But you can bug Stephen Beal about this, because Chromium the v8 teams' priority is to support chrome, not embedders. Stephen has had a few run ins with v8

Re: [nodejs] List of Environments and Hardware Hack Projects

2013-04-24 Thread Louis Santillan
If you google a bit, you'll find references to node.js on PandaBoard, BeagleBoard, BeagleBone (ARM platforms). -L On Tue, Apr 23, 2013 at 4:30 PM, Joe McCann joseph.is...@gmail.com wrote: Hey Folks, I'm compiling a list of the various places node.js currently can run/operate. Please add

Re: [nodejs] Port to IA64

2013-04-21 Thread Louis Santillan
You all should read through the MIPS arch code in the V8 code to gauge your questions. AFAIK, the MIPS port was done over a couple of years and was taken on by one or two part developers and a handful of contributors. Their approach and the one recommended by the V8 devs was to rewrite the ARM

Re: [nodejs] node + raspi + Internet of Things (IoT)

2013-01-11 Thread Louis Santillan
You might find ElectricImp interesting (http://electricimp.com/). Cheaper (potentially), smaller, Internet connected by default. -L On Fri, Jan 11, 2013 at 1:47 AM, Paul Tanner p...@virtual-techno.comwrote: Hi, If you have no interest in IoT then this will not be relevant, sorry. Now

Re: [nodejs] Xcode and Node.js

2012-12-19 Thread Louis Santillan
This link may help. Specific to gcc but it gives you the idea... http://hamelot.co.uk/programming/add-custom-compiler-to-xcode/ -L On Wed, Dec 19, 2012 at 10:23 AM, Rodrigo Fonseca fonsecaa...@gmail.comwrote: This didn´t get inside of my mind... How Node and Xcode work together??? I just

Re: [nodejs] [ANN]: ansi.js - Advanced ANSI formatting tool for Node.js

2012-06-28 Thread Louis Santillan
Lunduke.com has some of the original bbs games being served. -L On Thursday, June 28, 2012, mscdex wrote: On Jun 28, 4:54 pm, Glenn Block glenn.bl...@gmail.com javascript:; wrote: LOL now we just need bbs.js and we're all set! Hey, I started working on that at one point just for fun,

Re: [nodejs] exit interval

2012-06-17 Thread Louis Santillan
You can also call clearInterval from within the function you pass to setInterval. -L On Sunday, June 17, 2012, Christian Hammer wrote: Hi, try something like this: var intervalId = setInterval(function() { test_call(); }, 1); if(certain_condition) { clearInterval(intervalId);

Re: [nodejs] Porting fs to the browser via browserify

2012-05-22 Thread Louis Santillan
I suggest taking a look at NestedVM (http://nestedvm.ibex.org/) which does something similar for java byte code within a JVM -L -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you

Re: [nodejs] request an english name for a node development group

2012-05-01 Thread Louis Santillan
Vertices Vertex Edges DAGs Cycles TravelingSalesman -- 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 Groups nodejs group. To post to this group, send

Re: [nodejs] [ANN]: ansi.js - Advanced ANSI formatting tool for Node.js

2012-03-22 Thread Louis Santillan
Ever hear of TurboVision or Curses? -L On Friday, January 27, 2012, Tim Caswell t...@creationix.com wrote: Ok, now you've tempted me to make a gui toolkit for the terminal. Watch out, I might write a non-sdl usb gamepad interface too. On Thu, Jan 26, 2012 at 12:55 PM, Nathan Rajlich

Re: [nodejs] parseInt bug

2012-02-21 Thread Louis Santillan
Thomas Fuchs recommends using double tilda (~~) for string conversion. Safer and just as fast ( http://mir.aculo.us/2010/05/12/adventures-in-javascript-number-parsing/). -L On Tuesday, February 21, 2012, Murvin Lai wrote: proper use of parseInt is do that. parseInt(number, 10) for 10-base.

Re: [nodejs] Node as a CGI or FastCGI module

2012-02-17 Thread Louis Santillan
Write to stdout (not stdin). SilkJS, v8cgi, may be more appropriate for your needs if you're in an F/CGI environment. The basics of CGI are: * Web server calls an executable * Print headers (including required content type) * Print two (or more) new lines (\n) * Print content (should match

Re: [nodejs] Node CPU use analysis

2012-02-14 Thread Louis Santillan
Wow. Someone who has heard of Gatling. -L On Tuesday, February 14, 2012, billywhizz apjohn...@gmail.com wrote: heh. proves your point. for now. i'm not dissing nginx btw - i love nginx. i also like lighttpd and gatling a lot too, but there are many scenarios where you may not want to serve