I'm not aware of any others that have core. I asked all the major players a
while back.
-Original Message-
From: "P. Douglas Reeder"
Sent: 12/31/2014 4:34 PM
To: "nodejs@googlegroups.com"
Subject: [nodejs] Re: js-git
On Monday, December 29, 2014 11:52
arn and
> program it for real.
> It would probably need a lot of guidance, ...kind of step by step
> instructions and how those steps relate to each other (the big picture).
> ...it's only afterwards, that i will be able to see if it would be
> possible for me to program that
ight continue the project in the future?
> Would be quite awesome to host a jsgit repo on a server and check it out
> from within the browser, change it and push back.
> If there was a nice step by step tutorial, i would for sure try to use it
> to build something and give feedback on
On Monday, December 29, 2014 9:02:19 AM UTC-6, serapath wrote:
>
> i'm following tim and the js-git project already for a long time...
> https://github.com/creationix/js-git
> in feature goals here:
> https://www.bountysource.com/teams/js-git/fundraiser
> it says:
>
>- Clone remote repositor
nd process other requests.
Though I could see how saying "this yield blocks on the non-blocking
function" would confuse someone.
On Sat, Apr 19, 2014 at 7:50 PM, // ravi wrote:
> On Apr 19, 2014, at 1:02 PM, Tim Caswell wrote:
>
> I would like to bring some experience and hist
;s the
worst of both worlds.
In summary, we're still learning. Welcome and have fun!
On Sat, Apr 19, 2014 at 12:02 PM, Tim Caswell wrote:
> I would like to bring some experience and history to this conversation.
> First I've been writing node libraries and programs since 200
promises since it's
gotten into the language itself. I expect to see source transforms used
more and more as build tools mature and all browsers have sourcemaps.
Generators are getting more widespread. Stable Firefox has them today
without a flag. node 0.11.x has it today with a flag, meaning
I think there
may be a way to configure it to not need as much boilerplate, but I'm not
sure.
For my personal needs, browserify was not an option and what I developed
for tedit has worked very nicely for me.
On Fri, Mar 7, 2014 at 12:05 PM, Tim Caswell wrote:
> Yes, if you just want t
unt or
anything like that because I need to run in environments where there is no
node or command-line. The build tool that compiles a tree of node-style
modules and emits a tree of amd wrapped modules is
https://github.com/creationix/my-filters/blob/master/amd-tree.js
--Tim Caswell
On Fri, Mar 7
On Tue, Mar 4, 2014 at 10:51 AM, Rick Waldron wrote:
> Strange how Node is categorized along with programming languages.
>
https://medium.com/cool-code-pal/cf72b588b1b
> On Tue, Mar 4, 2014 at 3:55 AM, Floby wrote:
>
>> Nodles
>>
>> On Thursday, 27 February 2014 19:53:45 UTC+1, CoolAJ86 wrote:
I'm not sure it's what you want, but yes, a single node process can listen
on any number of ports.
You can even have the same exact request handler function service all those
ports.
var http = require('http');
http.createServer(onRequest).listen(3000);
http.createServer(onRequest).lis
They are called python comments in this case because gyp files are in fact
python code. Yes, python does have a lot of syntax overlap with JS and
shell code.
On Thu, Jan 23, 2014 at 9:48 AM, Kevin Ingwersen
wrote:
> I thought those were more likely called „shell-like comments“, as they’re
> use
Awesome news! Congrats to both of you.
On Wed, Jan 15, 2014 at 9:16 AM, Alex Kocharin wrote:
> Hi Isaac,
>
> What changes are you planning on npm registry? What services will it
> provide for money? Will there be any changes to replication?
>
> I'm worrying a lot about npm registry being a sin
For what it does and what it was designed for, the current NPM central
repository system works great. It wasn't meant to be a secure system with
evil actors that can't trust eachother, but must work together. It does at
least have basic authentication so that an author has to change evil after
pu
If you want this level of static dependencies you can check in your deps
into node_modules in your git tree or use git submodules in there. Git
does guarantee that the thing you point to can't be changed because the
hash *is* the hash of the content. If anything changes, the hash changes.
On We
The node.js security model is very simple. All npm modules you install on
your system and require are assumed to be safe and trusted code. Don't
require modules you don't trust!
If you want to write an app that requires running untrusted user generated
code in a sandbox, then there are many opti
Feel free to file an issue to js-git with details of your use case. That
will
help me keep your use case in mind.
On Dec 10, 2013 11:55 PM, "Chad Engler" wrote:
> A library in the works:
>
>
>
> https://github.com/creationix/js-git
>
>
>
> -Chad
>
>
>
> *From:* nodejs@googlegroups.com [mailto:n
I would help Fedor finish candor and candor.io. other
than the bad debugging experience, candor is a pretty fun language.
Let's spend our precious time making and not destroying ok? I sure don't
have near enough time as it is to work on all the cool things there are.
-Tim Caswell
(Aka @
Is this the mailing list you meant to send this to?
On Dec 6, 2013 12:05 PM, "Ket" wrote:
> I've tested my web application on several android mobile devices
> (smartphone, tablets). None of it works.
>
> The test link is here: http://meldville.com/demo/broadcaster.php
>
> It streams audio and vid
Though to be fair, I often prefer manually creating the symlink directly as
you did since I use nvm and my global node_modules changes when testing
different versions of node.
On Dec 7, 2013 7:55 PM, "Dave Horton" wrote:
> Ah, yes thanks!
>
> On Saturday, December 7, 2013 6:51:07 PM UTC, Brian Di
If it monkey-patched existing modules in the current process, then you need
to require it once per process you want patched. So in the case of
cluster, you probably want it in the worker so that worker code gets
patched.
On Tue, Nov 5, 2013 at 4:15 PM, Filipe Deschamps wrote:
> Alan, I saw thi
Also keep in mind that the native string type in JavaScript is UCS-16 which
means that any code points higher than 16 bits have to be encoded using
surrogate pairs. (Note that the native encoding is quite different from the
UTF-8 encoding commonly used when serializing strings to binary data)
A qu
On Tue, Oct 8, 2013 at 12:52 AM, jeevan kk wrote:
>
>
> On Tuesday, 8 October 2013 11:13:24 UTC+5:30, Mark Hahn wrote:
>>
>> > a connect is successfully fired and after that an error is being fired
>>
>> I don't see why these multiple callbacks are a problem. They are
>> happening exactly as th
decisions for you
and provides a simple interface to program against.
>
> On Fri, Oct 04, 2013 at 03:43:06PM -0500, Tim Caswell wrote:
> > Just wanted to send a node out that my js-git project has reached the
> first
> > milestone in functionality. This means you can use the
ck.
> Cheers,
>
> Kevin
>
>
>
> On Fri, Oct 4, 2013 at 4:43 PM, Tim Caswell wrote:
>
>> Just wanted to send a node out that my js-git project has reached the
>> first milestone in functionality. This means you can use the library to:
>>
>> - C
Just wanted to send a node out that my js-git project has reached the first
milestone in functionality. This means you can use the library to:
- Clone remote repositories over TCP, HTTP(s) and SSH.
- Pull in incremental updates
- Make shallow clones or clone only a specific branch or tag.
Onc
about a high-level API. Anyway high level -- will
> be cool feature. I hope someone's can overpower it. It's will be cool for
> user apps.
>
> понедельник, 30 сентября 2013 г. пользователь Tim Caswell писал:
>
>> This is equivalent to asking Linus to bundle a graphica
This is equivalent to asking Linus to bundle a graphical desktop
environment with the linux kernel so that there is one common front-end
that everyone uses and newbies don't have to build their own linux desktop
from scratch.
The difference between node and linux is that there are many competing
l
On 21/09/2013, at 19:43, Ben Noordhuis wrote:
> > On Sat, Sep 21, 2013 at 6:09 PM, Tim Caswell wrote:
> >>
> >>
> >> function map() {
> >> var keys = [];
> >> var values = [];
> >> return { get: get, set: set };
> >> functio
If you really want a safe map where any key is allowed and doesn't conflict
with builtin javascript properties, just implement your own map. Here is a
very simple one that allows storing *any* value as keys. This includes the
string "__proto__" as well as non-strings.
If you want something faste
.pause() and .resume() are the proper way to use "flowing mode" aka streams
1. Read up on the modes at
http://nodejs.org/api/stream.html#stream_class_stream_readable
On Mon, Sep 9, 2013 at 4:02 PM, HungryHippo wrote:
> isn't the use of .pause() deprecated with Streams1 ?
>
> --
> --
> Job Board
On Mon, Aug 26, 2013 at 11:30 AM, Michael Pisarski wrote:
> I use forever and have not had any issues.
>
Does forever handle machine reboots?
> On Sunday, August 25, 2013 4:57:10 AM UTC-4, Fernando Segura Gòmez wrote:
>>
>> Hi.
>> I need help, im very newbie about how deploy my nodejs app in
>>
Node's require is always relative to the file that calls require. In fact,
the internal implementation of this is done by giving file a unique copy of
the require function that embeds that file's directory. If you wanted to
require relative to the cwd, then use process.cwd and path.resolve. If y
Impressive changelog. Congrats team. This reminds me a bit of the early
days of fun.
On Wed, Aug 21, 2013 at 3:30 PM, Timothy J Fontaine wrote:
> 2013.08.21, Version 0.11.6 (Unstable)
>
> * uv: Upgrade to v0.11.8
>
> * v8: upgrade v8 to 3.20.14.1
>
> * build: disable SSLv2 by default (Ben Noor
it can cleanup whatever
resources it has. If there is a connector in the middle of the stream
chain like a tee, then it only aborts it's upstream when both it's
downstream chains have aborted.
Feel free to create an issue in js-git to discuss simple-streams (or
continue discussing here
o#1-install-dependencies
>
> On Saturday, 10 August 2013 07:57:06 UTC+10, Tim Caswell wrote:
>>
>> Related to js-git, I wanted a way for people to record their terminal and
>> send me debug info, so I spent a couple hours and wrote a simple, but
>> awesome recorder.
>>
Related to js-git, I wanted a way for people to record their terminal and
send me debug info, so I spent a couple hours and wrote a simple, but
awesome recorder.
https://github.com/creationix/rec
If you're testing out js-git-node or any node cli program, the output of
this program can help when s
I should mention that the CLI tool should support all three kinds of git
protocols. They are ssh:// (aka g...@github.com:...) git:// and http(s)://
If one doesn't work for you, but does work with real git, it's a bug.
On Fri, Aug 9, 2013 at 12:13 PM, Tim Caswell wrote:
> Man
at <
https://gist.github.com/creationix/036c175d18a8a692a89d> and in the issue
tracker for js-git.
-Tim Caswell
--
--
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 subsc
definition looks different. Tell me which is these will yield ..
>
> a()
> b()
> c()
>
> On Tue, Aug 6, 2013 at 2:54 PM, Tim Caswell wrote:
>
>>
>>
>>
>> On Tue, Aug 6, 2013 at 4:47 PM, Mikeal Rogers wrote:
>>
>>> It is the *exact same
word
and guard our state around that point, we need to do the same around the
"yield" keyword.
Teach people correct principles and trust them to do the right thing.
We'll be fine.
>
> -Mikeal
>
> On Aug 6, 2013, at 2:33PM, Tim Caswell wrote:
>
>
So I talked a bit to Mikeal about his concerns and there is a slight
misunderstanding here. The best I can tell, his concern is that people
will get used to using function* and yield with non-async code and then not
notice when they are used in async code. In other words, he's worried
programmers
e.wait, lua's
coroutines, or node-fibers), the danger about accidental suspension does
not exist with es6 generators!
If there is something I'm missing, please show it to me. I've been wrong
before on this list. (
https://groups.google.com/d/msg/nodejs/eK00eDF-4Zw/FQhDrlEs0xUJ)
-Ti
It doesn't
On Mon, Aug 5, 2013 at 1:32 PM, Mikeal Rogers wrote:
> I don't see how generators are going to change how actual async
> programming happens in node.js, at least in ES6.
>
It doesn't change how things work internally. Libraries and node core
should only use callbacks. That's the li
/creationix/gen-run. Another one that seems popular is
TJ's "co" https://github.com/visionmedia/co
-Tim Caswell
On Mon, Jul 15, 2013 at 2:11 AM, cpprototypes wrote:
> Thanks for the replies, I have a better understanding now of how these
> libraries are using generato
t;> installed via npm). I would at least rule out B though, as your functions
>> should indicate in some way if they're intended to be used as a factory.
>>
>> Summary: A for constructors or factories, E for everything else.
>>
>> Cheers,
>> Adam Crabtre
failing across npm
> installs is accurate, but usually doesn't apply to application code (not
> installed via npm). I would at least rule out B though, as your functions
> should indicate in some way if they're intended to be used as a factory.
>
> Summary: A for constructors
Besides simplicity, there are several reasons to simply export a function
that accepts config options and returns an instance of the module.
- Instanceof is dangerous and doesn't work cross-context or if you have
more than one copy of a module (something that's very common in the default
behavior
// E
var foo = module();
Keep it simple.
On Wed, Jul 10, 2013 at 5:39 PM, Andy W. wrote:
> I have seen a wide variety in different style for creating custom Node
> modules. What style do you prefer or are there any best practices? I'm
> fairly new to the Node community.
>
> var module = requir
in my API do you have to manually say you're done with a
javascript object. There are hooks the other direction so that the engine
can tell you when it's done with an object in case you've embedded some
memory you manage in it, but that's simple logic.
My goal is to expose
and it works there.
My contribution here is to give my perspective as a C/C++ non-expert. Most
node.js developers are JS developers. Most (not all obviously) of the
binary node addons I know of were written by people with little C
background.
>
>
> On Tue, Jul 9, 2013 at 1:04 PM,
s (for storage in some C struct passed to the C
callback later on). That should be enough to wrap the various libuv apis.
>
> – Micheil
>
> On 09/07/2013, at 6:08 PM, Tim Caswell wrote:
>
>
>
>
> On Tue, Jul 9, 2013 at 4:16 AM, Floby wrote:
>
>> Tim's examp
ot of "0" references "this" and positive slots are passed in
arguments.
>
>
> On Tue, Jul 9, 2013 at 10:08 AM, Tim Caswell wrote:
>
>>
>>
>>
>> On Tue, Jul 9, 2013 at 4:16 AM, Floby wrote:
>>
>>> Tim's examples are pretty
On Tue, Jul 9, 2013 at 4:16 AM, Floby wrote:
> Tim's examples are pretty nice.
> The only things missing for all my use cases are storing pointers in JS
> objects so I can get them back when I need it.
>
> something like
>
> js_set_pointer(C, myObject, pointer);
> myType *pointer = js_get_pointer
things like passing a C struct to JS
and back, wrapping external binary buffers, and binary data in general, but
this should be enough to get a general idea of the kind of API I'm looking
for.
The important thing is that it's as 1:1 with the JS it represents as
possible, but in simple C.
erything as the simple
data it is.
I can draft some APIs based on my experience with writing libuv bindings
for various runtimes if you're interested.
-Tim Caswell
On Mon, Jul 8, 2013 at 1:35 PM, Timothy J Fontaine wrote:
> [cross post from http://atxconsulting.com/2013/07/06/rewrite-it
te library I'm
using for js-git
Also since msgpack supports binary data within the encoding, you could
deflate certain messages if deflating the entire stream was too much.
-Tim Caswell
On Fri, Jul 5, 2013 at 5:45 PM, Ryan Schmidt wrote:
>
> On Jul 5, 2013, at 15:10, Guillermo Ra
tionix/git-repo/blob/master/example/create.js
-Tim Caswell
On Tue, Jul 2, 2013 at 10:41 AM, Alan Gutierrez wrote:
> Is it time to start using ES6 in Node.js libraries hosted on NPM? Or is ES6
> going to be the new CoffeeScript?
>
> --
> Alan Gutierrez ~ @bigeasy
>
> --
>
specs/git-db.md
I just finished a node implementation of the fs backend earlier today and
I'll make an abstract implementation of the db backend that piggybacks on
top of the fs interface (combined they will work like real git with the
.git folder)
>
> On Thursday, June 13, 2013 11:54:14
ith
existing node.js code.
> --
> Diogo Resende
>
> On Thursday, June 13, 2013 at 20:54 , Tim Caswell wrote:
>
> As some of you know, and many of you do not, I've been spending the last
> few months working on implementing git in javascript.
>
> I started out with a
soon.
This is an experiment to see if a person can live off making 100% open
source software that doesn't cater to any particular business.
All software I've released in the open and is licensed MIT for anyone to
use. I have open discussion on IRC (#js-git) and twit
r such a large API.
>
> Also, this just looks like the server side of things (decoding requests /
> encoding responses). Is that right? Any plans for the client side?
>
Yes, I especially need client-side for git clone and push over http.
>
> Thanks,
>
> G
>
>
&g
The core http parser is exposed via the private APIs just look at the
source of http.js in node's source. I will warn however that it does seem
to change between versions as the node core team tries to make every
release faster than the last.
I've written a couple pure-js http parsers, they are n
rs from 2nd
> gzip chunk? Or that header is binded to gziped data?
>
>
> On Friday, May 24, 2013 9:37:28 PM UTC+2, Tim Caswell wrote:
>
>> gzip has internal headers that must only appear at the beginning. You
>> can't send two gzip documents in the same document. The br
gzip has internal headers that must only appear at the beginning. You
can't send two gzip documents in the same document. The browsers don't
support that.
If you have the same two chunks all the time, you can combine and then gzip
once and send the one resulting chunk.
On Fri, May 24, 2013 at
I often have a similar need. In debian systems, I'm noticed that sometimes
there are "virtual" packages that several competing packages all "provide"
the concrete representation for. Maybe a simpler syntax using the idea of
"provides" could be used here.
My concrete example, is my js-git demo.
I just noticed this has the version of V8 with harmony generators! (behind
a flag)
A very simple example of how to block on I/O within a generator is at
https://gist.github.com/creationix/5544019
On Mon, May 13, 2013 at 5:55 PM, Isaac Schlueter wrote:
> 2013.05.13, Version 0.11.2 (Unstable)
lf. Think about hundreds of .js files it needs to read on
> startup... "npm" itself do 964 system calls to various */node_modules/*.js
> files when it's starting (use strace to check that).
>
> --
> // alex
>
>
> 14.05.2013, 01:17, "Tim Caswell" :
eally neat actually. As long as it doesn't run too terribly slow.
On Mon, May 13, 2013 at 4:07 PM, Alex Kocharin wrote:
>
> If we are talking about non-compatible solutions, I might as well use
> python instead ;)
>
> --
> // alex
>
>
> 14.05.2013, 01:04, "Ti
Alex, I share your pain. That is why I made a version/port of node that
didn't use V8, but rather, the much lighter-weight luajit engine. It's at
luvit.io. (warning, not compatible with node.js code or ecosystem, just the
same idea / API style)
On Sun, May 12, 2013 at 6:21 AM, Alex Kocharin wr
I've thought about this topic for years. The conclusion that I've come to
is I never want to charge royalties for software I write. It's a terrible
way to make money off software given the nature of open-source and how
open-source markets work.
As the OP has stated, the common ways of making mon
I would love to see luvmonkey finished. Once the core spidermonkey <->
libuv bindings were complete, the rest could be implemented in pure JS on
top. Someone could clone the node.js APIs in pure JS on top of luvmonkey.
>From what I know about node's development, changing engines will never
happe
On Tue, Apr 2, 2013 at 1:16 PM, NM wrote:
> Hi there,
>
> I am completly new to node.js and got my first successful installation and
> examples done today.
> I wanted to use node.js to communicate with an raspi.
>
> Following idea:
> 1.) I wanted to set data in an LAMP enviroment via php
> 2.) It
I hereby agree to grant a MIT/BSD/ISC compatible license for any code I
post publicly to my github account under "creationix". If I forget to
document this while creating a project and your employer's lawyers require
more documentation, please send me a friendly pull request and I'll try to
prompt
As far as removing the old packages, I'm not sure how they are packaged on
ubuntu, but `apt-get remove node-*` or something might help. If you don't
mind having partially installed stuff and removing it the "right" is too
hard, just delete /usr/bin/node and /usr/bin/npm and it will stay out of
the
I tend to use the binaries posted on nodejs.org instead of the binaries in
the debian/ubuntu repos. Here is how I get the latest node for a new linux
server I'm setting up:
wget http://nodejs.org/dist/v0.10.1/node-v0.10.1-linux-x64.tar.gz
tar -xvf node-v0.10.1-linux-x64.tar.gz
cd node
See the last diagram in http://howtonode.org/object-graphs to understand
that functions on objects are in no-way bound to the object you initially
assigned them to.
On Mon, Mar 25, 2013 at 11:30 AM, mgutz wrote:
> You may also need to bind `onConnection` to `this` otherwise `this.onData`
> woul
In your use case, I just manually create a symlink directly and bypass the
local stuff:
cd node_modules
ln -s ../../base
cd ..
npm ls
I use npm link to install a module globally, usually because I'm writing a
CLI script and want to test it.
On Sunday, March 24, 2013 6:21:43 PM
Node can easily consume C libraries through V8 Bindings written in C++ or
through the ffi module as Bradley said. The only catch is those C
libraries need to never block on I/O. If they do, they will kill the node
server's performance since node is single-threaded. Any existing library
that does
Tim, I do have a stretch goal in my kickstarter for your use case, but it's
not my primary use case. If nothing shows up and I get enough funding,
I'll have this for you in a few months.
-Tim Caswell
On Mon, Mar 18, 2013 at 8:14 PM, Arunoda Susiripala <
arunoda.susirip...@gma
On Tue, Mar 5, 2013 at 2:33 AM, greelgorke wrote:
> Your version makes the prototype chain longer, which may have a
> performance impact on some important parts of the lib. Please Correct me if
> i'm wrong, but this could produce chains:
> CustomStream->(ReadableStream->) Stream->EventEmitter->Ob
I would think the easiest route would be sending Isaac a pull request
(assuming the npm website is on github). I can't imagine he would be
against making this match github's markdown features.
On Fri, Feb 22, 2013 at 7:13 AM, Michal Srb wrote:
> Hi,
>
> I was trying to find any information abo
If you want a mirror of the public npm repo, one option is to replicate the
couch database. It's pretty big, but once replicated would give you a full
mirror. I'm pretty sure you can do delta updates later on by putting the
couch database back online and syncing again.
On Mon, Feb 18, 2013 at 1
You generally only listen and wait for the "end" event on the request body
if you care about the request body. In both these examples you're not
listening for the request "data" events, so I don't think the "end" event
(part of the same stream interface) is interesting.
Also I noticed that one ex
The main cloud9 infra is closed source, but there is an open source version
of the editor with a node.js backend. Also many of the open source
projects we created when I was there are on github. http://github.com/c9/
Also, if you consider Microsoft a big name, they have quite a bit of node
code o
process.on("exit", ...)
http://nodejs.org/api/process.html#process_event_exit
On Wed, Feb 13, 2013 at 9:49 AM, António Ramos wrote:
> How do i trap gracefull shutdown?
>
> Thank you?
>
>
> 2013/2/13 Floby
>
>> My guess is that you have a graceful shutdown because there are no timers
>> left i
Node buffers store data in 8-bit chunks, so endianess doesn't matter. In
the helper methods on buffers, you have to specify the endianess when
reading and writing anything over 8-bits long. (
http://nodejs.org/api/buffer.html). Here is an example using the node repl.
> b = new Buffer([1,2,3,
t this is faster than JavaScript
> (because of the native c bindings?). I will follow the project and look how
> it will develope.
>
> Regards,
> Bodo
>
> Am 11.02.2013 um 18:13 schrieb Tim Caswell :
>
> I'm a C++ newb myself, so I can't recommend any good resour
gt; Regards,
> Bodo
>
> Am 11.02.2013 um 16:34 schrieb Tim Caswell :
>
> The language itself has no I/O at all. Even setTimeout and setInterval
> are implemented by the libuv bindings using uv_timer_t instances. In the
> browser the language VM is bound to the browser nat
t/node/blob/master/src/timer_wrap.cc . And here is
the JS API wrapper to expose this as the well known setTimeout interface:
https://github.com/joyent/node/blob/master/lib/timers.js#L180-L214
Hope this helps, let me know if you have more questions. There is a lot
going on here.
-Tim Caswell
Oops, forgot the link. Here is the article announcing it from almost 3
years ago http://howtonode.org/step-of-conductor
On Wed, Jan 9, 2013 at 4:37 PM, Tim Caswell wrote:
> I also tried this approach in the early days and handed off the code to
> tmpvar as conductor. Personally it w
I also tried this approach in the early days and handed off the code to
tmpvar as conductor. Personally it was too complex to be usable, but it
sure was a fun challenge to write.
On Wed, Jan 9, 2013 at 4:17 PM, Tatumizer wrote:
> hi Tom,
> did you come up with this concept independently?
> It
That's awesome Brian, I went a similar route in the early days of node. I
quit my senior PHP position to work on node full time, and now some
consider me a node expert. There is no shortage of smart people in the
world, that's for sure.
On Wed, Jan 9, 2013 at 1:15 PM, Brian Link wrote:
> RE H
t;:" and you'll get most of it.
Depending on where node fails you might be able to use the underlying
http_parser bindings directly. Look in http.js in the node source to see
how it's used.
On Tue, Jan 8, 2013 at 1:36 PM, Matt wrote:
> On Tue, Jan 8, 2013 at 2:26 PM, Tim Caswell
You can use the TCP client directly and hand-roll the http request. Your
response won't be parsed as http (nor would you want to in the error case),
but you can write a crude parser in js to get the bulk of it.
On Tue, Jan 8, 2013 at 12:42 PM, Matt wrote:
> We're doing web scraping using node
Since you say it works fast locally and slow over internet, I'm guessing
the issue is bandwidth and internet latency. If the node proceess isn't
maxing out a cpu core, it's probably not the bottleneck. You may need to
change your architecture not your runtime. For example use node to set up
p2p c
Node can easily call other processes and has full control over the stdio
streams if desired. (or there are convenience wrappers if you don't need
full control) Look at the child_process APIs.
On Sun, Jan 6, 2013 at 9:41 PM, Suraj Singh Thapa
wrote:
> Hi, I have number of the Perl and shell scri
Unless it's changed recently, dropping in various versions of V8 are pretty
safe in node. The V8 team doesn't change APIs that often, and usually it's
adding new APIs, not breaking existing ones. I've never heard of v8-i18n,
so I don't know how well that tracks. I would hope it's API compatible
I've never used http://locomotivejs.org/, but node itself is quite powerful
for nearly any web project when coded with enough skill.
If the question is if node itself has enough potential, then the answer is
that, yes, node is plenty powerful.
But practically speaking, the framework you use and y
If the amount of data is small enough that it can all be kept in ram, a
simple custom database using large node buffers would work great.
I would use msgpack or some other compact serialization to store the data
in the buffer efficiently.
If it's too large for memory, then a single append-only fi
1 - 100 of 373 matches
Mail list logo