This has been fixed since. I don't know when. I have Node 9.3 and it
produces a Buffer.
On Tue, Jan 2, 2018 at 4:18 PM, Stephen James wrote:
> Using electron I am trying to write out some bytes on a TCP socket. I am
> using Buffer.from to convert to buffer before calling
On Sun, May 7, 2017 at 5:51 AM, Witold Szczerba
wrote:
> P.S. When I said creating the templates in DOCX, I meant using the
> LibreOffice. Since it is going to be used to render, you will see exactly
> how it is going to look like. As a bonus, non technical stuff can
Try using node-phantom-simple (or one of the drivers, like slimerjs). It
will look exactly like it would in a browser, even supporting SVG graphs.
For images you can even generate data: URLs so you only need to load a
single HTML file.
On Thu, May 4, 2017 at 4:47 AM, Deep SiderZ
You could build something with this:
https://www.npmjs.com/package/country-detector
On Thu, Mar 16, 2017 at 6:02 AM, Todd Lane wrote:
> Hi,
>
> Newbie here.
>
> I am wondering if there is a module that can handle redirects based on ip
> address as well as the ability to
This isn't Node.js related. There's a billion ways to do it these days,
from the simple use of jQuery and updating the DOM, to using a framework
like Angular, Ember, or something like React. You just either periodically
query the backend using setTimeout, or use WebSockets via one of the many
If you're recruiting without pay, then the usual resources are out. You're
going to have to rely on your network, friends, etc. There's nothing
special about Node for this.
On Mon, Mar 6, 2017 at 6:18 PM, le coder wrote:
> I have a massive node.js project, originally it
You'll need Iconv to convert from whatever encoding the file is in (most
likely "ISO 8859-2") to UTF-8 first.
Something like this instead of the last line above:
var Iconv = require('iconv').Iconv;
var iconv = new Iconv('latin2', 'utf-8');
stream.pipe(iconv).pipe(csvStream);
On Mon, Feb 6,
This question isn't really a Node.js question - it's about the API you're
using. You might want to ask flipkart support.
To do real-time communication between Node.js server and Browser, look into
socket.io.
On Wed, Jan 25, 2017 at 8:13 AM, Akash Biswas wrote:
> Hi Guys,
No there's no equivalent to it, mostly because Windows has no way to do it.
Maybe try perl instead.
On Fri, Jan 6, 2017 at 5:08 PM, Daniel Risacher wrote:
> Is it possible to execute another program in the manner of execve(2)?
>
> I.e. as the man page says, "execve() does
is what a webmail talks to (mostly).
Matt.
On Thu, Nov 17, 2016 at 8:18 PM, Егор Ильин <iiline...@gmail.com> wrote:
> Okay, can you give advice how to build mail server with Haraka, if I want
> to join it with web-interface? I haven't any expirience with MTA, I'm just
> react develop
Aside from the other tips, have you considered using a filesystem that
supports transparent compression? I have no idea what system you are
deploying to, but NTFS, ZFS and Btrfs support this.
On Thu, Oct 13, 2016 at 10:12 AM, Jan Flyborg wrote:
> Hi,
>
> I am wondering if
What is your limit set to? Most node apps need the limit increased due to
the process model.
I set mine to 6400 usually via "ulimit -n 6400" before starting the app.
On Sat, Jul 23, 2016 at 2:08 PM, Ryan Graham wrote:
> This was also posted on stackoverflow earlier (where
Check out node-canvas for the rendering, then you won't need any child
processes.
https://github.com/Automattic/node-canvas
On Sat, May 21, 2016 at 8:20 AM, Zlatko Đurić wrote:
> You should try it. But the bottom line is, in a thousand-reqs-per-sec
> scenario, you'll almost
Yes, make your internal nameserver also be recursive/caching and remove the
second line. How you do that depends on what software you're using for DNS.
On Thu, May 5, 2016 at 11:50 PM, Yun Feng Ma wrote:
> 在此输入代码...
>
>
>
> 在 2016年5月6日星期五 UTC+8上午9:43:50,Ben Noordhuis写道:
>
id = require('utf-8-validate').isValidUTF8;
> const buf1 = new Buffer('buffer');
>
> console.log(buf1.toString());
>
> if (isValid(buf1)){
> console.log('true')
>
> }
> else {
> console.log('false')
>
> };
>
>
> On Thursday, April 21, 2016 at 9:46:24 PM UTC-
In the above example, you just use: if (isValid(buf)) { ... }
On Thu, Apr 21, 2016 at 4:20 PM, Bryon Trott wrote:
> Hello,
> I am new to node.js I am trying to use the module UTF-8-Validate to check
> a simple test buffer.
> https://www.npmjs.com/package/utf-8-validate
>
I sometimes wonder if people even try and google their problems these
days...
Fifth entry on the first page for "mongodb full text search":
https://www.compose.io/articles/full-text-search-with-mongodb-and-node-js/
On Sun, Apr 17, 2016 at 7:10 AM, Duy Nguyen wrote:
>
This kind of CPU use is trivial, and is zero issue for web apps. You can
loop through 10k entries in a form field in microseconds.
The things you might need to farm out to a queue are more traditionally CPU
heavy computations, like large matrix calculations.
A typical example in our (ideal.com)
I'd love it so much much if Node shipped with man pages, so I could type
"man node-fs" to get the fs man page. But I'm pretty sure I'd have to
submit the pull request to make that happen :)
On Thu, Mar 24, 2016 at 11:21 PM, Harry wrote:
> Hello,
>
> Can the full html or
tform necessary to complete an online credit card
> transaction?
>
> Referral URL link is available at: 1.
> https://github.com/ltc-hotspot/--Node-for-Authorize-net
>
> On Mon, Mar 21, 2016 at 3:44 PM, Matt <hel...@gmail.com> wrote:
> > One is a wrapper which allow
n a file-serving Node app that serves files
> from the local hard-disk, making it strongly an I/O-bound app.
>
Assuming no caching. But why would you do that if you want to serve
thousands of clients?
I think that pretty much answers the rest of your question, so I didn't add
further ans
com> wrote:
> Matt:
>
> Here is a copy of the URL link that refers to the Node.js SDK for
> Authorize.net payment gateway.The URL link is available at
> https://github.com/ltc-hotspot/Node-for-Authorize-net
>
> The bottom page refers to Gateway API(s).
>
> Questio
Can you be more specific in your question? You basically asked "what's the
difference between X and X". Which of course there is none.
You probably don't even need a wrapper, to be honest. Just pick a payment
processor (e.g. Stripe or Paypal) and implement payment. It's not that hard.
On Sun,
Convince the command not to buffer. It is probably written such that if it
thinks stdout is a tty it line-buffers, but if stdout is a pipe it
block-buffers.
In perl you do this via "$|++". The app may have a command-line flag for it
if you're lucky.
On Tue, Feb 16, 2016 at 5:50 PM, Hoa Phan
Because the string could contain non-ascii data, you'd have to create a
buffer from the string to get that position. Be aware that the position
could be in the middle of a character, so you'll have to deal with that.
You can use Buffer.byteLength(thestring) == buf.write(thestring) to find
out if
://www.juliengilli.com/2013/05/26/Using-Node.js-NODE_DEBUG-for-fun-and-profit/
Matt.
On Fri, Oct 23, 2015 at 3:05 AM, Prabhu Venkat <prabhuvk...@gmail.com>
wrote:
> In firebug addon for firefox there is a tab named 'Net' which captures all
> the network calls made when we hit an URL from the browser
>
I think you've really misunderstood the PDF format. PDF is a binary format
(it can contain images with zero codepoints). There's nothing that can read
PDFs that expects them in UTF8 format.
You may have destroyed the PDFs completely by storing them as Latin-1, but
given how flexible Latin-1 is
Have you tried setting NODE_DEBUG?
http://www.juliengilli.com/2013/05/26/Using-Node.js-NODE_DEBUG-for-fun-and-profit/
On Tue, Sep 29, 2015 at 8:36 AM, Michael Mathy <
michael.ma...@quickelsoft.com> wrote:
> Hello Mark
>
> Could you post your code so that we can check ?
>
>
> Michael Mathy
>
On Sun, Aug 9, 2015 at 2:27 PM, Sebastian M Cheung
minsche...@googlemail.com wrote:
After adding express-validator, the app slows down dramatically: why is
that?
One would assume, because node-validator is slow. I'm not sure what other
answer you could expect...
What level of slow down are
Thanks for the clarification Sam.
On Sun, Jul 5, 2015 at 11:34 PM, Sam Roberts s...@strongloop.com wrote:
On Sun, Jul 5, 2015 at 7:53 PM, Matt hel...@gmail.com wrote:
On Sun, Jul 5, 2015 at 6:12 PM, Sam Roberts s...@strongloop.com wrote:
On Mon, Jun 29, 2015 at 10:37 AM, Matt hel
On Sun, Jul 5, 2015 at 6:12 PM, Sam Roberts s...@strongloop.com wrote:
On Mon, Jun 29, 2015 at 10:37 AM, Matt hel...@gmail.com wrote:
You've exhausted the threadpool. Try setting the UV_THREADPOOL_SIZE env
var
higher and see if you can spawn more.
Child processes don't go through
You've exhausted the threadpool. Try setting the UV_THREADPOOL_SIZE env var
higher and see if you can spawn more.
On Sun, Jun 28, 2015 at 1:12 PM, Ofir Attia ofirat...@gmail.com wrote:
The server is waiting for request, for each request I am take a video
input ( it can be RTSP input, video
That's a naive way of looking at things.
JSON.parse is slower in Node not due to the parser itself, but due to
constructing objects. So yes you could parse in C++, but your object access
would be hundreds of times slower.
On Tue, May 26, 2015 at 7:11 PM, Ω Alisson thelinuxl...@gmail.com wrote:
Looks like you're trying to run before you can walk, to be honest.
Play a bit with async. Play some with Promises (most people recommend
Bluebird for that). Learn what works and what fits with your mindset.
Nobody can give you an all encompassing perfect answer here.
On Sun, May 17, 2015 at
that helps,
Matt.
--
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
Andris' smtp-server is great though requires a little coding.
With Haraka running the test_queue plugin, it just writes every mail to
/tmp/mail.eml which might be exactly all you need.
On Fri, May 1, 2015 at 9:06 AM, Adrian Lynch
adrian.ly...@concreteplatform.com wrote:
This looks like the
The guy who runs the Toronto Node.js meetups runs a shop that can do this
kind of thing: claremontinteractive.com n...@claremontinteractive.com -
his name is Neal Pollock.
On Tue, Apr 28, 2015 at 6:41 PM, Far M farid.mobas...@gmail.com wrote:
Hello everyone,
Does anyone know of a reputable
Looks like someone has already helped you there, but to record it here as
well:
npm install bcrypt --msvs_version=2012 or 2013 and then enter
On Fri, Apr 3, 2015 at 8:41 AM, Aryak Sengupta aryaksengu...@gmail.com
wrote:
I have already filed it as an issue under NPM.
You need a lot of work on your documentation, and your examples need the
code with them, not just the output.
Looks useful for github projects, but it really has zero to do with Node,
there's no server side code here whatsoever.
On Mon, Mar 30, 2015 at 2:43 PM, Akshay sharma
Looks like an EMFILE error. You need to set ulimit -n higher.
On Tue, Mar 17, 2015 at 4:10 AM, Spab Rice spabr...@gmail.com wrote:
Hello,
I'm new to node.js.
My script creates/open too many TCP Sockets which I don't have any plan
how to prevent this?
Please see the StackOverflow link to
How I do this is have a runner.js which uses cluster. When it receives
SIGUSR2 it restarts each child process one-by-one, ensuring that the
service is always running even during a restart.
I've posted it here before:
https://gist.github.com/baudehlo/c4d00a78720b85171237
On Fri, Mar 6, 2015 at
On Tue, Mar 3, 2015 at 1:32 AM, Axel Kittenberger axk...@gmail.com wrote:
However, comparing naive approaches with different utilities like these
does have its warrant. Lets please not ignore that. Technically it may be
apples vs. oranges but from a user perspective it is not. It is comparing
to get a feel for the
entire app.
Matt.
On Sun, Mar 1, 2015 at 4:27 AM, Alexey Petrushin alexey.petrus...@gmail.com
wrote:
Also, if you are interested in kinda real-life Node.js benchmarks,
here's one more for Ruby on Rails vs Node.js
http://jslang.info/blog/2014/ruby-on-rails-vs-nodejs
3782
I use request for this (npm install request).
https://github.com/request/request#multipartform-data-multipart-form-uploads
I generally use the advanced cases technique.
On Mon, Feb 23, 2015 at 12:13 AM, jeevan kk jeeva...@gmail.com wrote:
I am trying to do a multipart post request from my
So Node transferred 400MB of data in the same time that PHP transferred
58MB of data? Sounds like a big win for Node.
On Fri, Feb 20, 2015 at 2:29 PM, Anirban Bhattacharya
anirbanbhattacharya1...@gmail.com wrote:
So,
I made changes to code of node.
1. I removed that extra query for use
The best place to get started is Node School: http://nodeschool.io/
On Fri, Feb 20, 2015 at 2:30 AM, alota takada paulme...@gmail.com wrote:
At http://nodejs.org/documentation/ it says Here on nodejs.org you will
find three types of documentation, reference documentation, getting started
I don't use any of the node process managers because they don't solve the
problem of starting your process at server boot. I use init scripts, or
upstart, or runit or systemd like you're supposed to for a service. Anyone
using forever or pm2 likely doesn't understand sysops.
Does this strongloop
From the perspective of people here, I think we'd all rather not split the
forum. The technology is basically the same and there's really no reason
for a split at this time. Maybe if they diverge significantly, but let's
cross that bridge if it arrives.
On Mon, Feb 9, 2015 at 4:00 PM, john.tiger
This was asked and answered last week.
The answer was basically: 0.8 will get security fixes only, but will be
considered EOL when 0.12 is released.
On Wed, Jan 28, 2015 at 1:56 PM, Nick Santos nicholas.j.san...@gmail.com
wrote:
Hi,
Is there a formal end-of-life/support policy on old
Yes it's called existsSync(). You don't need some fancy function to call
the event loop if you just want to find a file before the rest of your code
starts.
On Wed, Jan 21, 2015 at 6:06 PM, Fredrik O evoo...@gmail.com wrote:
I need to call a function synchronously which trigger the event loop
(mostly answered on the Haraka mailing list already, but putting more here
so others can benefit)
There's two things in Haraka you have to do to get the email parsed:
1) set `connection.transaction.parse_body = true` in `hook_data` (or one of
the earlier hooks, but not before 'MAIL FROM' because
If you do that you probably lose some of the performance enhancements V8
does by converting things internally to classes.
On Sat, Jan 10, 2015 at 8:39 PM, Alexander Praetorius d...@serapath.de
wrote:
Many people use *this*, *prototype* and *new*, like:
*module.exports = function Car (name,
On Tuesday, December 16, 2014 6:42:14 PM UTC-8, Matt Ginzton wrote:
I could not reproduce this issue. How did you get the source for node
(GitHub clone and if so which branch/tag did you checkout, source tarball,
other)? Also, which OS did you use to run node?
I cloned the github repo
that way). It doesn't seem to make a
difference.
thanks
Matt
--
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
experience running the debug node binary
and is it known to work better than this? Does the condition that's failing
here mean anything to you? Can you repro this, or did I perhaps do
something wrong when building node?
thanks,
Matt
[1]: One thing I did learn along the way while playing with building
Ravi,
I highly recommend you subscribe to nodeweekly - it's a weekly roundup of
node news where you'll at least get to hear about this stuff.
http://nodeweekly.com/
On Tue, Dec 9, 2014 at 1:57 PM, // ravi ravi-li...@g8o.net wrote:
On Dec 9, 2014, at 1:36 PM, Stephen Belanger
You could send SIGSTOP to the process. This will not work on Windows.
But what are your actual requirements here to stop the process?
On Mon, Dec 1, 2014 at 10:16 AM, Steffen Schorling
steffen.schorl...@googlemail.com wrote:
Hallo
is it possible to set a child_process.fork() on pause and
I'm not 100% sure about knex, but by default the node Pg library caches
connections, so it's not an issue. Might be worth checking the docs or the
source though to make sure it's using that code path.
On Mon, Nov 24, 2014 at 11:35 AM, Alex Spencer alex85...@gmail.com wrote:
Hey.
Need some
a google map with any usage of it. That might work
for you. We maintain our own mapping of postcode to lat/long for this
purpose which has worked pretty well so far. I've yet to find a great cloud
service for the queries we needed to be able to do, and postcodes/zips
don't change that often.
Matt
I ended up controlling OpenOffice via the node-java module to do this. It
worked, used gobs and gobs of memory, and wasn't particularly fast, but hey
it worked.
Unfortunately I no longer have the code available to me.
Matt.
On Tue, Nov 18, 2014 at 12:44 AM, Arvind T dnivr...@gmail.com wrote
The v8 has its own js event loop comment is only relevant to the browser.
It's not used in Node. The only event loop in Node is the libuv one.
On Mon, Nov 17, 2014 at 6:31 AM, Vaibhav Jain vaibhav.jain...@gmail.com
wrote:
Hi,
I have just started learning node.js and I am already confused
You're looking for something like Bootstrap. Though this has nothing to do
with Node.js.
On Thu, Nov 13, 2014 at 7:45 AM, Bala Kumaran bala.agni...@gmail.com
wrote:
I want create web design so i chosse express framework and jade
template.. but not there in any theme. how can i use good theme
On Thu, Nov 13, 2014 at 2:37 PM, Alex Spencer alex85...@gmail.com wrote:
But if a user hits Refresh (F5) twice instantly for example, I only want
the code to run once.
There's not a system on the planet that will make that work the way you
want it to.
Once they hit refresh they have broken
We get asked this sort of wide open question a lot on the #node.js IRC
channel. Honestly it very much depends on your experience and capabilities.
There's a massive range of services to consider, from simple
no-devops-required systems like Heroku ranging up to installing your own
hardware in
this kind of thing,
it just seems like you may be over-thinking it. It's far more important to
get the basics of security right in your application, and most people don't
spend nearly enough time on that.
Matt.
On Sat, Nov 1, 2014 at 2:06 PM, Tim Kuijsten i...@netsend.nl wrote:
Can anyone confirm
Hi,
I'm running v0.11.13 on my dev machine, but I was wondering if it will have
a security loophole regarding the POODLE vulnerability that 0.10.33
resolved?
Would it be recommended to roll back to a stable version? In fact, is there
any reason to use the 0.11.* build?
Many thanks
--
Job
Could it be related to the fact that uv will have to use poll() on AIX
instead of epoll/kqueue?
On Tue, Oct 28, 2014 at 5:18 PM, Michael Dawson michael_daw...@ca.ibm.com
wrote:
I'm not aware of known network issues that would explain what you are
seeing. If we can get sample code to recreate
dangerous, because not only can it cause preemption for those same
reasons, but you can't document any specific entry points or surface area
that can cause that preemption: that surface area is GC, which can happen
at any time.
thanks,
Matt
--
Job board: http://jobs.nodejs.org/
New group rules
On Fri, Oct 10, 2014 at 2:54 AM, Bruno Jouhier bjouh...@gmail.com wrote:
var ez = require('ez-streams');
var cp = require('child_process');
var reader = ez.devices.child_process.reader(cp.spawn('ls'), {
encoding: utf8
}).transform(ez.transforms.lines.parser())
// just check that it works
of it.
Matt
--
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
The buffer size of a pipe between your process and ls should fill up
eventually and ls's calls to write to stdout should eventually block not
allowing ls to continue until you've consumed the buffer.
At least that's my theory - maybe you aren't applying backpressure right?
On Wed, Oct 8, 2014 at
You can't detect it on the server directly. You'll have to detect it on the
client and then send it down to the server somehow.
On Thu, Oct 9, 2014 at 5:10 AM, manish sapkal sapkal.man...@gmail.com
wrote:
How Do I detect document.webkitVisibilityState of client on my app.js
on node (server).
On Thu, Oct 9, 2014 at 3:27 PM, Bruno Jouhier bjouh...@gmail.com wrote:
You may also run into perf problem with the file system itself. How well
does it cope with 1M+ entries per directory?
Answering that depends on the filesystem used. Some struggle. Some are OK.
--
Job board:
You could stream from a child process written in another language. For
example you could do 'opendir(DIR,$ARGV[1]); print $_\n while
$_=readdir(DIR)' as a perl script (with the directory as the first command
line argument).
On Tue, Oct 7, 2014 at 10:48 PM, Forrest Norvell othiy...@gmail.com
request/lib/copy.js, o[i] = obj[i], should not be triggering a fiber
yield, and if it did (say in fancy situations with proxies or getters are
involved), that should not manifest as a call to _tickCallback.
thanks,
Matt
[1]: https://github.com/laverdet/node-fibers
--
Job board: http
this is built on Meteor
https://reactioncommerce.com/
Not pure node but looks promising
On Thursday, May 10, 2012 8:55:51 PM UTC+2, guzelgoz wrote:
Hi all,
I've been searching and searching but couldn't find any project/open
source node e-commerce platform. As I am running some e-commerce
To run on port 80 you need to run as root, so it's best to drop privileges
after setting up the listening port. You do this with process.setgid and
process.setuid. See how Haraka does it here:
https://github.com/baudehlo/Haraka/blob/master/server.js#L267
Though I highly recommend running a front
it out. Another option might be to use Smalltalk-style class based
logic, so that you don't even have if-statements.
Matt.
--
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
Have you looked into using Nan? https://github.com/rvagg/nan
On Tue, Sep 23, 2014 at 3:48 AM, blazs blaz.sov...@gmail.com wrote:
Hi,
I am looking for Node.js C++ Addon examples, written for v0.12 version of
the Node.js --- the one that uses V8 version 3.22. There are major changes
between
approach, that makes things like
Streamline and Async.js possible. It's not perfect but all programming is
trade-offs.
Matt.
[1] Whoever was arguing that Ruby and/or Rails has equal performance
obviously has never ported a large project from Rails - I have and the
performance difference is staggering
that, not all ruby functions/methods throw exceptions on errors
(thankfully - in fact I'd venture to say that most don't), so you have to
handle them locally/manually anyway, same as you do in Node.
Matt.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file
You're just fundamentally misunderstanding how async code works (a common
problem with people new to Node). You're coding as if things are
synchronous.
You need to do some of the basic ground work first to understand this. Try
http://nodebeginner.org/
On Tue, Sep 23, 2014 at 2:16 PM, kurofune
On Tue, Sep 23, 2014 at 5:04 PM, Bruno Jouhier bjouh...@gmail.com wrote:
So I would not take this blog article as an authoritative source on
exceptions.
I don't. But it's a good read on some of the pitfalls exceptions can lead
you towards.
--
Job board: http://jobs.nodejs.org/
New group
On Sun, Sep 21, 2014 at 10:12 PM, Tom Boutell t...@punkave.com wrote:
Your if needs an else clause to ensure the callback is eventually
invoked.
Yes I know - the original didn't either. I'm assuming because it wasn't the
entire actual code, more of an example.
--
Job board:
that
if statement in there it would be a lot simpler - async code doesn't deal
well with if statements I've found (there's no way to short-circuit).
Matt.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules
On Tue, Sep 16, 2014 at 12:00 AM, Phani Kumar phan...@gmail.com wrote:
Is there any performance impact if I use node binary the way I built?
Doubtful. Possibly the opposite in fact. It's likely better optimised for
your system.
--
Job board: http://jobs.nodejs.org/
New group rules:
There can be multiple reasons. The official binary could be stripped.
There could be a different compiler used. All sorts of reasons.
On Mon, Sep 15, 2014 at 3:17 PM, Phani Kumar phan...@gmail.com wrote:
any inputs please?
On Fri, Sep 5, 2014 at 6:35 PM, Phani Kumar phan...@gmail.com wrote:
isBuffer is now Buffer.isBuffer().
On Sat, Sep 13, 2014 at 5:06 PM, Ep Ga epg...@gmail.com wrote:
https://github.com/joyent/node/blob/master/lib/assert.js
http://nodejs.org/api/util.html
Why did you take out methods? like isBuffer, and isObject? that make no
sense if the core module rely
Two issues: 1) Why would you expect it to be faster? It's pure JS using
asm.js (which Node doesn't support), vs bcrypt is compiled C code. And 2)
Being slow is a feature of bcrypt - it makes brute force cracking harder.
On Wed, Sep 10, 2014 at 10:54 AM, Adrian Lynch
On Sun, Aug 31, 2014 at 2:28 PM, Sanjeev Koranga sanjeev.kora...@gmail.com
wrote:
So if an app is doing lot of crypto, would you advice using child
processes/fibers/webworkers for running crypto functionality?
It shouldn't really be necessary. What APIs are you going to use?
--
Job board:
The big difference is that the entire Node.js ecosystem is built around
async code. With Tornado if you use a library like an XML parser, which
loads in external content via entities or xinclude, those will be loaded
synchronously and block your event loop. Similarly for all kinds of other
?
Matt.
--
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
I don't know where you heard that, but it's not true of V8 (or I doubt of
any modern JS engine). There are plenty of benchmarks out there that can
prove this.
You can however separate out for basic code hygiene - you get a lot of
indentation with nested callbacks.
Matt.
On Sun, Aug 10, 2014
You'll need to write a parser. There are tools to help, e.g.
http://pegjs.majda.cz/documentation
On Tue, Jul 15, 2014 at 1:25 PM, João Rodrigues joaorod...@gmail.com
wrote:
I want to create a parser, possibly recursive to use in my GIS application
that work on top of OpenLayers 2.
I have a
Just scroll down on that same page and it becomes obvious what happened.
On Thu, Jul 10, 2014 at 3:00 AM, 庆鸿 盛 who...@gmail.com wrote:
https://lh4.googleusercontent.com/-cPNWb-3ZBsk/U744dfj0l-I/ABc/yyy8c5u59j4/s1600/20140710140322.jpg
--
Job board: http://jobs.nodejs.org/
New
for fs.stat() to get the size of a file. But I don't think
Joyent/Node core needs to provide tutorials. There are plenty of those, and
books too.
Matt.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https
On Mon, Jun 23, 2014 at 2:25 PM, mscdex msc...@gmail.com wrote:
The module methods and events aren't alphabetical, just the main module
index. I'm not sure there is any specific order to the module
methods/events currently except in a few cases where similar methods are
grouped together (e.g.
On Mon, Jun 23, 2014 at 5:31 PM, Prajwal Manjunath prajwalk...@gmail.com
wrote:
True. Ghost looks nice, but it's development is too slow and monolithic.
They only recently managed to add support for tag links, something that you
wouldn't expect a blogging engine to launch without (and
For zero downtime I use a hand-crafted cluster based restarter. It's very
much like recluster (on npm) though, so I recommend using that instead.
Basic process is install the new code, give the process SIGUSR2, and it
reaps the children one by one and restarts them (using cluster's
disconnect()
straight from Git), which
creates a LAST_GIT_HASH environment variable, which we provide via an API
in the app.
If we want to roll back we have to git revert, which may not be the best
solution, but it works.
Matt.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com
1 - 100 of 500 matches
Mail list logo