Author Archives: Dan York

About Dan York

Just a guy in Vermont trying to connect all the dots...

Mashable: Why Everyone Is Talking About Node.js

NodejsIf you are wondering why so much attention is focused on Node.js these days in the online media and sites (including my own writing about Node.js), Mashable had a decent post this week called:

Why Everyone Is Talking About Node

It’s a good overview that explains much about why Node.js is so interesting to so many people. I’m not sure I agree with the author about the Ruby community being “exclusive and harsh”. I experienced nothing but helpful assistance back when I was learning Ruby. The Node.js community, though, has definitely been very welcoming to newcomers so far.

Regardless of that probably unnecessary dig, the overall article was a good overview of Node and is certainly worth a read.

Online Preview Available of O’Reilly’s Upcoming “Up and Running with Node.js”

Tom Hughes-Croucher is writing a book for O’Reilly & Associates about Node.js called “Up and Running with Node.js” and he tweeted out today that a preview of the book is now available online at:

http://ofps.oreilly.com/titles/9781449398583/index.html

As he says in the author intro:

When Simon, my editor, and I were initially discussing this project it was obvious how vibrant the Node.js community is. We felt that it was important that we engaged with the community as we worked on this manuscript. In order to do that we decided to release the book in parts as I wrote it. What you are reading now is one of those partial releases.

It’s very cool that he’s made the text available and will be continuing to update it as the book evolves. Apparently he has to do something to enable commenting, but shortly you should be able to comment on his text.

Nice to see authors doing this to solicit input from the larger community before a book is actually printed. Very cool.

Upandrunningwithnodejs

Great (long!) Article on Node.js in The Register

TheregisterWhat is Node.js all about? How did it come about? What prompted Ryan Dahl to create Node? What other languages did he try? Who are some of the companies using Node.js, and why? What does Google think about Node.js, given that they maintain the V8 JavaScript engine used by Node? What are the kind of performance gains you can see in Node?

Answers to all those questions and many more are in a lengthy piece on The Register titled “The Node Ahead: JavaScript leaps from browser into future“. It’s a well done article and rather than excerpt it here, I’d encourage you to go take a look at the full piece. Interesting to read about some of the background of which I was not aware. Good stuff!

Quick Way to See What Programming Languages Are Used on Github

Ever wonder what programming languages are the most popular? One way is to look at a programming community and see what is being used within that space. A large community right now in 2011 is the people using Github for git repositories (and I am one of those) and Github nicely provides a URL showing the languages in use:

https://github.com/languages

When I look at the chart at the time I’m writing this post, it looks like this:

Githublanguages

This is across 600,000+ developers and close to 1.8 million git repositories.

Given that historically many Ruby developers used git and Github, it’s not surprising to see Ruby there. With JavaScript, I have to wonder if its ranking is due to the phenomenal interest in Node.js and the heavy usage of git and Github within that community. Glad to see my old friend python hanging in there, too. The Microsoft languages like C# are missing… but then they simply may not be well represented within the Github user base.

Like any measurement this can only be taken as language popularity within the Github community. Measurement within another community would give different results. Still, the Github space is very vibrant and dynamic with lots of energy… it’s interesting to see what folks there are using.

Free eBook: Mastering Node.js (still a work-in-progress – and NEEDS YOUR HELP)

MasteringnodejsAs I continue my own exploration of Node.js, I was pleased to see that a free eBook, Mastering Node.js, was available about Node.js from none other than TJ Holowaychuk, a big contributor to the Node.js community. You can get the current version of the book at:

http://visionmedia.github.com/masteringnode/

However, there is the one little detail… it’s still very much a work-in-progress. As TJ Holowaychuk says on the Github page for the project:

Mastering node is an open source eBook by node hackers for node hackers. I started this as a side project and realized that I don’t have time 🙂 so go nuts, download it, build it, fork it, extend it and share it. If you come up with something you wish to contribute back, send me a pull request.

It is a good start on a book… and if anyone out there wants to add to it and help fill out the contents, he’s obviously open to that assistance.

Follow The Tropo Blog To Learn About Developing For Voice, SMS, IM, Twitter…

TropologoWant to learn about how to build apps that interact with people via voice, text messaging / SMS, instant messaging and Twitter? Using languages like Ruby, python, PHP, Groovy and Node.js?

If so, check out the Tropo blog for some cool examples, tutorials and videos. As I was catching up on my Twitter feed this morning, I noticed a great post there about responding differently to different types of users and a short video about using SMS to find the time and date of tweetchats. Cool stuff!

P.S. And yes, in full disclosure Tropo.com is a cloud communications service of my employer, Voxeo, and I do myself sometimes write on the Tropo blog, particularly about python or Node.js. However, if I didn’t think what they are writing about there is in fact interesting, I wouldn’t mention it here. 🙂

Nodester Node.js hosting service adds domain mapping, multiple module install

NodesterChris Matthieu and DanBUK continue to iterate fast on their Nodester Node.js service. A bit ago they added a command-line interface to make apps even easier to deploy. The funky part was that to install a module for your Node.js app, you had to type nodester appnpm install modulename. Thankfully, they’ve made that much simpler… now you can just do:

nodester npm install modulename

Chris dropped me a note tonight to let me know that they’ve made it so that you can install multiple modules at once. For example:

nodester npm install express socket.io tropo-webapi

Another cool recent addition is the ability to map a custom domain to a Node.js app running on Nodester. Cool to see!

Want to learn about Node.js? Excellent set of videos coming out of Node.js Camp

Interested in learning more about Node.js and the surrounding ecosystem of tools and modules? The folks over at Joyent have made available a set of videos covering the Node.js Camp that occurred December 14, 2010, in San Francisco. You can view them all at:

http://camp.nodejs.org/videos/

Nice range of topics… looks like a fun event…

NodejsCamp

A Fascinating Exchange on Node.JS, Google’s V8… and Control

Conversation

Back on Sunday, there was a fascinating exchange on blog sites about the tight linkage between Node.js and Google’s V8 JavaScript Engine. It started with Bruno Fernandez-Ruiz of Yahoo with his post:

NodeJS: To V8 or not to V8

where he expressed his concern about the tight coupling between Node.js and V8 and whether or not this was appropriate given that, in Bruno’s eyes, Google’s plans around V8 were/are not clear, both in terms of server-side usage and of project governance.

Jason Hoffan, the chief scientist and founder of Joyent (the folks behind Node.js), came back with a well-written piece answering Bruno’s questions point-by-point (and raising some of his own):

On Bruno’s Concern About the Current Coupling of node.js and V8

which naturally brought about a response from Bruno:

Answering Jason on V8 governance and impact to NodeJS

and also triggered some commentary from Peter Greiss at Facebook:

NodeJS and V8

For someone such as myself who is relatively new to the Node.js community, the exchange makes for interesting reading, in large part because I’ve been so focused on looking at what I can do with Node.js that I quite honestly haven’t given a great amount of thought to what is underneath the hood of Node.js. In this case, really, the engine that powers Node.js.

Having spent 20+ years now in the UNIX and later Linux and open source space, I do understand the concerns that Bruno Fernandez-Ruiz raises around governance and the reliance of Node.js on a specific JavaScript engine. He’s right to hope that appropriate abstraction layers will be in place so that the V8 engine could be swapped out for another JavaScript engine should the need ever arise. That’s good practice in general. It all comes down to control and assuring that a project is not so reliant on another (that is out of the first project’s control).

Having said that, though, I’m incredibly impressed by the energy and dedication of the “Node.js community”. There is a passion there that I’ve not seen in years… and it’s wonderful to see. Somehow, regardless of abstraction layers, I have a feeling that if there ever were to be a problem with V8, it would be very rapidly solved. Node.js is evolving fast… VERY fast!

Anyway… the exchange is worth a read… kudos to all involved for taking the time to have a reasoned (and civil) debate.

P.S. The social media side of me was delighted to see an exchange like this taking place on blogs … it’s exactly the right medium for long-form debates like this.

Image credit: rxmflickr on Flickr