Re: [nodejs] Re: Ben Noordhuis's Departure
+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, it makes the author, and by extension the company, look extremely immature. Small correction: at worst, it could be considered illegal. See laws in the US regarding defamation, false light, and employment law. The funny part about that blog post is that if Ben WAS a Joyent employee, and they HAD fired him over that incident, it absolutely WOULD be illegal to disclose the terms of termination in that manner, even if they were justified. At least in the US. On Tue, Dec 10, 2013 at 2:02 AM, Dave Horton d...@dchorton.com wrote: +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, it makes the author, and by extension the company, look extremely immature. -- -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [nodejs] Ben Noordhuis's Departure
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 exact opposite is the case, and this is only further evidence of it - except a few individuals, of which Ben was one. If people are not engaging in this project because we expect them to be civil then that's the tradeoff we have to make in order to appeal to all the people that won't engage with a community that is not civil. I don't think people are staying away from Node because they are afraid of not being able to let their prejudices fly free in a male dominated environment. I think they are staying away from the vitriol that seems to permeate *every* discussion around here. It doesn't matter if it is something impactful, like a core API, or this lynch-mob foofaraw that pushed Ben to leave Node. I have *never in my life* seen a level of static electricity in an open source community similar to this. So much for civility. I find the final irony to be the fact that IMHO, Ben was the most civil of all, or at least the most consistent civil voice. Others are free to disagree with me, but I'm pretty sure everyone lost here. On Wed, Dec 4, 2013 at 2:21 PM, Mikeal Rogers mikeal.rog...@gmail.comwrote: On Dec 4, 2013, at 11:16AM, Alex Kocharin a...@kocharin.ru wrote: The issue in that in opensource it's customary to base all commits on technical reasons. This opinion is clearly not shared by the project. To build and engage a community of humans there are human factors you must consider. Those are not technical, and they are important, more important than the technical minutia. 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. -Mikeal -- -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [nodejs] Re: Mongo vs. Couch vs. LevelDB ?
+1 On Thu, Aug 29, 2013 at 5:17 AM, Tom Ashworth t...@phuu.net 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 because of its speed, when all you needed was a bike to cycle 5 minutes down the road. All these databases, key-value stores and search engines are built to solve different problems, and without a problem to solve you can't make an informed decision. Working from the problem to a tools that can fix it is the only way to find the right data store. Here's some examples... You're building a javascript-heavy website that needs to work offline and on mobile. This problem suggests that you need the following attributes: - good syncing conflict resolution support, because changes can be made offline; - if possible, a client-side version so that you can use the same data storage API whether online or offline; - real-time event support, so that you can, for example, show notification to your users when another user makes a change to some data. What might you pick in this scenario? CouchDB is the obvious choice, as at its core it's about syncing and replication, and you can transparently support offline usage with the client-side implementation, PouchDB. You're building a web application where user's interactions are minimal but you serve alot of data, and the data you provide has a clear hierarchy: This suggests: - good support for relations between data, to allow you to turn raw data into data structures on the database side - transaction support, where you can batch together a set of operations to make sure you can rollback if something goes wrong - redundancy, where every write you make can also be made in other places so that, if you master database falls over, you can quickly restore access In this case, you could pick something like PostgreSQL or MySQL (yep, still a good option). Mongo also wouldn't be a bad option, although its (lack of) transaction support has had me quite frustrated recently. To quickly cover some other things you mention: ElasticSearch isn't a database as such – it's an engine for searching your data. If you need to provide search over a ton of data, take a look at it. MongoDB is a document storage engine, and is generally useful, reliable and easy to set up. Redis, LevelDB and other key-value data stores do not offer, natively, support for storing and manipulating data structures because they are just key and value stores. But, as Mikeal said, there's a community around Level (and probably Redis) that's adding these things on top – and in that sense you can 'build your own database'. I don't know anything about RethinkDB - at a cursory glance, it doesn't look like they've rethought much, and it's a young platform so don't expect every problem you come up with to be Googleable. You only get that with mature systems like MySQL, Postgres - but Mongo and Couch are catching up in this area. Both have active and helpful communities, like Node does. On the hosted/self-hosted question – I personally go for hosted databases where the problem suggests it. I'm not an operations guy and I don't know about database system administration. I'm a developer, and I'm concerned with the application logic – keeping a database running, and running fast, is just a distraction. However, if you're working in a team and have servers ( ops people) available, there are good reasons to go for a self-hosted option. As you can tell, there's a lot to picking a data store – but I think one thing's for sure: you have to base a decision on your particular problem. Cheers, Tom On Wednesday, August 28, 2013 6:14:57 PM UTC+1, Dylan Hassinger wrote: These posts really cleared it up for me. Cool stuff. Thank you so much!! On Wed, Aug 28, 2013 at 1:12 PM, Mikeal Rogers mikeal...@gmail.comwrote: I would phrase this differently. As you write your own database using node.js and LevelDB you can host it pretty much anywhere that you can run a node.js program. Its deployment and management is identical to how you manage your node.js application. This means that you avoid most of the pain that goes with running infrastructure, like traditional databases, and it means you don't really need/want specialized database hosting. On Aug 28, 2013, at 7:37AM, vladimir@gmail.com wrote: so there there is no such thing as hosted LevelDB -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-* *Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nod...@googlegroups.com To unsubscribe from this group, send email to
Re: [nodejs] Re: Evil OS X... the perfect client to a node server!
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 touches on what you are doing in your code? I think we all understand keeping some of the secret sauce secret, but you know, we all come here to learn from one another. Also, if you really want to be revolutionary or a trail-blazer - or hell, a programmer in general - you will have to adapt the absolutely giving no fucks attitude towards what people say about you in general. A part of you will have to internalize it ( or else you will never grow ), but if you are truly working on something great or mind-blowing, there will be a lot of convincing to do. You aren't going to convince us with YouTube videos. Try some blog posts and some code, instead. Good luck. On Tue, Oct 9, 2012 at 3:11 PM, Rick Waldron waldron.r...@gmail.com wrote: On Tue, Oct 9, 2012 at 1:43 PM, Mark Hahn m...@hahnca.com wrote: I said much the same as you have here and got a gnarly chastising. I don't remember exactly what you said, or how I chastised you, but I do remember it was the words used, not the message. Wasn't talking about you, homeboy. I was on a curmudgeon role that day. I chastised someone for calling another user a tard. I couldn't believe two people came back and defended his usage. And yes, I'm the nice-police. On Mon, Oct 8, 2012 at 10:04 PM, Rick Waldron waldron.r...@gmail.comwrote: Funny thing, I said much the same as you have here and got a gnarly chastising. -Rick On Monday, October 8, 2012 at 11:37 PM, Joshua Gross wrote: Dennis, this is a developer forum. If you want to peddle your software and aren't willing to show something besides videos, you're in the wrong place. Also I'm not going to watch a 15 minute video. You're not selling yourself very well, I kindly advise you to move on so this stops clogging my inbox :) -- Joshua Gross Christian / SpanDeX / BA Candidate of Computer Science, UW-Madison 2013 414-377-1041 / http://www.joshisgross.com On Oct 8, 2012, at 7:12 PM, Dennis Kane dkan...@gmail.com wrote: Why do you want the code so bad? It's not like there's any kind of fancy algorithms at work. There are many many open source windowing packages out there. It's not exactly rocket science, this. It's all been done many times before. The only difference is that this one is *my* baby! Besides, you are welcome to all the code of my desktop prototype on my site at luvluvluv.info... it's just sitting there on the server for the taking. I am mainly using this thing as blackmail to get people to be interested in being my friend. I want to do some real world community building, and something like this will go a long way to get a cooperative business up and running. Furthermore... you do realize that asking another programmer to just show me your code is exactly the same as asking a girl to just show me your breasts, right? I mean, I have nothing against it in principle, but, my god... I hardly know ye!!! My lastest work includes that rubber-band selection feature as well as dropping icons directly onto folder icons (with that open folder hover trick). I have also included some basic image file support. Latest video here: http://www.youtube.com/watch?v=jL5r0b7WWvU On Friday, October 5, 2012 5:56:26 PM UTC-4, sotonin wrote: Code post it else Zzzz On Fri, Oct 5, 2012 at 4:37 PM, Dennis Kane dka...@gmail.com wrote: See the newest features here-- http://www.youtube.** com/watch?v=pF_2DwueGLM http://www.youtube.com/watch?v=pF_2DwueGLM The current version of the program now includes drag and drop functionality of text files from the native desktop straight into the browser desktop or (any of the subfolders). The difference between my drag and drop and all the HTML5 demos that you see on the web is that the dropped files immediately become icons that are integrated into the program. I will soon start working on getting multimedia icons/files working, so you'll be able to drop those directly in too. Then I will probably do a very basic kind of image editing demo that will allow you to change individual pixels or some such nonsense. But I don't want to get bogged down in the details of any particular application, because I always want to stay focused on the big picture of creating a totally powerful and intuitive way to organize our online lives. Anyway, I know I am quite a controversial figure here, but there should be no controversy that this thing is just about ready for prime time. I really do need to start getting interested people on board who would like to help me push the web forward. The basic mission statement for the venture will basically be that the old web (HTML4/version 1.0) is dead and gone. If
Re: [nodejs] Re: Poll for v0.10 feature: Crypto default to 'binary' strings vs defaulting to buffers
my vote is a), go for it On Tue, Oct 9, 2012 at 7:32 PM, mscdex msc...@gmail.com wrote: On Oct 9, 6:21 pm, codepilot Account codepi...@gmail.com 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 the coffin totally though? I'd hope not. This particular discussion (eliminating this encoding altogether) has been had on the list here and on node's github issues almost ad nauseum, but I am still in favor of keeping it around (with a note discouraging its use in the docs) until Buffer's core capabilities are equivalent or nearly equivalent to those of strings (e.g. indexOf, lastIndexOf, etc). -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Which database to use for a realtime chat game?
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 Numbers = SQL .02 On Tue, Oct 9, 2012 at 5:00 PM, John Fowler john.fowle...@gmail.com wrote: In case it matters, if you're looking for a client-side relational database engine, SequelSphere http://www.sequelsphere.com/may be something to look at. It is an HTML5/JavaScript relational database that has full support of SQL and provides the ability to store data in localStorage or other manners. Hope this helps, john... -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Node.jar - Java port by Oracle
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 architecture to support it? Service layers don't need to be physically integrated, although I can see the argument from an gee this is gonna be easier to convince my IT department to do perspective. To me it just seems like an interesting exercise, not anything truly practical, although I don't mind being educated in the matter. On Mon, Oct 8, 2012 at 6:10 PM, Patrick Mueller pmue...@gmail.com wrote: On 10/4/12 1:16 PM, Jonathan Buchanan wrote: I'm at JavaOne, for my sins, and I've been attending all the sessions related to Oracle's new JavaScript implementation in Java, called Nashorn. What initially caught my eye was that they're also porting the Node.js APIs, module system etc. in a project called Node.jar. For folks interested in node on Java, there's a project out there called SprintStack which - as near as I can tell - also aims to provide node on Java. http://sprintstack.com/ I have no experience with it, just happened to notice it a while back. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-** Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Node.jar - Java port by Oracle
*natively. Christ. On Mon, Oct 8, 2012 at 8:21 PM, Stewart Mckinney lordma...@gmail.comwrote: 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 architecture to support it? Service layers don't need to be physically integrated, although I can see the argument from an gee this is gonna be easier to convince my IT department to do perspective. To me it just seems like an interesting exercise, not anything truly practical, although I don't mind being educated in the matter. On Mon, Oct 8, 2012 at 6:10 PM, Patrick Mueller pmue...@gmail.com wrote: On 10/4/12 1:16 PM, Jonathan Buchanan wrote: I'm at JavaOne, for my sins, and I've been attending all the sessions related to Oracle's new JavaScript implementation in Java, called Nashorn. What initially caught my eye was that they're also porting the Node.js APIs, module system etc. in a project called Node.jar. For folks interested in node on Java, there's a project out there called SprintStack which - as near as I can tell - also aims to provide node on Java. http://sprintstack.com/ I have no experience with it, just happened to notice it a while back. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-** Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Evil OS X... the perfect client to a node server!
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 soto...@gmail.com wrote: I've kept quiet on this thread to see how it plays out. I was waiting for the OP to finally post something similar to Why is everybody ignoring me why isn't there any interest?. Now that it's happened, here's my 2 cents. While I admit It looks neat from the YouTube video, It's just a gimmick. There's been numerous web desktop projects throughout the years and they all fail to garner enough real interest to go anywhere. Quite frankly there are so many UI libraries out there for building nice UI that nothing in your demo is really that revolutionary at all. Node has been around a while for doing the file IO, UI libraries are plentiful. In fact the only thing special about your demo is that it's a Mac OS clone... (Good luck open sourcing something thats 100% Apple copyrighted material.). It also doesn't help the OPs general attitude throughout all his posts is Everything else sucks, my stuff is magical. Very reminiscent of Steve Jobs. Adjusting your tone a little and you might have gotten a little more fish biting. That said, I have always been interested in the web desktop type projects, just not interested enough to contribute. I like to see the results and code. (This is a programming mailing list afterall, nobody cares much about youtube videos, we want to see code) On Sun, Sep 30, 2012 at 1:42 PM, Gerald Klein j...@zognet.com wrote: Yes that IS much better, thank you for clearing that up and I am sure OP will respond to that in a more positive fashion. On Sun, Sep 30, 2012 at 1:37 PM, Rick Waldron waldron.r...@gmail.comwrote: On Sunday, September 30, 2012 at 2:17 PM, Gerald Klein wrote: The term constructive criticism which is always welcome innately suggests that there is a better alternative idea or path that could be taken. Now logic would also suggest that the person making this criticism have at least an inkling of what that might be. I've been really patient with your aggro commentary, but it's clear to me that you're not reading my responses in their entirety. 1. I'm definitely interested in the OPs project. 2. YouTube videos do not satisfy my interests as a programmer and software engineer. 3. I want to see some code, that will be exciting Hopefully I've made myself perfectly clear this time. Rick On Sun, Sep 30, 2012 at 1:08 PM, Rick Waldron waldron.r...@gmail.comwrote: On Sunday, September 30, 2012 at 1:55 PM, Mark Hahn wrote: I have never found negative comments to be helpful, I respectfully disagree. Informed opinions should be welcome here. +1 Informed and critical opinions are necessary for broader growth On Sun, Sep 30, 2012 at 10:32 AM, Gerald Klein j...@zognet.com wrote: I myself only from the seventies and more into the eighties in a practical way. Accept my apologies but the comment before you was a bit harsh and I was already annoyed. I have never found negative comments to be helpful, I also don't assume that I can see the direction that something will take. What I know is that it is good for people to be creative whatever that form takes. He is putting is ideas out there which is more then most people will ever do. I applaud any effort by a person putting out their own ideas out there for everyone to see and I hope he continues to do it and he gets to where he's going, I hope someday he makes millions from it. I would applaud again. On Sun, Sep 30, 2012 at 12:10 PM, Mark Hahn m...@hahnca.com wrote: This is also to say that from this may come something interesting That would be great and I certainly don't want to dampen any enthusiasm. I'm just giving my opinion as a potential user. To journey to a great new place, it would seem to be easier to start from somewhere modern instead of something old and moldy. I have been using computers since the mid '60s and witnessed many metaphors come and go. I for one would be happy to get rid of the desktop. Most users nowadays grew up with the web, so it is a metaphor that they are at least as familiar with as the desktop. Maybe a glimpse into the future of the desktop could prove me wrong. Where can it go from here? On Sun, Sep 30, 2012 at 9:59 AM, Gerald Klein j...@zognet.com wrote: The point I think he is making is that some derivative of a familiar metaphor will help people grab on to the functionality or feel more at home. This ia also to say that from this may come something interesting after iteration(x) that is created. On Sun, Sep 30, 2012 at 11:50 AM, Mark Hahn m...@hahnca.com wrote: I know that this is a popular thing to do, but I don't understand it. Why would you want to put a metaphor that dates from 30 years ago on a modern brower? I
Re: [nodejs] Re: What Editor / OS / Dev enviroment do you use?
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 my own lately. I personally like Sparkup, Tabularize, and thoughtbot's dotfiles for extra vim stuff and git status on the command line: ( https://github.com/thoughtbot/dotfiles ) Tmux makes it easy to manage my workflow, as well. But it's far more useful remotely, when you can just attach-session and be right where you left off. On Fri, Sep 21, 2012 at 2:43 PM, themitchy mi...@nodefly.com wrote: OS X, Eclipse, Aptana plugin Reasons: Eclipse debugger, aptana terminals inside of eclipse, git integration. - mitch On Thursday, September 20, 2012 9:42:27 AM UTC-7, Andrew Mclagan wrote: Im switching to Ubuntu after struggling with windows, i will replace notepad++ with Vim and finally get into terminal... Im interested in what OS / Dev Enviroment other Node.js developers use? -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Crockford : Ynode : I would fork node.js
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 hearing some of his reasoning, especially since he no longer works at Yahoo - and thats what his whole speech was about ( what he would do to fix Yahoo ). I don't think he's hatin just to be hatin. Also - not sure if he's quite senile grandpa age, but that clip did make me laugh. I'd put him at late 50s, maybe just turning 60? He worked at Lucas Arts in the 80s-90s, I would guess he was 20ish then - i'd put my money at 25 circa 1986, making him 59 now. Any other bets on his age? :D On Sat, Sep 15, 2012 at 3:52 PM, Marak Squires marak.squi...@gmail.comwrote: http://www.youtube.com/watch?v=ARXfQzfl9EQ On Sat, Sep 15, 2012 at 12:42 PM, Marak Squires marak.squi...@gmail.comwrote: Crockford is like your JavaScript Grandfather. Be nice to him and smile and nod when he tells you stories about when he use to wear an onion on his belt, which was the style at the time. On Sat, Sep 15, 2012 at 12:39 PM, Alan Gutierrez a...@prettyrobots.comwrote: On 9/15/12 10:45 AM, Jorge wrote: http://www.youtube.com/watch?**v=8HzclYKz4yQ#t=22m30shttp://www.youtube.com/watch?v=8HzclYKz4yQ#t=22m30s I would fork nodejs. Nodejs is a great thing and I would bet the company on it, but I would not bet the company on Joyent. I see Joyent doing some stuff which is amateurish, maybe a little chidish, so I would fork it, and, I would then give that back to the community, and it would be industrial strength and secure and designed to operate a Yahoo scale and would make it available for everybody for free Crockford uses Yahoo! as a trolling platform. -- Alan Gutierrez - @bigeasy -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-* *Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Crockford : Ynode : I would fork node.js
And I can't do math. At all. On Sat, Sep 15, 2012 at 4:49 PM, Stewart Mckinney lordma...@gmail.comwrote: 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 hearing some of his reasoning, especially since he no longer works at Yahoo - and thats what his whole speech was about ( what he would do to fix Yahoo ). I don't think he's hatin just to be hatin. Also - not sure if he's quite senile grandpa age, but that clip did make me laugh. I'd put him at late 50s, maybe just turning 60? He worked at Lucas Arts in the 80s-90s, I would guess he was 20ish then - i'd put my money at 25 circa 1986, making him 59 now. Any other bets on his age? :D On Sat, Sep 15, 2012 at 3:52 PM, Marak Squires marak.squi...@gmail.comwrote: http://www.youtube.com/watch?v=ARXfQzfl9EQ On Sat, Sep 15, 2012 at 12:42 PM, Marak Squires marak.squi...@gmail.comwrote: Crockford is like your JavaScript Grandfather. Be nice to him and smile and nod when he tells you stories about when he use to wear an onion on his belt, which was the style at the time. On Sat, Sep 15, 2012 at 12:39 PM, Alan Gutierrez a...@prettyrobots.comwrote: On 9/15/12 10:45 AM, Jorge wrote: http://www.youtube.com/watch?**v=8HzclYKz4yQ#t=22m30shttp://www.youtube.com/watch?v=8HzclYKz4yQ#t=22m30s I would fork nodejs. Nodejs is a great thing and I would bet the company on it, but I would not bet the company on Joyent. I see Joyent doing some stuff which is amateurish, maybe a little chidish, so I would fork it, and, I would then give that back to the community, and it would be industrial strength and secure and designed to operate a Yahoo scale and would make it available for everybody for free Crockford uses Yahoo! as a trolling platform. -- Alan Gutierrez - @bigeasy -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List- **Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Anonymous functions garbage collection
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 out of the loop. Would be nice to get some benchmarks to confirm that though. I would probably define the method outside anyway because personally I find that more readable - its easier for me to read doTask() in a loop. On Fri, Sep 14, 2012 at 3:42 PM, Shripad K assortmentofso...@gmail.comwrote: Why not use recursive functions? var a = getInitialData(); function doSomething(el, i) { if(i a.length) { /* do something non-blocking here*/ doSomething(a[i+1], i+1); } } doSomething(a[0], 0); On Sat, Sep 15, 2012 at 12:00 AM, dhruvbird dhruvb...@gmail.com wrote: Hello Maxim, The real reason jslint gives you a warning is if you were to use the loop variable i within the function in the closure, you would always get the value of i to be a.length (assuming that the function isn't evaluated synchronously and that you don't have another function declared within the first one). The code as you have shown seems to be perfectly safe to use though. I wouldn't worry too much about the performance unless you profile it and determine it to be a bottleneck. Regards, -Dhruv. On Thursday, September 13, 2012 2:00:42 AM UTC-4, Maxim Kazantsev wrote: It is a pretty typical approach to use an anonymous function for asynchronous calls from inside a loop: var a = getInitialData(); for (var i = 0, len = a.length; i len; i++) { (function(el) { /* do something non-blocking here */ })(a[i]); } JSLint doesn't like this code with Don't make functions within a loop warning, and it is actually right since it really creates a new anonymous function on every single loop iteration. An obvious solution is to declare this function outside a loop, but it would make a code less readable. Even if a declaration would just precede the loop: you see a call here, you see a declaration somewhere else, and here you are, lost all your attention. My question is how bad this approach is for an overall performance? In particular, how fast and efficient a garbage collection of anonymous functions is? How much memory a typical anonymous function can consume and how long it may exist in a memory? -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Giving up on node.js / Flatiron / hook.io
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 soul. I think we all know MS had a lot invested in this. I don't think you should be criticizing people for that, for not being automata in always in service of corporations and business - first and foremost because this is an open source community which contains enthusiasts and freelancers as well. I also don't think that, when someone has just recently been let go, that you should be ex I *certainly* don't think you should be saying something along the lines should signal why someone was fired. Really? *Wow*. In situations like this, startups always have the option to get out in front of the situation and announce that a major member is leaving. This has happened at every single start up I have worked for. They should have done that, and they didn't. The reason why they should do it is precisely this, to avoid having to have the person severed explain - potentially emotionally - to the rest of the community why they will no longer be participating in projects that are beyond the scope of a company's NDA. This is what happens when they don't. I respect everyone over there at NJ, but that was a misstep. If you have scathing words, keep them to yourself. The only thing you did was damage the espirit de corps of this community. On Thu, Sep 13, 2012 at 8:13 AM, Nathan White changereal...@gmail.comwrote: Marak, For the record I think your a pretty cool guy I just don't agree with your actions. You have let your ego distort the lens of reality. I, like yourself am very much a risk taker. With risks there are successes and failures. Look forward not backwards. It is admiral to inform the community about your changing involvement on projects. This has been the guise of this thread but not the true motive. People have asked if you will transfer ownership, with no response. There is a reason github made this a core feature. We all thank you for your involvement and wish you the best of luck in your future endeavors. Visions, strategies and goals change at companies all the time, especially startups. It is obvious that your not in alignment with your previous employer. Remember there are many other people involved in building companies. Teams need unity not discord. Companies must remove barriers to unity, sometimes it people. It's not about who is right or wrong, it just is. Move on. Put your talents to use, you should have no problem finding a paycheck. The self loathing will get you nowhere. On Sep 13, 2012, at 12:03 AM, Marak Squires marak.squi...@gmail.com wrote: Nathan - My intention was to inform the community I would no longer be maintaining a lot of projects that many developers communicate with me about on a semi-frequent basis. The alternative would have been to silently stop supporting these projects ( disappear ) without any notice or explanation. - Marak On Wed, Sep 12, 2012 at 10:17 PM, Nathan White changereal...@gmail.comwrote: I usually refrain from this bs but when people start asking for explanations about such absurdities I find it very hard to refrain. Marak's behavior is childish and deserves no explaination. The way he brought this shit to the forum should signal why he was fired. None of these issues should take away from all the other talented members of nodejitsu. It doesn't matter if Marak is right, to handle an issue like this in a public forum is inexcusable. On Sep 12, 2012, at 10:33 PM, Adam Crabtree atcrabt...@gmail.com wrote: When a leader departs from a community like this, a reasonable explanation helps answer the most basic questions that are on everyone's minds, while setting expectations of privacy in what they chose not to share. We should respect that and appreciate Marak's willingness to share personal details for the sake of greater clarity. Dramatic or not, none of us knows unless we know the whole story, which Marak chose not to share. Consider reaching out to Marak privately to encourage him in what is obviously a less than ideal situation. Otherwise, let's do as Mikeal suggests. Cheers, Adam Crabtree On Wed, Sep 12, 2012 at 12:46 PM, Micheil Smith mich...@brandedcode.comwrote: Really, that was just me getting a wee bit annoyed at the idea of the whole dramatisation here. If a company fires you, they either had a reason to, or, you have a lawsuit you can probably press, if you really want to. No need to make a big noise about it and try to paint them out as evil or wrong or whatever, it's fine though if someone asks that you're honest about it, but do we really need to discussion or even here about Marak's firing on the Node.js mailing list? As far as I'm concerned, not really, no.
Re: [nodejs] Re: Giving up on node.js / Flatiron / hook.io
*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 lordma...@gmail.comwrote: 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 soul. I think we all know MS had a lot invested in this. I don't think you should be criticizing people for that, for not being automata in always in service of corporations and business - first and foremost because this is an open source community which contains enthusiasts and freelancers as well. I also don't think that, when someone has just recently been let go, that you should be ex I *certainly* don't think you should be saying something along the lines should signal why someone was fired. Really? *Wow*. In situations like this, startups always have the option to get out in front of the situation and announce that a major member is leaving. This has happened at every single start up I have worked for. They should have done that, and they didn't. The reason why they should do it is precisely this, to avoid having to have the person severed explain - potentially emotionally - to the rest of the community why they will no longer be participating in projects that are beyond the scope of a company's NDA. This is what happens when they don't. I respect everyone over there at NJ, but that was a misstep. If you have scathing words, keep them to yourself. The only thing you did was damage the espirit de corps of this community. On Thu, Sep 13, 2012 at 8:13 AM, Nathan White changereal...@gmail.comwrote: Marak, For the record I think your a pretty cool guy I just don't agree with your actions. You have let your ego distort the lens of reality. I, like yourself am very much a risk taker. With risks there are successes and failures. Look forward not backwards. It is admiral to inform the community about your changing involvement on projects. This has been the guise of this thread but not the true motive. People have asked if you will transfer ownership, with no response. There is a reason github made this a core feature. We all thank you for your involvement and wish you the best of luck in your future endeavors. Visions, strategies and goals change at companies all the time, especially startups. It is obvious that your not in alignment with your previous employer. Remember there are many other people involved in building companies. Teams need unity not discord. Companies must remove barriers to unity, sometimes it people. It's not about who is right or wrong, it just is. Move on. Put your talents to use, you should have no problem finding a paycheck. The self loathing will get you nowhere. On Sep 13, 2012, at 12:03 AM, Marak Squires marak.squi...@gmail.com wrote: Nathan - My intention was to inform the community I would no longer be maintaining a lot of projects that many developers communicate with me about on a semi-frequent basis. The alternative would have been to silently stop supporting these projects ( disappear ) without any notice or explanation. - Marak On Wed, Sep 12, 2012 at 10:17 PM, Nathan White changereal...@gmail.comwrote: I usually refrain from this bs but when people start asking for explanations about such absurdities I find it very hard to refrain. Marak's behavior is childish and deserves no explaination. The way he brought this shit to the forum should signal why he was fired. None of these issues should take away from all the other talented members of nodejitsu. It doesn't matter if Marak is right, to handle an issue like this in a public forum is inexcusable. On Sep 12, 2012, at 10:33 PM, Adam Crabtree atcrabt...@gmail.com wrote: When a leader departs from a community like this, a reasonable explanation helps answer the most basic questions that are on everyone's minds, while setting expectations of privacy in what they chose not to share. We should respect that and appreciate Marak's willingness to share personal details for the sake of greater clarity. Dramatic or not, none of us knows unless we know the whole story, which Marak chose not to share. Consider reaching out to Marak privately to encourage him in what is obviously a less than ideal situation. Otherwise, let's do as Mikeal suggests. Cheers, Adam Crabtree On Wed, Sep 12, 2012 at 12:46 PM, Micheil Smith mich...@brandedcode.com wrote: Really, that was just me getting a wee bit annoyed at the idea of the whole dramatisation here. If a company fires you, they either had a reason to, or, you have a lawsuit you can probably press, if you really want to. No need to make a big noise about it and try to paint them out as evil or wrong or whatever, it's fine
Re: [nodejs] Why `fs.exists` has signature `(exists)` instead of `(err, exists)` ?
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 i'm just curious if there's any resistance to that interim solution right now. Seems like that could work, and polymorphism is not necessarily a forsaken tradition in programming. Also, Why does GMail think that polymorphism is not a word? Seriously? On Wed, Aug 22, 2012 at 6:45 PM, Scott González scott.gonza...@gmail.comwrote: On Wed, Aug 22, 2012 at 6:34 PM, Dan Milon danmi...@gmail.com wrote: Isaac, i am curious why you believe fs.exists should stay as is. https://groups.google.com/forum/#!msg/nodejs/oqlT9ZtUZd0/XicWJx6mC4oJ -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Why `fs.exists` has signature `(exists)` instead of `(err, exists)` ?
Ah, nevermind. Realized why. :/ On Wed, Aug 22, 2012 at 11:30 PM, Stewart Mckinney lordma...@gmail.comwrote: 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 i'm just curious if there's any resistance to that interim solution right now. Seems like that could work, and polymorphism is not necessarily a forsaken tradition in programming. Also, Why does GMail think that polymorphism is not a word? Seriously? On Wed, Aug 22, 2012 at 6:45 PM, Scott González scott.gonza...@gmail.comwrote: On Wed, Aug 22, 2012 at 6:34 PM, Dan Milon danmi...@gmail.com wrote: Isaac, i am curious why you believe fs.exists should stay as is. https://groups.google.com/forum/#!msg/nodejs/oqlT9ZtUZd0/XicWJx6mC4oJ -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Why `fs.exists` has signature `(exists)` instead of `(err, exists)` ?
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 danmi...@gmail.com wrote: Thats what PHP thought about deprecation also. See where this got them. On Mon, Aug 20, 2012 at 6:59 PM, Arnout Kazemier i...@3rd-eden.comwrote: I really dont get why people want to depricate functions just because they dont agree with the api signature. This is a useful function, it doesnt hurt anyone if we keep it, but it does hurt when its removed. On 20 aug. 2012, at 17:53, Tim Caswell t...@creationix.com wrote: How about removing it from the docs and making it non-enumerable in the fs module. Then any new developers won't know it's there unless they are reading someone else's code. Or maybe in the docs simply say that it shouldn't be used and is only left there so as to not break old code. Also, how is this different from deprecation? On Sun, Aug 19, 2012 at 4:02 PM, Bert Belder bertbel...@gmail.com wrote: On Sunday, August 19, 2012 8:23:53 PM UTC+2, Nuno Job wrote: Maybe a note in the docs tell people that fs.stat is a better choice? Good idea Mikeal. Deprecation console.error pointing people to fs.stat in the docs should do the trick. I don't see enough compelling reasons to deprecate it. I think a doc addition that warns people about the funky signature and the anti-pattern would suffice. - Bert -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Node.js for real-time app, that involves bank accounts? Is recommended?
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 Pintrest - use NoSQL. Its all about the data. Don't be afraid to use both, however. It doesn't sound like your application has much use for NoSQL, but if you have a blog section or something of that nature, consider it. NoSQL really shines in conditions where you have changing content needs. On Thu, Jul 12, 2012 at 6:30 PM, Dave Clements huperekch...@googlemail.comwrote: When it comes to finance, SQL comes out on top - things like MySQL have been battle tested for decades, accounts information is intrinsicly relational so relational databases are the right fit, ACID compliance with nosql is more liberal but with your project you'd need 100% reliability. Also theres transactions and atomic operations, which strictly couple two entries to ensure that if you debit one place, you credit another place. NoSQL doesn't have the same level of capabilities. If you'd asked for something super fast, pleasant and exciting to use, its nosql all the way. But for finance, SQL. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] NES compiler written with node.js
This is great. :D On Tue, Jul 10, 2012 at 12:20 AM, Klaus Silveira klaussilve...@gmail.comwrote: 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 with Ben Firshman's JSNES emulator. http://gutomaia.net/nodeNES/ -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Isolates removed
+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 marak.squi...@gmail.comwrote: I'd recommend starting a new mailing list post explaining the problem you are attempting to solve. Someone should be able to help guide you towards the correct architecture. Better to figure out a general solution before trying to figure out the specific technical limitations of a potential implementation. On Tue, Jun 12, 2012 at 6:15 PM, Andrew Finnell andrew.finn...@gmail.comwrote: Thank you for the reply, I did come across your product. So if you put any work into getting Google to bring up your product, it worked. I cannot use any application management system until I solve the problem of being able to run 10,000 instances of an app. Ultimately I have control over how these apps are written so I can create a framework in nodejs that was essentially a nodejs fragment. But I like the idea of creating a system that allows one to run the app outside of the system as well as inside of it. In all reality, without writing an app framework, I'll have this same issue in Erland and Java. Spawning 10,000 threads in Java is also unreasonable and smells of a bad design. Clustering multiple of these apps in a single nodejs isn't out of the issue. But they would have to be agnostic as to which apps are running and I would need to control how many apps run in X number of nodes. I saw threads a gogo and thought this would help but after reviewing it, it solves another issue I was having (CPU intensive calculations). I think I may have a design issue to work out first that has nothing to do with NodeJS. I have looked at Erlang before, mostly because that is what RabbitMQ was written in. I really like what nodejs would give me. The ability to write short, event driven I/O applications. That is exactly what I need. It's just a matter of finding a way to run thousands of these. The requirements are: Apps should be code complete. All the code needed to run the app is there (no fragments) Apps cannot bring down other apps if they crash -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Ideas for contribution to node.js in the context of a Master's Thesis
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 standard Python interpreter and v8 and how they are interpreted. A key thing to understand about v8 is that it JIT compiles your Javascript straight into machine language ( via the meta-lang pipeline: Crankshaft- Helium- Lithium ). This makes context switches far, far more costly, because v8 does not actually deal directly ( much ) with its abstractions. It does use them in formulation but then discards them when no longer needed. This means if you go a-fetching v8 has to do some searching and constructing before it can make your switch, unless you've asked v8 to 'hold onto' something ( which in turn, slows down the VM slightly via the GC and forces some parts of the VM to not optimize because your essentially telling the interpreter this is volatile ). This is part of the reason why v8 encourages you to use Local Handles whenever possible. The smackdown here isn't that hard - your looking at about 0.00032ms or so ( off the top of my head ) - but you take an array of say, a million elements, and there you go. Suddenly your looking at 1/3 seconds time just to iterate over a massive JS array in C++. Compare this to Python, or Ruby, or Perl, most interpreters of which keep their abstractions available ( in memory ) and deal with them directly. Context switches are not as painful because Python/Ruby/Perl do not have to do any building up on fetch or switch, they simply grab the abstraction's pointer and go. So its really best to limit those as much as possible. If you do proceed, some things to keep in mind: -As I mentioned, big arrays are painful if you need to access them in C. I would recommend following Node's lead and using buffer patterns where appropriate. In other words, try to make your switches as 'meaty' as possible. -It seems to be more painful to access JS from C++ ( via -Get() ) then it does to callback C++ from JS ( via FunctionTemplates ). -... but it doesn't seem that painful to call JS functions, or to create one-use JS Objects for your arguments in C++ ( via Function-Call() and v8::Object::New ). These are just my (not particularly scientific) observations. Best of luck! On Tue, Jun 12, 2012 at 6:29 PM, Joshua Holbrook josh.holbr...@gmail.comwrote: people said that at first about numerical calculations in Python before NumPy existed I doubt it. Scientists *love* having a scripting language on top of their fortrans. It's a very old idea. --Josh On Tue, Jun 12, 2012 at 3:15 PM, Matt hel...@gmail.com wrote: On Tue, Jun 12, 2012 at 6:09 PM, Joshua Holbrook josh.holbr...@gmail.com wrote: it's not something that can't be done, it just hasn't been done yet, IMHO. Right. It's doable, it's just not actually that great of an idea. Hah, well people said that at first about numerical calculations in Python before NumPy existed, and Perl before PDL existed - after all that's what Mathematica and FORTRAN were for ;-) -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- Joshua Holbrook Engineer Nodejitsu Inc. j...@nodejitsu.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Faster 32-bit hashes
Is there any quantification on what N might be? On Wed, May 30, 2012 at 12:29 PM, Joran Greef jo...@ronomon.com 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 smaller than N bytes, hashing in JS may be faster. On Wednesday, May 30, 2012 6:17:17 PM UTC+2, Mark Hahn wrote: Are you talking about calculating the hash in javascript? If so then a third way, using a C++ extension, would be much faster than either 31 or 32. On Wed, May 30, 2012 at 8:05 AM, Joran Greef jo...@ronomon.com wrote: If you're doing 32-bit hashes in Javascript and are willing to trade a bit, then a 31-bit hash may be at least an order of magnitude faster: https://groups.google.com/d/**msg/v8-users/zGCS_wEMawU/**6mConTiBUyMJhttps://groups.google.com/d/msg/v8-users/zGCS_wEMawU/6mConTiBUyMJ -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-* *Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Will vert.x pose a threat to node.js?
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, have *very* different ideas of how to do things. From what I understand, as well, SpiderMonkey has really limited support for passing arbitrary information (void *) in callback functions, which is part of the magic of v8. 2) Wondering what runtime API compatibility means. If it means SpiderMonkey will have a similar class structure to v8, with a very similar callback pattern, then abstraction layers for node are possible and you could run it off SpiderMonkey. But looking at SpiderMonkey's API, thats doubtful. If it means SpiderMonkey's JS environment will have a completely congruous API to the v8 JS environment, then that doesn't really make it easier to run node on SpiderMonkey, because a significant abstraction layer would need to be built and some re-organization done before it node's Buffer/Parser classes could work through the layer on both engines, both of which are pretty key to node. However, restructuring for SpiderMonkey would probably make building on top of JSC pretty easy, as its kind of in the middle between SM and v8. On Fri, May 11, 2012 at 1:00 AM, dhruvbird dhruvb...@gmail.com wrote: I was wondering - how tightly coupled is node to v8 actually? I mean I have heard that mozilla is making their runtime API compatible with that of the v8 API, so is it possible to just plug it in instead of v8? I remember seeing a project called SpiderNode doing so a while ago. Regards, -Dhruv. On May 10, 7:51 am, Erik Dubbelboer e...@dubbelboer.com wrote: They actually use Rhino http://www.mozilla.org/rhino/doc.html instead of V8. On Thursday, May 10, 2012 3:56:26 AM UTC+2, Matt Sergeant wrote: No. Though I imagine Isaacs is wondering where the file read performance difference is. My gut feeling is that Java maybe uses mmap under the hood, or some other performance trick. It would be much more obvious if there were strace output. There's also other probable wins, like using a newer V8 that optimises non-VM functions (see recent thread about threads-a-gogo being faster even with just one thread). On Wed, May 9, 2012 at 9:32 PM, Node42 liu.ke...@gmail.com wrote: a href= http://vertxproject.wordpress.com/2012/05/09/vert-x-vs-node-js-simple.. .Benchmark /a a href=http://news.ycombinator.com/item?id=3948727;Hacker News Discussion/a a href=http://news.ycombinator.com/item?id=3927891;Hacker News Discussion 2/a a href=http://vertx.io/;Vert.x/a a href=http://www.infoq.com/news/2012/05/vertx;InforQ article/a a href= http://fbflex.wordpress.com/2012/05/02/running-vert-x-applications-on.. .Running Vert.x Applications on Heroku/a -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Is it legit to distribute binaries via npm?
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 binary for the system, and then include/link that. On Fri, May 4, 2012 at 7:11 PM, mscdex msc...@gmail.com wrote: On May 4, 6:58 pm, Marcel Laverdet mar...@laverdet.com wrote: But is someone going to beat me up if I stick a bunch of compiled binaries into npm? Probably not, but it might depend on how easy it is to compile the binary on Windows. For example, my mmmagic module depends on libmagic which has a lot of *nix-specific stuff and would take more time than I have to create a floating patch for it to build easily under msvc. So what I ended up doing as a workaround was to compile it under mingw (as a static lib) and then link that to my addon. Since this requires much more than just install vc2010 express (e.g. also requiring a proper mingw setup, etc), IMHO it's well worth making a pre-compiled version of the addon for Windows users. Also, I think it'd be nice to let non-Windows users compile from scratch (if possible), mostly because of the varying architectures/ platforms that node supports. That's my 2 cents. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Node Concepts
It's similar to a rose.. On Wed, May 2, 2012 at 9:44 AM, David Whitten whit...@worldvista.orgwrote: Wanna avoid process load? On Wed, May 2, 2012 at 1:25 AM, Marak Squires marak.squi...@gmail.comwrote: Can you code? On Tue, May 1, 2012 at 10:24 PM, rajesh rkjha.it...@gmail.com wrote: What is node? On May 2, 10:22 am, rajesh rkjha.it...@gmail.com wrote: Guys plz use this thread to let people learn node as tutorial. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Node Concepts
My head asplode! On Wed, May 2, 2012 at 2:01 PM, Marak Squires marak.squi...@gmail.comwrote: You send node? On Wed, May 2, 2012 at 11:00 AM, Mark Hahn m...@hahnca.com wrote: I hab a code. On Wed, May 2, 2012 at 10:54 AM, Stewart Mckinney lordma...@gmail.comwrote: It's similar to a rose.. On Wed, May 2, 2012 at 9:44 AM, David Whitten whit...@worldvista.orgwrote: Wanna avoid process load? On Wed, May 2, 2012 at 1:25 AM, Marak Squires marak.squi...@gmail.comwrote: Can you code? On Tue, May 1, 2012 at 10:24 PM, rajesh rkjha.it...@gmail.com wrote: What is node? On May 2, 10:22 am, rajesh rkjha.it...@gmail.com wrote: Guys plz use this thread to let people learn node as tutorial. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Re: Node Concepts
On my way through Picadilly! On Wed, May 2, 2012 at 2:39 PM, Jeremy Darling jeremy.darl...@gmail.comwrote: you hit a running filly? On Wed, May 2, 2012 at 1:08 PM, codepilot Account codepi...@gmail.comwrote: This shit is getting skilly. On Wed, May 2, 2012 at 11:06 AM, Mark Hahn m...@hahnca.com wrote: This skit is getting silly. On Wed, May 2, 2012 at 11:05 AM, Marak Squires marak.squi...@gmail.comwrote: But how to node? On Wed, May 2, 2012 at 11:04 AM, Stewart Mckinney lordma...@gmail.comwrote: My head asplode! On Wed, May 2, 2012 at 2:01 PM, Marak Squires marak.squi...@gmail.com wrote: You send node? On Wed, May 2, 2012 at 11:00 AM, Mark Hahn m...@hahnca.com wrote: I hab a code. On Wed, May 2, 2012 at 10:54 AM, Stewart Mckinney lordma...@gmail.com wrote: It's similar to a rose.. On Wed, May 2, 2012 at 9:44 AM, David Whitten whit...@worldvista.org wrote: Wanna avoid process load? On Wed, May 2, 2012 at 1:25 AM, Marak Squires marak.squi...@gmail.com wrote: Can you code? On Tue, May 1, 2012 at 10:24 PM, rajesh rkjha.it...@gmail.comwrote: What is node? On May 2, 10:22 am, rajesh rkjha.it...@gmail.com wrote: Guys plz use this thread to let people learn node as tutorial. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- -- Marak Squires Co-founder and Chief Evangelist Nodejitsu, Inc. marak.squi...@gmail.com -- 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 subscribed to the Google Groups nodejs group
Re: [nodejs] Re: Your thoughts wanted on a node AI project
Hey wait who hired the troll? On Wed, Apr 25, 2012 at 8:53 PM, Dennis Kane dkan...@gmail.com 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. Well, your long-time goal is to make a good program that can answer questions using some logic if necessary, right? Well, I think you'll have to make your program able to parse Wikipedia texts and so on for that. Maybe start with the simple english wikipedia ( http://simple.wikipedia.org/**wiki/English_languagehttp://simple.wikipedia.org/wiki/English_language)? Good luck. :P And before you can do that, you'll probably have to build in a dictionary backend. Nah, wikipedia is made for human consumption. As long as there is a good enough parser on the market, there will be plenty of people motivated enough to write compliant programs directly into it. I see this thing eventually taking a pretty good bite out of Wikipedia's market share. The way it'll work, for the forseeable future, I think, is that we will work heavily with corporate clients on what kinds of words and statements they would like their customers and employees to be directly executable. Trying to do everything for everyone all at once is simply a prescription for a major disaster. I see many clients supplying the dictionaries themselves. Oooh, and when all of that works, make it able to accept commands. :) Make me a sandwich Funny, but I think we're gonna need alot of help from MIT's AI robotics department before that becomes anywhere close to feasible. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Wrapping a C++ object, and adding properties directly onto args.This() = incorrect?
The reason why you use args.This() instead of creating an empty ValueObject 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, it does the following (in order): 1) First creates an empty object 2) Sets the new objects hidden prototype field to the function's prototype member, if there is one. (interpret this loosely, changes slightly from interpreter to interpreter, but essentially this is what happens ) 3) Sets this to the empty object, and then calls the function body (making any changes to this happen to the empty object) The interesting part comes in when you consider the way in which v8 implements callbacks: you want the callback function to behave like Normal JS, but v8 function callbacks don't work in quite way you might expect. You might expect, for instance, that Set would overwrite any function present within the object, and that overriding a function declared with Set would simply get rid of the callback. From what I believe, the first is true, but I know for sure the second is not. If you overwrite a function within JS, the overriding function will be called *before* your function callback, but both will be called. However, your C++ callback will be the function that actually returns a value. So in order to preserve any changes made to this during the callback, you extend args.This(), and do not simply create a new Object (unless this is what you desire). Hope that helps, Stew On Mon, Apr 23, 2012 at 9:37 PM, Ben Noordhuis i...@bnoordhuis.nl wrote: On Tue, Apr 24, 2012 at 02:54, Ryan Cole r...@rycole.com wrote: I'm wrapping a C++ object and then appending some properties. I'm calling Wrap(), and then Set()'ing the properties directly onto args.This(). This does not look or feel right to me, so I'm inclined to think I'm doing it wrong. I'm so new to this that none of the examples are standing out to me as the proper way of doing this. Can someone please take a peek at the highlighted lines of my code and give me a few pointers? Namely, am I doing this incorrectly? https://github.com/ryancole/node-hdf5/blob/master/src/node_h5file.cc#L67-74 There's nothing really wrong with that approach. If the properties are subject to change, you could use ObjectTemplate::SetAccessor() instead. -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Nominate me for a NodeConf 2012 Streams talk
I'm really not sure about that; I've been to forty minute talks that kept me rapt from beginning to end. I feel it would just support weaker subject matter. Granted the reverse nomination scheme would ease some of that pain but it's really easy for someone to stand in front of someone else and give a talk that sounds really exciting at first blush but there's really nothing to it after the first ten to twenty minutes. I think saying that forty minutes is a lecture is pretty unfair and overbearing. This isn't a two hour and fifty minute session class at a university... and I've even been to talks that were four hours long and incredibly engaging. Why not just focus on the content and then let the timing work itself out? Doesn't a arbitrary limit seem, well... arbitrary? Don't you think you will be doing certain subjects/speakers injustice? I mean, some people just operate in long form. I don't think there's anything wrong with short form, either, but to each subject its own. Just my .02 On Fri, Mar 16, 2012 at 6:25 PM, Nuno Job nunojobpi...@gmail.com wrote: The thing is this is not about what you, the speaker, has to talk about and things he can show in dept. This is about the audience, and they have an attention span of 10/20 minutes. This means extra work for you, the speaker, that needs to filter and choose what content the audience should head about. But for the audience it means that during that time period the usage of their time as optimal, at the cost of your work. But hey, don't sign up to speak if you arent up for it :) Personally I like to do talks between 14/20 minutes, but when someone asks me for 40 I got like WTF. I'll be bored to death by the end of it I'll be asking for beer. Nuno On Fri, Mar 16, 2012 at 9:42 PM, Marco Rogers marco.rog...@gmail.comwrote: Hmmm, not sure how I feel about this. I won't argue because I'm positive it won't do much 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 On Thursday, March 15, 2012 4:35:52 PM UTC-7, Mikeal Rogers wrote: yes, it's a talk, not a tutorial. btw, TED talks are all between 10 and 20 minutes :) On Mar 15, 2012, at March 15, 20124:33 PM, Stewart Mckinney wrote: Wait; is that for real? ( 20 minute limit? ) On Thu, Mar 15, 2012 at 6:53 PM, Mikeal Rogers mikeal.rog...@gmail.comwrote: 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. Last year I only got a half hour to cover a large topic. This may be a simliar situation. But at a high level you an vote for any or all of these. - What do we mean by streams? require('stream'). How these relate to net sockets and fs streams. - What are some best practices for working with streams? - How to take advantage of custom streams to do cool things in node without breaking things or ruining efficiency - How to add stream compatibility to your module - How to maintain state across streams. When would you even want to do this? See https://github.com/**polotek/procstreamshttps://github.com/polotek/procstreams Feel free to suggest others. Dont forget to fill out the form. http://www.nodeconf.com/ :Marco @polotek -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List- **Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List- **Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscribe@**googlegroups.comnodejs%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/nodejs?hl=en?hl=enhttp://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-* *Posting-Guidelineshttps://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups nodejs group. To post to this group