In all honesty this is a hacky way of building an FTP service. Ideally
you'd build a TCP server and properly handle FTP commands but with a
cleaner interface for your application. If you use this .spawn way you
need to manage state (which commands were issued, did they complete
successfully o
this way is much better, because it's impossible for two modules exports
to collide with each other.
On Wed, Aug 1, 2012 at 6:49 PM, Seiji Sam Lee wrote:
> Thanks Tim, I believe I will choose a syntaxis like this:
>
> var common=$script.imports("common.jsi",true);
>
>
> It have much more advantag
>
> Figured out the immediate problem... the SetTimeout in the tcp client was
> not receiving the arguments correctly. I rewrote the settimeout and pulled
> out the anonymous function in there and everything works great.
>
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://gith
On Friday, July 27, 2012 6:00:19 PM UTC+2, Mariusz Nowak wrote:
>
> I'd like to create fork (via child_process.fork) and make both master and
> child exit after all tasks in master process are done
If you're using node 0.8, you can do this:
var cp = fork("foo.js")
cp.unref();
This will effecti
> How would you make such kind of page indexable by search engines?
It's possible, but I'm not sure how good it is compared to "standard
static" sites in terms of SEO. Because SEO has lots of tricks and even if
it would be indexable it still may not be as good as old static sites.
Take a look a
>
It's possible, but I'm not sure how goot it is compared to "standard" in
terms of SEO, SEO has lots of tricks and hacks.
Take a look at
this http://support.google.com/webmasters/bin/answer.py?hl=en&answer=174992
go to
"Handle pages without hash fragments" section.
For full details read
th
Thanks!
On Wednesday, August 1, 2012 3:21:52 PM UTC-4, psema4 wrote:
>
> On Wed, Aug 1, 2012 at 3:09 PM, Hugo Windisch
> wrote:
> > Yes the framework could be mixed with other frameworks (like... it could
> be
> > mixed with jQuery + it only uses one name in the global namespace). It
> does
On Wed, Aug 1, 2012 at 3:09 PM, Hugo Windisch wrote:
> Yes the framework could be mixed with other frameworks (like... it could be
> mixed with jQuery + it only uses one name in the global namespace). It does
> not overlap a lot with jQuery because the main goal is not to make the DOM
> or CSS eas
Wow, thanks!
Yes the framework could be mixed with other frameworks (like... it could be
mixed with jQuery + it only uses one name in the global namespace). It does
not overlap a lot with jQuery because the main goal is not to make the DOM
or CSS easier to use but to provide a graphical way of
You may want to try mtrace, I've exposed it in a node module here:
https://github.com/Jimbly/node-mtrace
It allows you to trace and analyze native heap memory usage, though if most
of the native code you're in is C++, it's just going to say all the memory
was allocated by "operator new()", but i
And also they have the snapshot hash-bang thingy:
https://developers.google.com/webmasters/ajax-crawling/docs/getting-started
2012/8/1 Mark Hahn
> I'm not sure I understand your question, but I think you are asking how to
> make a client-side javascript generated page accessible to search bot
Thanks @Dominic for your concise answers. Exactly what I needed.
On Wednesday, August 1, 2012 1:54:35 AM UTC-7, Dominic wrote:
>
> A1) you need to assign a listener _before_ nextTick.
>
> A2) you only need to call destroy() if you've decided to end the stream
> early.
> streams must cleanup a
Heads up that the link has moved:
https://github.com/coolaj86/node-examples-js/blob/master/http-and-html5/http-upload.js
On Friday, January 7, 2011 8:09:42 AM UTC, CoolAJ86 wrote:
>
> I did manage to get a working example up here:
>
>
> https://github.com/coolaj86/node-examples-coolaj86/blob/mast
Looks awesome. Is this meant for doing entire page designs or can it be
mixed in with existing pages? In other words, can the framework be mixed
with other frameworks?
On Wed, Aug 1, 2012 at 7:24 AM, Hugo Windisch wrote:
> This is post announces the creation of the SwallowApps open source proje
I'm not sure I understand your question, but I think you are asking how to
make a client-side javascript generated page accessible to search bots.
This isn't really a node question but I'll reply anyway.
In the past I've always created separate pages for search bots with simple
pages that dump all
Thanks Tim, I believe I will choose a syntaxis like this:
var common=$script.imports("common.jsi",true);
It have much more advantages ;-)
El 01/08/12 18:30, Tim Caswell escribió:
JavaScript doesn't give you access to the current scope (where local
vars are stored). The only way to programate
JavaScript doesn't give you access to the current scope (where local
vars are stored). The only way to programatecilly create entries in
it is to use eval.
My suggestion is think of another API that's more JS friendly. There
is a reason node dropped import syntax and now only supports require
wh
Fibers, fibers are the answer.
Wrap yours dynamic view helpers with fibers and also crate restfully APIs, this
way you can use js frameworks and serve contents for no-js users.
What you think?
Enviado via iPad
Em 01/08/2012, às 04:23, daslicht escreveu:
> Hello Friends,
>
> brainstorming
> {
This is post announces the creation of the SwallowApps open source project.
Swallowapps provides fully interactive tools for the design of web (html5)
content: you create the visual part of your application using visual tools
and get instant feedback while you adjust dimensions, transformation
Glad to hear it! :)
Cheers,
Jonathan
From: nodejs@googlegroups.com on behalf of almarjin
Sent: Tuesday, July 31, 2012 07:50
To: nodejs@googlegroups.com
Subject: Re: [nodejs] Re: Azure Unable to load nodejs shared library
It's now working.
Thanks to both of you :
For Tim & Dominic:
Well the complete code is ...
As you can see this is a piece of javascript embedded into other language
(asp, php like).
I built a whirler to convert this to JS and ... execute it into a VM
(runIn{This,New}Context)
You can see too $script.imports(...) loads a JS include
On Wed, Aug 1, 2012 at 8:55 AM, Rusty wrote:
> I am seeing really poor distribution of connections across a "cluster".
>
> For example (count of connections served on left, PID on right):
> $ node test.js | awk '/connection/{print$2}' | sort | uniq -c
> 438 4687
> 300 4688
>1008 4690
>
Hello,
what do you think is the best way to create,by search engine index-able,
single page webpages ?
My current approach is to create 'normal' webpages but if JS is enabled all
links are hijacked and the content is loaded replaced using javascript.
Is there another alterntive beside manually c
Hello Friends,
brainstorming
{
I am also going to create a CMS/eCommerce Solution for a Music Label.
Since we want to offer seamless playback even while navigating the whole
page, we like to craete a single page AJAX interface.
As far as I know we have to follwing options:
Create normal HTML
How do you mean that ?
Am Montag, 9. Juli 2012 16:52:02 UTC+2 schrieb Ket:
>
> I've created similar app, but how do you supply songs.
>
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because
A1) you need to assign a listener _before_ nextTick.
A2) you only need to call destroy() if you've decided to end the stream early.
streams must cleanup after they have emitted 'end', (or you have called end()
and they are only a writable stream)
On Wed, Aug 1, 2012 at 6:45 AM, Carlos wrote:
> Q
On Monday, July 30, 2012 6:55:23 PM UTC-7, Marak Squires wrote:
>
> It's possible you've got a leak in your application code ( accidentally
> not calling .end on a response stream is a common issue I've seen ).
Thanks for your help Marak.
The code uses socket.io, and in my testing I have it ser
27 matches
Mail list logo