If you missed last week's issue, make sure to take a look. It was a bumper week with lots of cool stuff including a major new JRuby release, Hanami 2.0, plus an interview with the Pickaxe's newest author. Now, without further ado, on to this week.. __ Peter Cooper, your editor |
Kevin Newton's Advent of YARV— Let’s start with something incredibly advanced and work our way down :-) Kevin works at Shopify and his projects include SyntaxTree, Exreg, and contributing to YJIT. He knows his stuff, so it’s great to see him kick off a month of posts “detailing different aspects of the CRuby virtual machine.” Part 0 covers the terminology and bare basics, with part 1 pushing on to cover the stack. Kevin Newton |
🧈 Retire your Legacy CMS with ButterCMS— ButterCMS is your new content backend. We’re SaaS so we host, maintain, and scale the CMS. Enable your marketing team to update website + app content without needing you. Try the #1 rated SaaS Headless CMS for Ruby today. Free for 30 days. 🧈 ButterCMS sponsor |
QUICK BITS The nascent Rails Foundation is seeking an executive director to run day to day operations and lead efforts around community engagement, documentation, and more. Fully remote, too. ▶️ BridgetownConf was an online conference held for the Bridgetown Ruby static site generator and the talks are now online for all to enjoy. Shopify, the ecommerce platform well known for its use of Ruby and Rails, boasts driving 3 terabytes per minute of egress across its platform during the recent shopping season. All hitting a Rails app? No. But Ruby is down in there.. somewhere ;-) I'd love to see their AWS bill.
|
Consider MuumiJumala's solution for today's (very easy) puzzle. $/*=2 is not something I'd ever think to write, but is very apt here! |
How to Migrate a Rails App from Heroku to Dokku (Updated)— If you want a cheaper hosting solution for your side projects or staging environments, it’s not too tricky to move a Heroku app to your own Dokku instance (especially now that Heroku's free option has gone away) including migrating the database and SSL with Let’s Encrypt. Paweł Urbanek |
📕 Articles, Videos, and Opinions |
Tracking a Process's Memory Usage in Ruby— Another title for this post could be “Create a Basic Yet Useful C Extension in Ruby”, so you’ll learn more than just tracking memory usage. A fun bit of poking about. Victor Andrey (BetterUp) |
Hanami 2.0 Thoughts— Last week we told you about Hanami’s newest major release, and here’s one Rubyist’s thoughts on it. Spoiler: It’s missing a couple of bits (coming in 2.1) but it’s really fast. Ryan Bigg |
Dealing with Flaky Tests— Is it possible to have a significant test suite without having lots of flaky tests? It is, says, David, who shares some tips on how he avoids the problem for himself, including writing tests that are prepared to handle random data. David Bryant Copeland |
Safe Gem Upgrades with Pessimize— Pessimize is a tool that adds pessimistic constraints (e.g. those using ~> ) to all gems in your Gemfile. This can help you take more control over upgrades of dependencies in future. Hanami Mastery |
RubyMine 2022.3 Released— After an extensive early access program and round of betas, the latest incarnation of JetBrains’ (commercial) Ruby IDE is here boasting a (optional) new UI, significant improvements to working with RBS and type signatures in code generally, improved navigation of ERB templates, and more. JetBrains |
Vanilla Rails Authentication with Authentication Zero— Devise has been the go-to authentication app for Rails since forever. Still, if you want something simpler that doesn’t pollute your dependencies, Authentication Zero has a great set of features and almost zero magic. Simon Chiu |
Find Ruby Jobs Through Hired— Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers.
Hired |
|
🔮 Now for something completely different.. |
📗 Know Ruby? Try Crystal for Rubyists— A 10-chapter (but very short) online book to introduce Crystal (a statically typed and compiled language with Ruby-inspired syntax) to interested Rubyists. It sticks to the basics to give you an easily accessible taster. Crystal might even be a good candidate for trying Advent of Code with..? Serdar Dogruyol |
|