Oleg Sadov wrote:
> What about Plone? It's powerful & flexible Python driven CMS which use
> in some government organizations (FBI for ex.):
Plone is cool. At 1/100 of the speed of node.js :-)
No, really. Plone is slow as molasses. And not easy to change the
layout.
The CMS "market" is depressi
It looks like you want to use the google jsapi in the server in node. I think
you'll have a hard time because that library assumes a browser DOM environment.
You can't just use it as is.
But that's not your only problem here. "chunk.google.load" doesn't make any
sense. It sounds like you may ne
Hello fellows,
We are proud to announce the first release of Portastic, a port finder for
Node.js
With it you can easy find opened ports to start your server or inform a process
witch port to use, you can also test ports to see if they are opened.
Portastic also comes with a command line tool,
Dammit Marak, you blitzed me ;P
-Rick
On Monday, July 16, 2012 at 10:21 PM, Marak Squires wrote:
> Err.
>
> Remove count = staff.length;
>
> and like I said, use the async lib.
> On Mon, Jul 16, 2012 at 7:19 PM, Marak Squires (mailto:marak.squi...@gmail.com)> wrote:
> >
> > > var staff =
Err.
Remove *count = staff.length;*
and like I said, use the async lib.
On Mon, Jul 16, 2012 at 7:19 PM, Marak Squires wrote:
>
> var staff = ["bill","mary"];
>> var total = [];
>> var count = 0;
>> get_total_list(staff, function(err, callback) {
>> count = staff.length;
>>
>> for (var i=0;
> var staff = ["bill","mary"];
> var total = [];
> var count = 0;
> get_total_list(staff, function(err, callback) {
> count = staff.length;
> for (var i=0; i get_staff_children(staff[i], function(err, cb) {
> total.push(cb);
> count++;
> if(count === staff.length) {
>
With all due respect, this library is one of the most used in the whole
node.js ecosystem and is definitely simpler to use then rolling your own,
AND testing it.
On Mon, Jul 16, 2012 at 7:15 PM, john.tiger wrote:
> On 07/16/2012 07:41 PM, Martin Wawrusch wrote:
>
> This should help:
>
> https:/
On 07/16/2012 07:41 PM, Martin Wawrusch wrote:
This should help:
https://github.com/caolan/async
honestly, we are having enough trouble with additional libraries - we
just want a simple solution with node code
On Mon, Jul 16, 2012 at 5:55 PM, john.tiger
mailto:john.tigernas...@gmail.com
> stuck in async hell
Well, maybe async beginner's hell. You do know that the inner loop will
complete before the first callback to cb, right? You need to study some
node tutorials.
On Mon, Jul 16, 2012 at 6:41 PM, Martin Wawrusch wrote:
> This should help:
>
> https://github.com/caolan/async
well, after cloning the latest github version now the Bson module can't
be found (we use the libs directly not using npm - even putting the bson
folder under mongodb folder does not work - are there now hard coded
paths ?
On 07/16/2012 12:35 AM, christkv wrote:
sort seems to work fine. the
you need to post the error.
On Mon, Jul 16, 2012 at 9:55 PM, Florian Shena wrote:
> Hi everybody,
>
> I want to use the google feed API on my nodejs app. So far I've loaded the
> api using the Nodejs http.request but when I call google.load("feeds", "1")
> I get an error :
>
> var http = require(
_everyone_ a strong opinion on this.
our test frameworks need to be rewritten now that we have domains.
maybe, write through exercises in the book?
On Tue, Jul 17, 2012 at 8:32 AM, Roly Fentanes wrote:
> If you can get your tests' point across clearly by using node's `assert`
> module and it's
This should help:
https://github.com/caolan/async
On Mon, Jul 16, 2012 at 5:55 PM, john.tiger wrote:
> stuck in async hell - page displaying (with null) before going thru full
> loop and returning total with data - probably some simple funct wrap but
> can't see it - thks for any help
>
> var s
stuck in async hell - page displaying (with null) before going thru full
loop and returning total with data - probably some simple funct wrap but
can't see it - thks for any help
var staff = ["bill","mary"];
var total = [];
get_total_list(staff, function(err, callback) {
for (var i=0; i []
-
Hi all, sorry, but I wanted to ask if any of you have used with express
nowjs, I've tried to make an application day in real time, using these
technologies, but I have many problems, my project is to make a kind of web
poker-style games, where there are canals and rooms, and you create a room
a
Hi everybody,
I want to use the google feed API on my nodejs app. So far I've loaded the
api using the Nodejs http.request but when I call google.load("feeds", "1")
I get an error :
var http = require('http');
var options = {
host: 'www.google.com',
port: 80,
path: '/jsapi',
method: 'G
I like the simplicity of the API. I also like the fact that I get a
callback for all files in the directory on the initial call.
This is just right so one can build some index of a bunch of files in a
directory and then keep updating the index when files get added. (For now I
only need the file
If you can get your tests' point across clearly by using node's `assert`
module and it's not that much difficult to structure compared to a full
featured test framework, then consider using it.
Otherwise, mocha is the popular recent one, and my personal choice.
nodeunit is easy to understand to
Given the results at http://jsperf.com/test-v8-delete/2 it looks like delete is
something to avoid in loops if you can, but OK to use generally.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this messag
I also just came across some great emacs screencast tutorial / feature
demos at emacsrocks.com by Magnar Sveen, he demonstrates some awesome emacs
packages (not specific to javascript).
http://emacsrocks.com/ - individual emacs screencasts demonstrating
different packages and their features
e
Alex,
I think you should go with whatever is your favorite for tests, and I don't
see it being a problem for people to understand what it is doing,
especially if you are using a TDD style.
The BDD style tests require a bit of understanding on how they work, and
how all the context setup happe
FWIW, I'd put that concern in the "don't optimize too early" category.
My personal technique is to code the easiest way possible, see if
there are speed problems (which is rare) and then fix slow parts.
YMMV.
I know you didn't ask my opinion, just saying. I'm sorry I can't
answer your real quest
If I were to read a book about a language or a platform, i will have no
problems to read tests written in an outdated framework as long these tests
are readables and self descriptive.
And I think all tests should be self descriptive ;)
So in my opinion you should not choose the framework because
Hmmm... in a book, I want to see:
- Lightweight, something I could write and understand, for test.
- Then, the "standard"
That is, in other context (web applications), I want to see:
- Lightweight example, using require('http')
- After exploring the example and its limitations, go for connect or/
Hello,
I write about Node a lot, and I often illustrate concepts using tests.
However, there isn't a standard test runner for Node.
So, let's say I'm writing a book about Node. I'd like to include examples
using a test runner that's idiomatic, lightweight, and likely to be around
in a year o
On Mon, Jul 16, 2012 at 8:54 AM, 李白字一日 wrote:
> I have a nodejs project,
> and i want to release it in a binary executable format.
>
> can this idea be done?
You can drop a _third_party_main.js script in the lib/ directory. It's
not something we really encourage or support but it's a stepping sto
The place where I avoid delete in node code is in "class instances".
(where "class" means a constructor and the "instance" is the result
of using `new`) From my understanding of the VM, delete causes V8 to
bail out of the hidden classes optimizations making all property
lookups much slower forever
On 07/12/2012 03:59 PM, Mihamina Rakotomandimby wrote:
Just for curiosity, who's using Emacs in here to code arround Node?
What modes do you use, what configurations?
Yaey!
I did really expect 1-2 replies :-)
I'm surprised to find more Emacs users than I expected.
You made me discover a bunch
There were some issues around IdleNotification that were preferring to
force a full non-incremental GC. [which makes perfect sense if
embedder calls IdleNotification when it is _really_idle_ for a long
time, and not so much sense when it is not].
We decreased aggressiveness of that, so it might he
29 matches
Mail list logo