<?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 Edgardo Gutierrez on Medium]]></title>
        <description><![CDATA[Stories by Edgardo Gutierrez on Medium]]></description>
        <link>https://medium.com/@edgardo.gutierrezt?source=rss-aebfd3f1808f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*k7ni169UQae4PV4hPNiNdg.jpeg</url>
            <title>Stories by Edgardo Gutierrez on Medium</title>
            <link>https://medium.com/@edgardo.gutierrezt?source=rss-aebfd3f1808f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 21:00:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@edgardo.gutierrezt/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[How to dynamically change email providers at runtime in Rails]]></title>
            <link>https://medium.com/doctolib/how-to-dynamically-change-email-providers-at-runtime-in-rails-b62a9c1b8f9a?source=rss-aebfd3f1808f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b62a9c1b8f9a</guid>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[rails-6]]></category>
            <category><![CDATA[email]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[Edgardo Gutierrez]]></dc:creator>
            <pubDate>Fri, 14 Jan 2022 09:44:42 GMT</pubDate>
            <atom:updated>2022-01-14T10:36:48.723Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In this article, you will learn about the email sending architecture at Doctolib overall using Rails Action Mailer, and how to tune it so that you can change email providers at runtime.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*erPTvp7wSWMxsyVH" /></figure><h3>The arrival of a project</h3><p>It was a dark night. It was raining. The streets of Paris never sounded so calm, so dangerous. I was sitting on my desk minding my own business. The smell of coffee wafts through the air. The google meet opens. It’s my manager.<br> — Gather your team. I’ve got a job for you.<br><em>He drops the content on a google drive. I ogled it.</em><br> — I’m retired. I don’t do this kind of job anymore.<br> — Yes you do. <br><em>Yes I did</em><br> — What’s its name?<br> — Sendinblue. Gotta give it a nice welcome to the family. If you know what I mean.<br><em>I knew what he meant. It was not my first job and hell I knew it was not going to be my last.</em></p><h3>The Context</h3><h4>Rails Action Mailer</h4><p>Sending mails on rails is very straightforward. I will be expanding on the Rails <a href="https://guides.rubyonrails.org/action_mailer_basics.html">guide</a> and show you how to configure your SMTP credentials so that you can start sending emails with your own email provider.</p><p><strong>config/application.rb</strong></p><p>By default, the method that Rails is going to use to send an email is the Mail::SMTP delivery_method from the ruby gem <a href="https://rubygems.org/gems/mail"><em>mail</em></a>. You can see this specified in the <a href="https://github.com/rails/rails/blob/f95c0b7e96eb36bc3efc0c5beffbb9e84ea664e4/actionmailer/lib/action_mailer/delivery_methods.rb#L20">following callback </a>on the Rails repository.</p><pre>add_delivery_method :smtp, Mail::SMTP,<br>        address:              &quot;localhost&quot;,<br>        port:                 25,<br>        domain:               &quot;localhost.localdomain&quot;,<br>        user_name:            nil,<br>        password:             nil,<br>        authentication:       nil,<br>        enable_starttls_auto: true</pre><p>This code initialises the SMTP class with some default settings. We need to overwrite those with the SMTP credentials of our email provider. Rails automatically creates a helper method to help you override settings which has the following form:</p><pre>(name of the method)_settings</pre><p>As you can see in the <a href="https://github.com/rails/rails/blob/f95c0b7e96eb36bc3efc0c5beffbb9e84ea664e4/actionmailer/lib/action_mailer/delivery_methods.rb#L50">following file</a>:</p><p>This means that we can override the SMTP class settings with the following method:</p><pre>smtp_settings</pre><p>We just need to specify the following line on our <strong>config/application.rb </strong>file:</p><pre>config.action_mailer.smtp_settings = {address:, port:, domain:} #etc</pre><p>Now you have a class Mail::SMTP with your specified smtp settings that will be the default delivery_method for all of your Rails’s mailers.</p><p><strong>application_mailer.rb</strong></p><p>ApplicationMailer inherits from ActionMailer::Base and all your Rails Mailers inherit from ApplicationMailer (or they should). This means that all your Rails Mailers will use Mail::SMTP as their default delivery_method.</p><p>You can try modifying the delivery_method in <strong>your rails console</strong> in the following way and see how ApplicationMailer and your Custom Mailers get modified:</p><pre>ActionMailer::Base.delivery_method = :your_mailer_class<br>ApplicationMailer.delivery_method <br>=&gt; :your_mailer_class</pre><p>You will see that the delivery_method of your Custom Mailers will change:</p><pre>YourRailsMailer.delivery_method<br>=&gt; :your_mailer_class</pre><p>That’s why putting this line in the <strong>config/application.rb </strong>file<strong>:</strong></p><pre>config.action_mailer.smtp_settings = {address:, port:, domain:}</pre><p>is also changing the delivery_method of your Custom Mailers. Because they inherit from ActionMailer::Base!</p><p><strong>deliver_now, deliver_later</strong></p><p>Now that you know that you’re calling the Mail::SMTP gem when trying to deliver a mail; you may wonder, how do I actually issue the send command?<br>When calling your Custom Mailers in the following way:</p><pre>YourMailer.custom_method().deliver_now</pre><p>You’re actually calling the <a href="https://github.com/rails/rails/blob/ebe0c2a852cb68d22261f89613663841841fd505/actionmailer/lib/action_mailer/message_delivery.rb#L107">deliver!</a> method of from Mail::SMTP</p><pre>def deliver_now!<br>    processed_mailer.handle_exceptions do<br>        message.deliver!<br>    end<br>end</pre><p>Which will send your emails to the network.</p><h3>TL;DR</h3><p>Let’s say that we want to send our mails through the SMTP protocol with the provider of our choice, let’s say Sendinblue, we will do the following:</p><p>We will modify config/application.rb with:</p><pre>SENDINBLUE_SMTP_SETTING = {port:, domain:, address:, ...} #etc<br>config.action_mailer.smtp_settings = SENDINBLUE_SMTP_SETTING</pre><p>And Voila! We just need to call deliver_now or deliver_later from your Custom Mailer and the rest is history.</p><p>It all looks like rainbows and roses, but we are not naive, it can’t be that easy. If it was, people like you and me would not exist. And so the plot thickens.</p><p><em>thunder sounds in the distance…</em></p><h3>Previous Architecture</h3><p>We have 3 funnels to send emails.</p><ul><li>Verification Mails</li><li>BulkMailers</li><li>UnitaryMailers</li></ul><p>We only had one provider: Mailjet</p><h4>Unitary Mailers</h4><p>The unitary mail sending will follow the normal flow of a basic Rails Mailer explained in the Rails Guide.</p><ul><li>We will set our ActionMailer::Base delivery_method configurations with SMTP Mailjet settings.</li><li>We will have a customized ApplicationMailer that will inject our Custom Mailers with general information (like common headers).</li><li>Our Custom Mailer classes where we will create the template and information of our emails.</li><li>The actual delivery of the email will follow the normal flow of deliver_now, or deliver_later which we will trigger in our respective Controllers or ActiveJobs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dkXk71nU6lXd4v6l8GKrJA.png" /></figure><h4>BulkMailers</h4><p>Mailjet provides a bulk sending API of batches of 50 mails. That means we needed to cluster 50 mails per iteration to be able to send them more efficiently. How can we do that with the basic Rails mail sending funnel? You can’t. So we created our own delivery method class for sending bulk notifications.</p><p>We created BulkMailjetDeliveryMethod that decorates any Custom Mailer class overriding it’s deliver! method.</p><p><strong>bulk_mailjet_delivery_method.rb</strong></p><pre>class BulkMailjetDeliveryMethod<br>    def initialize; end</pre><pre># We will create a record in the database serialized <br># for Mailjet specifically    <br>    def deliver!(mail)<br>        attributes = serialized(mail)<br>        QueuedEmail.create!(attributes)<br>    end<br>end</pre><p>Afterwards, we will register the class with this new method in an initializer called <strong>config/initilializer/mailjet.rb</strong></p><pre># application.rb<br>ActionMailer::Base.add_delivery_method :bulk_mailjet_delivery_method, BulkMailjetDeliveryMethod</pre><p>This will tell Rails that if any mailer delivery_method == :bulk_mailjet_delivery_methodit should call the method deliver! from the class BulkMailjetDeliveryMethod</p><p>And then we will override our custom mailers delivery method with the following piece of code:</p><pre>lass BulkMailjetDeliveryMethod<br>  module DeliveryMethod<br>    def delivery_method<br>      :bulk_mailjet_delivery_method<br>    end<br>  end<br> </pre><pre># This overrides the delivery_method symbol of ActionMailer::Base <br># from :smtp to :bulk_mailjet_delivery_method<br>def self.decorate!(bulk_mailer_class, mailer_class)<br>    bulk_mailer_class.extend(DeliveryMethod)<br>    bulk_mailer_class.define_singleton_method(:parent_mailer) { mailer_class }<br>    bulk_mailer_class.singleton_class.delegate(:controller_path, :mailer_name, :mailer_name, to: :parent_mailer)<br>   end<br>end</pre><p>That it’s used as a decorator in the following way:</p><pre># This let&#39;s us specify which Custom Mailer should use this <br># delivery_method instead of defining it globally in the <br># application.rb<br>class BulkMyCustomMailer &lt; MyCustomMailer<br>  BulkMailjetDeliveryMethod.decorate!(self, MyCustomMailer)<br>end</pre><p>This will make our emails go through BulkMailjetDeliveryMethod.deliver! Instead of Mail::SMTP.deliver! method creating a record in the database instead of sending the email directly.</p><p>After that we will fetch a set of records from the database in a Rails ActiveJob and iterate in batches of 50 to send bulk emails to mailjet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dvpR4U1a2P5d7Xrvn46Szw.png" /></figure><h4>Tanker Verification Mails</h4><p>Same principle as our BulkMailjetDeliveryMethod we will have a TankerMailerDeliveryMethod</p><pre># application.rb<br>ActionMailer::Base.add_delivery_method :tanker_mailer_delivery_method, TankerMailerDeliveryMethod</pre><p>To send mails through Tanker specific API. In this case we grouped all our tanker mailers in one place and modified it’s delivery_method statically</p><pre>class TankerMailer &lt; ApplicationMailer<br>   def self.delivery_method<br>     :tanker_mailer_delivery_method<br>   end<br>end</pre><p>They are not batched, but they require a different deliver! method to communicate with Tanker’s API.</p><h3>The Problem</h3><p>We needed to add a new provider to our database. We wanted to have the following functionality:</p><ul><li>Control the percentage of load that we send through a provider</li><li>Control the maximum amount of emails that a provider could send per day.</li></ul><p>This functionalities will help us ramp up the amount of emails we send through this new provider, leverage the load and cap the amount of emails we send to monitor correctly the amount of load per provider.</p><h3>The Challenge</h3><p>As discussed previously, we have 3 different ways to send emails in our codebase:</p><ul><li>Batch</li><li>Unitary</li><li>Tanker Verification Email</li></ul><p>We need to centralize the place where we do these calculations to determine the correct provider according to the mails that were already sent, and the correct load balancing of our configurations. Also, it should be at the right time of the funnel. That means, don’t do it too early in the process, because our calculation could change while the mail is in the queue.</p><h3>The solution</h3><p>We decided the following 4 key points:</p><ul><li>We will create a service that will calculate which provider we should use according to our own input through a configuration page</li><li>We will use a specific service class tied to the provider that will contain all the settings and configurations for that specific provider, like their SMTP configurations or their gem API.</li><li>We will create a delivery_method to route mostly all of the CustomMailers through this service.</li><li>We will not touch TankerMailer as it requires an specific logic that requires them to be in their own funnel.</li></ul><p>More concretely, this meant creating a new delivery_method class like the BulkMailjetDeliveryMethod class but for unitary emails and overriding our previous bulk method to make it generic (not only for Mailjet).</p><p>The general architecture will look more or less like the following diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WoZ5NOa8InQ-nvKvh0To_A.png" /></figure><p><strong>Note</strong>: MailjetService and SendinblueService inherit from Mail::SMTP. This allows us to initialize the class with their own SMTP settings per provider.</p><pre>class MailjetService &lt; Mail::SMTP<br>    def initialize<br>        super(MAILJET_SETTINGS)<br>    end</pre><pre>    def send_mail(mail)<br>     # This method comes from the Mail::SMTP class which it&#39;s now <br>     # initialized with our Mailjet settings<br>        deliver!(mail)<br>    end<br>end</pre><h3>Oversimplication</h3><p>So if I had to resume this long blogpost with a few set of steps it will be the following.</p><ol><li>Create an Provider Service that will initialize the Mail::SMTP gem with their corresponding settings</li><li>Create an Email Service that will decide which provider to use according to you configurations</li><li>Specify a delivery method class to route all your email through it in an initializer.</li><li>Set this class on your application.rb.</li><li>If you want to use a Bulk method. Then use a decorator class to override the delivery_method from an specific Rails Custom Mailer and add another function to the Email Service and the Provider Service to process a batch of emails.</li></ol><blockquote><strong>Note:</strong> Bulk sending is out of scope for this blog. :)</blockquote><p><strong>email_service.rb</strong></p><pre>class EmailService<br>    def initialize; end</pre><pre>    def send_unitary_mail(mail)<br>        provider_service = select_provider_service()<br>        provider.send_email!(mail)<br>    end<br>end</pre><p><strong>mailer_delivery_method.rb</strong></p><pre>class MailerDeliveryMethod<br>    def initialize; end</pre><pre>    def deliver!(mail)<br>        # This can return MailjetService or SendinblueService<br>        provider_service = select_provider_service()<br>        provider.send_unitary_email!(mail)<br>    end<br>end</pre><p><strong>config/initializers/mailer_delivery_method.rb</strong></p><pre>ActionMailer::Base.add_delivery_method :mailer_delivery_method, MailerDeliveryMethod</pre><p><strong>config/application.rb</strong></p><pre>config.action_mailer.delivery_method = :mailer_delivery_method</pre><h3>Testing</h3><h4>Context</h4><p><a href="https://guides.rubyonrails.org/testing.html#testing-your-mailers">Testing your rails mailers</a> is an interesting flow. Inside your test environment file you will see the following:</p><pre>config.action_mailer.delivery_method = :test</pre><p>That means that when you’re using delivery_now you are calling the deliver! function from <a href="https://github.com/mikel/mail/blob/22a7afc23f253319965bf9228a0a430eec94e06d/lib/mail/network/delivery_methods/test_mailer.rb#L10">Mail::TestMailer</a> class from the Mail gem. Which will not send the email but it will add it to ActionMailer::Base.deliveries array where you can test that the mail has it’s correct headers and the template was correctly rendered.</p><h4>Testing with the new architecture</h4><p>Now that we know that Rails test flow is not using our own architecture we need to modify our environment/test.rb file to use our new delivery method class.</p><p><strong>environment/test.rb</strong></p><pre>config.action_mailer.delivery_method = :mailer_delivery_method</pre><p>BUT! We want to sending emails while testing and we wan’t to align with the Rails way of testing mailers, so we created a new test class that will inherit from Mail::TestMailer so that we can still add the email to ActionMailer::Base.deliveries array.</p><pre>class TestProvider &lt; Mail::TestMailer<br>   def send_email(email)<br> deliver!(email) #Uses deliver! Method from TestMailer<br>   end<br>end</pre><h3>A happy world</h3><p>Thanks to this new email sending structure we are able to choose an email provider according to the following criteria:</p><p>Maximum number of emails per provider:</p><ul><li>We can choose to stop sending emails through a provider if we consider that we sent enough emails through them in a day.</li></ul><p>Load balancing:</p><ul><li>We can choose a different percentage of volume per provider</li></ul><p>Enabling or disabling a provider:</p><ul><li>If any provider goes down we can switch the load to the other provider effortlessly.</li></ul><h3>The future looks challenging</h3><p>Some future challenges:</p><ul><li>In the future we might want to determine which templates for certain countries go through a certain provider. This will mean modifying our configuration page to take into account template and country.</li><li>We would like to provide an easy to use API to determine which Mailers could go through our service or which Mailers should use a static provider.</li><li>We would like to have a different monitoring structure which will mean to add more logging inside our new service.</li></ul><h3>Conclusion</h3><p>Our new provider is now living a new life in our codebase. The streets of Paris are still full of crime. But that’s not my job anymore, that’s what I thought, until I saw a google meeting popping on my screen. I guess my job is not done yet.</p><p>Did you like this article? Find out more on <a href="https://doctolib.engineering/engineering-news-ruby-rails-react/">our engineering newsletter</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b62a9c1b8f9a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/doctolib/how-to-dynamically-change-email-providers-at-runtime-in-rails-b62a9c1b8f9a">How to dynamically change email providers at runtime in Rails</a> was originally published in <a href="https://medium.com/doctolib">Doctolib</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scale your team knowledge and cohesion with Tech Time]]></title>
            <link>https://medium.com/doctolib/scale-your-team-knowledge-and-cohesion-with-tech-time-d4f82cc22891?source=rss-aebfd3f1808f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4f82cc22891</guid>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[team-building]]></category>
            <category><![CDATA[doctolib]]></category>
            <category><![CDATA[organizational-culture]]></category>
            <dc:creator><![CDATA[Edgardo Gutierrez]]></dc:creator>
            <pubDate>Thu, 19 Nov 2020 14:49:18 GMT</pubDate>
            <atom:updated>2020-11-20T08:29:17.792Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In this article, you’ll learn more about how we use Tech Time, a cross team meeting that involves the teams related to the tech domain, to promote knowledge sharing and cohesion between coworkers.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PfkttFZD5VecbYHVtXzbZA.png" /></figure><p>As a company grows larger and larger two big problems arise:</p><ol><li>It’s difficult to keep track of all the new things that people are working on.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/0*O1VCmXLHdKIHd2F3" /></figure><p>2. It’s difficult to keep up with all the new people joining the company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/0*OqzmDeVsyWSRe18U" /></figure><p>And so, the need to keep everyone on the same page (and my mental sanity on check) becomes a fundamental priority, which at Doctolib we address with <em>*roll those drums*</em>…</p><h3><strong>Tech Time</strong></h3><h3><strong>What is Tech Time?</strong></h3><p>Look at you! Asking the right questions. Tech Time is an event at Doctolib that takes place every 2 weeks and that involves all the teams in the tech domain.</p><p>The teams involved are, very obviously, the feature teams, but also the Data Team, Design Team and, last but not least, the Talent Team. And of course this includes our offices in Berlin and Nantes!</p><p>The rules are the following:</p><ul><li>The meeting lasts 1 hour.</li><li>The content must be related to topics Tech in the company context</li><li>You have 3 minutes to present your topic and amuse everyone with your sparkling personality.</li><li>Anybody can present something abiding by the rules above.</li></ul><h3><strong>The content</strong></h3><p>Now we’re getting to the juicy stuff. We have 15 slots for anyone to present any of the following:</p><ul><li>Share new features they have worked on recently to keep us all updated on the projects his/her team is working on.</li><li>Share their learnings when tackling an interesting problem. Maybe someone else has or will have the same problem in the future and sharing these learnings with everyone will help prevent a meltdown after hours of debugging.</li><li>Talk about new processes that affect all the tech. Here is where managers, the design team or the talent team can talk about new processes on recruiting, a new design palette or creations of new teams.</li></ul><p>Pretty straight forward right? But there’s more to it than meets the eyes.</p><h3><strong>The hidden skills behind the presentation</strong></h3><p>Three minutes to talk? But how am I going to be able to explain the whole history of this new library I’m using if I can’t talk about the influence of Classical Liberalism in our current society?</p><ul><li>A three minute limit helps you to keep it short and be concise. Your words will carry more impact and information if your brain knows you’re bound by time (Isn’t that life?).</li></ul><p>I am very shy and have stage panic.</p><ul><li>Yes. We are all afraid of talking in public but if you want to overcome your fears you need to look them in the eyes first. Tech Time is a safe place filled with love where you can practice this, be yourself and talk about what interests you in a casual manner. You’re not expected to close a million dollar deal. (Yet)</li></ul><p>My presentations are not interesting.</p><ul><li>Objection! Even the most boring topic can be interesting if you put some energy into it. At Tech Time we fancy the use of videos, memes, costumes, standup comedy or any aid you think will make your presentation memorable.</li></ul><p>Sometimes our job doesn’t push us to develop communication skills in front of a big audience, especially in the Tech industry. <strong>At Doctolib we encourage the development of these skills by giving a forum where people can practice them by talking to their colleagues in a casual manner with the aids they feel more comfortable with.</strong></p><p>The end.</p><p>Oh yeah… Just one more thing…</p><h3><strong>The true meaning behind Tech Time, life, the universe and everything</strong></h3><p>It’s not 42, sorry. The answer is more deep and emotional. We want you to:</p><blockquote>Get to know all the cool people you’re working with and promote cohesion between peers.</blockquote><p>Yes. That’s right. Truth be told we can all just send a mail with the things we have been working on and when aliens are scraping our data they will find the logs and write stories about the new design patterns in our organization, but this defeats the bigger purpose. <strong>We want you to learn, to develop new skills, to have fun and to get to know your coworkers. In the end, it’s a big cross team building.</strong></p><p>That’s why at Tech Time we also:</p><ul><li>Take a moment to introduce all the new joiners with their respective teams</li><li>Organize games and small chat rooms</li><li>Have Zoom background and costume contests</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KYHUjz0i6EgLwQMFcsQwkQ.png" /></figure><p>It’s of course very important at an organization level to keep everyone updated about our technical innovations and processes, don’t get me wrong, we still have another meeting with our CTO where we get product and organization updates on a bigger scope, but it’s also important to develop a sense of community and create cohesion and the feeling we’re all working towards the same goal. <strong>With Tech Time we not only keep everyone on the same page, but we also bring people together.</strong></p><p>So yeah, the next time I’m searching for a feature team, I’ll proudly enter the right room, proudly say hi to everyone, and proudly say:</p><blockquote>Hey, Mélanie. I have a bug for you.</blockquote><p><em>If you would like to know more about how to do a great presentation and be confident when speaking to a big audience please look at this amazing content, beautifully crafted by one of our developers, Tim Carry:</em></p><ul><li><a href="https://www.welcometothejungle.com/en/collections/behind-the-code/career-hacking/articles/btc-talk-slides-conference">https://www.welcometothejungle.com/en/collections/behind-the-code/career-hacking/articles/btc-talk-slides-conference</a></li><li><a href="https://www.welcometothejungle.com/en/collections/behind-the-code/career-hacking/articles/btc-stage-speaking-conference">https://www.welcometothejungle.com/en/collections/behind-the-code/career-hacking/articles/btc-stage-speaking-conference</a></li></ul><h4><strong>If you liked reading that article, don’t hesitate to subscribe to the docto-tech-life newsletter to receive our weekly selection of technical content!</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4f82cc22891" width="1" height="1" alt=""><hr><p><a href="https://medium.com/doctolib/scale-your-team-knowledge-and-cohesion-with-tech-time-d4f82cc22891">Scale your team knowledge and cohesion with Tech Time</a> was originally published in <a href="https://medium.com/doctolib">Doctolib</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Field trips help you write better software]]></title>
            <link>https://medium.com/doctolib/field-trips-help-you-write-better-software-d71df744904d?source=rss-aebfd3f1808f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d71df744904d</guid>
            <category><![CDATA[user-research]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[user-experience]]></category>
            <dc:creator><![CDATA[Edgardo Gutierrez]]></dc:creator>
            <pubDate>Fri, 13 Mar 2020 16:29:39 GMT</pubDate>
            <atom:updated>2020-03-13T16:29:39.852Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pNxxyUk5dliRYSwpVB2I4A.png" /></figure><p>A Frenchman, a Belgian and a Mexican enter a bar in a train, order a beer and start playing a card game called Polignac. This may sound like the start of a joke, but it was exactly how a trip to meet one of the biggest radiologist groups in Munich began. Actually, let me rephrase it.</p><h3>A UX researcher, a product owner and a developer from Doctolib go on a field trip to address the needs of their customers.</h3><h4>Sounds better!</h4><p>Our adventure starts in Hannover where we meet with our first client. As a young software developer, this would be the first time I would hear product opinions first hand — from the user, so I was clearly nervous.</p><p>We entered a big office, there was coffee, apple juice and a projector with a computer already set up (I know right? I was impressed too). We sat down and a practitioner with 3 secretaries entered the room. Our UX researcher Stan started presenting to us, alternating between French, German and English. (This guy speaks all 3 languages fluently).</p><p>After some Q&amp;A we asked their opinion about what was just presented. How can we make it better? Does this address your problem? Those questions really echoed. Each time I took a ticket in the sprint, was I asking myself the work behind each user story and the impact it was having on the end-user or was I just seeing a task to complete?</p><p>Feedback ended and while we were preparing to stand up suddenly the practitioner asked if we could take a look at some suggestions he and his team came up with to improve the calendar view. “We love your product and we are eager to help you make it better”. Then he showed us a list of at least 40 suggestions. We looked at each other. Unexpected… They were really looking forward to this meeting.</p><p>After going through the list, we asked if we could observe how the secretaries were using the product to take appointments. With secretaries taking appointments in parallel, approximately 1000 appointments are taken per day, about every 5 minutes. They answered a call and started typing the name of the patient in the search bar… Wait… the search bar?! This was a big revelation for me. I never expected that they would take the appointments that way! How I didn’t see this before? Why didn’t I ask these questions? Using the patient search bar instead of the appointment modal? Interesting.</p><p>We finished our visit and thanked our clients. “Please come back any time and keep us up to date. We are impatient to hear from you again,” they said. Nice words to hear, kept me motivated for the dangers to come. We said our goodbyes and continued our trip to Munich by train. This is where the train car joke starts and I lose miserably at that weird card game.</p><p>The next 2 visits continued in a similar way with a slight modification: I had a Pretzel that was really good. We demonstrated the product, received some feedback and discussed how we can make it better or if there were any pain points that they would like to address. Every organization said the same thing: “We like Doctolib and are thankful that you took the time to listen to us”. Really heartwarming stuff, you can’t deny that.</p><p>Before going back to Paris we had a debrief on the different topics that were exposed. Having different points of view (product, user and software), we could establish some common ground but at the same time discuss our main concern regarding each of our scopes. “Germans use the product way too differently,” said Stan. He was right. How can they use the exact feature to achieve totally different things? We debated some concepts, enhanced some ideas and rejected some features that didn’t make sense. Then it clicked. This is how coding starts. It’s an iterative process, and not perfect, but one who gets close to transforming ideas into actions. We shook hands. Mission accomplished boys, let’s go home.</p><p>As a developer, sometimes you might be trapped in your bubble. Focusing solely on delivering features, fixing bugs or refactoring code. At some point, along the way, you start forgetting the reason you’re actually doing this. Was it for fame? Money? Knowledge? You don’t know anymore, and you feel lost and empty… Ok, I’m exaggerating, but what I mean is that during this field trip where I was in contact with the people who actually use our end product I realize the importance of each line I’m writing. The differences between the German and French market were exposed and I got to discuss and refine our product scope in order to address the needs of our customers.</p><h3>We need more developers out in the field, not only to get closer to the user but to also cooperate in the refining process and expose their ideas and fears from the code perspective.</h3><p>I’m now a different developer than I was a week ago and I’m eager to start working on our next feature and hear how we tackled a key point for both countries, but I must admit I’m even more eager to go to the next field trip and beat Stan and Benoit at that French card game!</p><h4>If you want to learn more about our tech team we write a weekly newsletter <a href="http://bit.ly/doctotechlife">you can sign up for here</a> and if you want to join us on field trips, <a href="https://about.doctolib.com/jobs">we are hiring!</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d71df744904d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/doctolib/field-trips-help-you-write-better-software-d71df744904d">Field trips help you write better software</a> was originally published in <a href="https://medium.com/doctolib">Doctolib</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>