21 May 2013

The Ruby Reflector

Top News

Page 1 of 11

  Source Favicon
By Satish Talim of RubyLearning Blog 6 hours ago.
Email

Using RVM (for *nix)

Using pik (for Windows)

Using bundler

Using Heroku

Creating a simple webpage using HTML5, CSS and JavaScript

Store your webpage files on GitHub

Understanding HTTP concepts

Using cURL

net/http library

Using URI

Using open-uri

Using Nokogiri

Creating one's own Ruby Gem

Learning Rack

Deploying Pure Rack Apps to Heroku

Deploying a static webpage to Heroku

What's JSON?

Using MongoDB with Ruby Mongo

rubylearning.com Read
  Source Favicon
On Ruby News 7 days ago.
Email

Object taint bypassing in DL and Fiddle in Ruby (CVE-2013-2065)

And some small bugfixes are also included.

See tickets and ChangeLog for details.

Download

You can download this release from:

ftp://ftp.ruby-lang.org/pub/ ruby/1.9/ruby-1.9.3-p429.tar.bz2 SIZE: 10042323 bytes MD5: c2b2de5ef15ea9b1aaa3152f9112af1b SHA256: 9d8949c24cf6fe810b65fb466076708b842a3b0bac7799f79b7b6a8791dc2a70

ftp://ftp.ruby-lang.org/pub/ ruby/1.9/ruby-1.9.3-p429.tar.gz …

ruby-lang.org Read
  Source Favicon
Email

There are of course components to a technical document that make it more effective. Describe what it is that your project makes easier. Provide code examples detailing how the use of the library. Document the installation process. These are the basic elements which define a README.

Creating a great face for your project, however, requires still more.

Don't get lazy just because this is for developers

Technical writing is still writing, and need not be dry and boring. Just as if you …

robots.thoughtbot.com Read
  Source Favicon
By 0x4a6f4672 of 4 Lines of Code 5 days ago.
Email

Version conflicts and dependency hells can be very time-consuming and annoying, too. Ruby-on-Rails programs for example need the right combination of Ruby Version (for example Ruby 1.8.7 or 1.9.2), the right Ruby-On-Rails Version (2.3.8 or 3.2), and the right RubyGems Version (say 1.3.5). The gems or plugins have their own versions, too. The whole system only works if everything fits together. In the beginning this is no problem, for a new system usually everything is up-to-date. …

4loc.wordpress.com Read
  Source Favicon
On Ruby News 7 days ago.
Email

All ruby 1.9 versions prior to ruby 1.9.3 patchlevel 426

All ruby 2.0 versions prior to ruby 2.0.0 patchlevel 195

prior to trunk revision 40728

ruby 1.8 versions are not affected.

Credits

Thanks to Vit Ondruch for reporting this issue.

History

Originally published at 2013-05-14 13:00:00 (UTC)

ruby-lang.org Read
  Source Favicon
Email

Back in January, newly-minted Ruby Hero Sandi Metz introduced her rules for developers in an episode of Ruby Rogues Book Club .

I encourage you to listen to the podcast or read over the transcript.

The day that the discussion of these rules started at thoughtbot, we were about to start a new project. While they may be targeted at less experienced developers, we thought that they could have interesting implications in the code we wrote. The team agreed to stick …

robots.thoughtbot.com Read
  Source Favicon
By Darin Swanson of New Relic 10 days ago.
Email

Q. In 2005, what did David Heinemeier Hansson create in 15 minutes, which helped kick start the popularity of Rails?

A. A blog

Q: What major feature was recently pulled from Rails 4.0?

A: The Queue API

Q. What version of Rails first included support for Rack?

A. Version 2.2 (We also accepted Version 2.3)

Q. What Ruby web framework joined forces with Rails 2 to create Rails 3?

A. Merb

Q. How many Ruby core classes were monkey-patched by Rails' …

newrelic.com Read
  Source Favicon
By Darin Swanson of New Relic 3 days ago.
Email

Key Transactions works well with related features such as Alerting, SLA reports, and App Map to give you more ways of staying informed about your business-critical transactions. To learn more about Key Transactions, please read about the feature launch and the follow up post , which includes a video.

Coming Up

In our next post, we'll give a tour of the latest and greatest improvements in our performance monitoring support for Drupal users. Stay tuned for …

newrelic.com Read
  Source Favicon
Email

Exercise for the reader

Now that you know how this exploit works, go make it work on a 64-bit Ubuntu. No, seriously, do it.

Conclusion

Dealing with integers in C code is tricky. Be careful and get people to review your code.

Hijacking IDT entries to scan kernel memory to find and overwrite kernel data structures to elevate privileges of a user process so it can then execute a bash shell as root is pretty nuts.

MAP FIXED is actually much more useful than I had previously imagined. …

timetobleed.com Read
  Source Favicon
By Todd Hoff of High Scalability 7 days ago.
Email

The Rackspace Cloud Application Programming Interface ( API) has changed the game allowing customers to easily modify their cloud configuration with just a few lines of code. The API is a powerful tool and something everyone should know about, regardless of your level of technical ability.

aiCache creates a better user experience by increasing the speed scale and stability of your web-site. Test aiCache acceleration for free. No sign-up required. http://aicache.com/deploy …

highscalability.com Read