<?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[GoodToGoat - Medium]]></title>
        <description><![CDATA[Notes from Joyable’s product team - Medium]]></description>
        <link>https://medium.com/goodtogoat?source=rss----78be8b021cfc---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>GoodToGoat - Medium</title>
            <link>https://medium.com/goodtogoat?source=rss----78be8b021cfc---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:38:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/goodtogoat" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Simplified Git Flow]]></title>
            <link>https://medium.com/goodtogoat/simplified-git-flow-5dc37ba76ea8?source=rss----78be8b021cfc---4</link>
            <guid isPermaLink="false">https://medium.com/p/5dc37ba76ea8</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Kevin Kuchta]]></dc:creator>
            <pubDate>Fri, 16 Jun 2017 23:10:38 GMT</pubDate>
            <atom:updated>2017-06-16T23:10:37.857Z</atom:updated>
            <content:encoded><![CDATA[<p>There are a few popular, published patterns for using git on small teams. <a href="http://nvie.com/posts/a-successful-git-branching-model/">GitFlow</a> is famous for scaring off new git users with an avalanche of boxes and arrows, while <a href="https://guides.github.com/introduction/flow/">Github Flow</a> takes an almost painfully simple approach.</p><p>When we considered them for our use at <a href="https://joyable.com/">Joyable</a>, each had their flaws:</p><ul><li>GitFlow was a bit heavyweight for us. We practice continuous deployment and release multiple times a day, which doesn’t lend itself to the release-based workflow.</li><li>Github Flow didn’t really address situations like multiple engineers working on a single feature.</li></ul><p>So, we struck out on our own a bit.</p><h3>Background</h3><p>For the first few years of Joyable, we used a slightly extended version of Github’s flow with rebases and feature branches:</p><ul><li>Developers make normal changes on small, personal branches off of master.</li><li>Developers pull-requested their changes to master and --ff-only merged them in when they were approved.</li><li>Larger or multi-developer features were done on long-lived “feature branches” that might live for weeks or even a month or two. Changes were made on personal branches off of these feature branches, then pull-requested back into the feature branch.</li></ul><p>As we grew, we found ourselves increasingly relying on multi-week feature branches for most dev work. We’d find ourselves with these big, heavyweight deploys that required a day+ of manual testing. In the spirit of continuous deployment, we’d much prefer regular, incremental deploys (with incomplete features being hidden behind <a href="https://en.wikipedia.org/wiki/Feature_toggle">feature flags</a>).</p><p>We briefly experimented with eliminating multi-week feature branches altogether. Each developer ended up deploying several times a day, which became onerous pretty quickly. Our deploy process is only one command, but it takes 15 minutes to complete. Since we require deploying to a staging server before deploying to prod, it takes at least 30 minutes from PR approval to your code being live.</p><p>We needed a process that minimized large, high-risk deploys while still preventing engineers from spending an hour or two a day deploying.</p><h3>The Simplified Git Flow</h3><p>We ended up with a version of GitFlow, but with a few steps removed and some guidance on when to rebase and when to merge. The high-level principles:</p><ul><li>The master branch is always deployed.</li><li>The develop branch is always <em>ready</em> to deploy.</li><li>develop is merged to master and deployed every morning (and as-needed after that if someone’s willing to go through the 30 minute deploy process).</li><li>Small personal branches off of develop are merged back into it regularly, using feature flags to release larger features.</li><li>Long-lived feature branches are still possible for features that are impractical to release piecemeal, but are discouraged.</li></ul><p>To illustrate this flow, let’s walk through three normal scenarios:</p><h4>1. A Normal Change</h4><p>Consider an average feature or bugfix. If your change is small enough to fit in a single pull request, do this once and you’re done. If you need to split it across multiple PRs, use this process repeatedly and hide your change behind a feature flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*BMOwwcLBTgzk3EjBVEOfiA.png" /></figure><p>Say I’m adding lasers to our product (since what project doesn’t need more lasers?).</p><p>First, I’ll create a new branch off of develop and do some work. Our convention is that personal branch names start with your initials.</p><pre># Create a new branch off of develop<br>git checkout develop<br>git pull<br>git checkout -b kk_lasers<br>git push kk_lasers</pre><pre># Add some commits<br>git commit -a -m &quot;Add laser 1&quot;<br>git commit -a -m &quot;Add laser 2&quot;<br>git push kk_lasers</pre><pre># Get the latest changes off of develop whenever needed<br>git checkout develop<br>git pull<br>git checkout kk_lasers<br>git rebase develop<br>git push -f kk_lasers</pre><p>You’ll notice we’re using <a href="https://nathanleclaire.com/blog/2014/09/14/dont-be-scared-of-git-rebase/">rebasing</a> here instead of merging. Our goal is to avoid merge commits that don’t contain useful information. “Kevin grabbed the latest changes into his personal branch” isn’t likely to be helpful for anyone in the future, so we rebase to avoid having a bunch of Merge branch &#39;develop&#39; into kk_lasers commit messages cluttering up our history.</p><p>Because we rebased, though, we need to force-push our branch to github (hence the -f, which causes a force-push).</p><p>When I think my changes are ready, I create a pull request on Github to merge kk_lasers into develop and wait for at least one engineer to review it. If there are any changes I need to make, I add them to the same branch so the PR is updated.</p><pre>git commit -a -m &quot;Add a missing laser&quot;<br>git push kk_lasers</pre><p>Once the PR is approved, I rebase the changes from develop into my branch one more time (to be sure no new changes landed on develop while the PR was open) and then merge my changes back into develop.</p><pre>git checkout develop<br>git pull<br>git checkout kk_lasers<br>git rebase develop<br>git push -f kk_lasers</pre><pre>git checkout develop<br>git merge --no-ff kk_lasers<br>git push develop</pre><pre># Remember to delete your branch on github if you&#39;re done with it<br>git push origin :kk_lasers</pre><p>I’m using no-ff for my merge here because I <em>do</em> want a merge commit. Being able to look at the git log in develop and see “Kevin merged his branch into develop here” is useful information to us.</p><p>When an engineer goes to deploy develop tomorrow morning, they’ll check the git log.</p><pre>git checkout develop<br>git pull<br>git log --oneline master..develop</pre><pre># Example output:<br>1bc35e9 Merge branch &#39;ek_bike_shedding&#39; into develop<br>3c8969f Adjust bike shed color<br>8d8187a Merge branch &#39;kk_lasers&#39; into develop<br>07fd180 Add laser 2<br>1cbcbbc Add laser 1<br>44e901a Merge branch &#39;nt_yak_shaving&#39; into develop<br>07f0182 Trim yaks</pre><p>They can get an overview of what changes have been made by looking only at the commit messages starting with Merge branch… before deploying.</p><pre>git checkout master<br>git merge --no-ff develop<br>git push master<br>git push production master # &lt;- triggers a deploy</pre><p>Again we use --no-ff to force a merge commit. Knowing which points in our git history were deployed (by looking for Merge branch &#39;develop&#39; into master) is useful.</p><h4>2. A Hotfix</h4><p>Need to bypass everything to fix an urgent bug on production <em>now</em>? It’s hotfix time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*o6eoHziFtPZ1gXg1GIbG7w.png" /></figure><p>You can just create a branch off of master, then merge it back in (and to develop) when you’re done.</p><pre>git checkout master<br>git pull<br>git checkout -b kk_hotfix<br>git commit -a -m &quot;Urgent temperature-related fix&quot;<br>git push kk_hotfix</pre><p>At this point, unless it’s the dead of night and everyone’s offline, we still try to get a quick code review. If we don’t want to go through a whole github pull request, sometimes we’ll just paste the output of git diff master into Slack and ask for someone to approve it.</p><p>When we’re ready to ship:</p><pre>git checkout master<br>git pull<br>git merge --no-ff kk_hotfix<br>git push master<br>git push production master # &lt;- Triggers a deploy</pre><p>As before, we use --no-ff to force a merge commit. That’ll let someone reviewing the history of master to see that we merged a branch in that wasn’t develop, and they’ll know it was a hotfix.</p><p>Finally, we want to get develop up to date:</p><pre>git checkout develop<br>git pull<br>git merge master<br>git push develop</pre><p>Ideally we’d use rebase here, but rebasing a shared branch is a bad time: every other developer is going to run into headaches if you do. Instead, we just use a simplemerge. If possible, git will make it a fast-forward (ff) merge. If not, we’ll get a low-information merge commit like Merge branch &#39;master&#39; into develop.</p><h4>3. A Long-lived feature branch</h4><p>Although we discourage long-lived feature branches, sometimes it’s unavoidable. If we’re working on a feature that will take a few weeks to build and relies on a number of large database schema changes, it could be prohibitively difficult to make those schema changes without impacting existing code. “Possible”, sure—but more expensive in terms of engineering time than we’d like.</p><p>In cases like those, we use a long-lived feature branch off of develop. Engineers make their personal branches off of, and merge back into, that feature branch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*NSacT4m88-B2-0-GImGFwA.png" /><figcaption>It looks complex, but this is really just two engineers using the “Normal Change” process off of the lasers feature branch.</figcaption></figure><p>To start, someone will create a new shared branch that’s expected to live a few weeks (or however long this feature project lasts).</p><pre>git checkout develop<br>git pull<br>git checkout -b lasers<br>git push lasers</pre><p>Then, when a developer starts work on this feature, the flow looks very similar to the “Normal Change” process above, except off of the feature branch instead of develop.</p><pre># Create my new personal branch<br>git checkout lasers<br>git pull<br>git checkout -b kk_lasers<br>git commit -a -m &quot;Add the first laser&quot;<br>git commit -a -m &quot;Add the second laser&quot;<br>git push kk_lasers</pre><pre># Grab the latest changes from the feature branch as needed<br>git checkout lasers<br>git pull<br>git checkout kk_lasers<br>git rebase lasers<br>git push -f kk_lasers</pre><pre># PR when my code is ready<br># Merge it back into the feature branch when the PR&#39;s approved<br>git checkout lasers<br>git pull<br>git merge --no-ff kk_lasers<br>git push lasers</pre><p>Multiple developers can be following this flow at once if they’re all working on the same feature.</p><p>Occasionally, if there are changes in develop that the feature branch needs, we merge them in.</p><pre>git checkout develop<br>git pull<br>git checkout lasers<br>git merge develop<br>git push develop</pre><p>Finally, when the feature branch is all finished, we merge it back into develop.</p><pre>git checkout develop<br>git pull<br>git merge --no-ff lasers<br>git push develop</pre><p>This step doesn’t require a pull request, since all new code was already reviewed before it got into the lasers branch.</p><h3>Benefits</h3><p>This process handles the four main use case we run into:</p><ol><li>Small changes</li><li>Large changes that can be locked behind a feature branch</li><li>Large changes that cannot</li><li>Urgent hot fixes</li></ol><p>We’ve found it satisfies most of our requirements as well:</p><ul><li>It avoids large, high-risk deploys</li><li>It avoids constant, time-consuming deploys</li><li>It keeps the git log relatively clean- keeping merge commits where they convey useful information and omitting them when they don’t.</li></ul><p>To be fair, this flow might not be appropriate for your team if your deploy process is heavyweight enough that you can’t deploy every day. It also might not scale without modification to a team larger than a few dozen devs.</p><p>For small teams with frequent deploys, though, you might want to consider it. It’s worked well for us.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dc37ba76ea8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/goodtogoat/simplified-git-flow-5dc37ba76ea8">Simplified Git Flow</a> was originally published in <a href="https://medium.com/goodtogoat">GoodToGoat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Great Internship Experience]]></title>
            <link>https://medium.com/goodtogoat/creating-a-great-internship-experience-1170da2d36a7?source=rss----78be8b021cfc---4</link>
            <guid isPermaLink="false">https://medium.com/p/1170da2d36a7</guid>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Evy]]></dc:creator>
            <pubDate>Fri, 16 Jun 2017 23:08:44 GMT</pubDate>
            <atom:updated>2017-06-16T23:08:44.322Z</atom:updated>
            <content:encoded><![CDATA[<p>Internships are great! They give students the opportunity to gain work experience and learn more about the tech industry. They bring fresh eyes and ideas into a company to make it better. But it all happens so fast — in a few months, the internship is over. With so little time, how can you make the internship experience a great one for everyone?</p><p>I’ve completed four internships in the past three years — a great perk of attending the <a href="https://uwaterloo.ca/">University of Waterloo</a>. And now, for my fifth internship, I get to be Joyable’s first engineering intern!</p><p>After doing the “being an intern” thing a bunch of times, I’ve built up a pretty good idea of how the companies I work at can provide a great internship experience. I think about these things while applying for internships, and that’s why I’m at Joyable!</p><p>Of course, a great internship experience looks different for different companies and different interns, but here are a few tips that I think apply to most situations:</p><h3>Treat them with respect &amp; hold few assumptions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*_57d71UIBbtXKdz6MPdqiA.jpeg" /></figure><p>Take your intern’s ideas and thoughts seriously — they are less biased to existing groupthink at your company and will be able to contribute a fresh perspective.</p><p>As much as you can, treat your intern like a full-time employee. No matter their level of experience (which you should try not to assume) the feeling of being trusted and respected can make a world of a difference. The first time I was asked to review my mentor’s code, I felt totally unqualified. I’ve now reviewed several full-time employee’s pull requests— over which I’ve developed confidence (my technical opinion matters!), contributed lots of feedback (my opinions are helpful!), and become a better engineer through seeing other engineers’ coding habits.</p><p>At Joyable, I’m invited to all the product and engineering meetings, am actively involved in engineering and design decisions, and am given tasks to work on from the same tasklist as my coworkers. Mentorship and learning resources are available for me when something is too challenging for me, but I’m trusted and this helps me feel confident that I can do my job.</p><h3>Give them choice</h3><p>There’s some debate about giving an intern a big project vs. doing many small tasks. What’s possible will vary company to company because of the size of the codebase, the work that needs to go into making a sizable change, the deploy schedule, etc.</p><p>But out of what’s available, your intern might have a preference. Maybe they’d rather go deep into something and really own it over their internship. Maybe they prefer trying lots of different things and want to be able to take on a few multi-week projects in different areas of the codebase/product. Maybe they prefer user-focused work. Maybe they want to work with a particular technology. Maybe they like to work with few constraints, maybe they like to have a lot of structure.</p><p>At Joyable, I talked about these things with my manager before my internship and continue to talk with him every week in my one-on-ones. He helps make sure I’m challenging myself and learning new things.</p><h3>Help them grow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*y3eEZnXuapd8lNnURmmADA.jpeg" /></figure><p>Interns are only around for a short time and want to come out feeling that they’ve both learned a lot and contributed a lot to the company. Make sure that what they’re working on:</p><ul><li>challenges them to do things they didn’t know how to do before,</li><li>is a small enough task that they can feel productive quickly,</li><li>is important to the company — if it doesn’t get used, that’s extremely demotivating, and if it is used but is low priority and not celebrated that’s still not great</li></ul><p>Encourage them to create goals for the few months they’re there and try to help them achieve those goals(checking in with one-on-ones throughout). Encourage them to push themselves a bit, and help them realize their potential. Push them, but be careful of burnout — I’ve seen a lot of my intern peers over the years work (and play) really hard and for long hours, since they think it’s okay to push themselves really hard if it’s only a few months. This has been tempting for me too, and is pretty dangerous for my mental health. Ultimately it’s up to them, but hopefully don’t encourage that.</p><h3>Set them up for future success</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*s9HZUpDnfslQEN7Yd8yu4A.jpeg" /></figure><p>When your intern leaves, they’ll want to feel a sense of accomplishment and that they have moved forward in their career. They should have something impressive to write on their resume describing what they did over their internship. They should have skills they can bring forward to future jobs.</p><p>In previous internships, I’ve written open-source code I can link to directly on my resume. I’ve learned git tricks and tips (as well as how to use git, for the first time, in my first internship) and how to use my text editor effectively (pair programming helps a lot with that). At Joyable, I’ve done work in React, which is a skill I know I can take to many other companies.</p><p>Encouraging interns to talk about their work through team presentations, demos, and blog posts also is a great way to help them build their career. (Not everyone will be want to share their work in these ways and that’s also okay.)</p><h3>Make sure their work still matters once they’re gone</h3><p>Your intern will hopefully contribute important things to your company! But then… they’ll be gone. So make sure they document their work with in-code comments and even formal docs — especially if it’s something not many other engineers are familiar with. You won’t be able to ask them about this stuff once they’re gone and it really really sucks to hear that your work has been thrown out because it’s unreadable. Document things. Code review things carefully. Document things (did I mention that yet?).</p><p>Make sure other people are invested in your intern’s projects and are learning about them <strong><em>before</em></strong> the internship ends.</p><h3>Add some fun!</h3><p>Some of my fondest internship memories are social events with my coworkers. Four square in the parking lot, birthday parties, team offsites (build-a-bear!), a <a href="https://blogs.dropbox.com/developers/2013/07/introducing-the-python-bee/">python bee</a>, playing quidditch in the park…</p><p>I’ve only been at Joyable for a month so far, but we‘ve already had the <strong>Great Joyable Bake Off</strong>, so I think we’re off to a great start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*Ia1DZCoxMrFIF-D8Qt4V3A.jpeg" /><figcaption>pies from the Great Joyable Bake Off</figcaption></figure><p><em>P.S. if you’re an intern (or applying for internships) and want to learn more about my thoughts on doing things well from our end, check this out this open-source guide: </em><a href="https://evykassirer.github.io/playing-the-internship-game/">https://evykassirer.github.io/playing-the-internship-game/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1170da2d36a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/goodtogoat/creating-a-great-internship-experience-1170da2d36a7">Creating a Great Internship Experience</a> was originally published in <a href="https://medium.com/goodtogoat">GoodToGoat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>