And you said you didn't care for JSAPI! :P
On Mon, Jul 8, 2013 at 11:58 PM, Tim Caswell wrote:
> After a quick chat with TJ and Trevor on IRC, I've decided to write up a
> quick sample of the kind of API I would like as a JavaScript person. The
> evolving code is at https://gist.github.com/cre
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(C, myObject);
On Monday, 8 July 2013 20:35:36 UTC+2, Timot
I was unable to get linux-tick-processor running on Ubuntu 13.04. And
googling for errors didn't help either.
So I ended up rewriting the application in pure C using excellent,
brilliant libuv. So the resulting application is able to saturate 100Mbit
network within a single process using no mo
Ok, created an issue for that.
https://github.com/kof/simpleio/issues/4
Basically I don't even create a server within simpleio. User need to create
a server using any framework and then call simpleio methods and forward the
params. I think simpleio interface is lower level and though more flexi
npm pack creates a tarball from your lib, put the tarball on a webserver,
where it can be downloaded, put the url to the tarball in the package.json
of your site projects. you can name your tarball with different versions
and reference it so.
npm link is meant for development not production usa
npm update?
Am Montag, 8. Juli 2013 18:15:50 UTC+2 schrieb Maxim Yefremov:
>
> I got lib1 that depends on lib2 via git:
> "dependencies": {
> "lib2": "git+ssh://g...@repo.com:userName/lib2.git"
> }
> When code changed in lib2 repository I want to have changes in lib1. What
> should I do
*npm update* updates everything exept git dependencies
On Tue, Jul 9, 2013 at 3:26 PM, greelgorke wrote:
> npm update?
>
> Am Montag, 8. Juli 2013 18:15:50 UTC+2 schrieb Maxim Yefremov:
>
>> I got lib1 that depends on lib2 via git:
>> "dependencies": {
>> "lib2": "git+ssh://g...@repo.com:us
ah yes.
here: https://npmjs.org/doc/json.html#Git-URLs-as-Dependencies
to update, just append the commit hash
Am Dienstag, 9. Juli 2013 13:35:46 UTC+2 schrieb Maxim Yefremov:
>
> *npm update* updates everything exept git dependencies
>
>
> On Tue, Jul 9, 2013 at 3:26 PM, greelgorke
> > wrote:
>
Ok tried to add commit hash:
"dependencies": {
"lib2": "git+ssh://g...@repo.com:userName/lib2.git#e899c1e"
}
And then *npm update*
But nothing changed.
On Tue, Jul 9, 2013 at 4:05 PM, greelgorke wrote:
> ah yes.
>
> here: https://npmjs.org/doc/json.html#Git-URLs-as-Dependencies
>
> t
I want to add git submodule
*$ git submodule add git+ssh://g...@bitbucket.org:userName/lib2.git
node_modules/lib2*
Cloning into 'node_modules/lib2'...
ssh: Could not resolve hostname bitbucket.org:userName: nodename nor
servname provided, or not known
fatal: Could not read from remote repositor
Is there any way I can get the old behaviour back for a worker doing
server.listen(0)?
The problem I have is that I do server.listen() multiple times in a worker,
to get multiple listening servers, and cluster breaks this by always giving
me back the same server/port.
I just want the old behaviou
On Mon, Jul 8, 2013 at 12:15 PM, Maxim Yefremov wrote:
> I got lib1 that depends on lib2 via git:
> "dependencies": {
> "lib2": "git+ssh://g...@repo.com:userName/lib2.git"
> }
> When code changed in lib2 repository I want to have changes in lib1. What
> should I do to get that changes in li
I've come to the same conclusion Meteor, Pusher and you have and that
SockJS is the way to go. I'm reluctant to use engine.io having experienced
socket.io from the same group. How long has socket.io 1.0 been ready ready
to release? Last I checked the socket.io repo master branch doesn't even
Hi List,
If a few charitable and experience eyeballs could take a look at my first
node module: https://github.com/jhiver/template-tal
template-tal is a shot at implementing the ZPT / Page Template TAL XML
template specification. It is a port of Petal::Tiny, a Perl module which I
also wrote.
Matt, thanx. I changed version in package.json and now it works as
expected.
On Tue, Jul 9, 2013 at 5:34 PM, Matt wrote:
>
> On Mon, Jul 8, 2013 at 12:15 PM, Maxim Yefremov wrote:
>
>> I got lib1 that depends on lib2 via git:
>> "dependencies": {
>> "lib2": "git+ssh://g...@repo.com:userNam
On Tue, Jul 9, 2013 at 11:38 AM, Maxim Yefremov wrote:
> Matt, thanx. I changed version in package.json and now it works as
> expected.
>
To be fair, this could be documented better - I expected it to work like
you did at first.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
ht
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
On 07/08/2013 03:05 PM, Pedro Teixeira wrote:
One observation: Nginx doesn't allow everything that Node does,
limiting services exposed through it. For instance, Nginx can't handle
streaming requests, requiring that the request ended before forwarding
it to Node, which in our case made is opt f
this is the contents of my package.json
{
"name":"facebook-template-node",
"version": "0.0.1",
"description": "Template app for Heroku / Facebook integration, Node.js
language",
"dependencies": {
"async": "0.1.18",
"ejs": "0.4.3",
"express": "2.4.6",
I'm trying to write a single script (module) that runs both in the browser
and on Node. I place this code at the top of my script: ;(function
(definition) {
// RequireJS
if (typeof define === "function" && define.amd) {
define([], function () {
var exports = {};
definition(
I have a front-end module I want to uglify and reuse.
I can't seem to find a way to accomplish this.
Can anyone share how to do this?
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message beca
i am also seeing this exact same message.
On Friday, 17 May 2013 06:48:42 UTC+1, Ramana Venkata wrote:
>
> I am trying to create a facebook application and this is my first time. I
> read several articles on how to create one and I created an application
> from this page https://developers.face
Firstly, I would like to apologize if it's been asked before because I did
find some threads and bugreports about this. Which unfortunately were not
very helpful.
I'd like to receive an email when foreverjs restarts containing the stack
strafe. Has anyone done this? If yes, could you please sha
Hi,
I've run into a bit of a conundrum:
I'm trying to keep a list of connected web sockets that I can emit messages
to. However, I do not want to emit messages to a websocket if the user is
not logged in. This means from the io.sockets.on('connection'... to the
app.post('/login'... I need some
seems basic 101 but tried searching for this and didn't really find any
good examples
from our node-http-proxy, each single-page app has the following folder
structure - not sure if this is most efficient structure or what
permissions should be (especially for rest.js) - any recommendations
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
Can you explain what the magic "slot" numbers are used for?
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 nice.
>> The only things missing for all my use cases are storing pointers in JS
>> objects so I c
https://npmjs.org/package/net-cluster (never used)
hm, I wonder if listen in the master will return a ephemeral port? in
which case, you could do a few there to allocate them, and send the
port to the workers, where they could open that port.
--
--
Job Board: http://jobs.nodejs.org/
Posting gui
Use http://browserify.org/ to use commonJS modules in the browser.
Then you don't need to add any boilerplate
On Mon, Jul 8, 2013 at 6:27 PM, Frank Panetta <
frank.pane...@entrendipity.com.au> wrote:
> I'm trying to write a single script (module) that runs both in the browser
> and on Node. I p
On Tue, Jul 9, 2013 at 1:28 PM, Sam Roberts wrote:
> https://npmjs.org/package/net-cluster (never used)
>
Assuming this works, brilliant thank you!!!
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
On Tue, Jul 9, 2013 at 12:24 PM, Elijah Insua wrote:
> Can you explain what the magic "slot" numbers are used for?
>
They are basically local handles. Each JS value that's created during the
scope of a function gets a unique slot value (some negative integer). If
you want a value to live past
How would a asynchronous libuv schedule example look?
– 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 examples are pretty nice.
> The only things missing for all my use cases are storing pointers in JS
> objects so I can
One of the changes made by Ben Noordhius in Node v0.10.0 was to "honor
UV_THREADPOOL_SIZE environment variable" in Unix. The "threadpool.c" source
file seems to do just that.
If I don't set this env variable, I can verify that I am limited to a
threadpool of 4 threads, which is the default siz
On Tue, Jul 9, 2013 at 12:39 PM, Micheil Smith wrote:
> How would a asynchronous libuv schedule example look?
>
Not entirely sure what you mean. I did add support for external pointers
(for things like uv_handle_t and uv_ref_t) and a way to add arbitrary js
values to the set of GC roots (for sto
I don't understand why you hate C++ so much? If you're trying to convert
v8's C++ API into a C API you're going to need a lot of ref/unref action
which isn't necessary given C++'s scoping semantics. They built the API in
C++ for a reason. I'm not even sure the API you're conjuring up here is
even p
I don't hate C++, on the other hand there are particular warts that it
brings to the table that aren't desirable, for instance ABI compatibility
is sketchy at best.
This is not about trying to do the v8 API in C, this is about providing an
API that modules can depend on that we guarantee to work f
On Tue, Jul 9, 2013 at 1:20 PM, Marcel Laverdet wrote:
> I don't understand why you hate C++ so much? If you're trying to convert
> v8's C++ API into a C API you're going to need a lot of ref/unref action
> which isn't necessary given C++'s scoping semantics. They built the API in
> C++ for a rea
Hi,
I'm interested into learning node.js. Before I dive into Node.js, I have no
knowledge in back-end development in any areas (my knowledge in HTTP is
very, very limited and basic), only know client side, such as HTML, CSS,
and JavaScript. I want to expand my knowledge in other technologies,
The first requirement is to have experience in programming a language, like
C, C++, javascript, Python, etc.
On Tue, Jul 9, 2013 at 10:42 AM, whatnow1204 wrote:
> Hi,
>
> I'm interested into learning node.js. Before I dive into Node.js, I have
> no knowledge in back-end development in any areas
On Jul 9, 2013, at 12:42, whatnow1204 wrote:
> I'm interested into learning node.js. Before I dive into Node.js, I have no
> knowledge in back-end development in any areas (my knowledge in HTTP is very,
> very limited and basic), only know client side, such as HTML, CSS, and
> JavaScript. I wa
On Jul 8, 2013, at 21:00, Ket wrote:
> I use child_process module to manage data flow:
>
> link: http://nodejs.org/api/child_process.html
>
> It is working fine during a test use on my home windows machine but it's not
> working on a virtual linux server.
>
> How do I solve this comparability
2013.07.09, Version 0.10.13 (Stable)
* uv: Upgrade to v0.10.12
* npm: Upgrade to 1.3.2
* windows: get proper errno (Ben Noordhuis)
* tls: only wait for finish if we haven't seen it (Timothy J Fontaine)
* http: Dump response when request is aborted (isaacs)
* http: use an unref'd timer to fix
On 2013-07-09, at 13:42 , whatnow1204 wrote:
> I'm interested into learning node.js. Before I dive into Node.js, I have no
> knowledge in back-end development in any areas (my knowledge in HTTP is very,
> very limited and basic), only know client side, such as HTML, CSS, and
> JavaScript. I want
Howdy all,
I have LinkedIn's blessing to work full-time for 2 weeks on building a
node.js addon[1] for remote Chrome Devtools debugging. Since I've never
built an addon, this is a rather ambitious task for my first addon, and
nearly everyone in the community would benefit from this, I thought I'd
Thanks, the code I use is exactly same as the example. It works on node.js
version 0.6.15 on windows but it's not working with version 0.11.3.
And thanks for sharing about socket.remoteAddress.
On Wednesday, July 10, 2013 4:30:13 AM UTC+7, ryandesign wrote:
>
>
> On Jul 8, 2013, at 21:00, Ket wr
On Jul 9, 2013, at 1:42 PM, whatnow1204 wrote:
>
> I'm interested into learning node.js. Before I dive into Node.js, I have no
> knowledge in back-end development in any areas (my knowledge in HTTP is very,
> very limited and basic), only know client side, such as HTML, CSS, and
> JavaScript.
On 10/07/2013, at 01:32, Adam Crabtree wrote:
> Howdy all,
>
> I have LinkedIn's blessing to work full-time for 2 weeks on building a
> node.js addon[1] for remote Chrome Devtools debugging.
Hi,
What is the idea, connecting from a node to the debugger of a remote chrome
browser, or to debug a
Same question here - what is the difference compared to node-webkit-agent?
Would it require extra agent to run in addition to node.js process or it's
going to use Chrome native networking and talk v8 debugger protocol
directly?
On Wednesday, 10 July 2013 11:25:27 UTC+10, Jorge wrote:
>
> On 10/
On 08/07/2013, at 22:17, Jérémy Lal wrote:
> On 08/07/2013 20:53, Mikeal Rogers wrote:
>>
>> This is all the right direction, IMO. node.js should provide the best
>> platform imaginable for people building on top of it. If some of
>> those decisions benefit those building on node.js but piss off p
Thanks!
On Wednesday, 10 July 2013 03:30:42 UTC+10, Raynos wrote:
>
> Use http://browserify.org/ to use commonJS modules in the browser.
>
> Then you don't need to add any boilerplate
>
>
> On Mon, Jul 8, 2013 at 6:27 PM, Frank Panetta <
> frank@entrendipity.com.au > wrote:
>
>> I'm trying to
Hi,
I begin to study RTC Data channel from this example:
link: http://www.simpl.info/rtcdatachannel/
It is great except that I can't send data to anywhere. Even I declare
server like:
var servers = {
servers: [{
url: 'stun:stun.l.google.com:19302'
}]
};
Anyone has any s
Also check out https://github.com/umdjs/umd
On Jul 9, 2013 9:47 PM, "Frank Panetta"
wrote:
> Thanks!
>
> On Wednesday, 10 July 2013 03:30:42 UTC+10, Raynos wrote:
>>
>> Use http://browserify.org/ to use commonJS modules in the browser.
>>
>> Then you don't need to add any boilerplate
>>
>>
>> On
52 matches
Mail list logo