I use hipster
https://github.com/dominictarr/hipster
it's written in js, and runs in the terminal.
basically, the same controls as notepad,
has very crude syntax highlighting.
... and bugs, but it's just good enough that it's my main editor.
On Mon, Jan 7, 2013 at 11:47 AM, Rodrigo Fonseca
Question on
stackoverflowhttp://stackoverflow.com/questions/14196599/how-to-determine-the-number-of-bytes-read-from-buffer-passed-to-node-js-zlib-inf
.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received
Shameless self-promotion, I wrote a beginners article on how the
EventEmitter works and it is the most popular one on my blog:
Introduction to the node.js EventEmitter
http://blog.gvm-it.eu/post/23925095762/introduction-to-the-node-js-eventemitter
Geerten
On Monday, January 7, 2013 5:42:50 AM
Hi, I have number of the Perl and shell scripts in server(Linux) to
automate the software build process. I want to
create web interface so that other user can easily run my scripts.
* Have a webpage, user select the field and press button to launch
corresponding process.
* webpage should show
Hey,
Ask a beta access to clever-cloud.com.
Regards,
Régis
Le dimanche 6 janvier 2013 17:35:17 UTC+1, Daniel Vincent a écrit :
Hi Remi
Appfog is pretty good - www.appfog.com - and it has a free plan.
regards
daniel
On Monday, 8 October 2012 18:39:59 UTC+1, remi_grumeau wrote:
Hi!
Anyone have a sane and performant way that they break out of a domain or
action such as middleware? I am trying to design such behavior but am faced
with a multitude of interesting issues. The classic example of this problem
can be seen with Array.prototype.forEach (though this has the easier
Hey guys, Please bear with me. This is very much a noob question.
A couple of my friends and me are planning to make a time tracking web
application. Between us we have experience in Java, C++, Django and
Backbone.js, though we have never made any full fledged commercial
application. This is
you mean something like this http://mite.yo.lk/en/ ?
yes node.js would be a good fit, at least as good as RoR or
Django+Backbone.js
Am Montag, 7. Januar 2013 16:25:41 UTC+1 schrieb abhpdk:
Hey guys, Please bear with me. This is very much a noob question.
A couple of my friends and me are
Backbone.js is completely not related to the topic. You can do a
node+backbone app. backbone is strictly front-end.
The advantage of having node as the backend is that you don't need to
context switch the language you are writing when switching from
front-end to back-end.
I think node is very good
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
thapa.suraj...@gmail.comwrote:
Hi, I have number of
Hi,
never heard of the AXON module. Like I said, the example above is from a
current project which contacts a Java (actually: Xtend) backend. There, I
use the simpleframework as a server. No node.js. And I think it has
nothing to do with it.
I did the same with node.js and can't remember
On Sun, Jan 6, 2013 at 8:26 PM, Jacob Groundwater ja...@nodefly.com wrote:
Now I am curious about the discussion around removing scripts.install.
https://twitter.com/npmjs/status/285085545602904064
https://github.com/isaacs/npm/commit/7e6f0b8077b9c892391ed894a7bbe88f45fde152
Not much of a
On Mon, Jan 7, 2013 at 7:47 AM, Bradley Meck bradley.m...@gmail.com wrote:
```javascript
// we only want to print first 2 items
[1, 2, 3].forEach(function (item) {
if (item 2) {
return;
}
console.log(item);
});
```
More efficient, especially for long lists:
```javascript
[1,
I remember one additional thing. IE8 tends to fall apart if it is unable to
understand the charset defined in the Content-Type. Make sure you define a
valid one, e.g. utf-8.
Regards,
Dirk
Am Montag, 7. Januar 2013 17:28:09 UTC+1 schrieb Crenshinibon:
Hi,
never heard of the AXON module.
This is good, gets me thinking. This brings up that there are 2 styles of
approaching this issue:
abort style - manually cause the action to fast fail
condition style - provide a condition to check on every step of the action
May help others thinking about this as well to think of both
Not much of a discussion per se, but more like something that most
eventually come to realize, but only *after* doing it the wrong way
first.
It'd be better to only support node-gyp for building packages, and get
rid of scripts.install altogether.
Thanks. This makes sense for compiling,
I also use npm to package up my app for deployment and use an install script to
do key generation and DB setup. Is there a preferred pattern for those tasks?
Is npm not intended to be used for deploying apps?
On Jan 7, 2013, at 9:51 AM, Jacob Groundwater ja...@nodefly.com wrote:
Not much of
On Mon, Jan 7, 2013 at 9:51 AM, Jacob Groundwater ja...@nodefly.com wrote:
Thanks. This makes sense for compiling, however I had been using the
install key for compiling coffee-script and minimizing resources when my
application deployed to Heroku.
I realize it is not a great solution, but
Transpiling and minification are better handled by a prepublish script
anyway: https://npmjs.org/doc/scripts.html That way, the module doesn't
need to depend on CoffeeScript just to install and deployment will happen
that much faster.
Unless I am mistaken, `prepublish` is only called when
Not speaking for Isaac here, but npm doesn't seem like a really great tool
for deployment. I guess when I've handled this in the past, the way I've
done it is to make my apps self-bootstrapping or done it through scripts
outside the deployment tool.
But I do apologize for not noticing the
prepublish is called for a local npm install too, but i think run before
not after.. This is inconvenient if you have the coffeescript compiler as a
local dependency
2013/1/7 Jacob Groundwater ja...@nodefly.com
Unless I am mistaken, `prepublish` is only called when doing `npm
publish`, which
mmh just tried and it doesnt work for me.. but i have proof i am not crazy
https://twitter.com/izs/status/284079077709729792
2013/1/7 José F. Romaniello jfromanie...@gmail.com
prepublish is called for a local npm install too, but i think run before
not after.. This is inconvenient if you
I have found it works great for a step in deployment and sharing of apps as it
pulls in all the dependent modules, and then my install.js is run to setup the
world.
On Jan 7, 2013, at 11:22 AM, Forrest L Norvell forr...@newrelic.com wrote:
Not speaking for Isaac here, but npm doesn't seem
+1 for joyent (amsterdam data center). It's not cheap though.
It should also be noted that pubnub has servers in ireland.
On Sun, Jan 6, 2013 at 10:22 PM, Régis FOUCAULT regisfouca...@gmail.comwrote:
Hey,
Ask a beta access to clever-cloud.com.
Regards,
Régis
Le dimanche 6 janvier 2013
Thanks for the replies, all. I'm messing around with it more and not having
any luck with connect or connection events. At this point I can only
assume that node/socket is doing the right thing and it's my client code
not connecting correctly.
I'm having trouble finding any examples of a C#
On Mon, Jan 7, 2013 at 9:51 AM, Jacob Groundwater ja...@nodefly.com wrote:
I realize it is not a great solution, but the default node.js buildpack
calls `npm install` and then just starts.
That's why prepublish scripts get run on `npm install` :)
Trust me, it's better this way.
--
Job Board:
I tried the very basic sample code from the socket.io home page in a
browser and that seemed to work correctly, further confirming
my suspicion that it's on the client side.
On Monday, January 7, 2013 1:20:25 PM UTC-8, Josh Santangelo wrote:
Thanks for the replies, all. I'm messing around
Hello, I am wondering if someone has an example of
domainhttp://nodejs.org/api/domain.html-per-request
with express.
I have been testing with this project:
https://github.com/baryshev/connect-domain
https://github.com/baryshev/connect-domain/blob/master/lib/connect-domain.js
but if have few
That's why prepublish scripts get run on `npm install` :)
This does not appear to be the case for me; it would however be great if it
did.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message
Jacob,
Indeed, that appears to be a bug. Fixing it now :)
On Mon, Jan 7, 2013 at 3:02 PM, Jacob Groundwater ja...@nodefly.com wrote:
That's why prepublish scripts get run on `npm install` :)
This does not appear to be the case for me; it would however be great if it
did.
--
Job Board:
Isaac,
That's great, I use// in other places but always assumed they would get
iterated in package.json dependencies. So we can safely do this?
{ dependencies :
{ foo : 1.0.0 - 2..
, // : comment about baz
, baz : 1.0.2 =2.3.4
, //: comment about boo
, boo : 2.0.1
}
}
On
A CLI tool REPL with autosuggest and autocomplete.
https://github.com/hij1nx/lev
# More about LevelDB
LevelDB is a fast key-value storage library written at Google that provides
an ordered mapping from string keys to string values.
## Features
- Keys and values are arbitrary byte
In case anyone else comes across this thread, the answer was to not use a
raw socket, but rather to use a full client. There is a .NET client
here: http://socketio4net.codeplex.com/
On Monday, January 7, 2013 2:32:13 PM UTC-8, Josh Santangelo wrote:
I tried the very basic sample code from the
Thanks Tim,
Performance wise do you consider having Perl/shell script in back-end and
node as front-end is a good architecture? or is it better to re-write task
done by Perl in node. I want to have clear idea about,
- Is it better to use node just as a bridge between webpage and
Hey everyone - I'm trying to bind Node.js to the OpenNI project (
http://www.openni.org/). I'm coming at this having not really used much
C++, let alone the Node build system.
Anyway - I have been able to create a custom AddOn for Node via Gyp. It
loads the proper shared libraries compiles
On Tue, Jan 8, 2013 at 5:29 AM, Benjamin Farrell bengfarr...@gmail.com wrote:
Hey everyone - I'm trying to bind Node.js to the OpenNI project
(http://www.openni.org/). I'm coming at this having not really used much
C++, let alone the Node build system.
Anyway - I have been able to create a
Hello,
I've created a website and let the users stream their contents (webcam,
video, music, and video call etc. -- not perfect yet) to all connected
clients.
The stream is lightening fast on my computer but very slow on a web
hosting. The server-side is processed by node.js and the client
Thank for reply,
That's correct. Anyone here insist that node is super fast. You are the
first to mention that.
I don't know about nginx and will look into it. Is it faster than node.js.
Thanks
On Tuesday, January 8, 2013 12:53:48 PM UTC+7, Mark Hahn wrote:
The server-side is processed by
Anyone here insist that node is super fast.
I don't think many node users say that. Node is efficient and can serve a
lot of simultaneous connections. A JS interpreter cannot compete with
efficient C++ code for hauling data.
Is it faster than node.js
Nginx and node are each fast for their
For anyone reading this thread, I should mention that nginx does not
support websockets. That caused me some headaches.
On Mon, Jan 7, 2013 at 10:36 PM, Mark Hahn m...@hahnca.com wrote:
Anyone here insist that node is super fast.
I don't think many node users say that. Node is efficient
Are there any other ways you recommend can make the stream as fast as on my
computer, a local network, or at least comparable to flash.
I heard some people send data in chunks. Is this possible to make it faster?
Thank you,
On Tue, Jan 8, 2013 at 1:37 PM, Mark Hahn m...@hahnca.com wrote:
For
Condition style is always available as an option. But in the types of
situations you're describing, where you actually want to end the execution
early, you end up using condition style because abort style does not exist.
That's the case with array.forEach, and it's one of the reasons array.some
From your link, it looks like you want to do live streaming to a dynamic
list of recipients. That is a large topic, and use nodejs doesn't begin
to cover it. Voxer does live audio streaming with node and they have a
large system and use many many servers. So I'd think real hard about
standing
43 matches
Mail list logo