---
title: "#368: Visualizing Your Ruby Heap"
publication: "Ruby Weekly"
issue: 368
published_at: "2017-09-28"
canonical_url: "https://rubyweekly.com/issues/368"
---

#368: Visualizing Your Ruby Heap

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/368)

Ruby WeeklyIssue 368 — September 28, 2017

Aaron Patterson[Visualizing Your Ruby Heap](http://tenderlovemaking.com/2017/09/27/visualizing-your-ruby-heap.html)Core team member Aaron ‘tenderlove’ Patterson digs into what it takes to write a program for visualizing Ruby heap dumps.


YouTube[50+ Videos from RubyKaigi 2017](https://www.youtube.com/playlist?list=PLbFmgWm555yaJalSEHY17E96ChjY-kF2D#rubykaigi2017)A truly rich array of sessions (in both English and Japanese) from Ruby’s ‘home’ conference. How about a talk on [Bundler 2.0](https://www.youtube.com/watch?v=sZX7SK3hxk4&list=PLbFmgWm555yaJalSEHY17E96ChjY-kF2D&index=6)? Or an update on [JRuby](https://www.youtube.com/watch?v=rkvrikvoYPQ&list=PLbFmgWm555yaJalSEHY17E96ChjY-kF2D&index=13)? Or [Hanami](https://www.youtube.com/watch?v=aYboQzyIoPc&list=PLbFmgWm555yaJalSEHY17E96ChjY-kF2D&index=39)?


Michał Łomnicki[Ruby 2.5's Object#yield_self Method](http://mlomnicki.com/yield-self-in-ruby-25/)Makes it possible to chain operations in a different way to usual.


OpsCare by reinteractiveSponsored[We’ve solved the problems of traditional Ops](https://reinteractive.com/enquiries/new?code=ops_care&sid=133)Our out-source DevOps solves the problems associated with ROR development. Plus our blue/green pre-baked deployment process means that you can deploy your app as often as you want. Get started today – start enjoying OpsCare.

[![OpsCare by reinteractive\](https://copm.s3.amazonaws.com/c38bca9b.png)](https://reinteractive.com/enquiries/new?code=ops_care&sid=133)


Richard Schneeman[A Gaijin Guide to RubyKaigi](https://schneems.com/2017/09/27/gaijin-guide-to-rubykaigi/)A look at what it’s like to be non-Japanese and attend Ruby’s home conference, RubyKaigi. Richard also [wrote some notes on the first day of talks.](https://schneems.com/2017/09/27/rubykaigi-2017-day-1/)


Mike Wenger[Debugging Why Your Specs Have Slowed Down](https://robots.thoughtbot.com/debugging-why-your-specs-have-slowed-down)You won’t be surprised to know the database is often part of the problem.


Noah Gibbs[OptCarrot: An Excellent CPU Benchmark for Ruby 3x3?](http://engineering.appfolio.com/appfolio-engineering/2017/9/22/optcarrot-an-excellent-cpu-benchmark-for-ruby-3x3)OptCarrot is a headless NES hardware emulator used to benchmark CPU performance.


Practical Artificial Intelligence[Using Python's scikit-learn Machine Learning Library via PyCall](https://www.practicalai.io/using-scikit-learn-machine-learning-library-in-ruby-using-pycall/)Python has more ML libraries than most languages and PyCall allows you to use them from Ruby.


Jobs

- [Senior Backend Engineer @ Capcom Beeline (Vancouver, Los Angeles)](https://bit.ly/cap-sep-job?utm_source=rubyweekly&utm_medium=email)Become a core member of our team. We are crafting the next-generation eSports platform for mobile games. Capcom Beeline
- [Full stack Ruby and Rails dev (Remote in EU)](http://jobs.ably.io/o/full-stack-rails-developer?utm_source=rubyweekly&utm_medium=email)We’re a realtime platform solving complex distributed problems for the developer community. If you enjoy building web services, [apply](http://jobs.ably.io/o/full-stack-rails-developer). Ably realtime
- [Ruby on Rails Full Stack Engineer (California, USA)](https://goo.gl/fVTN4Z?utm_source=rubyweekly&utm_medium=email)The Apple Media Products Engineering team is looking for a software engineer to build and enhance algorithmic quality evaluation tools. Apple

In brief

- [Rails 4.2.10 Released](http://weblog.rubyonrails.org/2017/9/27/Rails-4-2-10-released/?utm_source=rubyweekly&utm_medium=email) news 
Yes, it’s an old release line but some recent regressions warranted an update. Official Rails Blog
- [Forking Behavior Changed in macOS 10.13, Causing Failures](https://github.com/puma/puma/issues/1421?utm_source=rubyweekly&utm_medium=email) news 
Puma, Unicorn, and Sidekiq are affected. Puma
- [$20 Free on a new Linode account](https://welcome.linode.com/ruby-weekly/?utm_source=cooperpress&utm_medium=sponsored&utm_term=ruby&utm_campaign=ruby-weekly-sponsored) 
Linux cloud hosting starting at 1GB of RAM for $5/mo. Use promo code RUBY20 and get $20 credit. Linode Cloud HostingSponsored
- [Strange Hash Instances in Ruby](https://kate.io/blog/strange-hash-instances-in-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
Going to some interesting places with Hash and monkey-patching. Kate Murphy
- [Object#try Considered Harmful](https://karolgalanciak.com/blog/2017/09/24/do-or-do-not-there-is-no-try-object-number-try-considered-harmful/?utm_source=rubyweekly&utm_medium=email) tutorial 
Why using Object#try is bad and several approaches to remove the problem it’s trying to solve. Karol Galanciak
- [Running Background Workers with Crontab](https://blog.redpanthers.co/background-workers-using-crontab/?utm_source=rubyweekly&utm_medium=email) tutorial Tony Vincent
- [How to Implement a GraphQL API in Rails](https://blog.codeship.com/how-to-implement-a-graphql-api-in-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Leigh Halliday
- [How to Build a React App that Works with a Rails 5.1 API](https://www.sitepoint.com/react-rails-5-1/?utm_source=rubyweekly&utm_medium=email) tutorial 
Hrishi Mittal shows you how to build an idea board React app that works with a Ruby on Rails 5.1 API. SitePoint
- [All The Ways to Generate Routing Paths in Rails](http://blog.arkency.com/all-the-ways-to-generate-routing-paths-in-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Robert Pankowecki
- [Building Something Besides a Chat App with ActionCable](https://blog.jakewilkins.com/2017/08/25/building-something-besides-a-chat-app-with-actioncable/?utm_source=rubyweekly&utm_medium=email) tutorial 
Specifically, an asynchronous PDF generation function with user notifications. Jake Wilkins
- [Get Into (Very Basic) Sentiment Analysis with Ruby](https://blog.redpanthers.co/get-into-sentiment-analysis-with-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Nimmy Vipin
- [The Road to Ruby and Rails Error Domination Starts Here](https://rollbar.com/rubyweekly?utm_source=rubyweekly&utm_medium=email) 
Rollbar detects when code breaks in real-time. Get stack trace and diagnostic data to defeat Ruby errors. ROLLBARSponsored
- [Creating a Basic Gem: A 9 Minute Video](https://www.driftingruby.com/episodes/creating-a-basic-gem?utm_source=rubyweekly&utm_medium=email) video 
Never hurts to have an up to date guide. Drifting Ruby
- [Towards Ruby 3x3 Performance](https://www.youtube.com/watch?v=qpZDw-p9yag) video Vladimir Makarov
- [steep: Gradual Typing for Ruby](https://github.com/soutaro/steep?utm_source=rubyweekly&utm_medium=email) code Soutaro Matsumoto
- [Test and Deploy your Apps with Codeship Basic](https://codeship.com/features/basic?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-secondary&utm_campaign=cooper-codeship-basic) CodeshipSponsored

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/368)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
