23 May 2013

The Ruby Reflector

Topic

Node.js

  Source Favicon
By Hongli Lai of Phusion Corporate Blog 3 months ago.
Email

Python WSGI, multithreading, evented core similar to Nginx and Node.js, real-time response buffering, improved zero-copy architecture, better error diagnostics.

JRuby and Rubinius support.

Out-of-Band Work.

Support for the Rack socket hijacking API

Improved stability and test suite .

Changes in 4.0 RC 3 and RC 4

The focus of RC 3 and RC 4 have yet again been on improving stability. We've closed over 50 issues in our …

blog.phusion.nl Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog 3 months ago.
Email

Enterprise only feature ), evented core similar to Nginx and Node.js, real-time response buffering, improved zero-copy architecture, better error diagnostics.

Beta 2:

JRuby and Rubinius support.

Out-of-Band Work.

Support for the Rack socket hijacking API

Improved stability and test suite .

Today we are proud to announce Release Candidate 2 of Phusion Passenger 4.0. Release Candidate 1 has been skipped because a few bug fixes …

blog.phusion.nl Read
  Source Favicon
By Richard of Heroku 3 months ago.
Email

With support for Node.js, Java, Scala and other multi-threaded languages, Heroku allows you to take full advantage of concurrent request processing and get more performance out of each dyno. Ruby should be no exception.

If you are running Ruby on Rails with Thin, or another single-threaded server, you may be seeing bottlenecks in your application. These servers only process one request at a time and can cause unnecessary queuing. Instead, you can improve performance by choosing a concurrent …

blog.heroku.com Read
  Source Favicon
By Giles Bowkett of Giles Bowkett 3 months ago.
Email

Robots To Sing video series, which shows you how to write music software from scratch in Node.js and CoffeeScript: $ 12 per episode $ 9 per episode

And I'm finally bringing my back my time management series, which I only put on sale for a single weekend when I first released it. (It made me over $ 5,000 that weekend.) The first three videos are free, but the price for the fourth, longest, and most detailed : $ 97 $ 41

THE BUSINESS …

gilesbowkett.blogspot.com Read
  Source Favicon
By Craig of Heroku 3 months ago.
Email

In a world of evolving languages, frameworks and development patterns, we developers must continually improve our craft. Innovative developers already have jumped on board many of these shifts. We've seen this with the adoption of more agile frameworks (such as Rails, Django, and Play). We've seen it too with a shift towards asynchronous programming patterns such as in Node.js and with evented programming in Rails.

One clear example of this evolution is the re-emergence of a focus on concurrency.

blog.heroku.com Read
  Source Favicon
By John Resig of John Resig 4 months ago.
Email

For example if you were using Node.js you could do:

if ( ! fs. existsSync ( "conf/settings.json" ) ) {

console. error ( " Config file [conf/settings.json] missing!" ) ;

console. error ( "Did you forget to run `make decrypt_conf`?" ) ;

process. exit ( 1 ) ;

}

Also, you may want to consider having a check to see if the decrypted file is out of date (which can happen if some changes were made in the source control, then were checked out, but you didn't …

ejohn.org Read
  Source Favicon
By Giles Bowkett of Giles Bowkett 4 months ago.
Email

…very few responses to it showed any sign of rational analysis whatsoever. Likewise, this hostility to Node.js passes, in both the instance of Mr. Arcieri's blog post, and Mr. Grimm's, into the realm of unreason , by means of faulty logic and irrelevant tangents .

In the instance of my misbehavior, it's easy to see how emotion got in the way of precise reading and rational interpretation. But in the case of Node.js, I find it harder to understand, and I find it impossible …

gilesbowkett.blogspot.com Read
  Source Favicon
By Lee of Lee Munroe 4 months ago.
Email

Started learning Node.js

Started designing for retina displays

Learned how to develop an iPhone app using Titanium

Shipped a new website and iPhone app for Kareo, along with several software updates

Shipped a novelty Twitter website Twit Amore for Valentine's Day

Other things I did in 2012

Moved to San Francisco to join a startup

Got a Fitbit and tracked my fitness

Books read in 2012

Icon handbook by …

leemunroe.com Read
  Source Favicon
By John Resig of John Resig 4 months ago.
Email

…previous post there is potential for severe problems to occur in an asynchronous environment like Node.js.

The problem that I was having was rather severe and, unfortunately, required a complete rewrite of the module. The original i18n-node module stored the locale information in a closure. Calling setLocale changed the locale but did so for every instance that was currently active, resulting in templates being rendered in the wrong language.

Here is the issue that is especially surprising …

ejohn.org Read
  Source Favicon
On paperplanes 5 months ago.
Email

Node.js has EventEmitters , which are similar to AS::Notifications, and they lend themselves quite nicely for this purpose.

I've dabbled with this for riak-js , the Node.js library for Riak. There's an example that shows how to register and collect the metrics from the events emitted. The library itself just emits the events at the right spot, adds some timestamps so that event listeners can reconstruct the trail of a request.

It worked out pretty …

paperplanes.de Read