Greetings! I hope your week went great! Here’s new “gemmy” programming news digest.

Get familiar with programms, that write themself, how Ruby uses memory exactly, the hide cost of Ruby 2.7 dot-colon method reference usage and many more interesting things.

Guides

  • Persisted queries in GraphQL:Slim down Apollo requests to your Ruby application

Persisted queries are designed for reducing request size by only sending a query ID that is stored on the backend, which is then retrieved and executed; guide covers this topic fully.

  • Writing a program that writes itself

Tutorial about quines in Ruby

Articles

  • How Ruby Really Uses Memory: On the Web and Beyond

New articel by Schneems, totally must-read about the Ruby memory allocation algorithm and what it does when you add thread

  • The hidden cost of the Ruby 2.7 dot-colon method reference usage

Another fee you will be paying for not so “free” Ruby’s syntax sugar

  • Rails 6 – Active Storage changes

Detailed look on the changes that was made to one of the main Ruby on Rails gems in version 6

  • Use GitHub Actions for Rails CI with Postgres

This guide gives you the look on the beta version of GitHub’s Actions which gives you an opportunaity to run arbitrary workflows, including tests, after certain things happen within your git repository.

Updates

Allows you to build frontend web apps with Ruby and WebAssembly

Some bugs are fixed; get more details by clicking on the link above.

A terminal table generator for Ruby that may be used, for example, in a live coding session.

Video

  • Episode #214 – Plugging in AnyCable





Source link

Register at Binance