24 April 2014

The Ruby Reflector

Topic

Overflow

  Source Favicon
By Jeff Atwood of Coding Horror 8 days ago.
Email

…yourself or to make any changes to your routine. Just keep it simple, focus on the important things, and add a little layer of awareness.

So. Two items left. I'm doing pretty good today. [advertisement] Hiring developers? Post your open positions with Stack Overflow Careers and reach over 20MM awesome devs already on Stack Overflow. Create your satisfaction-guaranteed job listing today!

codinghorror.com Read
  Source Favicon
By Jeff Atwood of Coding Horror 1 month ago.
Email

…so you can easily set up the same system for your own blog. We even have a WordPress plugin to assist.

Now who's ready for some dogfooding? [advertisement] Stack Overflow Careers matches the best developers (you!) with the best employers. You can search our job listings or create a profile and even let employers find you.

codinghorror.com Read
  Source Favicon
On Ruby News 5 months ago.
Email

fix Heap Overflow in Floating Point Parsing (CVE-2013-4164)

"literal".freeze is now optimized # 9042

f suffix of String Literal is removed # 9042

fix memory consuming issue on RGenGC ( r43532 and r43755 )

add Exception#cause # 8257

update libraries like json, nkf, rake, RubyGems, and RDoc.

Download

http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.bz2 SIZE: 11432454 bytes …

ruby-lang.org Read
  Source Favicon
On Ruby News 5 months ago.
Email

Now Ruby 2.0.0-p353 is released.

This release includes a security fix about floating point parsing.

Heap Overflow in Floating Point Parsing (CVE-2013-4164)

And some bugfixes are also included. See tickets and ChangeLog for details.

Download

You can download this release from:

http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.bz2 SIZE: 10730412 bytes MD5: 20eb8f067d20f6b76b7e16cce2a85a55 SHA256: 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9

ruby-lang.org Read
  Source Favicon
By Ryan Foster of Viget.com Blogs over 1 year ago.
Email

…might be configured NOT to serve 503s, but instead start ignoring that app server.

A few links I used to write this post:

Stack Overflow post on the cap task for maintenance mode.

Gist for the suggested Capistrano maintenance check.

The Capistrano tasks used to exist but have since been removed . This gem will add them back.

viget.com Read
  Source Favicon
By Nikos Dimitrakopoulos of Nikos D. over 2 years ago.
Email

…def bar @ model = Model . find ( params [: id ]) @ model . extend ( Decorator ) @ model . foo end end

Then I would like in the tests to do the following (using Mocha) : test "bar" do Model . any_instance . expects (: foo ). returns ( "bar" ) get : bar end

Is this possible somehow, or do you have in mind any other way to get this functionality???

Stack Overflow question

blog.nikosd.com Read
  Source Favicon
By chris of Binary Code 3 years ago.
Email

I was playing around with an interface experiment and wanted to convert arbitrary strings into hex codes for displaying colours in a webpage. I just ported the JS code from this Stack Overflow solution to Ruby, now hosted on Github: str_2_hex.rb . Might be useful to someone else.

postal-code.com Read
  Source Favicon
By Todd Hoff of High Scalability 3 years ago.
Email

A lot has happened since my first article on the Stack Overflow Architecture . Contrary to the theme of that last article, which lavished attention on Stack Overflow's dedication to a scale-up strategy, Stack Overflow has both grown up and out in the last few years.

Stack Overflow has grown up by more then doubling in size to over 16 million users and multiplying its number of page views nearly 6 times to 95 million page views a month.

Stack Overflow has grown out …

highscalability.com Read
  Source Favicon
By Trevor of Trevor Turk over 3 years ago.
Email

…much came up, so I did a bit of Googling and came across this Stack Overflow page that pointed me in the right direction.

I've written a couple of small rake tasks that have been working quite well for me. The first is the "rake deploy" task. So, now I use "rake deploy" instead of "git push heroku master" when I want to deploy to Heroku. This caches my assets, pushed to github, deploys to heroku, and notifies hoptoad about the deploy.

But the …

almosteffortless.com Read
  Source Favicon
By Joey of Global Nerdy 4 years ago.
Email

SuperUser community Q&A sites and co-hosts the Stack Overflow podcast with Joel " Joel on Software " Spolsky. With a schedule like this and a one-year-old, he somehow stills finds the time to keep his Rock Band skills finely honed. Join us as we chat with Jeff in a one-hour webcast where we talk about the Stack Overflow phenomenon, how Coding Horror grew to become one of the most-read developer blogs and career strategies in the post-desktop …

globalnerdy.com Read