Merken

To Code is Human

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
the here I am the things or good thing still works is excellent level 1 and but so young anyway
at about 2 30 PM or if we say in Japan Good morning what's is right about that time for me right now I absolutely love jet lag unity I had everybody here probably feeling nicer energize cells that special time of the day readers raring to go so anyhow I don't are if a little bit of DHH from earlier today in that's that you that I think is as both Ruby and his rails programmers we have kind of this this may subconscious tendency and that's actually talked about this once where we're always looking in other languages and I can go and you know maybe I should go there too much faster and more efficient radio she's elixir maybe I should just skip all the stuff in this right my web code see your assembly and I think that's because we have this push to focus on computational efficiency we we want really fast algorithms we want Greek data structure so that we are optimally using these amazing tools computers that we have and because of this sort of obsession that I think a lot of firms I certainly am guilty this in focusing on machine on how to use that efficiently we tend to neglect the human side you know the the most important tool that we have In a toolbox and so this is a job and software engineering but we're not gonna talk about solid which is great not talk about hexagonal architecture were not in the talk about data structures and algorithms on the focus on the human infrastructure of code for the Dev Ops for the developer if you will so any of the to leaders of my my academic background is mathematics and 1 of those people this crazy on degree and there's an old joke I I did a whole lot of all the bad jokes in my talks of a mathematician is a machine that turns coffee into theorems so you put coffee into a mathematician and you get a chalkboard doubtful of things that nobody understands yeah the programmers are kind of somewhere in that respect a programmer you can think of is a machine you put coffee and and you get out
mostly working software and that there is rings of it it is not to say that programmers were machines like I think that that's not the statement but that you can think of your mind as being a machines most importantly being the most important tool in your toolbox and to get the most out of it as a programmer it's very important for about how the mind works as well as how to maintain it this very crucial investment as a working program so in this is the same way that a good company will invest in great hardware for the engineers as a great engineer investing in your own human infrastructure is probably 1 of the best things you can do and so to talk about that refer start with the
hardware the so Hardware matters because without you know really taking care of your hardware that your software is going to suffer a good example I like to bring up of this is that when I 1st gigs as a tio in Japan I worked at a company that was part of the great coupon Russia I think about 2009 a so when everybody was focusing on daily deals in daily coupons group on the like and during the course of working at this we had to do a transition from the old system which was based on the CMS and then cope with scaled to the new system which we had rewritten using rails and in doing this we had placed the award lot hours myself the team in a ton of extra time to make sure that this thing was done by the deadline I'm sure nobody in here knows what that's like in doing this all year we we worked in we order to time we set the schedule so that we had a fresh team coming in that we have the team coming in fresh from 1 state and the wants to go home early and get some sleep all of this was set up of the transition went really really smoothly much much more smoothly than I would anticipated and so myself as being part of the the launch team went home and got some much needed the the me about I don't know 5 hours later I get very very panicked call from the the 1 of senior engineers in the teams and like k we thought about and this kind it's really bad actually the database for some reason is just locking itself up consistent we've no idea why they were not really able to identify the source of the database locking the and because I have 5 hours of sleep I realized 0 my guy deliberative digging I look at the database thought I realize 0 I know exactly what the bug is I know exactly where it is because I wrote it but so is it turns out that cache expiry is a hard problem and I had kind of marked it up and I know better than this i i have so we know better than to have handled cache expiry in that way but I wrote that bit of code when I was exhausted this leads into something I like to call into work like you think of matter antimatter right if you combine the 2 it's huge explosion well in the work and work are kind of the same things or if you write your code when you're exhausted if you're working when you're tired and you forcing yourself is crank out those lines you tend to write things which later on we'll obsolete sabotage the code and sometimes the team and so although it feels like you're getting stuff done and it feels like you're generating real value you're actually sandbagging things the future and so that's that in the workers when you write that code that destroys productivity the and the reason for this is because our bodies don't have infinite capacity for getting stuff done we we don't we we have limits and so we think about our hardware our our hardware which Trevor mind what we really want optimize for were probably not trying to optimize it for things like string speed like as as a programmer being able like lift a lot of weight are being used to asses the flash isn't that useful to us it's not a bad thing but it's not that useful as so really really wanna focus on is having a really consistent energy delivery and I think this is something that is really easy to ignore because we focus so much it's so easy focus on getting
more hours which says that having more time and so we we don't sleep enough we call on all my we use caffeine said to get more hours in the day of new tropic drugs are not exactly an uncommon thing and by doing that yes you you can get more hours but here's another 1 of those old jokes alcohol is a magical thing that enables you to steal happiness from tomorrow that's exactly what it does right like it's like a a of a great tides like anyway exporting and not real time especially for me the hangovers at last by the day but so the rather than trying to get more time in the day I think our focus should be to make sure that the hours that we do have or of the highest possible quality on ants do like really illustrate this everybody here knows what this is only as we know it this is only is like that's when you sit down and you're working and you're like hacker typer it's great year year to get your cranking up code everything is flowing nicely peace dutiful I think it's why were programs because that time is when programming is happy that is when everything is wonderful because we are created is pure creation is that pure connection between mind and machine the and rather than having a 12 hour your 14 hour day with only maybe 1 or 2 hours and so what if we could have 7 to 8 hours of really focus work or most of those things are in that happy so and that's why we wanna focus not consistent energy the the most fundamental thing to that's the the Foundation 1 of the foundations of consistent energy is sleep
sleep is so important and sleep is that I aware not only your brain takes care of itself or your body heals and all of the wonderful things and remember focuses on better hours and not more hours and so cunning sleep to get more time is self-sabotage that in t work are 1 of the best ways to ensure that you get good sleep is to set your alarm clock in the wake of the regular time every single day on our our bodies are actually fairly rhythmic and so if you have a consistent wake at time and you go to bed when you start feeling tired now this entire necessarily everyday you listen to your body it tells you what it did and you do that on a consistent basis you'll get this really really nicely for them and will help level out your energy levels during the day this is a hard thing for me to do by the way is a very difficult thing for me to do but especially because on the weekends you you have these words like along the Oregon party on at a time and money to do stuff and by by breaking that cycle on the weekends you literally give yourself jet lag every single weekend and you have 4 power from that at the beginning of the week something else that is 1st consistently goes in good sleep and I hate to say this because I I love a whiskey and I love appear as much as the next person and by alcohol really kills URI and sleep quality i if you've ever had a nite of drinking and you you come home and sleep lot 10 hours of 12 hours but you don't really feel rested it's because alcohol sabotaged to REM sleep cycle and so on the weekends are great but on during the week day we for me personally I avoid alcohol like the plague because it really really hurting the next morning the on and on sleep like this as part of maintenance but it's also important because it sets the sort of daily rhythm presence is really critical for people because we're
very near infinite creatures tha here we have 2 main cycles actually 1 of them is a is daylight that our sleep cycle and the other 1 is of food cycles waiting for a meal the I think there's water cycle in there somewhere to so that the combination of the 2 cycles regulate what we do regulate how our body deals with energy during the course of a day but it's 1 of the reasons of for example you have to deal with jet like living in Japan travel nationally quite a lot that when you when your destination you immediately adopt the food cycle that destination because you can't really recent usually clock for easily be you can receive food clock with just a couple of meals and you can leverage this during the course of your normal there's a working programmer by having your meals at a consistent time because your body will adapt to that and will grow to expect that you at a maybe 70 and that in your breakfast and maybe at 12 30 that have lunch and have 7 maybe is when you have dinner and your your body will adapt to this new world number 1 only become hungry those times which is kind of nice on but number 2 it will smooth out your energy delivery and reduces stress physiological stress on your system on this of course also boost focus which is wonderful and to get into this the 1st thing I did today can fix the problem is I used calendar I actually so calendar reminders that said like OK now you need to eat of irony knew that some people can can get away with other things but by making that a regular rhythm for the day it help stabilize managing the speaking of food food is really important so it's it's the thing that powers your mind it's a thing of fuels your rank and I'm not going to try dictate diet because people obviously you should make their own choices body tell them what they want to eat but the 1 thing that I can say that has been really useful in food is to avoid faster behind it so when you take operated to sort of the energy thing power your buying power your mind and when you take an fast carbohydrates the across really quickly this then causes an instance like your pancreas estimates ramp-up insulin production really really really quickly needed spike you probably noticed that if you have really sugary foods I give a pop tart for breakfast 1 really nice energy from a pop tart and then maybe about 10 15 is that you're hungry and another 1 and that's because that instance spike you get get the spike of energy and that goes away again you end up in this would be debt and then the eat something else you'll have some caffeine to kind of make up for the energy loss and you end up in the sort of like really we the cycle of energy during the day with all of these high rises and we will drop so by just avoiding those simple carbohydrates sugars are things for example like you honestly we breads and focusing on things like racism passes assuming that that works for you and you can help level of your energy during the day which is the I so when the other nice things on is is that they can be good for you exercise motion is less the 1 of the things
that I don't know where I heard it but it was something that really struck a chord of mean that living things move and you know even plants plants move you can you can see them if you watch a time lapse of flour chasing the son of it it's really beautiful thing of the roots the plants slowly kind of creep in the ground looking for nutrients and are bodies really want to move they want to do so there's a huge number of document benefits this I think that a softened years we we tend to be written in this on the edges like you did so focus on working and so it's not about just going to the gym doing cross you do doing what other people say that you should do it about finding something you love to do this exercise you can enjoy all I for example here 1 I cannot stand running 1 but I found that I really like lifting weights and so I was powerlifter for many years on other people enjoy dance dances fantastic exercise dances amazingly good few hiking is wonderful there's gotta be something other frost everybody that they can do that they enjoy and by get having exercise in a consistent schedule it's 1 of those things that really helps you with a consistent energy because it's great fear cardiovascular system to integrate great for your brain and a couple of tools that are used to make sure that I keep my exercise video consistent the 1st 1 is that I have to I follow the rules I have to show up so in the morning I really don't know that I really really really need and my role is that I have to show up and I have to do 1 push up present and and body which different as 1 if I didn't 1 push up and I wanna stop I can stop at it completely fine usually a wanna stop but but something else is really help me setting incremental but very achievable goal in in software this is really critical to like you don't try and build a gigantic feature takes 2 or 3 months in 1 shot you do a little bit by little bit exercise works the same way where you know Michael's to 1 more push up and I did the previous day and last but not least tracking progress once again a great tool in software about seeing how you're coming along single features going along continuously being able to see that feature is it's it's building exercise works the same way work you can look at you progress over time it's very very motivational and so these 3 things are kind
when I look at is the the pillars of having consistent energy throughout the day after I cannot stress how important that consistent energy is because that's what puts people at the top of their game that's where that would help to optimize whatever hardware you have it that will help you get the most out of that hardware and ends what great hard words 1 thing great Harbor means we need great software and that's the next touch on is caring for software EEG
reminds now word is as good reviews you know the cost of reading of what's going which really any good programming knows the courts of the try things like in Python and the string correct me if I'm wrong is false or industry is true they will park there so if you switch between the 2 it manic it's really annoying sometimes that's the source more than a couple of bugs for me in the past on and so like any tool or minds have quirks they have weird things right they've limitations and so by being aware of the limitations and my understanding how they work we can leverage our minds to get the most out of them and there's probably a lot you might not know about you bring but that's so for
sighted people were actually blind for 40 minutes everything we don't realize we don't know the word like for 14 at every single day on weather the reason we're lines because power eyes work we get we really narrow focus a if you hold your hand out like this and you look at it but if you look at sort of the center of your palm your actual focus area really only extends out to sort of the kind of debate like the wedding of your fingers release properly but as far out as you go or maybe to the field of personal there and that's all you get that's the only place you can focus on everything outside of that is blurry and you can read you can't see anything that are it that you perform vision but yet when you look at me standing up here when I look at everybody here in the room and you're all clear to me the cities of course and this is because what my eyes doings it's moving around consistently without me knowing it of all these called 8 and they're the fastest motion in the human body and my brain is taking all of the circadian it stitching together in 1 consistent picture NASA cicada interesting because they have a limited range of motion so if you were to hold out your if you hold out your on like this and you move it out to maybe a little bit past shoulder with that's about as far as your circuit can go and you can actually demonstrate this by if you hold out and then you move your a little bit further new to you look at your head will turn naturally to follow where your hand is because that's a really really stress emotion for your eye right at the edge of the range and so you had naturally turned to look at it must force to not and so what this means this is 1 of the reasons why you novels when you buy a novel you get these really short lines there are a maximum of between 60 72 characters because if you start going beyond that you're going outside the scope of what you can read in a single cicada having to turn your head and that takes a lot more energy to much more exhausting motion and this something was discovered by age and typographers is another interesting thing about the way that our our brains work and that
is your memory you you've all working memory that holds 7 only ever take 2 items somewhere in there and the way that what happens when you for that memories very different from a computer computer just don't score right like if you if you miss a stack overflow of your before they allocated memory your brain does this kind of really interesting fuzzy compaction where it will try and make sense of you know that the data you stuffed into that short-term working set and it will compact it down based on what your brain thinks the gist of things is based on what's important so you'll remember maybe I feel like a long list of things for example your member of the 1st 2 items and public last 1 but the stuff in the middle will get really really mixed up and so your your brain focuses on remembering things they're almost right so if you ever been working in a really big function right in Ruby and you get kind of lost with what's going on in there which really happening is a short-term memory has overrun and its compacted down and we don't know this is happening like we don't we don't get this sort of like a flag that our brain reasons as like 0 hey Ivan out working memory i'm going to throw out of that thing that I was just working on because I think that it was less important than something else the question really is a K how does this apply to software like what connection is this possibly have the software engineering or there's a lot of things you've probably heard before
that directly correlate to these 2 cognitive and physiological limits so when you are looking along long line of code when you have a out when something that takes over like a long section screen you nominally breaking that's a k-linear fortunate to start moving begins exhausting when you have more than 5 to 7 points of function it's not the number of lights and it's more about keeping the number of things that are in your working memory small to fit within what you ranking actually cope without dropping things in becoming fuzzy and the same goes for the the 3 levels of indentation these roles feel arbitrary but if you understand the the when it's the physiological on the cognitive limits all the sudden they start to make a lot more sense and this why I think really matters because without the Y is really easy to craft things that are that follow all the rules but that's still fail to achieve the purpose for example this on this is a little set of
code from some production thing many many years ago and so I I think every single 1 of us will Ruby enables a straight this really concise language and good golf is not uncommon I think in in Ruby production Ruby code and see do see a lot of things like this where the goal is to write small code writers in small code there are fewer places for bugs to hide except the fact there 3 but minutes on so readability really matters and not just because of the the last couple of roles we talk about the because also how a memory works in this case talk just about long-term short-term memory rendition about long-term memory because our long-term memory has evolved to remember stories so human writing about the the ability to write things down can be things 3 information has only existed for about 10 thousand years or so the about are we had some cave paintings and implement pins before that but talking be conveying information through speech is millions of years old and so we have deep structures in our brains built to remember stories backing from the genome Cicero and that he was once for very large dinner there was a fire at the center and sadly tragically many people died he managed to escape and the afterward of course people wanted to be identified the victims of this particular part the people that didn't work it out and sister realized he was able to recall the names and the places every single person at the dinner table and was able to do that because previously in the evening he told the story of comedy involving all of the people there shooting around and enjoying and so that's what the method of low and so by telling the story we get this amazing sort of fast track that
loads things in your long-term memory in the same thing goes readable code when you write code like Lawton proses Uncle Bob recommends it's not just because it's easy to read but because you get this cognitive fast track for that code into your long-term memory and the next time you step back to look at both a it's easy to read which is wonderful but you also get this this sort spring up of of context you had at that period of time because this sort of nebulous bald information can pop back in your memory because you've built code that optimizes for long-term storage and so if we refactor that last that we look at
and something that maybe looks maybe not perfect little bit more readable number 1 a couple of the bugs fall out of 2 of them just disappeared immediately 1 of them was a case identification but in the other 2 were brackets are into this is something that now makes a lot more obvious it's like OK we're sure coloring along hex color and we want actually transform in RGB value because the code is readable and importantly the context becomes obvious after refactoring this I remember that this was code that was part of that and I was normalizing brightness values for color that was that was the things it was taking a color taking multiple colors and normalizing them for human visible brightness so another interesting aspect of of our physiology on is that decisions are
really really really hard but it's a it's 1 of the reasons why if you walk into a ball you know across narrative under 1 the drive through 3 have all of those different things to choose from this kind hearted kinds of England in to contentions term not really sure words if you walk into an in and out for anybody else's from California on and then that you have you have a burger or you can have a cheeseburger you and and that's pretty many have a drink and fries and those are the kind your options you don't really have this huge number of options and so as it turns out we only get a limited number of decisions you make during the day the use of energy and that's something we're trying to conserve really to illustrate how powerful this is another study it was done I believe by Stanford University of maybe about 10 years ago about inmates going up for parole so here in in a in a prison and you value except you to get it good behavior you get released early release on parole and to do this you have to go for an interview where you of a panel of people that will make the decision as to whether or not you get to get released early and if you if you have a choice on setting that time you back plead to goes early in the morning as you possibly can because what this they showed is that if you went early in the morning when the judges refresh they would actually listen to what you had to say and they would consider your your petition for release and were more likely to granted worse if you want in the end of the day after the exhausted the decision potential you were probably just going to be stuck in prison because they would fall to the fall of no the same name by the way applies for job interviews so if you have a chance to set a screening for a job interview you wanna set up his early in the morning for the person on the other end is possible because they're going to give you the best possible shake the now this is kind of important because of it relates to discipline because we know what really is self discipline right self discipline is choosing what we don't want to to do the right thing on you it is mean using become here actually do the torque that I promise to do rather than saying in my hotel room in taking a big long out because men like that and but the thing about this suppose I think this
1 is really overrated because disciplines decisions you having continuously make decisions and so rather than doing that during course today building effective habits focusing on habit formation of a self discipline will get you a lot more mileage and will help you conserve energy more on end at all really doing is worth teaching her brain to do the right thing automatically this can actually save your life to was so were world conference and I am going to that that everybody who is out of probably staying in a hotel note in a hotel fire most people like a hotel fire really really tragic and most people tend to die in the bathrooms on data gone about from the good window and that's where the and getting trapped in the way that you can rent this is that when you in a hotel and the 1st thing you do is you say OK if you make a habit of this it's like OK I'm staying in this particular room where the edges or the emergency exit and you count the number of doors for the Exodus and by just doing that simple steps you now know how to get out your brain will actually remember that even when your panic and by making a habit you can actually see your own life on another really get in and really is kind of works out with a lot of programmers practices right like you know the idea behind had the idea behind leveraging those aspects of your brain on 1 really good example of of a program best practice that is driven by the cognitive science is reward cycles so the
reward cycle is is a really critical part exactly what addiction on in that your we want accomplishing miracle something you wanna do not use our cycle and in your brain consistently gives you this this little bit of booze managers will the of basically governing atomic on to actually get towards that thing you want to accomplish and it just feeds a little bit by little bit little bit by little bit so you actually reach the goal and then you get a nice big burst of reward in your brain it's a wonderful thing and then the reward falls off really quickly afterward on are you know for people that suffer from depression this is actually broken and so if you have to do with depression which is a really horrible thing to deal with this reward cycle part of the thing is broken you bring on in the year a year typically certain is the thing that something managed correctly and so you don't get that reward like but this reward right every single thing that we do from writing code for running a marathon to brushing your teeth you you brush your teeth in your brain kicks in little things and get good job teeth are done OK but if you're if you depart if you deal with depression a few deal with any of those conditions you don't get that Uranus's for like OK great heated up so what and by not having the word cycle you don't get motivated to do anything this is underpinned all of motivation on this is how people become addicted to things this is why would you buy a new car here really nice new car you get that Mercedes he always wanted a couple days later it's like really really lost in the 1st couple additionally yet great the couple days later like as is my because you're that reward that that that big push the bring gave you has just kind of popped off now non-programming size directly and some that we know is really good practice tested evolving so
we're writing code altering the feature right like we're not there to right tests that I personally think tacit visually busy work and so if you when you think about a radical trade the feature so if you get a little bit of motivations your your writing feature building-code really great color features done now outside right that's in and there's a reason why were in that structure when you do the test later development it's not you want right test but it takes a lot more discipline discipline to actually get good testing done and so by putting the busywork 1st covering the testing is part of actually achieving the goal you leveraging that reward cycle to actually push you in the right direction of software engineering on another out so the excellent example of this in 1 of my favorite if you're working in an office like an open we all love open-plan offices don't we they're just fantastic their so focused you know you know it promotes the t implemented on promotes synergy he and you know and so on this that I think it's fair to say this is a problem because history really distracting
although we have other special part of our brain is called the anarchist area located right about here well obviously inside a little bit and then it is area is connected basically directly draw auditory nerve it runs through that and so when we hear people talking especially when we hear certain things like our name on it it's a shortcut to immediately take your attention so when you're asleep some get if somebody this is talking around you're more likely to remain asleep with and this is you name or the is something you were particularly attuned to you will snap away and that's because of anarchist area it also means that if an open plan office you hearing all of this this speech and other people and all that talking all the time and your that part of your brain is engaged with all this stuff going around you that is related to the work you're doing so stray even use headphones but they don't block out all the noise and a hearing is generally pretty good so you're still getting enough sound in there to be distracting and the question is like OK was a problem of working in an open plan office how can we how can we fix talk we deal with this problem and the answer is to engage vendors area productively and you do that with pair programming so we appearing in an open plan
office I'm I'm an expert there were 2 people for while what we appearing in an open plan office all of that speech drainage areas talking like any tons of conversation going as conversations next you conversations right across but you don't feel distracted by because you're talking to your pair about the things you're doing you engage that part of your brain and that part of your brain is engage in actually doing the work that you're trying to get accomplished and so you don't get the distraction effect because you've managed to leverage that part of your physiology a pair of course has a lot of other things that I love about it's a real-time code of you know yet once again busywork i.e. I've done a lot of code of you I've never really loved code review but it's a necessary evil brief repairing happens in real time you don't need to go do it as a separate step because you always have another person they're saying like all on what what what is this thing to click how does this work was a variable name as you're going that review in real time which is absolutely wonderful on and it's also really great when it comes to energy because as a pair you of 2 different people in there and have 2 different kind of like energy levels during the course of a day in up and move in lockstep like this unit can go up and down and so when you're feeling a little bit less motivated you perish probably feeling a little ball has more energy into taking would you mind driving for a little bit and I can go the other way around words if you're pairs feeling that well you like elder but no words if you both England will a subway and is something over for 15 minutes that exercise bitter your blood flowing and you can actually get back to doing something productive really this is all about 1 thing the and that is rather than rather than trying to force everything for will and self-discipline and trying to push yourself or absolutely everything is that for yourself you can create an environment
where personal excellence is the path of least resistance where excellence for yourself becomes the default and is an amazingly happy place to be on and you do this through establishing that consist of energy by having a stable energy throughout the day by keeping yourself healthy of which also means taking vacation taking breaks as appropriate those served as a very important things on here you do it by getting regular sleep and by leveraging all those cop bits of cognitive annoyance that you know the odd memories are limited here we can only make a small number of decisions about you know the way the world works are brain is just this star but when you can leverage all of those things you can use that to drive yourself towards that that absolute excellences offer engineer that I think a lot of us want to want to be out and want to maintain and this is a really just about being successful off suffering here this is really about being happy because at the end of the day that's really what we all want is to to lead a happy life and not just have a successful career so on that pretty much concludes this that's
what I always forget to do this part I'm really really bad about this so I write articles on software engineering and on the were redundant and I occasionally trying to weed out interesting articles on Twitter and so are there any questions I saved and I saved about a 10 minute block for extended people had questions if they wanted to ask of his linearly repeat the question the 2nd 1 here in which I have understood so in terms of individual techniques for for maximizing happiness is a resemble pomodoro avoiding meetings working the afternoon what works best for me and so the combination of things uh I thought maybe diving into what I've worked as part of the distributed teams I'm working alone on when you when you're not distributing the virtual team work at home you really pushes your limits for motivation is you don't have that structure around you to force you to to show up to work and you know do things at those times 1 of the things the building that structure so when I work remotely I actually have a really rigid schedule like I I wake up at the same time I start work at the same time I have either a calendar reminder and have tempted even write overlap for my maximal play like a factory scheme was sailing group so that I remember it like a it's time to cut code and I'd make sure my brakes also happen at those consistent times from the data in the calendar and a good reminder like a now's the time to take a break but it takes a couple weeks to get into that really in the cycle for that is your body takes between 1 to 2 weeks to adapt to a new a new cycle as why July takes between 1 to 2 weeks to to really what really Koraput itself up on but that's 1 technique is really helped me is is rigidly enforcing that cycle of and the nice thing about this is this force is my productivity actually into those times once those couple weeks her up I'm actually productive and like I start working on him and I'm I'm gonna motivated up pomodoro is useful on although for me personally I cut to cut my 1st session on 5 minutes so I I so sometimes even 1 minute I'm having a really bad day I was a 1 minute timer are not really loud annoying time just this little thing on my machine and of the rule is that doesn't matter if I'm not motivated if I don't wanna code I just have to do 1 unit of work that 1 minute will usually turn itself at 15 or 20 or 30 because that's leveraging that mental momentum just all I need to do is get over the Getting Started part numbers 3 meetings are actually really good thing so meetings are match the writing an article on this right now it's kind of family that you mention at meetings of I i restrict to certain timeboxes during the day I try impact on nominally at the end of the day all put interviews of at the beginning of the day because I wanna give every candidate the most fair shake that I can on but meetings in general go at the end of the day and they are rigidly timebox so that I know that toward the end of the day when I'm probably running loan decision anyway and not most meetings are usually to convey information on I will preview my decision the beginning there were viewed continent meaning of a like OK you know omega decision tree but if this is what happens this is right like to go this is what happens all go here and if we fall outside of that I probably need more information and that 1 would be asking questions here the things I don't understand and then I'll get to the meeting at the end of the day and I've got that prepared sheet that enables me to get through the meeting without having to spend too much time on decision argument and so those are a couple of techniques really helped me have I answered your question but this this is a fantastic question by the way so the the question is like as a developer how do you control your emotions and the solution isn't cycle you should have been born on Vulcan our I mean the Spock I that's that's not the answer obviously but this is a great quest because like of of what was aligned Reckitt Ralph like you know my passion bubble is so we stay close to the surface I definitely is and I had the learn this very very hard because that I would tell us many many years ago of my we do things like I would see code like all what idiot wrote this and I did get when I discovered I know that idiot it's me I and so but like I responses like what it wrote this is actually really bad thing to say especially for team you because you're the person wrote that is now probably feeling pretty awful on and you don't wanna encourage that sort of behavior so learning to not do those things into control my emotions has been quite a journey a a couple of things on 1 it is that are very specifically if I'm working with other people on that when it comes to stuff like that like that's responsible accorded era of this is uh I asked them to tell me if I'm not being kind like if I've kind I think is is 1 most fundamental values that you can have on a team and so it's it's an open offer of like anybody who works for me I really wanna know if I'm doing something that's taking off the rails of kindness and so I just grab the office I would talk for 2nd and I promise you I will not get angry from any of that feedback effort is another promise and I make anarchy is if you give me feedback regardless of what it is I will accept it and I will listen to you will not get angry at or he was code so let's see a couple things 1 7 1 7 with really important you see something if you have that spike it's like OK break time you I need I need to take a couple minutes and I need to distract myself or I need to sign you come down maybe I need to talk to somebody us that's 1 but 2 is setting that acknowledging with feed on so this is also technique by the way for co overcoming stage fright so if you of I don't know how much the bring to really hasn't given torture presentations but so I think getting up and giving a presentation some and being frightened you having that sort of fear of ring normal and what a lot of people do is they push down they they go online I not I'm not be afraid and be strong about this and the best thing to do is actually to acknowledge that the step up until k I'm feeling nervous and feeling jittery in the case of code John feeling angry I'm feeling really stressed to panic about this really worried and break into why why might and about this of i will actually sometimes even write that down all break open text at the origin why am I feeling this way of what am I stressed about this because I'm worried enough work late and I stress because word and get blamed for something on and really breaking down the reason why you feel that that strong emotion when you do on by doing that by the way you can bring that after retrospective until I K I I I felt really stressed about this because I was really worried that like I'm going DL that on and so like why did I feel that way maybe we got something in our culture that we need to fix and this is a really good indication for them so I think that that's kind Americans that stepping back on acknowledging how you feel on and analyzing it like actually breaking down the why those emotions or where they are really kind help to get past that's where panic comes and it only cost you maybe about 5 or 10 minutes you can even time said are you might still feel a little bit of vestigial emotion that you're not gonna be feeling the sort of like error and the thing so did the intervention you know called I think I've time for 1 more brief question before any of my time books yes yes so Albany repeat this so this is so when you when you get into that flow and I you by the exactly the same thing so when you get into that flow right you you you get your day and you know that for our section of readers hearing code you look at me like 0 part of our hearts it's 2 PM of so I think number 1 is is you really have to work with you but like this is very important you after work with your right everybody has different ball right like the the different in different mutations on and so paying attention that's really important when it comes to flow if if you can't really good flow going and I would actually see keep that leverage that ride that wave but when you kind of like it to the end any feeling of like OK I'm a little bit done on that's when you pick it upon to step back you like OK I'm a take a break and medium is going to stand out medium around for walk of but you know I've got so what I'll do when I'm working from home is a literally just go out all kind of war crime my apartment building or go walk down I live right by the river the ocean so maybe walk along the has on so that's 1 way of doing things maybe uh something about in an office before is used up idea like OK it's break time on other people here with a ping-pong table go find a person with income with it appearing by the way this is really great because you have studied play ping-pong with the right there i and that if you can find another period new doubles by the way I suck at ping-pong I'm really bad ping-pong and hacky sack as well I actually I realize that I'm probably showing off the fact that I you know when I graduated high school in that moment there was donors on but it's so I have well I keep a Hacky Sack my backpack of mental bring that with him sometimes was like a break time that's that's going to you get back is separable but things like that on and the other thing is that rather than trying to fit patterns as per your working they're like little bits of activity where you get up and move around a great standing just by way also help without exceeding if you've desiccant can can be variable you can stand up and is your is your standing up you kind of move around a little bit on so that can help but by it's by a really it's it's saying consistent time during your data during your we give regular steadily high after work before work this is only my time to do something I enjoy some sort of exercise and so between the 2 of those things by having a regular I hesitate to say the workout schedule by having regular activities that offers a could be things like that you could be bad and can be any number of things adjusted to moving so by having you can be that you walk to the office but that's really not forgive you get 30 minutes walking a Davis this really can if your minimum exercise caution of and that's all you need to be happy then that's great do that of answer by combining that regular schedule with out when you do take like when you you hit a point where you wanna take a break acknowledging like a it's break time like ini I've come out of the zone on a step away from the machine and then do something else Hacky Sack ping-pong walking around are changing my position any of those things by doing that you get more motion going to Russian yes 3 4 3 other questions so and I think I'm out of time for today gets to that all of our time is limited thank you very much few there
if it in use and
Programmiergerät
Bit
Formale Sprache
Zellularer Automat
Computerunterstütztes Verfahren
Maschinensprache
Computeranimation
Übergang
Eins
Komplexitätstheorie
Virtuelle Maschine
Benutzerbeteiligung
Algorithmus
Prozess <Informatik>
Maschinensprache
Theorem
Rechenschieber
Softwareentwickler
Datenstruktur
Nichtlinearer Operator
Mathematik
Güte der Anpassung
Technische Zeichnung
Fokalpunkt
Quick-Sort
Minimalgrad
Mathematikerin
Computerarchitektur
Software Engineering
Bit
Programmiergerät
Gewicht <Mathematik>
Minimierung
Gruppenoperation
Gruppenkeim
Maschinensprache
Antimaterie
Flash-Speicher
Virtuelle Maschine
Unterring
Reelle Zahl
Software
Canadian Mathematical Society
Optimierung
Gerade
Widerspruchsfreiheit
Hardware
Datenhaltung
Kanalkapazität
Systemaufruf
Quellcode
Physikalisches System
Biprodukt
Fokalpunkt
Programmfehler
Energiedichte
Caching
Mereologie
Zeichenkette
Aggregatzustand
Einfach zusammenhängender Raum
Maschinensprache
Fokalpunkt
Quick-Sort
Übergang
Softwarewartung
Virtuelle Maschine
Energiedichte
Echtzeitsystem
Dreiecksfreier Graph
Basisvektor
Mereologie
Energiedichte
Optimierung
Hacker
Widerspruchsfreiheit
Leistung <Physik>
Bit
Einfügungsdämpfung
Programmiergerät
Schaltnetz
Zahlenbereich
Sprachsynthese
Kombinatorische Gruppentheorie
Sommerzeit
Übergang
Videokonferenz
Weg <Topologie>
Arithmetische Folge
Rangstatistik
Software
Wurzel <Mathematik>
Widerspruchsfreiheit
Auswahlaxiom
Leistung <Physik>
Koroutine
Chord <Kommunikationsprotokoll>
Schlussregel
Physikalisches System
Biprodukt
Fokalpunkt
Quick-Sort
Unendlichkeit
Arithmetisches Mittel
Energiedichte
Scheduling
Dreiecksfreier Graph
Normalspannung
Instantiierung
Wurm <Informatik>
Maschinenschreiben
Energiedichte
Hardware
Software
Spieltheorie
Energiedichte
Inverser Limes
Wort <Informatik>
Quellcode
Optimierung
Normalspannung
Widerspruchsfreiheit
Lesen <Datenverarbeitung>
Zeichenkette
Programmfehler
Bit
Computer
ROM <Informatik>
Computeranimation
Spannweite <Stochastik>
Software
Fahne <Mathematik>
Inverser Limes
Maschinelles Sehen
Widerspruchsfreiheit
Gerade
Leistung <Physik>
Schreib-Lese-Kopf
Einfach zusammenhängender Raum
Lineares Funktional
Approximationstheorie
Einfache Genauigkeit
Mailing-Liste
Fokalpunkt
Quick-Sort
Energiedichte
Menge
Flächeninhalt
Rechter Winkel
Kompakter Raum
Pufferüberlauf
Festspeicher
Digitaltechnik
Normalspannung
Software Engineering
Punkt
Formale Sprache
Zahlenbereich
Schreiben <Datenverarbeitung>
Implementierung
Sprachsynthese
Maschinensprache
Dicke
Extrempunkt
Übergang
Weg <Topologie>
Inverser Limes
Datenstruktur
Gerade
Touchscreen
Lineares Funktional
Güte der Anpassung
Übergang
Schlussregel
Biprodukt
Gerade
Quick-Sort
Programmfehler
Persönliche Identifikationsnummer
Festspeicher
Mereologie
Garbentheorie
Information
Tabelle <Informatik>
Quelle <Physik>
Bit
Sechsecknetz
Weg <Topologie>
Minimierung
Systemidentifikation
Zahlenbereich
Maschinensprache
Kontextbezogenes System
Frequenz
Quick-Sort
Computeranimation
Entscheidungstheorie
Programmfehler
Weg <Topologie>
Poisson-Klammer
Last
Maschinensprache
Festspeicher
Mereologie
Kantenfärbung
Information
Speicher <Informatik>
Vektorpotenzial
Zahlenbereich
Term
Prozess <Informatik>
Bildschirmfenster
Inverser Limes
Inhalt <Mathematik>
Optimierung
Auswahlaxiom
Beobachtungsstudie
Soundverarbeitung
Videospiel
Gebäude <Mathematik>
Güte der Anpassung
Entwurfsmuster
Konfiguration <Informatik>
Entscheidungstheorie
Gefangenendilemma
Energiedichte
Moment <Stochastik>
Rechter Winkel
Dreiecksfreier Graph
Kognitionswissenschaft
Dateiformat
Wort <Informatik>
Hill-Differentialgleichung
Softwaretest
Bit
Güte der Anpassung
Maschinensprache
Richtung
Office-Paket
Datenmanagement
Prozess <Informatik>
Rechter Winkel
Konditionszahl
Mereologie
Dreiecksfreier Graph
Wort <Informatik>
Kantenfärbung
Datenstruktur
Softwareentwickler
Software Engineering
Soundverarbeitung
Expertensystem
Schnelltaste
Umsetzung <Informatik>
Subtraktion
Bit
Automatische Handlungsplanung
Geräusch
Sprachsynthese
Maschinensprache
p-Block
Übergang
Office-Paket
Energiedichte
Echtzeitsystem
Einheit <Mathematik>
Flächeninhalt
Offene Menge
Fokalpunkt
Mereologie
Wort <Informatik>
Optimierung
Programmierumgebung
Impuls
Bit
Punkt
Virtualisierung
Momentenproblem
Extrempunkt
Gruppenkeim
Familie <Mathematik>
Maschinensprache
Computeranimation
Netzwerktopologie
Mehrrechnersystem
Einheit <Mathematik>
Kontrollstruktur
Schnitt <Graphentheorie>
Default
Parametersystem
Gebäude <Mathematik>
Nummerung
Programmierumgebung
p-Block
Biprodukt
Frequenz
Zeitzone
Entscheidungstheorie
Arithmetisches Mittel
Scheduling
Twitter <Softwareplattform>
Informationsverarbeitung
Verbandstheorie
Forcing
Rechter Winkel
Festspeicher
Garbentheorie
Information
Software Engineering
Fehlermeldung
Rückkopplung
Subtraktion
Ortsoperator
Wellenlehre
Schaltnetz
Zahlenbereich
Kombinatorische Gruppentheorie
Term
Virtuelle Maschine
Unterring
Flächentheorie
Endogene Variable
Inverser Limes
Indexberechnung
Datenstruktur
Maßerweiterung
Softwareentwickler
Hilfesystem
Videospiel
Matching <Graphentheorie>
Schlussregel
Datenfluss
Quick-Sort
Office-Paket
Energiedichte
Offene Menge
Mereologie
Dreiecksfreier Graph
Gamecontroller
Faktor <Algebra>
Normalvektor
COM

Metadaten

Formale Metadaten

Titel To Code is Human
Serientitel RailsConf 2017
Teil 23
Anzahl der Teile 86
Autor Werve, Don
Lizenz CC-Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben.
DOI 10.5446/31294
Herausgeber Confreaks, LLC
Erscheinungsjahr 2017
Sprache Englisch

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Programming is a deeply mental art. As programmers, we invest large amounts of time in mastering new languages, new techniques, and new tools. But all too often, we neglect our understanding of the most important tool in the developer's toolbox: the programmer's brain itself. In this talk, we will combine the art of programming with the science of cognitive psychology, and emerge with a deeper understanding of how to leverage the limits of the human mind to sustainably craft software that is less buggy, easier to understand, and more adaptive in the face of change.

Ähnliche Filme

Loading...