Re: [nodejs] Expressjs Gzip compress - nodejitsu?

2012-04-25 Thread Hakan Guzelgoz
dvbportal - Thanks for the help!! I've tried gzip-connect before but I think I prefer gzippo. It seems working fine! On Wed, Apr 25, 2012 at 9:08 AM, dvbportal wrote: > At Cloudnode we use gzippo (http://tomg.co/gzippo) for that. It works > great and needs just two lines to include the compress

[nodejs] Re: Segfault using node.io in node.js v0.6.15

2012-04-25 Thread wizard113
Might have found this, in the contextify library. Glad not to have wasted anyone's time... On Apr 24, 9:59 am, wizard113 wrote: > looking for pointers on what I need to dive into next - I suspect > something horrible is happening in node.io: htmlparser.js. > > I am using node.io to > scrapehttp

Re: [nodejs] Re: mobile web ui with node

2012-04-25 Thread john.tiger
On 04/24/2012 08:48 PM, Filipe wrote: Really nice answers guys, thanks for the discussion. I quit using jQuery Mobile because I'm having to much bugs too in elements, slides and renderings. But what I REALLY liked was the and then access it easily with john.tiger, how are your tests with tho

Re: [nodejs] what's the correct/best license for an open-source client library to a non-open-source service?

2012-04-25 Thread Matt
On Tue, Apr 24, 2012 at 7:17 PM, Ben Noordhuis wrote: > On Tue, Apr 24, 2012 at 23:09, Matt wrote: > > Just stick with MIT. It makes everyone the most comfortable. > > Or the Apache 2.0 license if you want a patent grant. MIT, BSD and ISC > are fine too but they don't say anything about patents.

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Matt
On Wed, Apr 25, 2012 at 1:03 AM, Dennis Kane wrote: > I do find the whole open source movement a tad pointless. For me, the > source code always takes a back seat to good API documentation, well > commented header files, decent man pages, a good bug reporting/fixing > system, etc. > I think you

[nodejs] How to transfer objects between Node.js and Django?

2012-04-25 Thread Cassio Melo
I'm beginning with websockets and I'm confused with the number libraries and configuration options. I just want to setup a project where a node.js server calls a method in python/django and when the last has finished, it transfers the result back to the node.js server. I'm not sure which is the be

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dennis Kane
Was just saying it is, a tad. Maybe "pointless" was a bad word choice. Overblown is probably better. Don't think you can deny that without those other things, the source code of any non trivial program is quite a worthless commodity in and of itself. The entire node ecosystem, at the moment

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dennis Kane
Was just saying it is, a tad. Maybe "pointless" was a bad word choice. Overblown is probably better. Don't think you can deny that without those other things, the source code of any non trivial program is quite a worthless commodity in and of itself. The entire node ecosystem, at the moment

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dennis Kane
Was just saying it is, a tad. Maybe "pointless" was a bad word choice. Overblown is probably better. Don't think you can deny that without those other things, the source code of any non trivial program is quite a worthless commodity in and of itself. The entire node ecosystem, at the moment

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Matt
On Wed, Apr 25, 2012 at 10:43 AM, Dennis Kane wrote: > Was just saying it is, a tad. Maybe "pointless" was a bad word choice. > Overblown is probably better. Don't think you can deny that without those > other things, the source code of any non trivial program is quite a > worthless commodity

Re: [nodejs] How to transfer objects between Node.js and Django?

2012-04-25 Thread Micheil Smith
Hi Cassio, I would say the best way to do this would be to use either AMPQ or 0MQ. If using 0MQ, you'd be using a ZMQ_DEALER and ZMQ_ROUTER setup. This would mean that you can pass many messages along and receive many messages in a stream. However, the downside of this, is that you'll need eac

[nodejs] Re: Genetic - nodejs genetic algorithm implementation

2012-04-25 Thread Egor Egorov
Добрый день, тезка:-) I'm doing pretty heavy GA in node.js, and I must admit that you absolutely have to distribute the load across all your CPU cores; otherwise you're just wasting resources. Some GA solutions could run for hours. Pity I've got close to nothing to contribute because my gener

Re: [nodejs] Your thoughts wanted on a node AI project

2012-04-25 Thread Ted Young
> Was just saying it is, a tad. Maybe "pointless" was a bad word choice. > Overblown is probably better. Don't think you can deny that without those > other things, the source code of any non trivial program is quite a worthless > commodity in and of itself. The entire node ecosystem, at th

[nodejs] Re: How to gzipSync?

2012-04-25 Thread Egor Egorov
https://github.com/egorFiNE/node-compress-buffer On Wednesday, April 18, 2012 12:12:36 PM UTC+3, Axel Kittenberger wrote: > > Is there some easy way to make yourself a zlib.gzipSync wrapper around > the nodes default callback/pipe interface to zlib? (Without streamline > or fibers) > > Its for th

[nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dennis Kane
OK guys, firefighter Kane to the rescue. I said "tad". For full disclosure, I've been using Debian for many years, and I feel it is by far the best OS in existence. I am writing this in nano, the source code of which I have done some hacking on. I'm here because I can't do this thing by myse

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Jann Horn
On Wed, Apr 25, 2012 at 11:14:12AM -0700, Dennis Kane wrote: > I don't know what else to say other than I'm excited as hell to try to make > some major noise in the free markets. If I come in here being all gung ho > about open sourcing all of this, then that will be much less likely. Seems lik

Re: [nodejs] Re: mobile web ui with node

2012-04-25 Thread Carl S. Yestrau Jr.
I used jquery mobile on geobacon.com and it was a coleslaw wrestling match. I'm curious of anyone has used boostrap for mobile? On Wed, Apr 25, 2012 at 11:51 AM, john.tiger wrote: > On 04/24/2012 08:48 PM, Filipe wrote: >> >> Really nice answers guys, thanks for the discussion. >> >> I quit usin

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dean Landolt
On Wed, Apr 25, 2012 at 2:14 PM, Dennis Kane wrote: > OK guys, firefighter Kane to the rescue. > Some firefighter -- you're the one w/ the lighter, now you pour on fuel and claim you're here to help? > I said "tad". For full disclosure, I've been using Debian for many years, > and I feel it i

Re: [nodejs] Send JQuery Error Message in ExpressJS Response

2012-04-25 Thread Richard Marr
Feras, My point is that you'll find your application easy to manage if you keep your login code (authenticate) separate from your presentation code (JQuery). See below for an (untested) example based on your original code: It'll also help you if you explain what exactly is happening that you don'

Re: [nodejs] Your thoughts wanted on a node AI project

2012-04-25 Thread Oliver Leics
> I would much rather be very close with a few business associates than just > another > anonymous user on github who everyone takes for granted. Uh wait, this sound familiar: "Nothing would please me more than being able to hire ten programmers and deluge the hobby market with good software."

Re: [nodejs] Your thoughts wanted on a node AI project

2012-04-25 Thread Ted Young
speaking of open-source success in the marketplace: http://allthingsd.com/20120425/automattic-grows-up-the-company-behind-wordpress-com-shares-revenue-numbers-and-hires-execs/ Ok, back to talking about node… On Apr 25, 2012, at 1:57 PM, Oliver Leics wrote: >> I would much rather be very

[nodejs] replace code in the browser while running?

2012-04-25 Thread Mark Hahn
I just saw this quote "Developers can use Meteor to build real-time applications that live mostly in the browser, and even push code changes to users while the application is in use" here http://devopsangle.com/2012/04/25/pushing-data-not-pages-is-the-new-model-for-application-development . How ca

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Marak Squires
You can just keep executing JavaScript code in the context of a browser window after page load and it will just evaluate. On Wed, Apr 25, 2012 at 3:49 PM, Mark Hahn wrote: > I just saw this quote "Developers can use Meteor to build real-time > applications that live mostly in the browser, and ev

Re: [nodejs] Re: mobile web ui with node

2012-04-25 Thread john.tiger
On 04/25/2012 01:34 PM, Carl S. Yestrau Jr. wrote: I used jquery mobile on geobacon.com and it was a coleslaw wrestling match. I'm curious of anyone has used boostrap for mobile? thks for the suggestion - had not heard of bootstrap - looks very impressive - we had used skeleton before so the

[nodejs] After upgrading from node v4 -> v6.11 my jsdom window changed from DOMWindow to global

2012-04-25 Thread toranb
I've been using jasmine to unit test my javascript the last few months. I've been running these tests with node (v4) jsdom/jasmine- node/jasmine-jquery Everything was fine until I had to upgrade from node v4 -I did a make install from the 6.11 build and noticed that I had to update jsdom. jsdom a

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Mark Hahn
> You can just keep executing JavaScript code in the context of a browser window after page load and it will just evaluate. Oh, so it is as simple as defining a function over again? Will references to the old function stay pointed to the old function and any closure? So callbacks stored away wi

[nodejs] Re: replace code in the browser while running?

2012-04-25 Thread Roly Fentanes
>From the screencast I saw I think they refresh the page. On Wednesday, April 25, 2012 3:49:52 PM UTC-7, Mark Hahn wrote: > > I just saw this quote "Developers can use Meteor to build real-time > applications that live mostly in the browser, and even push code changes to > users while the applic

Re: [nodejs] Re: replace code in the browser while running?

2012-04-25 Thread Mark Hahn
Thx, I didn't look at that. In that case "even push code changes to users while the application is in use" is a questionable claim. In any case I'm not concerned about Meteor. I'm just interested in trying on-the-fly code updating myself. I was hoping Meteor was a proof-by-existence. On Wed,

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Marak Squires
Pretty much. I'd imagine you'd want to have a good strategy for running code in a sandbox and being able to rollback to the last state should you introduce a coding error. Doesn't sound like a lot of fun. On Wed, Apr 25, 2012 at 4:38 PM, Mark Hahn wrote: > > You can just keep executing JavaSc

[nodejs] Writing an HTML5 DOM module in C/C++. Anyone interested?

2012-04-25 Thread Luke Scott
I'm working on a project that makes use of V8. For this project I'm not using Node, but what I need is probably something people using Node could benefit from. What I need is an efficient light weight "HTML5 DOM pre-processor". Basically I need to expose an HTML5 based DOM to V8 without a full

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Mark Hahn
> Doesn't sound like a lot of fun. Then you aren't a masochist like me. In fact, I'm doing it for fun in a hobby project. -- 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 sub

Re: [nodejs] After upgrading from node v4 -> v6.11 my jsdom window changed from DOMWindow to global

2012-04-25 Thread Elijah Insua
On Wed, Apr 25, 2012 at 11:28 AM, toranb wrote: > I've been using jasmine to unit test my javascript the last few > months. I've been running these tests with node (v4) jsdom/jasmine- > node/jasmine-jquery > > Everything was fine until I had to upgrade from node v4 -I did a make > install from th

[nodejs] Re: Writing an HTML5 DOM module in C/C++. Anyone interested?

2012-04-25 Thread Roly Fentanes
plates https://github.com/flatiron/plates cheerio https://github.com/MatthewMueller/cheerio On Wednesday, April 25, 2012 5:04:27 PM UTC-7, Luke Scott wrote: > > I'm working on a project that makes use of V8. For this project I'm not > using Node, but what I need is probably something people using

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dennis Kane
> Seems like you still have a long way to go to reach that. :D > > I don't think it should be too much longer before I can start making some sales calls based on the progress I've already made. > > > Well, your long-time goal is to make a good program that can answer > questions using some lo

[nodejs] Re: After upgrading from node v4 -> v6.11 my jsdom window changed from DOMWindow to global

2012-04-25 Thread toranb
How can I tell if the script is being executed via jsdom? I assumed it was node but wanted to be sure. I'll need to look into this a bit more to verify if this is a jsdom issue or something related to node itself Thanks for the in-depth answer! Toran On Apr 25, 7:24 pm, Elijah Insua wrote: > O

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Stewart Mckinney
Hey wait who hired the troll? On Wed, Apr 25, 2012 at 8:53 PM, Dennis Kane wrote: > > Seems like you still have a long way to go to reach that. :D >> >> I don't think it should be too much longer before I can start making some > sales calls based on the progress I've already made. > >> >> >> Wel

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Dennis Kane
> > You don't come off as an asshole -- and besides, we have no problem with > assholes: we're developers. Saying the things you're saying, to the > audience you're saying them to -- well, it's that you come off as an idiot. > The good news is this is a lot easier to fix. > > I'm an idiot bec

[nodejs] Re: Writing an HTML5 DOM module in C/C++. Anyone interested?

2012-04-25 Thread Brandon Benvie
You probably want to take a second look at dom.js if you're not dead set on C++ because it's the closest to what you're describing. The thing about the DOM and IDL interfaces is that there's an enforced separation between the interface objects and the implementation objects. What this means is t

[nodejs] Re: Writing an HTML5 DOM module in C/C++. Anyone interested?

2012-04-25 Thread Brandon Benvie
Also dom.js was developed at Mozilla for use in Spidermonkey, but it works in V8 now (to satisfy your "not V8 specific" requirement). It's very generic in terms of requirements for js environments but it does require WeakMaps and Proxies which limits its use to V8 and Spidermonkey until the oth

Re: [nodejs] Re: Your thoughts wanted on a node AI project

2012-04-25 Thread Isaac Schlueter
Please do not bicker over politics here. This is not the place, and it never ever ends well. Please do not call each other idiots or make other personal remarks. If you want to say that a piece of *code* is terrible, or that a software approach is misguided, or that a statement is factually untru

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Brandon Benvie
In theory it would be possible with some work. If I was doing it, my starting point would be to implement a membrane targeted at hot swapping objects and functions (using tools I've already made for such tasks https://github.com/Benvie/meta-objects). That is, I'd make it so I could swap out th

[nodejs] New local user group - New Delhi, Gurgaon, Noida, NCR

2012-04-25 Thread Srirangan
Hi, I'm trying to setup a local user group for New Delhi and surrounding suburbs. If you work / live here or travel here frequently, please join: http://www.meetup.com/Node-js-Dilli/ I hope there are enough of us soon for a meetup over coffee / beer. - Sri Srirangan | +91 9711 477 595 | Ab

[nodejs] GYP seems build successfully, but can not load shared library.

2012-04-25 Thread Qing Guan
Hi: I just gave the new gyp build tool a try to build my GeoIP binding for node, It seems that the building process was successful. But when I try to require the binding in REPL, I got the follow error message:

[nodejs] Re: [Express-js] New local user group - New Delhi, Gurgaon, Noida, NCR

2012-04-25 Thread Devashish Meena
great initiative... +1 On Thu, Apr 26, 2012 at 10:52 AM, Srirangan wrote: > Hi, > > I'm trying to setup a local user group for New Delhi and surrounding > suburbs. > > If you work / live here or travel here frequently, please join: > http://www.meetup.com/Node-js-Dilli/ > > I hope there are eno

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Arnout Kazemier
This whole thread reminds me of diffable: http://www.stevesouders.com/blog/2010/07/09/diffable-only-download-the-deltas/ which can probably used for the same purpose. On Thursday, April 26, 2012 at 7:05 AM, Brandon Benvie wrote: > In theory it would be possible with some work. If I was doing it

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Mark Hahn
Unfortunately I'm specifically thinking of upgrading stuff in the browser and I assume membranes only work with es6. Your tools do look very interesting. Were they done for use in an app? On Wed, Apr 25, 2012 at 10:05 PM, Brandon Benvie wrote: > In theory it would be possible with some work. If

Re: [nodejs] replace code in the browser while running?

2012-04-25 Thread Mark Hahn
> This whole thread reminds me of diffable which can probably used for the same purpose. It apparently updates the cache but a refresh would be required to get the new code. I'm starting to realize that the goal of updating code while that code is running is probably not reachable. There are a c

Re: [nodejs] Re: network benchmark heat map?

2012-04-25 Thread jason . 桂林
@mscdex yeap, heat-tracer, it is, what is the x/y/z is means? 2012/4/25 mscdex > On Apr 24, 9:43 pm, mscdex wrote: > > On Apr 24, 8:30 pm, jason.桂林 wrote: > > > > > Thanks, Unlike the images in your link, what I saw is depth color in > > > each dot not block > > > > This kind of graph?: > http

Re: [nodejs]will kilos setTimeout spend too much resourece?

2012-04-25 Thread jason . 桂林
Reasonable ! 在 2012年4月25日 上午10:30,alFReD NSH 写道: > I think for something like that you should decide how accurate you want to > be and use a function on an interval to remove all expired things. Like run > the function on every minute or every second, depending on your need. A A > lot of timers