<?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 Vivien Adnot on Medium]]></title>
        <description><![CDATA[Stories by Vivien Adnot on Medium]]></description>
        <link>https://medium.com/@vivien.adnot?source=rss-a9a4b9c7e97e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*TJrKfaBnUi2d6pDqIXNTfA.jpeg</url>
            <title>Stories by Vivien Adnot on Medium</title>
            <link>https://medium.com/@vivien.adnot?source=rss-a9a4b9c7e97e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 23:06:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vivien.adnot/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[Similarity between chess matches and difficult workplace relationships]]></title>
            <link>https://medium.com/@vivien.adnot/similarity-between-chess-matches-and-difficult-workplace-relationships-8f9db229e60a?source=rss-a9a4b9c7e97e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f9db229e60a</guid>
            <category><![CDATA[anger-management]]></category>
            <category><![CDATA[workplace]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[emotions]]></category>
            <dc:creator><![CDATA[Vivien Adnot]]></dc:creator>
            <pubDate>Fri, 04 Feb 2022 09:55:48 GMT</pubDate>
            <atom:updated>2022-02-04T09:55:48.781Z</atom:updated>
            <content:encoded><![CDATA[<h4>emotions versus logical thinking</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*IDUjmIdthBuLRRDhrRKURQ.jpeg" /></figure><p>When I win a chess match and the guy asks for a rematch, I often accept because I know that I have a huge advantage on him.</p><p>Because he is angry he lost, his ego is in a bad place. Hence he will want to avenge his loss so bad that he will be too agressive. And with a simple counter I will crush him. If he asks for another rematch, it will be even more easy to win again with the same technique.</p><p>Lesson of the day: In all kind of situations in life, it is very easy to win against angry people. when you’re angry, your logical thinking is not efficient. It leads you to making errors. If you notice that you’re in this spot, disengage and win time, instead of jumping into the next battle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f9db229e60a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Get Started Working with the Google AdWords API]]></title>
            <link>https://medium.com/@vivien.adnot/how-to-get-started-working-with-the-google-adwords-api-9805bb35a52?source=rss-a9a4b9c7e97e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9805bb35a52</guid>
            <category><![CDATA[soap]]></category>
            <category><![CDATA[oauth2]]></category>
            <category><![CDATA[google-adwords-api]]></category>
            <category><![CDATA[xml]]></category>
            <dc:creator><![CDATA[Vivien Adnot]]></dc:creator>
            <pubDate>Fri, 17 Apr 2020 07:13:04 GMT</pubDate>
            <atom:updated>2020-04-17T07:59:22.949Z</atom:updated>
            <content:encoded><![CDATA[<p>From zero to Making your first API Call</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eb2fTqmdVoi2rpHXmPJUUw.jpeg" /></figure><p>Did You found <a href="https://developers.google.com/adwords/api/docs/guides/start">this documentation</a> and you failed to make your fist API Call ?</p><p>I took me a full business day to achieve it, it was so hard and so painful that I thought a lot of developers would greatly benefit from my article.</p><p>There won’t be a lot of explanations on the api itself because there’s already a lot to read in the previous link. Feel free to ask any question in the comments !</p><h4>This is what you want to achieve</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZbs1imQHXQyjowUdlHCOw.jpeg" /></figure><p>As this schema shows, you will need:</p><ul><li>two chrome windows (one in normal mode and one in incognito mode)</li><li>two different google accounts</li></ul><p>What you will need to retrieve these parameters (in green in the schema):</p><ul><li>a developer token (22 characters string)</li><li>a client customer ID (xxx-xxx-xxxxx)</li><li>a budget Id (integer, 10 digits, for example: 6941393250)</li><li>a oauth2 client id</li><li>a oauth2 client secret</li><li>a oauth2 access token</li><li>a oauth2 refresh token</li></ul><p>And with these parameters, you will be able to create and send your first SOAP request to create a campaign.</p><h3>Part 1: Setup the Google Accounts</h3><h4>1 ) Create the Production Google Manager Account</h4><ul><li>open the first chrome window</li><li>login to your google account (for example: bob@gmail.com)</li><li><a href="https://ads.google.com/home/tools/manager-accounts/">create the production manager account</a></li><li><a href="https://developers.google.com/adwords/api/docs/guides/signup">request a developer token</a>. Tip: it is a 22 character string, example: 7W0z7WjkACK9-XsNjZZibw</li></ul><h4>2 ) Create the Test Google Manager Account</h4><p>For details, <a href="https://developers.google.com/adwords/api/docs/guides/accounts-overview#getting_started_with_test_accounts">read the documentation here</a>.</p><ul><li>open the second chrome window, in incognito mode</li><li>login to your other google account (for example: brad@gmail.com)</li><li>create the test manager account. <strong>You MUST use </strong><a href="https://adwords.google.com/um/Welcome/?sf=mt"><strong>this special link</strong></a><strong> to create a test manager account</strong>, otherwise it will be a production account</li><li>Save the client id somewhere (the id looks like this: xxx-xxx-xxxx).</li></ul><p>How can you know it’s a test account account ? You should this a red shape in the bar at the top right of the screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*TsLRXvuyPSb9NofgaYU5pw.png" /></figure><h4>3 ) Create a Google Ads Account</h4><ul><li>stay in the second chrome window</li><li><a href="https://ads.google.com/intl/fr_fr/getstarted">go to this link</a></li><li>When the screen appears with “use Google Ads … “, choose use your test manager account. It is the one with the id you saved previously</li><li>Now you are redirected back to the test manager account</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*_elA_k5I8ATu-ti1SDP2ug.png" /></figure><h4>4 ) Find the Google Account customer Id</h4><ul><li>on the bar, click on the Manager Account</li><li>click on the 3 dots</li><li>Tick (Canceled Accounts)</li><li>You should now see you Google Ads Account with the customer id</li><li>Save the customer Id, that is the one you will need for the Api Call</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*_oWEl51vN9cvHnUWkV_7_g.png" /></figure><h4>5) Create a shared budget</h4><ul><li><a href="https://support.google.com/google-ads/answer/2517512?hl=en&amp;ref_topic=3123046">Follow this procedure</a>, it’s very easy</li><li>Save the budget id in the url of the page</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*0sG8ceT_B-HQYbsYsYy9rg.png" /></figure><h3>Part 2: Get OAuth 2 credentials</h3><h4>1 ) Get OAuth 2 client id and client secret</h4><ul><li>Stay on the second chrome window (the one in incognito mode)</li><li>Open <a href="https://console.developers.google.com/apis/credentials">Google API Console</a></li><li>Create a project if you don’t have one</li><li>Create credentials for this project: <strong>Choose type other</strong></li><li>A popup shows you OAuth client id and OAuth client secret, save both values</li></ul><h4>2 ) Get intermediate token</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7d8743786eabc6ed313883903a1d0fd/href">https://medium.com/media/e7d8743786eabc6ed313883903a1d0fd/href</a></iframe><ul><li>in the url on the left, replace the macro {YOUR_OAUTH_CLIENT_ID} by your OAuth client id</li><li>open the new tab with this url</li><li>Grant you project the permission to manage AdWords Campaign</li><li>a popup appears with the intermediate token: save it</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*aA59TBAOT035lmDrteqfLA.png" /></figure><h4>3 ) Get OAuth Access Token And OAuth Refresh Token</h4><ul><li>Open a console</li><li>replace your 3 informations in the example below</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7ff8b667826b35e2f6fc2c8ad0f287e4/href">https://medium.com/media/7ff8b667826b35e2f6fc2c8ad0f287e4/href</a></iframe><p>you should receive a result like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d53b5305495c4cc4f5cab5355b9338c/href">https://medium.com/media/0d53b5305495c4cc4f5cab5355b9338c/href</a></iframe><h3>Part 3: Create and send the SOAP Request</h3><h4>1 ) Create the SOAP request</h4><p>This request will create a Campaign “Hello World”, in paused mode.</p><p>You can see the <a href="https://developers.google.com/adwords/api/docs/guides/call-structure#api_call_example">details of the xml here</a>.</p><p>You need to change only 4 fields inside it:</p><ul><li>the client customer id (id of your test Google Ads account)</li><li>the developer token (of your production google manager account)</li><li>the application name</li><li>the budget id</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/040c2c3a81e278fb7ae657f401d0f92c/href">https://medium.com/media/040c2c3a81e278fb7ae657f401d0f92c/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a91c303d764c3495905c6a8dc01888f8/href">https://medium.com/media/a91c303d764c3495905c6a8dc01888f8/href</a></iframe><h4>2 ) Save this file as hello_world.xml</h4><h4>3 ) Send the request</h4><ul><li>open your console again</li><li>curl this, after replacing OAuth access token</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/618dc76e0bbb50257ef8ed39b25d994e/href">https://medium.com/media/618dc76e0bbb50257ef8ed39b25d994e/href</a></iframe><p>Google should send you an <a href="https://developers.google.com/adwords/api/docs/guides/call-structure#response">xml response like this</a></p><p><strong>note</strong>: the refresh token is useful if you use client library to make your calls.</p><p>For example: in node I use this one: <a href="https://github.com/ChrisAlvares/node-adwords">node-adwords</a>.</p><h4>Done. You’re now good to go with AdWords Api, have fun !</h4><p>If you reached the end of the procedure and you received a successful xml response from Google, please let me a comment to tell me :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9805bb35a52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Be a better production bug fixer by avoiding these 4 bad decisions]]></title>
            <link>https://medium.com/@vivien.adnot/be-a-better-production-bug-fixer-by-avoiding-these-4-bad-decisions-dc131b6af70?source=rss-a9a4b9c7e97e------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc131b6af70</guid>
            <category><![CDATA[better-self]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[decision-making]]></category>
            <dc:creator><![CDATA[Vivien Adnot]]></dc:creator>
            <pubDate>Sun, 12 Apr 2020 09:15:08 GMT</pubDate>
            <atom:updated>2020-04-12T09:58:59.904Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RujbdGuGwShFgslPukUKAA.jpeg" /></figure><p>ALERT ! A coworker found a bug in production code ! Your boss asks you to <strong>stop</strong> what you’re doing and direct all your efforts towards fixing the bug.</p><p>You feel pressure, you presume that you have to be fast and efficient, that you don’t have the right to make a mistake. The stress might alter your mental faculties. This kind of situation is where bad decisions can harm you. I hope you will remember this article next time you experience a situation like this ! :)</p><h3>Bad decision #1: Jump on the code too soon</h3><p>Take the time necessary to gather all informations given by the logs. If you don’t have enough informations to reproduce and fix the bug, then it’s more clever to:</p><ol><li>find the place where the bug happened</li><li>add the right logs</li><li>deploy this little change, so the next time the bug appears, you’ll have an easy way to fix it.</li><li>move on</li></ol><p>What you don’t want to do is:</p><ul><li>rush to the code with no clear goal nor strategy</li><li>spend 2 hours digging with no result at the end</li><li>0 energy left in your brain.</li></ul><p>Spend the right effort at the right place, so you can achieve a lot more within the day.</p><h3>Bad decision #2: Develop more code than necessary</h3><p>Good news ! You found the bug and you know how to fix it. BUT you also found a lot of code that needs a rewrite. And you got a nice refactoring idea, the code would be so much more “<em>clean”</em> that way. Should you do it ?</p><p>There are many risks involved here:</p><ol><li>Introduce a new bug, that may be discovered in production</li><li>Upset your boss if he discovers that you didn’t take the shortest path to deploy the hotfix.</li><li>Upset your reviewers, because you are making their job more difficult.</li></ol><p>It’s up to you to decide if you want to take the risks or not, but in the majority of cases, the answer is NO. You need to resist the temptation to do more than necessary.</p><h3>Bad decision<strong> #3: Poor testing</strong></h3><p>Your fix is OK, you feel proud to have found the solution super fast, so you rush to send your fix to production, feeling confident.</p><p>And then <strong>BOOOM:</strong> 10 minutes later after your deploy, a coworker encounters another bug, created by your new code !</p><p>You ruined your previous efforts. You now feel shame.</p><p>Indeed, you focused your tests on the parameters that previously broke the production and you forgot to make some extra-tests.</p><p>You need to check <strong>every change you make in the code</strong>. Focus on creating code that doesn’t break.</p><h3>Bad decision #4: Deploy other code at the same time than your hotfix</h3><p>So here you are, ready to deploy your hotfix to production. As you are making the release, a coworker asks you if you can bring some branches ready for production in the release.</p><p>What is the risk here ?</p><p>A new bug appears in production and you don’t know what change in the new code created the situation.</p><p>You are now under a lot of stress, you have to read the code of your colleague in order to find a solution super fast.</p><p>You could have avoided this situation by saying no. An easy way to explain yourself if you want to, is to explain the risk I described above.</p><h3>Conclusion</h3><p>I made every mistake I described before at least once, it hurts so I won’t do it again .</p><p>Sometimes, the best way to have a good day is to avoid problems and bad emotions. Focus on doing simple things that don’t break.</p><p>Don’t worry, there will be plenty of moments when you’ll have the chance to be a hero :)</p><p>Let me know in the comments how do you feel this advices, did you make these bad decisions too ? Feel free to share in the comments other bad decisions to avoid while fixing a production bug !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc131b6af70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software developers: how to produce at maximum speed when you start a new job]]></title>
            <link>https://medium.com/@vivien.adnot/software-developers-how-to-produce-at-maximum-speed-when-you-start-a-new-job-fbd2bb4955d0?source=rss-a9a4b9c7e97e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbd2bb4955d0</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Vivien Adnot]]></dc:creator>
            <pubDate>Sun, 19 May 2019 11:01:48 GMT</pubDate>
            <atom:updated>2019-05-19T11:01:48.442Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PaAPwE_avnFL6IAchaz9gg.jpeg" /></figure><p>Here it is, you just changed job, and you have to deal with a new team and a new codebase. I assume you already know the language, so the code is not completely new :-) I will help you to activate your potential to enter fast and strong in this codebase.</p><h3>1) learn to solve problems without knowing 100% of the context</h3><p>You have a task to do, with a clear perimeter. So you enter a file with unknown code.</p><p><strong>Bad</strong>: read all code in the file. Try hard to create a mental model of whole code. As it’s too soon, your mental model will be incomplete, some parts will be fuzzy. So you will read more and more, until the mental model is clear, but you took a lot of time to do it and you didn’t produce anything.</p><p><strong>Good</strong>: go straight to the place you need to change code. Identify the perimeter you need to change, ignore the rest. Make small changes, don’t do additional cleaning, test carefully, commit and go to the next task.</p><p>Some tips to help you:</p><ul><li>always simplify. breakdown things.</li><li>If it helps you to eliminate the noise, you can comment all the code and keep only the part that interests you.</li><li>You can go even further and have a mini-side project where you can do quick and dirty tests. It helps to learn difficult concepts in an isolated complex. Plus, you won’t be scared to break the real code</li><li>Use the unit tests of the code to understand it you can. You can add more tests if it makes sense.</li></ul><h3>2) time is your most precious asset. use it to obtain concrete and fast results</h3><p>You need to be very aware of your <em>productive</em> time vs <em>learn</em> time.</p><p>If something really appeals you a lot in the code but it’s not necessary to complete the task at hand, add it to your “experimentation list”. Then play with it only before or after work, not during.</p><h3>3) Talk to to your tech leader</h3><p>Cooperation can win a LOT of time. He might tell you something that would take 45minutes to find by yourself in the code. He will tell you more about priorities. For example: <em>“spend 1 hour max trying this bug. If you don’t find the solution, stop and jump to the next task. we will do the first one together tomorrow”.</em> If you didn’t ask, maybe you would have spend 3 hours grinding and trying to find a solution, only to come with a half-assed solution that still need rework.</p><h3>4) Take care of yourself</h3><ul><li>sleep 8 hours every night. Your brain needs it to recover 100%</li><li>eat well, in order to keep good energy all day long</li><li>don’t burn yourself doing too much hours every day</li></ul><p>It’s a common trap to do too much at the beginning, because there is so much to learn. But if you accumulate fatigue, it can be dangerous for your mood, your relations with your colleagues, and the quality of code you produce. If you start a day tired of the previous one, you’re probably doing too much. Take a break, go to dinner with your friends or your girlfriend, relax and empty your head. Tomorrow is another day.</p><h3>Summary</h3><p>Don’t be in a rush to learn everything in the first days of works. Find a way to enter in the code base, and start creating mini proof-of-concept, testing others, and building stuff. It takes weeks to make a big project fit entirely in your head. Let it come at natural speed :-)</p><p>Good luck ! Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbd2bb4955d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>