Hacky Friday Stuff #29.11.2019
Tags: ruby, rails, fullstack, fridaystuff
Published: 2019-11-29 09:40:48

*Links about web development, product engineering, tools and services from all over the internet.*

[RubyConf 2019 - Opening Keynote - Ruby Progress Report by Yukihiro Matzumoto (Matz)](https://www.youtube.com/watch?v=2g9R7PUCEXo&feature=youtu.be)

[10 New Things in Active Record](https://hint.io/blog/10-New-Things-in-Active-Record)
In this post, we will take a look at 10 new additions to Active Record in Rails 6. For each addition, I'll include a link to the PR the feature was introduced in, a link to the author's GitHub profile, and a brief description of what the feature provides.

[Pulling the trigger: How to update counter caches in your Rails app without Active Record callbacks](https://evilmartians.com/chronicles/pulling-the-trigger-how-to-update-counter-caches-in-you-rails-app-without-active-record-callbacks)
In this article, we experiment with triggers as a tool for keeping aggregated data consistent when using Active Record and your favorite SQL database. Instead of using sophisticated tools such as ElasticSearch for filtering and searching, we will demonstrate a simple approach that achieves the same result with some out-of-the-box database features. As a bonus, learn how to avoid nasty race conditions!

[Application State Management with React](https://kentcdodds.com/blog/application-state-management-with-react)
Managing state is arguably the hardest part of any application. It's why there are so many state management libraries available and more coming around every day (and even some built on top of others... With the release of React hooks (and massive improvements to React context) this method of state management has been drastically simplified.

[Kubernetes for Full-Stack Developers](https://www.digitalocean.com/community/curriculums/kubernetes-for-full-stack-developers)
Whether you’re just curious, getting started with Kubernetes, or have experience with it, this curriculum will help you learn more about Kubernetes and running containerized applications. You’ll learn about core Kubernetes concepts and use them to deploy and scale applications in practical tutorials.

[Blameless PostMortems and a Just Culture](https://codeascraft.com/2012/05/22/blameless-postmortems/)
Failure happens. This is a foregone conclusion when working with complex systems. But what about those failures that have resulted due to the actions (or lack of action, in some cases) of individuals? What do you do with those careless humans who caused everyone to have a bad day?
Etsy aims to view mistakes, errors, slips, lapses, etc. with a perspective of learning. Having blameless Post-Mortems on outages and accidents are part of that.

[Nakilon/rbtris | Tetris game in less than 200 lines of code](https://github.com/Nakilon/rbtris)

### Tools & Gems

[Display #Anchors](https://chrome.google.com/webstore/detail/display-anchors/poahndpaaanbpbeafbkploiobpiiieko/)
Displays anchors for all content in the current web page without breaking the layout.
Display #Anchors offers an easy way to see
all (invisible) anchors in a page, to make it easier to link to a specific part of a webpage.

[ruby-next/ruby-next | Make all Rubies quack like edge Ruby!](https://github.com/ruby-next/ruby-next)
Ruby Next is a tool for supporting modern/edge CRuby features (APIs and syntax) in older versions and alternative implementations. For example, you can use pattern matching and Kernel#then in Ruby 2.5 or mruby.

[jeremytregunna/ruby-trello | Implementation of the Trello API for Ruby](https://github.com/jeremytregunna/ruby-trello)


### Podcasts

[Ruby Rogues | RR 439: Human Powered Rails: Automated Crowdsourcing In Your RoR App with Andrew Glass](https://devchat.tv/ruby-rogues/rr-439-human-powered-rails-automated-crowdsourcing-in-your-ror-app-with-andrew-glass/)
Andrew Glass is a Brooklyn based Rubyist operating a small independent devshop called Bang Equals. The panel is discussing his 2018 RailsConf talk, Human Powered Rails: Automated Crowdsourcing In Your Ruby on Rails App. In his talk, he shows the audience how to use Amazon Mechanical Turk. Amazon Mechanical Turk lets you post tasks, set a price point, and then people can go and complete the task.

[Full Stack Radio | 129: Evan You - What's Coming in Vue.js 3.0](http://www.fullstackradio.com/129)
In this episode, Adam talks to [Evan You](https://twitter.com/youyuxi) about all of the changes and improvements coming to Vue.js 3.0.

### Videos

[RubyConf 2019](https://www.youtube.com/playlist?list=PLE7tQUdRKcyZDE8nFrKaqkpd-XK4huygU)
A playlist with videos from the latest RubyConf 2019.

[DRY in five: 001 dry-inflector](https://www.youtube.com/watch?v=xexeoulYPTM&feature=youtu.be)
DRY in five (minutes) is a series of short tutorials about dry-rb ecosystem.
[dry-inflector](https://dry-rb.org/gems/dry-inflector) is an inflector gem for Ruby, which provides a configurable inflector object, for pluralization, singularization, and other advanced string manipulations.