Slide 1

Slide 1 text

@BuildStep FeatureBuildItem feature() { return new FeatureBuildItem(FEATURE); } @Record(STATIC_INIT) @BuildStep public void helloBuildStep(HelloRecorder recorder) { recorder.sayHello("World"); } @Record(RUNTIME_INIT) @BuildStep LogHandlerBuildItem addLogHandler(final MinecraftLogHandlerMaker maker, BeanCon return new LogHandlerBuildItem(maker.create(beanContainer.getValue())); } /** * Makes the interceptor as a bean so we can access it. */ @BuildStep void beans(BuildProducer producer) { producer.produce(AdditionalBeanBuildItem.unremovableOf(MinecraftLogIntercep producer.produce(AdditionalBeanBuildItem.unremovableOf(MinecraftService.cla } @BuildStep AnnotationsTransformerBuildItem transform() { return new AnnotationsTransformerBuildItem(new AnnotationsTransformer() { public boolean appliesTo(org.jboss.jandex.AnnotationTarget.Kind kind) { return kind == org.jboss.jandex.AnnotationTarget.Kind.METHOD; } public void transform(TransformationContext context) { if (context.getTarget().asMethod().hasAnnotation(JAX_RS_GET)) { context.transform().add(MinecraftLog.class).done(); } } }); Holly Cummins Red Hat @[email protected] the importance of fun in the workplace Joy of Coding June 23rd

Slide 2

Slide 2 text

Slide 3

Slide 3 text

@[email protected] #RedHat first things first.

Slide 4

Slide 4 text

@[email protected] #RedHat first things first. why is there a duck on the title slide?

Slide 5

Slide 5 text

@[email protected] #RedHat first things first. why is there a duck on the title slide? answer: science.

Slide 6

Slide 6 text

@holly_cummins #RedHat

Slide 7

Slide 7 text

@holly_cummins #RedHat

Slide 8

Slide 8 text

@holly_cummins #RedHat

Slide 9

Slide 9 text

@holly_cummins #RedHat

Slide 10

Slide 10 text

@holly_cummins #RedHat

Slide 11

Slide 11 text

350,000 participants ranked jokes (world’s largest scientific experiment)

Slide 12

Slide 12 text

controlled experiments show: ducks make jokes funnier

Slide 13

Slide 13 text

funniest joke in Belgium:

Slide 14

Slide 14 text

why do ducks have webbed feet? funniest joke in Belgium:

Slide 15

Slide 15 text

why do ducks have webbed feet? to stamp out fires. funniest joke in Belgium:

Slide 16

Slide 16 text

why do ducks have webbed feet? to stamp out fires. funniest joke in Belgium:

Slide 17

Slide 17 text

why do ducks have webbed feet? to stamp out fires. why do elephants have flat feet? funniest joke in Belgium:

Slide 18

Slide 18 text

why do ducks have webbed feet? to stamp out fires. why do elephants have flat feet? to stamp out burning ducks. funniest joke in Belgium:

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

@[email protected] #RedHat ma’am, this is a wendy’s.

Slide 22

Slide 22 text

@[email protected] #RedHat ma’am, this is a wendy’s. ma’am, this is a technology conference.

Slide 23

Slide 23 text

Slide 24

Slide 24 text

@[email protected] #RedHat second things second.

Slide 25

Slide 25 text

@[email protected] #RedHat second things second. why am i qualified to talk about fun in the workplace?

Slide 26

Slide 26 text

@holly_cummins #RedHat 2016

Slide 27

Slide 27 text

@holly_cummins #RedHat 2022

Slide 28

Slide 28 text

@holly_cummins #RedHat

Slide 29

Slide 29 text

@holly_cummins #RedHat Let’s talk about your career.

Slide 30

Slide 30 text

@holly_cummins #RedHat “Hi boss! Joy of Coding was great. It was a very serious conference and there were no pink octopuses and I definitely did not attend a talk about how to have fun. By the way, did you know ducks are the funniest animal?”

Slide 31

Slide 31 text

@[email protected] #RedHat Specialty: Having fun at work

Slide 32

Slide 32 text

@[email protected] #RedHat Are you brave enough? Specialty: Having fun at work

Slide 33

Slide 33 text

@[email protected] #RedHat Are you brave enough? I’m not :)

Slide 34

Slide 34 text

@holly_cummins #RedHat

Slide 35

Slide 35 text

@holly_cummins #RedHat Wait. Where’s “fun-loving”?

Slide 36

Slide 36 text

@holly_cummins #RedHat We keep fun a secret. Wait. Where’s “fun-loving”?

Slide 37

Slide 37 text

@holly_cummins #RedHat Puritan confronts ale drinkers Howard Pyle

Slide 38

Slide 38 text

@holly_cummins #RedHat what is fun?

Slide 39

Slide 39 text

@holly_cummins #RedHat Photo by Linearahandmade@etsy Exploration

Slide 40

Slide 40 text

@holly_cummins #RedHat Photo by William Warby Puzzle

Slide 41

Slide 41 text

@holly_cummins #RedHat Play

Slide 42

Slide 42 text

@holly_cummins #RedHat Game

Slide 43

Slide 43 text

@holly_cummins #RedHat Work

Slide 44

Slide 44 text

@holly_cummins #RedHat

Slide 45

Slide 45 text

@holly_cummins #RedHat Exploration focussed investigation

Slide 46

Slide 46 text

@holly_cummins #RedHat Play flexible for its own sake Exploration focussed investigation

Slide 47

Slide 47 text

@holly_cummins #RedHat Play flexible for its own sake Exploration focussed investigation Puzzle a goal and rules

Slide 48

Slide 48 text

@holly_cummins #RedHat Play flexible for its own sake Exploration focussed investigation Games a winner and rules Puzzle a goal and rules

Slide 49

Slide 49 text

@holly_cummins #RedHat Play flexible for its own sake Work a goal Exploration focussed investigation Games a winner and rules Puzzle a goal and rules

Slide 50

Slide 50 text

@holly_cummins #RedHat Play flexible for its own sake Work a goal Exploration focussed investigation Games a winner and rules Puzzle a goal and rules jokes laughter

Slide 51

Slide 51 text

@holly_cummins #RedHat Positive affect

Slide 52

Slide 52 text

@holly_cummins #RedHat It feels good

Slide 53

Slide 53 text

@holly_cummins #RedHat fun happiness joy laughter delight silliness jokes

Slide 54

Slide 54 text

@holly_cummins #RedHat fun happiness joy laughter delight silliness jokes

Slide 55

Slide 55 text

@holly_cummins #RedHat Programming is fun.

Slide 56

Slide 56 text

@holly_cummins #RedHat We get to control stuff when we program.

Slide 57

Slide 57 text

Slide 58

Slide 58 text

Slide 59

Slide 59 text

Slide 60

Slide 60 text

@[email protected] #RedHat programming is fun

Slide 61

Slide 61 text

@[email protected] #RedHat programming is fun making is fun

Slide 62

Slide 62 text

@[email protected] #RedHat programming is fun making is fun being useful is fun

Slide 63

Slide 63 text

@[email protected] #RedHat programming is fun making is fun puzzles are fun being useful is fun

Slide 64

Slide 64 text

@[email protected] #RedHat programming is fun making is fun puzzles are fun learning is fun being useful is fun

Slide 65

Slide 65 text

@[email protected] #RedHat programming is fun making is fun puzzles are fun learning is fun code is squishy and awesome being useful is fun

Slide 66

Slide 66 text

@holly_cummins #RedHat Photo by Linearahandmade@etsy Exploration

Slide 67

Slide 67 text

@holly_cummins #RedHat Photo by Linearahandmade@etsy Exploration > Hello, World

Slide 68

Slide 68 text

@holly_cummins #RedHat Photo by William Warby Puzzle

Slide 69

Slide 69 text

@holly_cummins #RedHat Photo by William Warby Puzzle Exception in thread "main" java.lang.NullPointerException: WhyWhyWhyIsThisHappeningNullPointerException at StackTraceExample.method111(StackTraceExample.java:15) at StackTraceExample.method11(StackTraceExample.java:11) at StackTraceExample.method1(StackTraceExample.java:7) at StackTraceExample.main(StackTraceExample.java:3)

Slide 70

Slide 70 text

@holly_cummins #RedHat Game

Slide 71

Slide 71 text

@holly_cummins #RedHat Game

Slide 72

Slide 72 text

@holly_cummins #RedHat Katie Bouman, discovering that her algorithm for imaging black holes worked.

Slide 73

Slide 73 text

@holly_cummins #RedHat Katie Bouman, discovering that her algorithm for imaging black holes worked. It feels good

Slide 74

Slide 74 text

@holly_cummins #RedHat Why are most of our workplaces Not Fun?

Slide 75

Slide 75 text

@holly_cummins #RedHat The 1980/90's Management Model Very hierarchical Control favoured over autonomy Technology seen as a cost centre

Slide 76

Slide 76 text

@holly_cummins #RedHat http:/ /www.defenceimagery.mod.uk

Slide 77

Slide 77 text

@holly_cummins #RedHat processes control us Photo by Michal Matlon on Unsplash

Slide 78

Slide 78 text

@holly_cummins #RedHat processes control us Photo by Michal Matlon on Unsplash dumb

Slide 79

Slide 79 text

@holly_cummins #RedHat the value of fun in the workplace

Slide 80

Slide 80 text

@holly_cummins #RedHat Research shows: Fun is good for business.

Slide 81

Slide 81 text

@holly_cummins #RedHat Research shows: Fun is good for business.

Slide 82

Slide 82 text

job satisfaction is the no. 1 predictor of organizational performance

Slide 83

Slide 83 text

“Pleasure in the job puts perfection in the work.” Aristotle

Slide 84

Slide 84 text

@holly_cummins #RedHat

Slide 85

Slide 85 text

@holly_cummins #RedHat “so, what was said on the conference call?”

Slide 86

Slide 86 text

@holly_cummins #RedHat “so, what was said on the conference call?”

Slide 87

Slide 87 text

@holly_cummins #RedHat “so, what was said on the conference call?” “I have no idea …

Slide 88

Slide 88 text

@holly_cummins #RedHat “so, what was said on the conference call?” “I have no idea … but they were laughing, so the project is OK. ”

Slide 89

Slide 89 text

@holly_cummins #RedHat “so, what was said on the conference call?” “I have no idea … but they were laughing, so the project is OK. ” a team that doesn’t laugh together doesn’t want to work together

Slide 90

Slide 90 text

@holly_cummins #RedHat

Slide 91

Slide 91 text

@holly_cummins #RedHat laughter:

Slide 92

Slide 92 text

@holly_cummins #RedHat laughter: defuses tense situations

Slide 93

Slide 93 text

@holly_cummins #RedHat laughter: defuses tense situations creates team cohesion

Slide 94

Slide 94 text

@holly_cummins #RedHat laughter: defuses tense situations creates team cohesion is a nice muscle workout

Slide 95

Slide 95 text

@holly_cummins #RedHat Studies have shown... Employee fun

Slide 96

Slide 96 text

@holly_cummins #RedHat Studies have shown... Employee fun

Slide 97

Slide 97 text

@holly_cummins #RedHat Studies have shown... Employee fun Less sick leave

Slide 98

Slide 98 text

@holly_cummins #RedHat Studies have shown... Employee fun Less sick leave Harder working

Slide 99

Slide 99 text

@holly_cummins #RedHat Studies have shown... Employee fun Less sick leave Harder working More productivity

Slide 100

Slide 100 text

@holly_cummins #RedHat https:/ /hbr.org/2012/01/positive-intelligence

Slide 101

Slide 101 text

@holly_cummins #RedHat “Your brain at positive is 31% more productive than your brain at negative, neutral or stressed. " https:/ /hbr.org/2012/01/positive-intelligence

Slide 102

Slide 102 text

@holly_cummins #RedHat

Slide 103

Slide 103 text

@holly_cummins #RedHat https:/ /www2.warwick.ac.uk/fac/soc/economics/staff/eproto/workingpapers/happinessproductivity.pdf

Slide 104

Slide 104 text

@holly_cummins #RedHat "Individuals [who just watched a comedy video] have approximately

Slide 105

Slide 105 text

@holly_cummins #RedHat play helps creativity we work in a creative industry

Slide 106

Slide 106 text

@holly_cummins #RedHat piglet litters grow faster if they play more https://www.flickr.com/photos/tambako/8746156155

Slide 107

Slide 107 text

@holly_cummins #RedHat “my contractors are in their zone of competence.” fun: cause and correlation

Slide 108

Slide 108 text

@holly_cummins #RedHat How much fun can you expect to have? https:/ /www.flickr.com/photos/paulesson/3065570366

Slide 109

Slide 109 text

@holly_cummins #RedHat How much fun can you expect to have? (Yes, this is a picture of lots of fungi. You’re welcome.) https:/ /www.flickr.com/photos/paulesson/3065570366

Slide 110

Slide 110 text

@holly_cummins #RedHat

Slide 111

Slide 111 text

@holly_cummins #RedHat Fun. What could possibly go wrong?

Slide 112

Slide 112 text

@holly_cummins #RedHat Fun. What could possibly go wrong?

Slide 113

Slide 113 text

@holly_cummins #RedHat Fun. What could possibly go wrong? 2008: A developer had a lot of fun with Groovy.

Slide 114

Slide 114 text

@holly_cummins #RedHat Fun. What could possibly go wrong? 2008: A developer had a lot of fun with Groovy.

Slide 115

Slide 115 text

@holly_cummins #RedHat Fun. What could possibly go wrong? 2008: A developer had a lot of fun with Groovy. 2009: The others who had to maintain the code had less fun.

Slide 116

Slide 116 text

@holly_cummins #RedHat Limits to Fun Photo by Joshua Hoehne on Unsplash

Slide 117

Slide 117 text

@holly_cummins #RedHat Limits to Fun • Fun has business value. Photo by Joshua Hoehne on Unsplash

Slide 118

Slide 118 text

@holly_cummins #RedHat Limits to Fun • Fun has business value. • Logical extension: only do activities if they’re fun and enjoyable! Photo by Joshua Hoehne on Unsplash

Slide 119

Slide 119 text

@holly_cummins #RedHat Limits to Fun • Fun has business value. • Logical extension: only do activities if they’re fun and enjoyable! • Uh, no. Photo by Joshua Hoehne on Unsplash

Slide 120

Slide 120 text

@holly_cummins #RedHat Photo by Marek Studzinski on Unsplash

Slide 121

Slide 121 text

@holly_cummins #RedHat balance

Slide 122

Slide 122 text

@holly_cummins #RedHat Just because it's fun, doesn't mean it's good.

Slide 123

Slide 123 text

@holly_cummins #RedHat Just because it's fun, doesn't mean it's good.

Slide 124

Slide 124 text

@holly_cummins #RedHat

Slide 125

Slide 125 text

@holly_cummins #RedHat Is everyone having fun?

Slide 126

Slide 126 text

@holly_cummins #RedHat Is everyone having fun?

Slide 127

Slide 127 text

@holly_cummins #RedHat Is everyone having fun?

Slide 128

Slide 128 text

@holly_cummins #RedHat who are we including in our laughter? who are we excluding? https:/ /www.flickr.com/photos/davefayram/4266804988

Slide 129

Slide 129 text

@holly_cummins #RedHat Enjoy fun. Responsibly.

Slide 130

Slide 130 text

How to achieve fun

Slide 131

Slide 131 text

Step 1. Find un-fun things. Get rid of them.

Slide 132

Slide 132 text

No content

Slide 133

Slide 133 text

Step 0. Stop prohibiting fun. Obviously.

Slide 134

Slide 134 text

@holly_cummins #RedHat “Please stop sending emails telling people you are sharing cake.”

Slide 135

Slide 135 text

@holly_cummins #RedHat

Slide 136

Slide 136 text

@holly_cummins #RedHat “If you’re in the office after 5:30, you need to be doing work.”

Slide 137

Slide 137 text

@holly_cummins #RedHat “Why are you smiling? Work isn’t a place to be happy!” - a prowling project manager

Slide 138

Slide 138 text

Step 1. Find un-fun things. Get rid of them.

Slide 139

Slide 139 text

@holly_cummins #RedHat 
 A process being unfun is a red flag that it’s not adding value.

Slide 140

Slide 140 text

Step 1. Find un-fun things. Get rid of them. ... because they're probably waste.

Slide 141

Slide 141 text

@holly_cummins #RedHat We all hate being told what to do. Usually, because we know it’s wrong. Let people make their own decisions.

Slide 142

Slide 142 text

@holly_cummins #RedHat Fun Not-Fun Effective tools Bad tools Programming Meetings Puzzles Mysteries Collaboration Criticism Just doing it Process/Ceremony Learning Repeating Designing Sizing Doing Status reporting Prototyping Hardening Interactions Interruptions Making a difference Being a cog

Slide 143

Slide 143 text

@holly_cummins #RedHat Fun Not-Fun Effective tools Bad tools Programming Meetings Puzzles Mysteries Collaboration Criticism Just doing it Process/Ceremony Learning Repeating Designing Sizing Doing Status reporting Prototyping Hardening Interactions Interruptions Making a difference Being a cog We can fix these.

Slide 144

Slide 144 text

@holly_cummins #RedHat Fun Not-Fun Effective tools Bad tools Programming Meetings Puzzles Mysteries Collaboration Criticism Just doing it Process/Ceremony Learning Repeating Designing Sizing Doing Status reporting Prototyping Hardening Interactions Interruptions Making a difference Being a cog Streamlined process Pair programming #noestimates Self-directed teams Automation We can fix these. Knowledge sharing Self-generating status MVP

Slide 145

Slide 145 text

@holly_cummins #RedHat Pair programming

Slide 146

Slide 146 text

@[email protected] #RedHat Status for all to see.

Slide 147

Slide 147 text

@[email protected] #RedHat Keep stories small, so status is self-reporting. Daily stand-up. Keep it short. Status for all to see.

Slide 148

Slide 148 text

@[email protected] #RedHat #noestimates Estimates are rarely accurate. Why bother??

Slide 149

Slide 149 text

@[email protected] #RedHat Testing should not be something we do only at the end. TDD is fun.

Slide 150

Slide 150 text

TDD

Slide 151

Slide 151 text

TDD

Slide 152

Slide 152 text

@holly_cummins #RedHat Automation Computers don’t expect to have fun (yet). Let them do the tedious tasks. Bonus: Automating stuff is fun (yay!). With permission of Richard Greenhill and H

Slide 153

Slide 153 text

@holly_cummins #RedHat Toil https:/ /www.flickr.com/photos/seat850/3341460975 SRE is a whole discipline dedicated to eliminating toil from ops because toil isn’t worth it.

Slide 154

Slide 154 text

@holly_cummins #RedHat “devops helps make our lives humane and win in the marketplace.” -Gene Kim

Slide 155

Slide 155 text

@holly_cummins #RedHat Fast feedback matters.

Slide 156

Slide 156 text

Step 2: Add fun

Slide 157

Slide 157 text

@[email protected] #RedHat Your brain needs breaks.

Slide 158

Slide 158 text

@[email protected] #RedHat Your brain needs breaks.

Slide 159

Slide 159 text

@holly_cummins #RedHat Can our job be fun?

Slide 160

Slide 160 text

@holly_cummins #RedHat Play a goal Exploration

Slide 161

Slide 161 text

@holly_cummins #RedHat Play flexible for its own sake Work a goal Exploration focussed investigation Games a winner and rules Puzzle a goal and rules

Slide 162

Slide 162 text

@holly_cummins #RedHat gamification

Slide 163

Slide 163 text

@holly_cummins #RedHat gamification (management loves)

Slide 164

Slide 164 text

@holly_cummins #RedHat The Fun Theory “something as simple as fun is the easiest way to change people’s behaviour for the better”

Slide 165

Slide 165 text

@holly_cummins #RedHat

Slide 166

Slide 166 text

@holly_cummins #RedHat

Slide 167

Slide 167 text

TDD

Slide 168

Slide 168 text

@holly_cummins #RedHat

Slide 169

Slide 169 text

@holly_cummins #RedHat

Slide 170

Slide 170 text

@holly_cummins #RedHat 7186 new lines of coverage

Slide 171

Slide 171 text

@holly_cummins #RedHat 7186 new lines of coverage 1000 new tests added

Slide 172

Slide 172 text

@holly_cummins #RedHat 7186 new lines of coverage 1000 new tests added 230 issues fixed

Slide 173

Slide 173 text

@holly_cummins #RedHat 7186 new lines of coverage 1000 new tests added 230 issues fixed 10 years of tech debt resolved

Slide 174

Slide 174 text

@holly_cummins #RedHat 7186 new lines of coverage 1000 new tests added 230 issues fixed 10 years of tech debt resolved

Slide 175

Slide 175 text

@holly_cummins #RedHat 7186 new lines of coverage 1000 new tests added 230 issues fixed 10 years of tech debt resolved

Slide 176

Slide 176 text

@holly_cummins #RedHat what dazzling reward achieved that?

Slide 177

Slide 177 text

@holly_cummins #RedHat what dazzling reward achieved that?

Slide 178

Slide 178 text

@holly_cummins #RedHat 1 free lunch ➡ 230 issues fixed what dazzling reward achieved that?

Slide 179

Slide 179 text

@holly_cummins #RedHat metrics matter

Slide 180

Slide 180 text

@holly_cummins #RedHat remember, you get what you measure

Slide 181

Slide 181 text

@holly_cummins #RedHat gamification is so motivating it will drive people do the wrong thing

Slide 182

Slide 182 text

@holly_cummins #RedHat

Slide 183

Slide 183 text

@holly_cummins #RedHat employees are not stupid they may notice they’ve been gamed

Slide 184

Slide 184 text

@holly_cummins #RedHat Play flexible for its own sake Work a goal Exploration focussed investigation Games a winner and rules Puzzle a goal and rules jokes laughter

Slide 185

Slide 185 text

@holly_cummins #RedHat Easter Eggs https:/ /www.flickr.com/photos/30478819@N08/47142913712

Slide 186

Slide 186 text

@holly_cummins #RedHat

Slide 187

Slide 187 text

@holly_cummins #RedHat Play Children learn through play.

Slide 188

Slide 188 text

@holly_cummins #RedHat learn skill while “playing on the job” use skill later on for real work

Slide 189

Slide 189 text

Failing at 
 Fun

Slide 190

Slide 190 text

@holly_cummins #RedHat 31% of us dislike team-building activities. http:/ /www.successfulmeetings.com/Strategy/Meeting-Strategies/When-Teambuilding-Fails/

Slide 191

Slide 191 text

@holly_cummins #RedHat fun is not a formula

Slide 192

Slide 192 text

@holly_cummins #RedHat Failing at Fun Forgetting to fix the other stuff.

Slide 193

Slide 193 text

@holly_cummins #RedHat

Slide 194

Slide 194 text

@holly_cummins #RedHat A layer of fun

Slide 195

Slide 195 text

@holly_cummins #RedHat A layer of fun … on top of a terrible workspace …

Slide 196

Slide 196 text

@holly_cummins #RedHat A layer of fun … on top of a terrible workspace … is still terrible.

Slide 197

Slide 197 text

No content

Slide 198

Slide 198 text

Fun is important.

Slide 199

Slide 199 text

Fun is important. Recap on achieving fun:

Slide 200

Slide 200 text

Fun is important. Recap on achieving fun: 1. Get rid of un-fun things

Slide 201

Slide 201 text

Fun is important. Recap on achieving fun: 1. Get rid of un-fun things 2. Add fun things

Slide 202

Slide 202 text

Fun is important. Recap on achieving fun: 1. Get rid of un-fun things 2. Add fun things Doing 2. without 1. is going to fail.

Slide 203

Slide 203 text

thank you Holly Cummins Red Hat @[email protected] slides