Self-Care on Rails

A presentation at RailsConf in April 2021 in by Ben Greenberg

Slide 1

Slide 1

Self-Care @rabbigreenberg on

Slide 2

Slide 2

@rabbigreenberg

Slide 3

Slide 3

What This Talk Is About @rabbigreenberg Doing Good With Code Don’t Forget Yourself Personal Examples

Slide 4

Slide 4

What Are We Talking About @rabbigreenberg

Slide 5

Slide 5

In This Talk We Are… Less Focused on Code @rabbigreenberg

Slide 6

Slide 6

We Are… More Focused on You @rabbigreenberg

Slide 7

Slide 7

“If there is anxiety in a person’s heart, let them quash it” (Proverbs 12:25). Rabbi Ami and Rabbi Asi dispute the verse’s meaning. One said: They should forcefully push it out of their mind. One who worries should banish their concerns from their thoughts. And one said: It means they should tell others their concerns, which will lower their anxiety.”

  • Babylonian Talmud, Yoma 75a @rabbigreenberg

Slide 8

Slide 8

This talk is about you. ✨ What We Can Do As Ruby on Rails Devs To Help Ourselves ✨ Sharing It To Help Others @rabbigreenberg

Slide 9

Slide 9

Doing Good With Code @rabbigreenberg

Slide 10

Slide 10

Communal Initiatives “If I am only for myself, what am I? @rabbigreenberg

Slide 11

Slide 11

@rabbigreenberg

  • Sandi Metz, “Lucky You”, 2019

Slide 12

Slide 12

… we are starting to realize that the software that we create has a real and lasting impact on the world in which we live. - An Ethical License to Open Source Projects, The Hippocratic License @rabbigreenberg

Slide 13

Slide 13

Don’t Forget Yourself @rabbigreenberg

Slide 14

Slide 14

“If I am not for myself, who will be for me?” @rabbigreenberg

Slide 15

Slide 15

Self-Interest: “self among others” - Midwest Academy Manual @rabbigreenberg

Slide 16

Slide 16

In Italy and in the Netherlands, some youth psychiatry wards have filled to record capacity. In France, where the pandemic’s toll on mental health has made headlines, professionals have urged the authorities to consider reopening schools to fight loneliness. And in Britain, some therapists said that they had counseled patients to break lockdown guidelines to cope. @rabbigreenberg

“Young People’s Despair Deepens as Covid-19 Crisis Drags On”, New York Times, Feb. 14, 2021

Slide 17

Slide 17

I never expected my partner to be my coworker. Soulmate? Maybe. Companion? Obviously. Coworker? Absolutely not. I know I should be grateful. We’re both still employed while so many others have been laid off or are otherwise out of work, but sharing the same workspace has put a strain on our relationship and we’ve realized that we have terrible office manners. @rabbigreenberg

“Partners to Coworkers: Covid-19 Is Redefining My Relationship”, Nočnica Fee, May 18, 2021

Slide 18

Slide 18

Personal Examples @rabbigreenberg

Slide 19

Slide 19

Video Birthday Party @rabbigreenberg Health Form Automation

Slide 20

Slide 20

Parenting isn’t easy. @rabbigreenberg

Slide 21

Slide 21

Parenting during a pandemic is: [fill in the blank] @rabbigreenberg

Slide 22

Slide 22

Birthday Party 2020 Ideas ⛔ ⛔ ⛔ ⛔ ⛔ Soccer Party Movie Theater Bowling and Arcades Games in the House … @rabbigreenberg

Slide 23

Slide 23

Rails to the rescue. @rabbigreenberg

Slide 24

Slide 24

@rabbigreenberg

Slide 25

Slide 25

With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers.. The technologies behind WebRTC are implemented as an open web standard and available as regular JavaScript APIs in all major browsers. @rabbigreenberg

Slide 26

Slide 26

@rabbigreenberg

WebRTC Sample Code, https://webrtc.github.io/samples/

Slide 27

Slide 27

Golf is deceptively simple and endlessly complicated; it satisfies the soul and frustrates the intellect. Are we talking about golf or coding? 🤔

  • Arnold Palmer @rabbigreenberg

Slide 28

Slide 28

There is help. @rabbigreenberg

Slide 29

Slide 29

@rabbigreenberg

Slide 30

Slide 30

Sorry, you can’t escape JavaScript. @rabbigreenberg

Slide 31

Slide 31

Set up the video client @rabbigreenberg Create event listeners

Slide 32

Slide 32

@rabbigreenberg

Slide 33

Slide 33

Parenting isn’t easy. … We said this already, right? @rabbigreenberg

Slide 34

Slide 34

Conduct and distancing guidelines: ● ● ● Participants will wear masks at all times, except when eating and drinking or during physical activity Pupils will eat their meals outdoors and if not possible, seated in separate tables Pupils will arrive with a signed health declaration every day, by which their parents undertake that they do not have any symptoms and they are not required to stay in isolation @rabbigreenberg

Covid-19 Guidance, Ministry of Health, State of Israel

Slide 35

Slide 35

When everything is up in the air even one small new thing can cause it all you to crash @rabbigreenberg

Slide 36

Slide 36

When faced with a repetitive task… @rabbigreenberg

Slide 37

Slide 37

Let’s make a gem 💎 for that @rabbigreenberg

Slide 38

Slide 38

Fill out the form @rabbigreenberg Validate and send SMS

Slide 39

Slide 39

This talk though was not really about code. @rabbigreenberg

Slide 40

Slide 40

It was about me. @rabbigreenberg

Slide 41

Slide 41

It was about you. @rabbigreenberg

Slide 42

Slide 42

It was about us. @rabbigreenberg

Slide 43

Slide 43

Giving yourself permission to make your life… @rabbigreenberg

Slide 44

Slide 44

Easier. @rabbigreenberg

Slide 45

Slide 45

Less stressful. @rabbigreenberg

Slide 46

Slide 46

Calmer. @rabbigreenberg

Slide 47

Slide 47

Self-Interest: “self among others” - Midwest Academy Manual @rabbigreenberg

Slide 48

Slide 48

Don’t forget yourself ✨ Your skillset can help not only others ✨ Your skillset can help you and the people you love and care about, too @rabbigreenberg

Slide 49

Slide 49

Resources ✨ School declaration gem ✨ rubygems.org ✨ Birthday video app ✨ bit.ly/railsbirthday ✨ Vonage Video API ✨ vonage.com @rabbigreenberg ✨ WebRTC ✨ webrtc.org ✨ Twilio Video API ✨ twilio.com