<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kyle Gordon on Medium]]></title>
        <description><![CDATA[Stories by Kyle Gordon on Medium]]></description>
        <link>https://medium.com/@kylegordon?source=rss-c2edeb1f2ebc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aKPqcWlyiEQUycNqM5BQug.jpeg</url>
            <title>Stories by Kyle Gordon on Medium</title>
            <link>https://medium.com/@kylegordon?source=rss-c2edeb1f2ebc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 06:50:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kylegordon/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My 4-Day Work Week as a Software Engineer with ADHD — A Two Year Retrospective]]></title>
            <link>https://medium.com/@kylegordon/my-4-day-work-week-as-a-software-engineer-with-adhd-a-two-year-retrospective-627d2f517317?source=rss-c2edeb1f2ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/627d2f517317</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[4dayworkweek]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[adhd]]></category>
            <dc:creator><![CDATA[Kyle Gordon]]></dc:creator>
            <pubDate>Wed, 12 Apr 2023 15:09:32 GMT</pubDate>
            <atom:updated>2023-04-12T15:09:32.715Z</atom:updated>
            <content:encoded><![CDATA[<h3>My 4-Day Work Week as a Software Engineer with ADHD — A Two Year Retrospective</h3><p>It’s been a little over two years since I asked my manager at Microsoft to change my work schedule. As with any experiment, it’s a good idea to take time and look back at the positives and negatives experienced. My hope is that anyone who reads this will push for more flexible work hours for your engineer team.</p><p>My Schedule: Monday, Tuesday, Thursday, Friday from 7am to 5pm</p><p>Flexible start/end time as project needs demand. It’s not uncommon for me to work 6am to 6pm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W0aiuZy88_zPB7Gn" /></figure><h3>Motivation</h3><h4>Why Wednesday but not Friday?</h4><p>Often the goal of the 4-day work week is to try and get a 3-day weekend. Friday naturally lines up with this goal. However, my goal wasn’t to try and get room for longer weekend trips— my goal was to fix my problems with productivity at work.</p><p>Two years ago — in 2020 during the summer of COVID— I pulled together a list of my sick days and WFH requests during the 2018 and 2019 calendar years. The data showed two trends:</p><ul><li>In 2018 I was sick or requested WFH on 27 of 52 Thursdays</li><li>In 2019 that number was 29</li><li>Combined in 2018 and 2019, I requested WFH or had a sick day on Monday , Tuesday or Wednesday just 20 times</li></ul><p>That came down to 56 out of 108 Thursdays that I didn’t have the energy to be in the office — almost triple the combined total for Monday-Wednesday during that span.</p><p>For me the data was clear — I’m getting burned out by Thursday and don’t have the energy to be effective. I needed a change. And after a month of convincing, my manager got approval to alter my schedule to 4x10.</p><h4>Why 10 hours instead of 8?</h4><p>Honestly, it was common for me to be “available” for 10 hours a day already. I’d get to work at 7am and commonly would find myself staying to 5pm or later. For that reason, I didn’t make much of a fuss over it.</p><p>But logistically it’s just an easier sell as an independent contributor. During a normal 5-day work week I gave maybe an honest 30 hours of productive work — at least <strong><em>my definition</em></strong> of productive work. Maybe less if the week was really taxing. Telling HR that “If I work 32 hours 4 days a week, I’m already ahead of the 30 good hours I gave for 5 days. And the goal is to make those 32 hours even more productive!” didn’t seem like something I can sell. Especially if they heard “only working 30 good hours currently”.</p><p><strong><em>My definition of productive work</em></strong> is also important here. I <strong><em>want</em></strong> to be effective. I want to do a great job. And I want to complete projects. A 4-day work week isn’t me trying to take money from the company for fewer hours. I have a high standard of expectation of work from myself and doing that over 5 days had never proved successful.</p><h3>General Summary of Experience</h3><p>Over the past two years I’ve improved my productivity at work by leaps and bounds. Part of that was getting diagnosed with ADHD — <a href="https://medium.com/@kylegordon/opening-up-about-my-adhd-3dfe6e42bf7c">you can read about that here</a> — but for the year prior to the diagnosis I was already seeing huge strides in my abilities at work.</p><p>I got promoted and took on responsibilities that I didn’t feel like I had the consistency to take on before I started this schedule. Specifically, work that relies on cross-team collaboration. This required a lot of meetings — something that has always drained my energy <strong><em>fast</em></strong> — and also lot of context switching as I try to map other folks’ problems into mental models that I can apply to my own experiences.</p><p>One of the biggest problems with burning out every Thursday was the feeling that you look lazy because your brain is now mush and the prospect of jumping on a call with another engineer to pair is akin to jumping into a burning lake with alligators. It just wasn’t pleasant.</p><p>If I came back refreshed on Thursday that wasn’t an issue any more.</p><p>It’s very common for my brain to be fried by the time I got home in the evening. Whenever I engaged in this kind of activity, it always led to a missed day of work that week.</p><p>Now I usually have 3–4 meetings a day with teams around the world. If I feel mentally exhausted on Tuesday, it doesn’t matter — tomorrow is Wednesday and I can refresh!</p><h4>What problems did I have when I started the 4 day work week?</h4><p>As prep for writing this, I took a look at an old “Career Goals” document I had to put together just a month after starting the 4-day work week. I had 3 big goals I wanted to achieve during the first few months of 2021:</p><ul><li>Writing Consistency</li><li>Conversation Consistency</li><li>Planning Consistency</li></ul><p>(note the theme here)</p><p>(also this was before I got diagnosed with ADHD…I think the signs were there…)</p><p>Some of the issues I identified in myself that I wanted to solve were pretty basic executive function problems such as —</p><p><em>“Stopping midsentence, thinking, then finishing the sentence as if I am a different person.”</em></p><p><em>“Removing colloquial speaking patterns and ‘asides’ in spoken conversation.”</em></p><p><em>“Plan your work and actually execute on the work.”</em></p><p><em>“Provide even energy levels to all meetings. Don’t be so tired all the time.”</em></p><p>That last goal really summed up the issues I was having and why doing a midweek break was something I needed — it was really hard for me to sustain energy for 5 consecutive work days.</p><p>Stopping midsentence commonly happens when my brain is too tired to complete the thought I began with. Even today I still struggle with this — however, I have the mental energy to <strong><em>review</em></strong> what I just typed for inconsistencies. Now when I use improper English it’s because of poor form and lack of knowledge, instead of mental fatigue!</p><p><em>(note: my wife edited this post for me and there were easily 50 examples of improper use of English. Whoops!)</em></p><p>It’s a similar pattern with my asides — I’m sure by now you’ve noticed all the em-dashes in this blog post — which were just as common when speaking as when writing. If not, congratulations! You won’t miss them now. This again is a common ADHD tendency to wonder and let the dominant thought take over the brain. When tired, this problem is far worse as I have trouble focusing on the task at hand. My brain looks for anything to spark interest and inject some energy.</p><p>The two extended work days that I use as a mini-week sprint go a long way — it was hard to plan for a full week of tasks, but now it was much easier to think ‘what can I get done today and tomorrow?’</p><h4>What was the impact on my team?</h4><p>We did a mini-retro 3 months after I started this schedule. As a team leader there was fear that my presence would be missed on Wednesdays. While I don’t want to <strong><em>completely</em></strong> speak for them, the general sentiment with my team of 10 was that me being out on Wednesday ended up being a net positive — I wasn’t always around to fix things or solve problems. This caused others on the team to feel more empowered to solve issues themselves.</p><p>Their feedback is why I made the move to 4x10 permanently. It was the best decision for me <strong><em>and</em></strong> my teammates.</p><h4>Could I have been successful working 5-days a week?</h4><p>I really don’t think so. This isn’t a pattern that popped up as I got older. It’s a problem I suffered with going all the way back to grade school. I kept pushing off bigger responsibilities and high-visibility work as my career progressed because I knew I couldn’t bring the energy I wanted to for 5 days a week.</p><p>But for the past 2 years, I have been able to do this when working 4 days a week</p><h3>Pros and Cons</h3><p>PROS</p><ul><li>Treats the work week like 2 sprints instead of 1 marathon.</li><li>I work best when I can dedicate an extended amount of time on a project during the day.</li><li>Early in the week I can shelve my obsessive tendencies to Wednesday.</li><li>I have a habit of thinking about work even when off the clock — if I don’t start work on Wednesday then it lowers the risk of obsessing.</li><li>Tuesday has the energy of a Friday. Thursday feels fresh.</li><li>I can get out of bed, do my morning routine, and get right to work. Don’t need to wait for normal “business hours” to start.</li><li>Fewer sick and vacation days needed.</li></ul><p>CONS</p><ul><li>Folk like to schedule things on Wednesday.</li><li>Service-oriented tasks like on-call schedules are cumbersome.</li></ul><h3>PROS</h3><h4>Treats the work week like 2 sprints instead of 1 marathon</h4><p>I have ADHD. Sustained reliability isn’t how my brain works. By splitting the week in two I can instead treat the week the way my brain naturally works.</p><p>One of the biggest issues I run into when talking with engineers who have ADHD is burnout. And a lot of that has to do with not being able to put down work. If there’s a problem at work I want to solve, my brain will not stop thinking about it until I’ve solved it. Doing that for 5 straight days is exhausting. Doing it for 2? Much easier.</p><h4>I work best when I can dedicate an extended amount of time on a project during the day.</h4><p>I tend to obsess over what I am working on. Often I completely lose track of time and forget to eat or attend required meetings. While a 4-day work week doesn’t fix <strong><em>that</em></strong>, what it does do is let me burn hotter for longer.</p><p>I try to end each of my work days on a “win”. A win can be a productive meeting, a completed test suite, or a successful provision of a new environment. Sometimes these wins happen at 4:30pm. Often times I’ll need a bit more time to feel complete with the project. If I don’t get to this “win”, then I’ll obsess over what I have to do next for the entire evening.</p><p>In a normal 5x8 work week this usually means either working up to 60 hours that week or taking a sick day on Thursday to recover. With a 4x10, I eliminate Wednesday as a day I can get obsessed <strong><em>and</em></strong> if I get obsessed with work on Monday or Tuesday, I have Wednesday off to recover.</p><h4>Early in the week I can shelve my obsessive tendencies to Wednesday.</h4><p>I’m always looking for a new obsession. Especially video games. When a new patch for a favorite game drops, a new DLC is being released, or an anticipated game is finally available to play, my mind has a hard time blocking out these distractions. <strong><em>Especially</em></strong> on a Monday. This would lead to distracted work, because as all I wanted to do was get off to play the new video game.</p><p>Now? I know that I’ll have Wednesday to binge play if I want to. This allows me to sprint through Monday and Tuesday with resolve instead of distraction.</p><h4>I have a habit of thinking about work even when off the clock — if I don’t start work on Wednesday then it lowers the risk of obsessing.</h4><p>This is more of a counter to “half-days”.</p><p>There have been a few Wednesdays where I would “hop on” to check my email. Or attend a short meeting I’m required to be in. That has a tendency to spiral into another 8-hours of work as I’m responding to requests for help or thinking about that project that I need to complete by the end of the week.</p><p>If I don’t open my work laptop, then there is a far less chance for me to get sucked into work. This helps preserve a healthier work-life balance.</p><h4>Tuesday has the energy of a Friday. Thursday feels fresh.</h4><p>This is the productivity boost that execs would want to look at. On Tuesday, I’m pushing to complete projects so I can unplug for my mini break. On Thursday, I come back ready to tackle the problems I’ve missed. This has the effect of allowing me to work an honest 40+ hours a week. I’d be lying if I said that a 5x8 work week resulted in any more than 30 “good” work hours.</p><h4>I can get out of bed, do my morning routine, and get right to work. Don’t need to wait for normal “business hours” to start.</h4><p>When I was doing a 5x8 work week, I had issues with scheduling around my team. I like to wake up early with my wife — around 5am. This means I’d be in the office by 7am. They would arrive around 10am — and almost immediately go to lunch — when I would be almost done with my work day. By 3pm I’d be heading home and they all were really just getting started with work.</p><p>The other option here would be for me to find something else to do in the morning until 10am to “match” my teams hours. That results in either (A) just doing work anyway and working 10+ hours or (B) doing something “fun” and now being distracted for the rest of the day because I’d rather be doing the fun thing.</p><p>A 4x10 just lets me look at the work day honestly and <strong><em>work</em></strong> with the knowledge that I have a day of rest immediately after.</p><h4>Fewer sick and vacation days needed.</h4><p>I’m one of those individuals who never take scheduled vacations. It’s common for me to use my vacation as either sick days <strong><em>or</em></strong> as a lump-sum near the end of the calendar year so it doesn’t expire.</p><p>Using vacation for sick days suck. Not using vacation at all when you’re burnt out sucks even more. Now these breaks are embedded into my work week so it isn’t nearly as big a problem as before. I’m forced to take a mini-vacation every Wednesday.</p><h3>CONS</h3><h4>Folk like to schedule things on Wednesday.</h4><p>No one else has Wednesday off. That means I miss a lot of “mid-week syncs”, but I can catch up by just watching the recordings and commenting in the meeting chat if I need to chime in</p><h4>Service-oriented tasks like on-call schedules are cumbersome.</h4><p>Another knock to having 4-day work week while everyone else works for 5 days is when my support rotation comes up. We need someone to help and answer pages on Wednesdays. That means my on-call week is more like 5x10.</p><p>Sometimes I’m able to get someone on my team to swap one of their regular on-call days with Wednesday. But when that isn’t possible I just power through the week because my on-call shift happens once every few months.</p><h3>Closing Remarks</h3><p>If you or your engineering team have members with ADHD, I highly suggest looking into a modified work week that mimics mine. When I first started researching the 4-day work week back in 2020 I didn’t know I had ADHD. Looking back, it’s quite humorous to see my initial motivations and how neatly they line up with common symptoms of ADHD.</p><p>I don’t think I can ever go back to a standard 5-day work week. I just was never productive in that model. It made me physically and mentally ill, provided a worse product at work than I wanted to put out, and was only forced on me due to it being a “standard” set back in the industrial revolution.</p><p>I very honestly believe 4x8 is more productive than 5x8 for how my brain works. And 4x10 allows the company to still feel like they are getting the value for their salary. It was the best decision of my professional career and I highly suggest gauging this if the same is good for you.</p><p>If you’re wanting to do 4x10 or 4x8 for your team, there are a few rules I’ve found to help foster success.</p><ul><li>Not everyone needs the midweek break. Some really would excel with a 3-day weekend.</li><li>Have an honest understanding of business needs — my team has an on-call rotation and that comes first.</li><li>Set a standard to record all meetings and have discussions in documents instead of in-person.</li><li>Gauge individual success on product completeness and not observed hours worked.</li><li>If someone on your team won’t be effective in this model, don’t force it on them.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=627d2f517317" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Opening up about my ADHD]]></title>
            <link>https://medium.com/@kylegordon/opening-up-about-my-adhd-3dfe6e42bf7c?source=rss-c2edeb1f2ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dfe6e42bf7c</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[adhd]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Kyle Gordon]]></dc:creator>
            <pubDate>Tue, 15 Feb 2022 19:49:59 GMT</pubDate>
            <atom:updated>2022-02-15T19:49:59.516Z</atom:updated>
            <content:encoded><![CDATA[<h3>Opening Up</h3><p>Today I want to open up about ADHD and anxiety and how being undiagnosed for most of my life has affected me. I’m lucky that 14 year career in Tech has given me the ability to last undiagnosed as long as I have, but I can’t help and think about how many different paths my life could have taken because of my inability to control my mental focus. There are so many relationships and opportunities that I’ve ruined because I didn’t have control over my brain.</p><p>This is long, but I hope that if you do decide to read this it might help you if you are struggling with mental health.</p><h3>TL;Have ADHD</h3><p>It would be a mistake to write a blog about ADHD without having a summary at the beginning. I know I would need one. So here it is :</p><p>I’ve always had focus issues but I misdiagnosed them as problems related to energy. Through school and career I found that the only reliable way for me to motivate myself was to generate stress and consume an unhealthy amount of caffeine. At first doing work just before it’s due, and later in life harnessing it in a more healthy manner by faking early deadlines. Late 2021 I got sick and I couldn’t drink caffeine anymore and stress caused me a good deal of pain. Thought my career was over, so I turned to my doctor and she sent me to be evaluated for ADHD and Bipolar. Turns out I have ADHD and the medication has given me a new lease on life. Please, if you relate to my story at all, pursue help.</p><h3>The Long Of It</h3><p>I’ve spent my entire life trying to understand my brain. As a child I dreamed about growing up to be a neuroscientist with the goal of dissecting and understanding everything about the brain. Well, except when I wanted to be a chef. Or a lawyer. Or a game designer. Or a wrestler…I wanted to be a lot of things. But I always came back to the frustration around not understanding why my brain works the way it does.</p><p>I ended up settling on a career in tech after I found my ability to focus and my desire to learn biology did not match up. I was lucky — Computer Science / Tech offers enough random events and puzzles that I could get by on problem solving and crisis management.</p><p>At age 34, after a series of life events, I found the coping mechanisms I’ve depended on my entire life completely unable to help me, and I finally sought medical help. This was the first time real time I looked outward for a chemical explanation to why I am the way I am. I had done therapy before and found it really useful, but I was always resistant to ever consider the chemical solution to fixing my brain. I had friends who were on anti-anxiety medication and said it “fogged” their brain — this absolutely terrified me, as I suffered from brain fog all the time and greatly relied on anxiety to kick my brain into gear. If I were to start being medicated for my anxiety then I’d lose the edge that allowed me to succeed at life so far — I never look stressed because I’m <strong><em>always</em></strong> stressed.</p><h3>Kyle, Smash</h3><p>Yea, I felt like Bruce Banner in the Avengers. I never felt closer to a character than the final act when New York gets invaded by aliens. There is this moment when Captain America and Bruce Banner are in the streets with a giant alien crashing their way. Cap looks scared, and says to Bruce, “Dr. Banner, now might be a really good time for you to get angry.” Bruce, with a calm swagger of a lazy bad-ass, starts to walk towards the alien and looks back to say “That’s my secret Cap, I’m always angry.” Bruce then transforms into the Hulk and completely smashes the giant alien creature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eg0Ik444V4AfDzSc-jvcCw.jpeg" /><figcaption>Me seconds before fixing a production issue</figcaption></figure><p>That’s how I’ve always felt in life. I’m <strong><em>always</em></strong> stressed. But because of it, I’m able to be a superhero in instances where others are scared and don’t know what to do. Since I worked primarily in a Site Reliability and DevOps field this was a great asset to have. There were always fires to put out and I was either always prepared to combat them or at least had the composure to find a solution no matter how stressful the task. My brain would just click into place, I’d Hulk out, and I’d smash that giant alien bug in the head.</p><h3>Where coping wasn’t possible</h3><p>The problem was literally everything else. I loved writing, but my brain would fog over after I wrote the initial paragraph that excited me to start the prompt in the first place. The first instance of writer’s block and I was done — never to return to the task unless pressed by others. It was the same for work projects — I’d be given a task without a deadline, so that means I would do literally anything but the task at hand until my manager would get upset that I had made zero progress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_l7HgA5jTB1Ef_GqgsGKeQ.jpeg" /><figcaption>This is my brain on “task not immediately due” mode</figcaption></figure><p>This bled into my social life too — I would put a ton of my energy into the first time doing anything then find myself completely unable to sustain it. I was amazing at first dates, but absolutely terrible at every other date (though, as an aside, the one time I had a terrible first was the last first date I went on, which was with my now partner Jamie). With friends, I would get excited and start scheduling events and tasks for us to do then completely fail at attending the event or doing a follow up. I’ve led multiple DND campaigns that fizzled out after the second session. I once planned a Super Bowl party for work, which took a few weeks of setup and coordination, then found myself completely unable to manage attending.</p><p>One conference I attended and gave a talk at drained me so much on the first day that I spent the next 3 days in my hotel room streaming the events on my work laptop. And the first day was great! We gave a great talk, met some amazing people, and generally had a positive experience. But every day after that I was an absolute mess. My brain was completely drained.</p><h3>Introvert one day, extrovert the other</h3><p>The key underlying issue with ADHD that medication helps solve is the brains inability to properly regulate dopamine. Low dopamine in the brain causes a lot of issues with attention and general emotional regulation. For me that was depicted in my extreme mood swings whenever I got bored of a situation or event. One minute I’m having a lot of fun, the next I need to escape the situation and recharge.</p><p>That caused me to be convinced that I’m an introvert, but if you put me in a setting where there is something for me to get excited about? I have the energy that greatly desires to be the center of attention. I’m the quiet guy who won’t say a word for weeks but then gets energy from planning and executing board game nights. One day I’m up all night writing and recording a new song. The next day I feel like I’m the worst person to ever record music in the history of the world.</p><p>So I do not know if I’m actually an introvert or if I just lack a stable supply of dopamine.</p><p>That was my personal hell. One day overflowing with energy and the next completely devoid of any motivation. I coped with caffeine, drugs, alcohol, working out, video games, and anything that gave me a dopamine rush. I desperately sought control over my life so I stripped away as many external dependencies as possible. The stress of maintaining friendships caused me to completely ignore the need to socialize with others. My constant urge to focus on a single crush — and only rarely were the feelings reciprocated — had me at an emotional deficit that I decided to completely kill the part of me wanting companionship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*nlrNgPiFRJtSIX58dghKVQ.jpeg" /><figcaption>Pictured: 1/10th of my daily caffeine intake</figcaption></figure><p>Video games were the only thing that could give me consistent and reliable injections of dopamine. The beauty of video games is that there are so many, across multiple genres and play types, with a very low cost of entry if you have a decent income. I found myself binging video games and feeling like I was on top of the world, then crashing as I felt a depression that I no longer had a thing I looked forward to. Then I’d desperately look for a new game and repeat the cycle again.</p><p>Free-to-Play games are the worst. I avoided them like the plague because I knew I had an addictive personality. I know how those games work — concentrate the gameplay loop on satisfying the dopamine rush then present the player with a roadblock unless they pay money. But when I got a new phone in 2020 it came with Raid: Shadow Legends pre-installed. I figured “meh, I’ll try it”. 6 months later and over $3,000 spent I had to quit cold turkey. It got to the point where I wasn’t spending money for fun, I was spending money because it gave me a dopamine hit and I had no control over myself.</p><p>I hated myself for it. But I still didn’t think there was anything substantially wrong with me. It was all my fault — I couldn’t focus on tasks because I was stupid, I sucked at relationships because I read too much into every detail, I’m a terrible friend because the thought of “just hanging out” gives me night terrors, I have an addictive personality that just needs regulating, and all failures in my life can be corrected if I <strong>Just. Try. Harder.</strong></p><h3>Trying Harder. I seriously did.</h3><p>So I did. I did everything in my power to force myself to concentrate on tasks and develop habits. At school I sat in the front and copied everything the teacher put on the board. At work I started doing the Pomodoro technique and giving myself hyper aggressive deadlines. I got noise canceling headphones and would listen to the same song on repeat (usually the metal version of the FF7 battle theme “Those Who Fight Further” by the Black Mages) to drown out the brain fuzz and inject dopamine. As I saw my status at work grow, I found myself eventually in a position where I was afforded the opportunity to always try new stuff. This absolutely tickled my ADHD brain as I learned as many new and interesting concepts as possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*tPGKh7A21r1tR0JAc29FyQ.jpeg" /><figcaption>Combining video game music and metal? Be still my unhealthily racing heart.</figcaption></figure><p>I became modestly successful. I kept pushing myself. I saw the patterns my brain and body went through and worked out with my manager a modified work schedule so I had Wednesday’s off to refresh my brain. We talked constantly about how much I enjoy helping others, and I made that a core ingredient of my job description to try and elevate as many folks around me as possible. I was given the leeway and encouragement to look for problems and find solutions. I wrote dozens of design documents about how I’d solve a problem at the company then file it away to be picked up a year later for implementation by someone else. I led a few working groups to help gain consensus across multiple teams, which eventually helped solve some of our bigger problems.</p><p>But I always knew each task had a time limit. Once I got bored there was zero chance I’d have the ability to follow up and do an adequate job. Most of the techniques I’d implement would work great for a month while the sensation was new then be worthless once the novelty wore off. Cross-team groups I lead would dissolve within months and eventually I just stopped caring about it. I’d get frustrated trying to gain consensus with other teams, and just say “screw it, I’m doing it myself.”</p><h3>Losing my superpower and looking for outside help</h3><p>All of that came to a halt in late 2021. In October, I had an emergency appendectomy. The next month I developed C. diff, a bacterial infection of the gut that is somewhat common after taking strong antibiotics. The C. diff was terrible, but the worst part is that it completely eliminated my ability to handle stress. I tried to work, but even tasks as simple as reviewing a code change or having a meeting with another person would send my stomach into pain, my body into shivers, and my mind into a funk.</p><p>I lost my superpower. I could no longer always be stressed. I was Bruce Banner without the Hulk. Also I don’t have a dozen PHDs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*byBKy3opJVL8cToDKEHk5w.jpeg" /><figcaption>I had to rethink my life like Keanu had to think about his lunch</figcaption></figure><p>I slipped into a depression. I was convinced that all the work I had done to achieve my current position as a software engineer was now over. I told my manager of almost 8 years that I might honestly need to consider retirement or at least a few years off. My body couldn’t take caffeine or stress, the two things I used to combine to keep my edge and be productive. He was very understanding, and let me take time off to try and figure out what was wrong with me. I can’t express how lucky I feel I had that opportunity.</p><p>First I tackled my anxiety. I started on Prozac, prescribed by my general practitioner — the idea being this is my first foray into psychiatric drugs and Prozac has the least side effects. It helped for a bit. I stopped feeling anxious most of the time, but I couldn’t really tell if it was working or not. I then decided to try and do some work and found my biggest fear realized — I couldn’t concentrate on any task. Pomodoro did nothing. Forcing myself to focus was useless. Nothing but brain fog.</p><p>I was devastated. I told my manager that this might honestly be it. I can’t even do simple things like help with code reviews. I’m completely useless. I talked to my doctor, saying I can’t focus at work and I wasn’t sure the anti-anxiety meds were working at all. I described how when I go to Costco, the act of navigating that chaos absolutely exhausts me as my brain darts around to everyone which leaves me with no energy afterwards. At work, I want to do a task, but my brain goes numb and I find myself clicking through tabs, jumping at a new email, message, or YouTube video.</p><p>After I detailed all of this to my doctor, she looked at me very closely through the Teams chat, and asked me: “Kyle, have you ever been tested for ADHD?” No, and the thought never seriously occurred to me.</p><h3>ADHD isn’t real, everyone’s a little ADHD, stimulants are just meth, and other lies I told myself</h3><p>Back in the early 00’s when the uptick ADHD diagnoses were getting weekly coverage in the news, I felt a huge sense of grief. Some of the symptoms hit me perfectly — racing thoughts, inability to concentrate, constantly frustrated. But I didn’t have any of the external symptoms — always hyperactive and poor academic performance. I was great at school, able to put in almost no effort and still come out on top. Others would constantly comment how they would be impressed that I could slack off all week and still get good grades, good reviews at work, and generally coast in life. I always felt tired because I got bored so easily and took naps in the middle of class, but I also could hyperfocus on a single task for hours on end. So I couldn’t have ADHD, right?</p><p>But I <strong><em>wished</em></strong> I had ADHD. I had a friend with classic ADHD, who took Adderall once. His transformation was stark. From super hyper and unable to sit still, to an amazingly diligent worker. I was so jealous. I wished I could take Adderall and be diligent. “Work smart, not hard” is something I’ve heard as a compliment from multiple people. But to me, that phrase was soul-sucking. I wanted to work hard. I just couldn’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*DpzpUUwgLLyGYcCNZh5lAQ.jpeg" /><figcaption>Memes like this kept me from seeking help for 20 years</figcaption></figure><p>I’d see a meme or comment about the experience of someone with ADHD and feel I’d relate. But ADHD isn’t real, right? It’s just lazy people. And I know lazy people because I’m one of them. I just need to try harder and remove distractions. It didn’t help that I also noticed every time a coworker slacked off from work or struggled to get things done. My mind went straight to “everyone’s a little ADHD”. My mind desperately wanted to fit in.</p><p>Then there was the treatment of stimulants. I saw so much news coverage about stimulants just being meth and ADHD is because of bad parenting. Kids just need to have some discipline and try harder! And since the area I grew up in was littered with meth and anti-meth ads happened on every commercial break, I was extremely adverse to even considering Adderall.</p><p>I struggled. I coped. I latched onto every “Just. Work. Harder.” style advice. I’ve spent most of my 34 years of life in some sort of depression, always feeling that I’ve been lucky in so many ways, yet completely unable to live up to my own standards.</p><h3>The psychiatric appointment</h3><p>A week after talking to my doctor, I had an appointment with a psychiatrist. I was nervous. I researched ADHD extensively and was shocked at how many similar stories I saw from 30-something individuals that aligned so much with mine. So many success stories once they were able to start treatment had me so excited that I could barely sleep the days leading up to the appointment. Could this finally be the answer? All this time I thought I had to be bipolar or had some terrible medical issue that caused me problems — as a note, I have been tested multiple times for physical problems, and no one ever was able to find a cause.</p><p>I opened up and was honest about my struggles. Much of the same struggles mentioned in this letter. I was nervous. I needed help, but I also knew I could not lie or over embellish what was going on with me. Would I understate all my symptoms? Was this a psychiatrist that believed you can’t have ADHD unless you sucked at school?</p><p>At the end of the appointment he told me I have some level of attention-deficit. He prescribed me a trial dosage of Adderall and some anti-anxiety meds to help manage my general anxiety.</p><h3>Beginning treatment and a new lease on life</h3><p>The first day I took Adderall, I cried. My brain finally calmed down. The closest sensation I can describe is the first time I put on a new prescription of glasses. No longer did I have racing thoughts that unpicked every little detail of every thought or action. I could just…be. I texted my mother and sister the news, telling them I finally had an answer for why my brain wouldn’t work. The next day I was able to sit down at my computer and write. I was able to continue a story I abandoned a year earlier because I lost interest, something I tried dozens of times to do but never succeeded at writing a single word.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*nZ4koPu61qOcHTyb1lKtkA.jpeg" /><figcaption>Inside: my brain on stimulants. Outside: the other 34 years of my life</figcaption></figure><p>It wasn’t all roses, however. The Prozac turned out to be quite terrible for me once we increased the dosage. I started having a constant panic attack that reached such extremes I had to call 911. My psychiatrist then switched me to Lexapro, which so far has gone much better. I’m still figuring out how to best manage my sleep since the stimulants are making my insomnia worse. One day at work, I took on too many tasks and felt overwhelmed which caused a panic attack, so I don’t know what my limits are under this new medication.</p><p>But since I’ve gone back to work I’ve found it’s a complete 180 to my experience just a few months ago. Now I can concentrate on tasks and get through the day, eager <strong><em>and</em></strong> able to be successful. At home, I’m able to do the laundry, wipe the kitchen counters, and vacuum because it <strong><em>needs to be done</em></strong>, and not just because I’m out of underwear, I spilled some liquid, or because Jamie is upset I hadn’t vacuumed in a month.</p><p>The entirety of this blog was written and edited (editing — something I have never done in my life) while on medication. It would have been impossible without it. And I know this because I’ve taken days off of the medication. Each time I do it is like a massive realization about how terrible things used to be. It’s a reminder of how powerful the medication can be.</p><p>And it isn’t just a side affect of the new diagnosis. Some days I wake up feeling terrible — a feeling that a year ago I knew meant I wasn’t going to have a productive day. I take my meds and for the hour or so it takes to kick in I’m terrified that today is the day I become immune to their affect. Then, like magic, I have control over my focus. I get to choose what I do instead of my brain grasping for any sort of dopamine hit it can get.</p><p>A month ago I seriously thought that I may not be able to work again. Not even just in tech — I didn’t think I could handle a consistent 9–5 job doing service work. Now, finally taking medication under the supervision of an expert, I feel like I have a new lease on life. Reading stories and advice from others with ADHD makes me feel validated that I’m not just one of the people who has to say “everyone has a little ADHD”. I have ADHD, and I’m finally doing something about it.</p><h3>If you can relate, please seek help</h3><p>If you’d like to know more about ADHD, I cannot recommend the YouTube channel <a href="https://www.youtube.com/channel/UC-nPM1_kSZf91ZGkcgy_95Q">How to ADHD</a> enough. If you just want to see the science around boredom and how it affects a brain on ADHD, she has a great overview <a href="https://www.youtube.com/watch?v=CaG5XjyWc8c">here</a>. If you think you might have ADHD, please seek a diagnosis. I cannot understate enough the difference in my life.</p><p>I’m just starting my journey and it’s quite common for individuals to have setbacks along the way. Medication also changes as your body gets used to it. Every day I wake up feeling like my old self and am terrified that today is the day my meds will stop working. So far I’m happy to say that the only change is a decrease in the negative side effects.</p><p>If folk find this interesting then I’m more than willing to share more about my journey. This is already a long post, but I also feel like I have a lot more to say on the matter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dfe6e42bf7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yammer Datacenter Networking with BGP and BIRD]]></title>
            <link>https://medium.com/yammer-engineering/yammer-datacenter-networking-with-bgp-and-bird-4121d470c1f6?source=rss-c2edeb1f2ebc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4121d470c1f6</guid>
            <category><![CDATA[yammer]]></category>
            <category><![CDATA[load-balancing]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[bgp]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Kyle Gordon]]></dc:creator>
            <pubDate>Wed, 03 Aug 2016 17:22:59 GMT</pubDate>
            <atom:updated>2016-09-15T22:16:41.494Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been 4 years since Microsoft acquired Yammer, and we easily remember how being acquired was our springboard into a bustle of structural adaptations. An acquisition by such a large company alone presents all kinds of new and exciting challenges. Not to mention, Yammer is a pretty unique product under the Microsoft umbrella; we’re a Linux shop.</p><p>Microsoft-owned datacenters are, not surprisingly, primarily built around the use of Windows. For that reason a lot of the great datacenter automation tooling handed to us didn’t translate to our stack. This presented us with a great challenge: building out an automation framework that could run in our new datacenters, which also meant leveraging Microsoft datacenters to increase our global footprint. So for the past year, we have operated out of multiple datacenters using a hybrid BGP (Border Gateway Protocol)-based networking infrastructure. Here’s how we did it.</p><h3>Configuring Our Network</h3><p>Yammer’s Datacenters are managed by an internal project called “Zeus.” One aspect of Zeus is helping to configure the internal networking for our datacenter. We consider resource efficiency important to our configuration. In part, this means not having to configure routers to bring new hosts online, and with BGP we don’t have to. BGP affords us the appropriate ASNs (Autonomous System Numbers) we can use to advertise the IP of newly provisioned hosts to the rest of the DC fabric. As long as we have enough IP space, the new hosts can become routable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*suBfo-kSrBgI4-7_zIFDrw.png" /><figcaption>(A typical Yammer Rack setup)</figcaption></figure><p>Every physical host in our datacenter is acting as a router. Using <a href="http://bird.network.cz/">BIRD</a> we are able to advertise the routes for the host. For our services we leverage the use of LXC for containerization. When a container is started, it is given an IP address by Zeus, and then we reconfigure BIRD with the new IP to advertise. The ToRs (Top of Rack switches) pick up this IP, and through the magic of BGP, the container becomes routable.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/05d3842d503837ca8eba561ad30318f5/href">https://medium.com/media/05d3842d503837ca8eba561ad30318f5/href</a></iframe><p>As shown in the example configuration, we assign each host a unique ASN that is trusted by our ToRs. We then configure each host to act as a router for the container. It’s important to note that the use of communities keeps the load on our routers low. The bgp_export filter only accepts traffic intended for the host that originates from a neighbor. And since each router only needs to know how to route a wider subnet — as opposed to each individual IP — communities allow you to advertise an entire IP slice to the higher-level routers.</p><h3>Additional Applications for BGP</h3><p>We use BGP for more than just routing to individual hosts. By advertising a single IP from multiple hosts, we are able to create a networked-level failover for certain systems such as our Puppet mirrors and DNS.</p><p>To advertise a single IP, we just make a few modifications to our previous BIRD configuration.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ae9eb51e309f5ead3414bc286a07af1/href">https://medium.com/media/4ae9eb51e309f5ead3414bc286a07af1/href</a></iframe><p>With this configuration we can route this single IP as a sink from multiple sources. This same technology is used in our software-defined load balancer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*deJ1STGJsOY077PTxIfUgg.png" /><figcaption>Yammer Loadbalncing</figcaption></figure><p>Here we use 3 hosts running <a href="http://www.linuxvirtualserver.org/">LVS</a> as a sink for incoming traffic that then forwards to multiple HAProxy hosts to do Layer7 load balancing. In Zeus we call the above topography a “Cell,” and it allows us to scale our infrastructure as needed. If we need more network throughput, we can add LVS nodes. If we are having issues on Layer7 or SSL termination, we can add more HAProxy hosts. Currently we are running 4 completely separate Cells for network isolation of tasks.</p><h3>Hangups</h3><p>Implementing this software-designed networking stack didn’t come without issues. Using BGP on our internal networking infrastructure required tweaking multiple settings throughout the datacenter fabrics. For example, each router has to be configured with BGP communities in mind. Our initial rollout did not include these communities and this put pressure on the routers two levels above our ToRs.</p><p>We also had to be conscious of the BGP routing method used. If you plan on advertising a single IP from multiple sources — like in the LVS example above — you should make sure you have your Equal Cost Multipath (ECMP) configured correctly. If ECMP is not enabled or misconfigured, it’s possible you will experience sub-optimal performance; packets will flow between hosts since they all share the same BGP weights.</p><p>Since our HAProxy hosts could be on different subnets, we have to use IPIP tunnel mode for LVS. This has the added overhead of 20 bytes on all of our packets passing through the load balancer. Keep in mind that the extra overhead is not considered when calculating the segment size of IP traffic. This resulted in an issue where any packet that is greater than our configured MTU-20 bytes becomes malformed. On our HAProxy hosts, we used MSS clamping in IPTables to ensure a maximum size of MTU-20 bytes, which combats the issue.</p><p>Moreover, the use of BGP gives us great flexibility in launching our systems but shouldn’t be relied on for detecting failures. Routers use keepalive packets configured on intervals to refresh the BGP hold timer. These values present the maximum amount of time needed to react to a failure in routing. Keepalive packets only reset the hold timer, so if you configured your routers to have a 90s hold timer and a 30s keepalive timer, then on network failure you could see as much as 90s of downtime before your routers reconfigure.</p><p>BGP has greatly increased our fault tolerance to network failures and has allowed us to provision new hosts for our services team extremely quickly. However, if you plan to do rolling restarts of multiple hosts sharing an IP, I suggest using BGP path calculations to artificially take a host out of rotation by increasing the length of your path.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4121d470c1f6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/yammer-engineering/yammer-datacenter-networking-with-bgp-and-bird-4121d470c1f6">Yammer Datacenter Networking with BGP and BIRD</a> was originally published in <a href="https://medium.com/yammer-engineering">Yammer Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>