Node.js - Development Seed The latest developments in evented, server-side javascript. en NodeDC Meetup Tonight at 7 pm <p>The monthly <a href="">NodeDC meetup</a> is <strong>tonight (Wednesday, May 16) at 7:00 pm</strong> at <a href="">Stetson's Bar and Grill</a>, near the intersection of 16th and U streets NW here in Washington, DC. This is a great opportunity to meet local node.js developers and hear what they're working on, and in general to learn more about the popular <a href="">platform</a> for building fast, scalable applications.</p> <p>There will be a round of introductions starting at 7:30 pm, followed by two lightning talks:</p> <ul> <li><p><a href="">John Kelvie</a> and Michael Myers of Atomizer Software will present the technical design of a game they are building with node.js, and request feedback.</p></li> <li><p><a href="!/studgeek">David Rees</a> will talk about <a href="">Derby.js</a>, a MVC framework for writing realtime, collaborative applications that run in Node.js and browsers, and compare it to <a href="">Meteor</a>.</p></li> </ul> <p>After the talks, plan to stick around for more conversations over drinks.</p> <p>NodeDC meets monthly, usually on the third Wednesday of the month. For updates, watch <a href=""></a> on github, follow <a href="!/nodedc">@nodedc</a> on Twitter, and join the <a href="">meetup group</a>. See you tonight!</p> <p><img src="" alt="" /></p> 2012-05-16T00:00:00-07:00 Development Seed NodeDC and DCjQuery Joint Meetup Tonight <p>Tonight, <strong>Monday, February 20</strong> at 7:00 pm, we're holding a <a href="">NodeDC meetup</a> at <strong>Fathom Creative</strong> at 1333 14th Street NW (at Rhode Island). This month we're teaming up with the <a href="">DCjQuery folks</a> to bring together a bigger crowd who is interested in all things JavaScript. There are three lightning talks on the lineup:</p> <ul> <li><p><a href="!/dylang">Dylan Greene</a> will present <a href="">HTML Canvas</a> and show how he's using it on the drawing game <a href="">DoodleOrDie</a>.</p></li> <li><p><a href="!/ryan_roemer">Ryan Roemer</a> will talk about <a href="">async.js</a>.</p></li> <li><p><a href="!/jafaramjad">Jafar Amjad</a> will present on making a Node.js multiplayer site, specifically one that uses a low amount of bandwidth per player and features lasers, gravity, and walk cycles via animated gif’s. Check out his <a href="">early beta version</a> for a preview.</p></li> </ul> <p>It should be a fun time to meet Node.js, jQuery, and JavaScript developers, share experiences, and learn what everyone is up to. Grab a six pack or some snacks to contribute to the group, and come on out tonight at 7:00 pm.</p> <p>NodeDC holds a meetup once a month, usually on the third Monday of the month. Watch the <a href="">website</a> and follow <a href="">@NodeDC</a> on Twitter for updates.</p> 2012-02-20T00:00:00-08:00 Development Seed NodeDC Meetup Tonight at 7:00 pm <p>Today - Wednesday, December 14 - starting at 7:00 pm at <a href="">Stetson's</a> is the <a href="">NodeDC meetup</a>. These monthly meetups bring together developers to talk about <a href="">node.js</a> - the platform for building fast, scalable applications that we use for our <a href="">data and mapping sites</a>. It's a great opportunity to share what you are working with in node.js, find out how others are using it, and get to know other developers in the city. Tonight there will be three lightning talks:</p> <ul> <li><p><a href="">Ian</a> will talk about how we deploy node apps here at Development Seed, flying through components like SSL, Upstart, Nginx, logging, and monitoring.</p></li> <li><p><a href="">Will</a> will talk about node-inspector, a browser-based node debugging tool that allows you to set breakpoints, step though code, and edit code while a process is running.</p></li> <li><p><a href="!/raydaly">Ray Daly</a> will talk about concept of TTD for APIs using node and hopes to get feedback from the group.</p></li> </ul> <p>The NodeDC meetups are held once a month on the third Wednesday of the month, with next month's on <strong>Wednesday, January 18</strong>, so mark your calendars. These meetups are open to everyone, with people of all levels of node.js and programming expertise welcome.</p> <p>Check out <a href=""></a> for more details, and follow <a href="">@NodeDC</a> on Twitter for updates.</p> 2011-12-14T00:00:00-08:00 Development Seed Node.js Meetup This Monday in Washington, DC <p>This Monday, November 14 is the <a href="">November Node.js meetup</a> here in Washington, DC. These meetups bring together <a href="">node.js</a> developers and people interested in learning more about the server-side JavaScript environment, best known for its speed and flexibility, to talk, show off their work, and ask questions. As before, the meetup will feature a series of quick, five minute lightning talks on anything relating to node.js. This month, four people have volunteered to present:</p> <ul> <li><p><a href="!/younghahn">Young Hahn</a> will talk about <a href="">CouchDB</a>, an open source document-oriented database written mostly in Erlang, highlighting tricks and other useful things he's learned about best utilizing it in conjunction with node.js.</p></li> <li><p><a href="!/cvee">Chris Verwymeren</a> will talk about running node.js apps in Ubuntu with <a href="">Upstart</a>.</p></li> <li><p><a href="!/Zugwalt">Aaron Silverman</a> and <a href="!/dylang">Dylan Greene</a> will demo their <a href="">Node Knockout</a> project <a href="">DoodleOrDie</a>, a drawing guessing game a la pictionary, explaining how they built it in just eight hours.</p></li> <li><p><a href="!/incanus77">Justin Miller</a>, in town from Portland, will talk about how he bridged Cocoa to node.js in the map design tool <a href="">TileMill</a>.</p></li> </ul> <p>The meetup will be held in the upstairs bar at <a href="">Stetson's</a> and will get started at 7:00 pm, with presentations starting at 7:30 pm after a round of introductions. The NodeDC group meets once a month, usually on the third Wednesday of the month. You can see what was discussed at past meetups at <a href=""></a>, and for updates follow <a href="!/nodedc">@nodedc</a>.</p> 2011-11-11T00:00:00-08:00 Development Seed Discussing Underscore.js at Tuesday's Node.js DC Meetup <p>At next week's <a href="">Node.js meetup here in Washington, DC</a>, I'll give a brief introduction to <a href="">Underscore.js</a>, a functional programming library for Javascript. At its base, Underscore.js is about data structures (usually arrays) and interacting with them more efficiently. It also forms the basis or inspiration for several other popular libraries, such as <a href="">Backbone</a>, and learning to make use of it properly will allow you to segue this knowledge into other interesting areas.</p> <p>While this library has traditionally been associated with the browser environment, it is still widely used and very applicable to the server side of the equation. As with most node modules, Underscore.js can be installed using the <a href="">npm package management system</a>. It's the <a href="">single most depended on package available on npm</a>, something that illustrates just how many people consider it a basic part of their Javascript programming arsenal.</p> <p>I'll go into more detail at the <a href="">Node.js meetup</a> happening on <strong>Tuesday, September 20 at 7:00 pm</strong> in our garage here in Washington, DC. I'm also including more details on Underscore below for those who can't wait.</p> <h2>Some underscore basics</h2> <p>A common situation in which you might use Underscore.js is for retrieving records from your datastore of choice (we prefer CouchDB, but it could be whatever).</p> <pre><code>var countries = [ { "iso3": "AFG", "name": "Afghanistan"}, { "iso3": "ALB", "name": "Albania", "active": true }, /* trimmed for brevity */ { "iso3": "ZMB", "name": "Zambia" }, { "iso3": "ZWE", "name": "Zimbabwe", "active": true } ] </code></pre> <p>Say you want to filter the list of countries to only include the items that have the active property set to true. This can be easily done through the following code that makes use of the <a href="">select method</a>, which will step through your objects and pass each one to the test function you supply, returning a new array containing only the objects that passed the test.</p> <pre><code>var activeCountries = _(countries).select(function(country) { return === true; }); </code></pre> <p>Now say you want to have just the id or iso3 code, so you can make use of the array to do input validation. Underscore provides the wonderfully useful <a href="">pluck method</a> which will step through your objects and return an array containing the values of the property you requested.</p> <pre><code> // Build an array of only valid country codes var validISO3 = _(activeCountries).pluck('iso3'); </code></pre> <p>Then you can use the <a href="">include method</a> to test for the validity.</p> <pre><code>// check if a submitted value is allowed : var success = _(validISO3).include(req.params.iso3); </code></pre> <p>These are just some of the basic things you can do with the library. It is filled with little gems that help you do all kinds of programming tasks. The entire library fits into a 3k file when minimized, and considering its small size and inherent power, there's really very little reason not to make use of it both on the server and the client side.</p> 2011-09-14T00:00:00-07:00 Development Seed Join Us at the DC Node.js Meetup on July 18th <p>The first <a href="">DC Node.js Meetup</a> is coming up on Monday, July 18, and we're happy to be hosting it in our <a href="">newly enhanced</a> <a href="">garage</a>. We are using <a href="">Node.js</a> in <a href="">all</a> <a href="">of our</a> <a href="">projects</a>, and we're hoping that this meetup will bring together other developers using Node.js so we can all share stories, learn from each other, and have fun over some beers.</p> <p><a href=""><img src=""></a></p> <p>We'll have a series of five minute lightning talks about topics related to Node.js. Here's the lineup so far:</p> <ul> <li><strong>An Intro to Node.js</strong>: A quick rundown of the basic principles of Node.js and what types problems it's meant to solve. We'll record this one so we won't have to repeat it at future events.</li> <li><strong>Setting up a node development environment with nvm and npm</strong>: Developing applications with Node.js begins with setting up a development environment. Learn how <a href="">nvm</a> can help you manage multiple versions of node and how <a href="">npm</a> can help you use libraries from other developers and share your own.</li> <li><strong>Demo of the <a href="">requisitioner</a> module</strong>: Requisitioner takes node style modules and wraps them to make them compatible with <a href="">Asynchronous Module Definition</a>, and usable in a web browser.</li> </ul> <p>We have room for a few more talks. If you'd like to present, send your topic to <a href="">@developmentseed</a> or We'll have a projector, screen, and internet, and slides and demos are welcome.</p> <p>The meetup will kick off at 7:00 pm, and we'll start the lightning talks at 7:30 pm after a round of introductions. Bring some beer/drinks to share with the group - we'll provide the fridge and some snacks. <a href="">RSVP here</a> and hope to see you there!</p> <div id='ts-embed-1309963887654-script'><script src=';size%5B%5D=530&amp;size%5B%5D=300&amp;center%5B%5D=-77.03160524368218&amp;center%5B%5D=38.91313942135115&amp;center%5B%5D=16&amp;layers%5B%5D=devseed-hq-crop&amp;options%5B%5D=zoompan&amp;options%5B%5D=zoomwheel&amp;el=ts-embed-1309963887654'></script></div> 2011-07-06T00:00:00-07:00 Development Seed Opening Data on 7,500 Higher Education Institutions and Almost 14,000 U.S. School Districts <p>The Federal Education Budget Project at New America Foundation just relaunched its open data site <a href=""></a>, adding new mapping and comparison tools for more than 65 indicators about the 14,000 public school districts in the United States and an entire new section monitoring 7,500 higher education institutions.</p> <p>The site features fast auto-complete search that allows you to quickly find any school district or higher eduction institution right from the homepage. Each of the two datasets includes state rankings, showing in a glance how states compare. The maps on the site have also been enhanced with chlorophleth displays, improved interactions, and more appealing base maps.</p> <p><img src="" alt="Compare public school districts" /></p> <p>The new higher education dataset includes information about federal grants and loans (like as Pell Grants and Work-Study), graduation rates, and tuition and fees. This information is available for both individual institutions and in aggregate at the state level.</p> <p><img src="" alt="Compare colleges and universities" /></p> <p>The <a href="">new iteration</a> of the site also features updated data browsing and mapping tools. The site is intended to allow natural exploration the data. As you view information about a school or state, nearly any indicator can be used as the basis of a comparison which visualizes how that school or state against similar ones. You can also dig down into fairly complex comparisons using the site's graphing tools.</p> <p><img src="" alt="Flexible data comparison tools" /></p> <p>We also completely overhauled the administrative backend of the site. All of the data in the site is managed externally, with the bulk of it imported in batches. An issue in the previous implementation was that it was possible (though not likely) that the site's database would import data incompletely if a page was requested while data was being added or if the import failed. Additionally, it wasn't possible to review the imported data before it was available to the general public. So any formatting or precision issues would be immediately visible, and require a re-import or database rollback to fix.</p> <p><img src="" alt="A view of the backend" /></p> <p>With the new version of the site, we implemented a versioned dataset manager. Each of the four datasets in the site (public schools state level, public school districts, higher education state, higher education institutions) can have any number of versions of data in the site at a time. There is always a version of each set to active, and it's possible to set one to 'preview' so that it's visible to administrators only.</p> <p>Metadata about each dataset is managed in a similar way. For every indicator in a dataset there is a set of details that the site needs to know, from things like a title and description to the required formatting. This information is captured in a schema document. In exactly the same manner as the data itself, these schema documents can have any number of versions available in the site, and a particular one is set as active for each of the four data sets. Previewing also works for schemas, allowing administrators to verify that meta data and formatting changes are proper before a schema is live. This flexibility in managing and previewing data sets and related schema information makes administering the site a more reliable experience.</p> <p>The site itself was build using <a href="">Express</a> and <a href="">Node.js</a>. The administrative backend leverages <a href=""></a> to provide real-time updates about data imports and validation. The data is stored in <a href="">Couchdb</a>, and the site uses <a href="">Elastic Search</a> to index all the data.</p> 2011-06-16T00:00:00-07:00 Development Seed Regular Node.js meetups in DC? <p>It was awesome to see <a href="">almost 50 people</a> pack into the <a href="">DC jQuery meetup</a> at <a href="">Fathom Gallery</a> last week with six packs in hand to talk about <a href="">Node.js</a>. The conversation ranged from the classic make your <a href="">hello world Node.js</a> server by Jonathan Altman, to <a href="">Jeff</a> sharing some Node.js sites we have in production like <a href=""></a> and <a href=""></a>, to <a href="">Will</a> demoing tools we've built on Node.js like <a href="">TileMill</a> and <a href="">TileStream</a>. A big hat tip to <a href="!/GregLavallee">Greg Lavallee</a>, the organizer of the <a href="">DC jQuery meetup</a>, for organizing a great event that really showed how much energy there is in Washington, DC around Node.js.</p> <p>This raises the question, should we start having a dedicated Node.js monthly meetup? Would folks and shops in town be interested in this? We are excited about the idea with all our development now on Node.js and, after <a href="">more than half our team attended the first ever NodeConf</a> yesterday in Portland, we are fired up. We would love to play a leadership role in organizing these <em>(read finding a bar to meet in)</em> if folks are interested in starting them.</p> <p>If you're in Washington, DC and would be interested in Node.js meetups, please let us know! I'm looking forward to hearing people's feedback and ideas for starting these.</p> 2011-05-06T00:00:00-07:00 Development Seed NodeConf Tomorrow: Just Arrived in Portland <p>More than half of <a href="">our team</a> just landed in Portland for <a href="">NodeConf</a>, a one day conference all about <a href="">Node.js</a> that is happening tomorrow. With all of our work now built in Node.js, including <a href="">our mapping products</a> and our <a href="">data visualization projects</a>, we are excited to attend and meet other lead developers in person and talk about where the platform is headed.</p> <p>You know what else we're excited about? Bunk beds :) We'll be taking over a private room at the <a href="">Northwest Portland International Hostel</a> that has four sets of bunk beds and doing it up summer camp style. The hostel is just a few blocks from the conference venue as well as some restaurants and bars, and most of the team will be there, with the exception of Justin who lives in Portland and Alex who is staying nearby. If you're at NodeConf and want to meet up, look for us or get in touch via Twitter: <a href="!/tmcw">Tom</a>, <a href="!/younghahn">Young</a>, <a href="!/willwhitedc">Will</a>, <a href="!/kkaefer">Konstantin</a>, <a href="!/lxbarth">Alex</a>, <a href="!/miccolis">Jeff</a>, <a href="!/springmeyer">Dane</a>, <a href="!/incanus77">Justin</a>, <a href="!/dhcole">Dave</a>, and <a href="!/ericg">Eric</a>.</p> <p>For those new to Node.js, the platform is known for its speed and for being lightweight, and it has a great decentralized community connected through github. Over the past six months, we have been releasing our Node.js code on <a href=""></a> and <a href=""></a>. If speed matters for the apps that you build, we highly recommend looking into Node.js.</p> <p>The <a href="">full schedule for NodeConf is here</a>, and we'll post back with a link to video if sessions are recorded.</p> 2011-05-04T00:00:00-07:00 Development Seed