Re: [nodejs] Re: Isolates removed

2012-06-12 Thread Stewart Mckinney
+1 Please start a new post and explain why you need 10k apps ( thats a huge effing number in that context ); for a particular application, or just for research? On Tue, Jun 12, 2012 at 9:24 PM, Marak Squires wrote: > I'd recommend starting a new mailing list post explaining the problem you > are

Re: [nodejs] Ideas for contribution to node.js in the context of a Master's Thesis

2012-06-12 Thread Stewart Mckinney
It's important to understand that the overhead of context switching in V8 is pretty painful when compared to Python. I'm doing a bit of work myself embedding v8 in a fairly intensive environment, and it's been a hell of a learning experience. There's a *metric s*** ton* of difference between the st

Re: [nodejs] NES compiler written with node.js

2012-07-10 Thread Stewart Mckinney
This is great. :D On Tue, Jul 10, 2012 at 12:20 AM, Klaus Silveira wrote: > I just wanted to share the amazing work of a friend of mine. It is a c6502 > NES compiler written with node.js, featuring real-time compilation, > built-in sprite editor and code editor, and a nice little integration > wi

Re: [nodejs] Node.js for real-time app, that involves bank accounts? Is recommended?

2012-07-12 Thread Stewart Mckinney
When you have highly structured data with high levels of interdependence, such as lots of numbers that all depend upon one another - i.e bank accounts - you use SQL. When you have fairly unstructured, loose data that is fairly independent, such as content - i.e you are building a blog or another

Re: [nodejs] Why `fs.exists` has signature `(exists)` instead of `(err, exists)` ?

2012-08-20 Thread Stewart Mckinney
Yeah, I couldn't agree with Dan more. Consistency is super important, especially for a core lib. I mean, it could be worse, b ut, it should be addressed rather than ignored. On Mon, Aug 20, 2012 at 6:37 PM, Dan Milon wrote: > Thats what PHP thought about deprecation also. See where this got them

Re: [nodejs] Why `fs.exists` has signature `(exists)` instead of `(err, exists)` ?

2012-08-22 Thread Stewart Mckinney
Why not just decorate fs.exists with arguments.caller.length and call it a day? It seems like there are arguments on both sides here to accept the new standard and the old tradition. Eventually phasing out the old tradition has to happen ( especially since you know, not 1.0 or anything here ), but

Re: [nodejs] Why `fs.exists` has signature `(exists)` instead of `(err, exists)` ?

2012-08-22 Thread Stewart Mckinney
Ah, nevermind. Realized why. :/ On Wed, Aug 22, 2012 at 11:30 PM, Stewart Mckinney wrote: > Why not just decorate fs.exists with arguments.caller.length and call it a > day? It seems like there are arguments on both sides here to accept the new > standard and the old tradition. E

Re: [nodejs] Re: Is it a good idea for me to learn node.js?

2012-08-26 Thread Stewart Mckinney
I wouldn't say you end up with "less useful" knowledge in Rails. There are a lot of good patterns in the internals, which you will end up reading at some point. The knowledge about Rails' conventions is somewhat situational but even then you can apply similar concepts to Node applications , such as

Re: [nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-13 Thread Stewart Mckinney
I don't think Marak was attempting to do anything other than inform the community he was stepping down. It got emotional, sure, but you can't blame him for that. Sometimes its hard to contain your emotion in these situations, because you have a lot invested in it. Sometimes, your entire body and s

Re: [nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-13 Thread Stewart Mckinney
*explaining why someone was potentially let go when you don't know the situation yourself. On Thu, Sep 13, 2012 at 1:01 PM, Stewart Mckinney wrote: > I don't think Marak was attempting to do anything other than inform the > community he was stepping down. It got emotional, sur

Re: [nodejs] Re: Anonymous functions garbage collection

2012-09-14 Thread Stewart Mckinney
I'm not really sure that the "define outside of loop" form is actually less readable, but I have a suspicion that Crankshaft ( V8's optimizing pipeline ) would notice that you are redefining/executing the same function in the loop ( since there is no branch statement ) and optimize the definition o

Re: [nodejs] Crockford : Ynode : "I would fork node.js"

2012-09-15 Thread Stewart Mckinney
He's an opinionated guy, but I would like to hear why he felt that way. You really don't have many people who have seen as much as he has, working in the video game interactive industry, then the web, then taking several major architect roles at massive corporations. It's worthwhile at least hearin

Re: [nodejs] Crockford : Ynode : "I would fork node.js"

2012-09-15 Thread Stewart Mckinney
And I can't do math. At all. On Sat, Sep 15, 2012 at 4:49 PM, Stewart Mckinney wrote: > He's an opinionated guy, but I would like to hear why he felt that way. > You really don't have many people who have seen as much as he has, working > in the video game interactiv

Re: [nodejs] Re: What Editor / OS / Dev enviroment do you use?

2012-09-21 Thread Stewart Mckinney
OSX local, Ubuntu remote, and vim/tmux Reasons: homogeneity ( no learning of two editors, I use the same server side and locally ), and tmux allows me to have multiple sessions locally and remotely ( I have tmux all up in my tmux ). Also, vim has a lot of plugins and i've been diving into making

Re: [nodejs] Re: "Evil OS X"... the perfect client to a node server!

2012-09-30 Thread Stewart Mckinney
That's pretty much my take. It's nice to see he is enthusiastic about his endeavors, and I wish him the best of luck, but for me if you are not going to show me any code, why are you posting it in this forum? On Sun, Sep 30, 2012 at 4:02 PM, Sotonin wrote: > I've kept quiet on this thread to see

Re: [nodejs] Node.jar - Java port by Oracle

2012-10-08 Thread Stewart Mckinney
I'm just curious as to why having Node run on top of the Java run time is better than say, vanilla C++ compiled Node running naively. Doesn't it run on pretty much every popular platform now, anyway? If you are going to build out new services in Node.js, why not simply create auxiliary architectur

Re: [nodejs] Node.jar - Java port by Oracle

2012-10-08 Thread Stewart Mckinney
*natively. Christ. On Mon, Oct 8, 2012 at 8:21 PM, Stewart Mckinney wrote: > I'm just curious as to why having Node run on top of the Java run time is > better than say, vanilla C++ compiled Node running naively. Doesn't it run > on pretty much every popular platform now, any

Re: [nodejs] Re: "Evil OS X"... the perfect client to a node server!

2012-10-09 Thread Stewart Mckinney
May I say, I endorse Mark Hahn for nice-police, 2012. Also , much agreed with what Issacs said w.r.t "talk less, code and show more". If you don't want to show us all of your code, why not talk about some of the general concepts in a few blog posts, or create a contrived example that sort of touch

Re: [nodejs] Re: Poll for v0.10 feature: Crypto default to 'binary' strings vs defaulting to buffers

2012-10-09 Thread Stewart Mckinney
my vote is a), go for it On Tue, Oct 9, 2012 at 7:32 PM, mscdex wrote: > On Oct 9, 6:21 pm, codepilot Account wrote: > > Just out of curiosity, will this be the last nail in the coffin of > 'binary' > > encoding? At least as the default, I mean. > > As a default, I'd hope so. > > Last nail in t

Re: [nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread Stewart Mckinney
CouchDB is fine, if you don't like its performance, use CouchBase. Redis is fine too, and MongoDB is fine. IMHO Couch is easiest, and its not hard to migrate from Couch to Mongo/Redis if you are still prototyping and prepping for scale. Just don't use SQL to store a chat log. Content = noSQL Num

Re: [nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread Stewart Mckinney
> Redis is fine too, and MongoDB is fine. > How to use MongoDB, seems there's no way to take an instant (sort of > instant) feed of events? > > > On Wednesday, October 10, 2012 3:45:33 AM UTC+4, Stewart McKinney wrote: > >> CouchDB is fine, if you don't like its

Re: [nodejs] Re: Mongo vs. Couch vs. LevelDB ?

2013-08-29 Thread Stewart Mckinney
+1 On Thu, Aug 29, 2013 at 5:17 AM, Tom Ashworth wrote: > When picking a database, I think it's a bad idea to start by looking at > all the databases available to you and comparing their features. That's > like comparing all the vehicles available to you for a trap, picking a > supersonic jet b

Re: [nodejs] Ben Noordhuis's Departure

2013-12-04 Thread Stewart Mckinney
> > If that has traditionally been customary in open source then take note > that node is breaking from that tradition in the interest of creating a > more inclusive and humane community. I hate to say it, but from all my observation of this community for the last three years, I have to say the e

Re: [nodejs] Re: Ben Noordhuis's Departure

2013-12-10 Thread Stewart Mckinney
> > +1 for moving on - once joyent takes down that blog post. > > The post should be taken down, because referring to a person who is not > your employee, and then describing (with great disdain), what you would do > to them if they were your employee is, at the very least, bad form. At > worst, i

Re: [nodejs] Nominate me for a NodeConf 2012 Streams talk

2012-03-15 Thread Stewart Mckinney
Wait; is that for real? ( 20 minute limit? ) On Thu, Mar 15, 2012 at 6:53 PM, Mikeal Rogers wrote: > All talks are 20 minutes this year :) > > On Mar 15, 2012, at March 15, 20123:38 PM, Marco Rogers wrote: > > The call for speakers is open for NodeConf 2012. I want to talk about > streams in node

Re: [nodejs] Nominate me for a NodeConf 2012 Streams talk

2012-03-16 Thread Stewart Mckinney
h good. But do you see as the venue for people who want more >> in depth talks about node? I think the community needs that as well. >> >> Either way, I have some ideas about how to make an awesome 20 minutes >> about streams. >> >> :Marco >> >> >>

Re: [nodejs] Node in 1 year?

2012-04-02 Thread Stewart Mckinney
On Mon, Apr 2, 2012 at 6:53 PM, TipTop wrote: > So I would like to know where node thinks it will be in 1 year? > > What are things that are been looked at for improvement with node as a > whole? > > At some point nodes going to run into a wall, and that wall is javascript. > I feel that js is no

Re: [nodejs] Wrapping a C++ object, and adding properties directly onto args.This() = incorrect?

2012-04-23 Thread Stewart Mckinney
The reason why you use args.This() instead of creating an empty Value and appending keys to that is partially due to the way the "new" operator works in JavaScript when called with a function and operating in accordance with that when "faking" JS object creation via C++ functions. Roughly speaking,

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: Node Concepts

2012-05-02 Thread Stewart Mckinney
It's similar to a rose.. On Wed, May 2, 2012 at 9:44 AM, David Whitten wrote: > Wanna avoid process load? > > > On Wed, May 2, 2012 at 1:25 AM, Marak Squires wrote: > >> Can you code? >> >> >> On Tue, May 1, 2012 at 10:24 PM, rajesh wrote: >> >>> What is node? >>> >>> On May 2, 10:22 am, rajesh

Re: [nodejs] Re: Node Concepts

2012-05-02 Thread Stewart Mckinney
My head asplode! On Wed, May 2, 2012 at 2:01 PM, Marak Squires wrote: > You send node? > > > On Wed, May 2, 2012 at 11:00 AM, Mark Hahn wrote: > >> I hab a code. >> >> >> On Wed, May 2, 2012 at 10:54 AM, Stewart Mckinney wrote: >> >>> It&#x

Re: [nodejs] Re: Node Concepts

2012-05-02 Thread Stewart Mckinney
ahn wrote: >> >>> This skit is getting silly. >>> >>> >>> On Wed, May 2, 2012 at 11:05 AM, Marak Squires >>> wrote: >>> >>>> But how to node? >>>> >>>> >>>> On Wed, May 2, 2012 at 11:04 AM,

Re: [nodejs] Re: Is it legit to distribute binaries via npm?

2012-05-04 Thread Stewart Mckinney
I'm pretty sure its legit as long as the module's build is organized in such a way as to provide the binaries/link the binaries as a fallback and not necessarily as a first option. i.e, if the module can compile natively, it should do so, but otherwise if it cannot, see if there is a supported bina

Re: [nodejs] Re: Will vert.x pose a threat to node.js?

2012-05-11 Thread Stewart Mckinney
1) Pretty tight. The abstraction layer between v8 and node isn't thick enough or generalized enough, from what I can tell. To be fair, writing an abstraction layer between multiple JS engines is very difficult (I am doing such now for a different project, non-web related). JSC and v8, for instance,

Re: [nodejs] Faster 32-bit hashes

2012-05-30 Thread Stewart Mckinney
Is there any quantification on what "N" might be? On Wed, May 30, 2012 at 12:29 PM, Joran Greef wrote: > Hash implementation quality being equal, C++ may be faster for hash inputs > greater than N bytes where the cost of jumping between JS and C++ does not > outweigh the benefit. For keys smalle

Re: [nodejs] Faster 32-bit hashes

2012-05-30 Thread Stewart Mckinney
Also, isn't it not the key size, but the # of keys? On Wed, May 30, 2012 at 12:45 PM, Stewart Mckinney wrote: > Is there any quantification on what "N" might be? > > On Wed, May 30, 2012 at 12:29 PM, Joran Greef wrote: > >> Hash implementation quality being