<?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 Louis Lafont on Medium]]></title>
        <description><![CDATA[Stories by Louis Lafont on Medium]]></description>
        <link>https://medium.com/@dot_louis?source=rss-5e7adfc6c6e0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ubi_-yL0VRmlMesyt0-dEg.jpeg</url>
            <title>Stories by Louis Lafont on Medium</title>
            <link>https://medium.com/@dot_louis?source=rss-5e7adfc6c6e0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:52:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dot_louis/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[Monbanquet.fr and the great Gatsby]]></title>
            <link>https://medium.com/monbanquet-fr/monbanquet-fr-and-the-great-gatsby-37e0db5293aa?source=rss-5e7adfc6c6e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/37e0db5293aa</guid>
            <category><![CDATA[gatsbyjs]]></category>
            <category><![CDATA[static-site]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[jamstack]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Louis Lafont]]></dc:creator>
            <pubDate>Sun, 03 Mar 2019 21:49:18 GMT</pubDate>
            <atom:updated>2019-03-04T19:24:05.555Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cotM0DAAGoYjqdhQc2y12w.png" /></figure><p>Back in December of 2018, <a href="https://www.youtube.com/watch?v=xLQ4to7Ubn0">I presented a talk</a> (in French 🇫🇷 subtitled in English 🇬🇧) at the first Paris JAMstack conference. This is not a transcript of it but rather the written story of the feedback I gave.</p><h3>A tale of a splash screen</h3><p>In September, our company Monbanquet.fr had to make a departure from our then current website. Multiple needs prompted this decision. Business-wise, the goal was to clarify the site’s offering and have a straightforward way to order a <a href="https://en.wikipedia.org/wiki/Banquet">banquet</a>. Technically<strong> we wanted a performant, SEO optimized, good looking website</strong>. I mean, who doesn’t? Right, but in reality, it appears that these criteria are often the ones that go neglected when working with a deadline.</p><p>For those who don’t know Monbanquet.fr. We’re a French startup based in Paris and Lyon that aims to give the catering industry a renewed experience by working with local artisans such as butchers, bakers and cheese makers. Thanks to them, we offer incredibly fresh food for all your business events (breakfasts, cocktails, seminars and more).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dI86uHYtyQfVloqkM_85OA.png" /><figcaption>Monbanquet.fr’s home page. It says: “A simple experience. Authentic products. Give taste to your professional events thanks to the craftsmanship of local artisans.”</figcaption></figure><p>But to have a truly modern and pleasant experience, we could not do without a website presenting our offering. The previous version was convoluted and quite complex to navigate. I won’t detail the re-design process as it&#39;s not the focus of the post but just know that we decided to drop the online ordering for now (as in “paying online”), because of the intrinsic complexity of a very localized offer. This would remove the need for intricate interactions such as geolocation and time-based filtering.</p><p>With that in mind, the order flow became pretty simple:</p><p>home page → event page (i.e: breakfast) → order modal → the order is sent to our sales management system.</p><p>Business decisions aside, the objective was to make the site as enjoyable as possible for obvious reasons. The previous iteration of the website was made with Angular@6.x.x and proved to be quite heavy on the network.</p><p>Here is an audit of it on 3G speeds</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*GlnAGuSGABX9HYiSA_bX0g.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*0DIWe1I_-os3ciD02GxXqg.png" /><figcaption>Note the pretty good first paint that was in fact… a splash screen</figcaption></figure><p>Indeed we shipped quite a bit of JS, including but not limited to: <a href="https://github.com/angular/angular">angular</a>, <a href="https://github.com/ngrx">ngrx</a> (a redux like state management system), <a href="https://github.com/angular/angularfire2">angularfire2</a> (the client for firebase), <a href="https://github.com/moment/moment">moment</a> (a date manipulation library), <a href="https://github.com/lodash/lodash">lodash</a> (an utility-belt function library).</p><p>And while this post is not meant to be a stab at Angular and its ecosystem (it’s good for many things, and we use it on our mission-critical Back Office), creating a performant and pleasant website with it has nothing to do with what I experienced with Gatsby later on.</p><blockquote>Making a (good) website is hard.</blockquote><p>This statement can vary depending on your definition of a “<em>website</em>”. But making a truly great website requires a lot of time and skills. Admitting you have the latter, the former is rarely an option. Either you have weeks and months in front of you, or you have a big team ready to tackle the challenge together, reducing the time it takes to bring your site live. When you have neither of it you’re stuck with a few options:</p><ul><li>Rely on a tool to build the website for you.</li><li>Cut corners and impact the quality</li></ul><p>Both of them are bad choices for a company that already has a *<strong>working</strong>* website. Here “working” being purely technical: it displays stuff and people can interact with it. Using a tool to re-create the website would probably not make us step up our game, in terms of design, ergonomics, and performance.</p><blockquote>Making a good website should be as easy as making a bad one (if not easier).</blockquote><p>This is not the case right now. To me, the main players of what makes a website enjoyable (if we omit business requirements):</p><ul><li>Speed, real and perceived</li><li>UI and animations</li></ul><p>I’ll talk about speed mainly but will come back a little bit on animations at the end of this post.</p><h3>Going static</h3><p>I looked at different solutions such as Server-Side Rendering and found out that going the static route could be a good fit for our needs: having a fast, SEO-friendly website that does not cost much to build and to operate. Our website had just a few pages to start with and minimal interactions. It would be a good testing ground for the technology.</p><p>As I mention in the talk, I did not dive into a comparative table of twenty-seven frameworks before settling on Gatsby, benchmarks are hard and time-consuming, and you’re never sure of the choice you’ve made. I already had tried Gatsby a few times on a personal project and the first thing that caught my attention was its simplicity. Setup was painless and I had a working page in less than 10minutes — <em>npm install included</em>. After doing a little more research these were the arguments that won me over.</p><ul><li>It’s react, just plain old react</li><li>It’s static, no servers</li><li>It has great documentation</li><li>It has a growing and active community</li><li>It is data agnostic (does not care where the content comes from)</li></ul><p>This was enough for me to try it out a little more. Because being <em>just React</em> I could always reuse my components if something had to go wrong. But I was confident, seeing the community, and the great job of the Gatsby team to help people get started. Let’s dive in.</p><h3>The Gatsby way</h3><p>One of the interesting points of Gatsby is that it does not impose a data format. It does not care if your site’s content comes from a WordPress blog, a series of markdown files or any other API out there. It provides you with a simple way to write your source plugin. All of this data, no matter where it comes from, gets injected via GraphQL queries into your react components that make up your pages. In the end, all you have is a static <em>public/</em> folder ready to be deployed. It’s plain simple HTML, CSS, and Javascript.</p><p>Here is how it works (from their home page)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HPjfiDUfsG_5svmorkJKMg.gif" /></figure><h4>GraphQL</h4><p>I did not know GraphQL before, except from the tweets and articles, but it went like a charm, Especially thanks to the integration of <a href="https://www.gatsbyjs.org/docs/introducing-graphiql/">graphiql</a>, a playground that Gatsby spins up while you’re developing to help you tinker with queries.</p><p>A reaction I often get when I say Gatsby uses GraphQL is:</p><blockquote>But, I don’t know GraphQL and I don’t want to spend time learning it, especially since it is a relatively new idea.</blockquote><p>I understand the concern, and I like to think of Gatsby as just a well-put collection of tools to help you build your site faster. GraphQL is one tool that can make you more productive without impacting the way you code. You just write your query, and you get the result in a variable like any other which you can then pass as a prop to your react component. Besides, <a href="https://www.gatsbyjs.org/docs/graphql/#graphql">Gatsby guides you well</a> into using it so it takes almost nothing to learn.</p><p>So how is GraphQL used in Gatsby and how does it help?</p><p>For me, it was the fact that no matter where the data came from (JSON files, APIs…) it was available from the same simple JSON-like interface. Using plugins, I fetched content both from Contentful and local files without having to implement HTTP requests, manage the file system and doing some plumbing to get it all aggregated into one coherent variable ready to be consumed by the application. Of course, this fetching and plumbing happens behind the scene and is done by plugins. I find this approach very clean in that it does not “pollute” your application with irrelevant and often verbose code. That said, you may want to create your own plugin for your needs, and it is surprisingly simple and <a href="https://www.gatsbyjs.org/docs/source-plugin-tutorial/">well documented</a> (or check out <a href="https://www.youtube.com/watch?v=7pbFDBXiuAA">this live-coding 🇫🇷</a> by <a href="https://medium.com/u/a85611a935d6">Nicolas Goutay</a>).</p><p>The cherry on top, GraphQL is typed. For typing fans out there this is very convenient. When fetching your data, Gatsby will try to infer its type and create a GraphQL schema of it. It works pretty well (<a href="https://github.com/gatsbyjs/gatsby/issues/3344">but has some limitations</a>) and could, for example, help you create Typescript types with it.</p><h4>&lt;GatsbyLink&gt; and prefetching</h4><p>When talking about static generation I sometimes get a reaction in the likes of:</p><blockquote>“This is going full-circle, we’re back to full-page server-side rendered website”.</blockquote><p>This is not completely false but we want to take the best of both worlds of SSR &amp; SPAs and GatsbyLink helps us do that. Instead of being a classic anchor tag, it’s a supercharged link (although it’s still an <em>&lt;a href=”…”&gt;</em>) that will load the page behind it in the background so it’s ready by the time you click the link.</p><p>This is done by fetching the next page as a Javascript bundle rather than an HTML document. The idea is to replace components on the fly without having to re-render the whole page.</p><p>You can see it in action as I hover the different links in the page.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5q4UIRzjiGM%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5q4UIRzjiGM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5q4UIRzjiGM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5498b4dda231589d0280d5ca462c4617/href">https://medium.com/media/5498b4dda231589d0280d5ca462c4617/href</a></iframe><h4>&lt;GatsbyImage&gt; and resolutions</h4><p>Another tool that Gatsby provides is a react component called <a href="https://www.gatsbyjs.org/packages/gatsby-image/">gatsby-image</a>. It allows you to take full advantage of <strong>image optimization techniques without the hassle</strong>.</p><p>If you tried to implement correctly image/picture tags before, you know the pain it can be to use a <em>&lt;picture&gt;</em> tag and <em>srcset</em> attribute with all resolutions files specified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxAi4rg7HxtG76IVKr4cYw.png" /><figcaption>This is what the W3C wants you to write</figcaption></figure><p>This does not only takes time to write but you also need to create the pictures with every size and resolution. Some online services can do it for you but what if you don’t want to use a costly service? Gatsby once again helps you here by leveraging its plugins. Using <a href="https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp">gatsby-plugin-sharp</a>, <strong>all needed resolutions and sizes will be created </strong>and handed to you in a nice GraphQL fashion. In the end, the above code has been generated by this little snippet:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aCRCEvdeuw0shYznIN5gjQ.png" /><figcaption>tidier uh?</figcaption></figure><p>You may wonder why we should do all of this. Why not add a simple single <em>&lt;img src=”…”/&gt;</em> and basta? Well… simply because your users suffer from it. Images aren’t optimized for all devices, screen-sizes and network connections. While with gatsby-image, the browser can decide which source to show based on these criteria, providing a speedy user experience while Gatsby helps with the developer experience.</p><p>We have all the speed stuff sorted out yay! But wait, gatsby-image goes further. Not only does it choose the best available resolution, but it also loads it lazily and in a visually progressive way. There are two techniques available with gatsby-plugin-sharp and gatsby-image.</p><p>The first one is called <strong>traced-svg</strong> and consists of creating a contour of the picture you want to display as a placeholder while the real thing loads. Here you can see, as I reload the page, the SVG is briefly shown before the picture replaces it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFQXX7SxSauM%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFQXX7SxSauM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFQXX7SxSauM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/43ca12bcfc613539b2129c668990652b/href">https://medium.com/media/43ca12bcfc613539b2129c668990652b/href</a></iframe><p>The second technique is called <strong>blur-up</strong> and is about in-lining a 20px version of your picture in the HTML as a data-URI before swapping it out with the correct resolution. This creates a sense of context for your users who can almost feel the picture while it loads, preventing the painful wait starring at a blank space or jumping content.</p><p>Here you can watch the blur-up effect in action as well as the lazy loading of pictures as they enter the viewport.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUjYH7XBcQg0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUjYH7XBcQg0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUjYH7XBcQg0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d8be35adeefaf8ea3535e01d77f2a1c/href">https://medium.com/media/9d8be35adeefaf8ea3535e01d77f2a1c/href</a></iframe><p>This work on perceived performance further improves the experience your users will have when using your website. And this is all done for you. No complex setup or manipulations.</p><h4>Moaaaaar plugins</h4><p>I know it feels scary and reminiscent of jQuery days when every lib out there was a jQuery plugin. With Gatsby, plugins are at the ecosystem’s core. They allow you to create and shape your content before it goes into your components.</p><p>One of the plugins that I find particularly helpful is <a href="https://www.gatsbyjs.org/packages/gatsby-plugin-subfont/">gatsby-subfont-plugin</a>. It “tree-shakes” any font character you don’t use out of the critical rendering path of your homepage. This is achieved by creating a version of the font that only contains the glyphs you actually use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*kLPjh7DrhxYfZ56b4Bq6NA.png" /><figcaption>In bold, the characters used, the others are from the fallback font</figcaption></figure><p>The full font is still loaded asynchronously afterward to handle any eventual dynamic content. But your first render should be significantly snappier and <a href="https://css-tricks.com/font-display-masses/">reduce FOUT</a>. In the end, we shaved roughly 50kB of unused font characters on the first render, which is not negligible.</p><h3>A note on animations/interactions</h3><p>I’m just going to add a note regarding animations because this is the very first time I’ve enjoyed writing them. I feel that animations are often overlooked in projects because they appear superfluous or even unwanted. But they do improve the experience quite a bit and make the user feel at home.</p><p>Of course, animations for its own’ sake are stupid and destroy a site’s credibility and usability. However, subtle and timely ones can upgrade the experience to a meaningful and even delightful one. Helping the user figure out why stuff appears on the screen and where it comes from.</p><p>Usually, animations are a welcome addition in response to some user interactions and rarely wanted on their own. For example, you probably won’t animate a menu bar, randomly, out of nowhere for no reasons. But you could make it appear in various ways at the touch of a button.</p><p>This is what we did for our main navigation panel. On mobile, a left-side drawer is available to navigate between the website’s pages. If you try it out, you’ll notice that, contrary to many web-based side navigation panels, it doesn’t just pop into view, but gently glides over the main content area. Similarly, you can trigger it by touching the menu link or by dragging it from the left edge of the screen. A standard move, well expected by mobile users by now. But it has historically been hard to do properly on mobile. Until… <a href="https://github.com/react-spring/react-spring">react-spring</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtYLaLomwCqw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtYLaLomwCqw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtYLaLomwCqw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/31dfd6cd82ec3c7239a8aad687f55a31/href">https://medium.com/media/31dfd6cd82ec3c7239a8aad687f55a31/href</a></iframe><p>This library has been a joy to use and <a href="https://twitter.com/0xca0a/status/1081224286424231936">a breath of fresh air</a>. I won’t go into the details of implementation here (a subject for a later post) but just know that the Drawer component and all its interaction logic spans no more than <strong>50 lines of code.</strong> This includes touch handling. We’ll publish the code as soon as it’s ready.</p><p>Adding and responding to user’s gestures has never been so simple and usually takes only a few lines (<a href="https://medium.com/@johnadetutu90/react-spring-just-got-hooked-32bd672e3bb7">even more so with the release of react hooks</a>). I recommend you take a close look at how to make your website feel more alive with these two packages, you won’t regret it. (Thanks so much <a href="https://twitter.com/0xca0a">Paul</a>)</p><ul><li><a href="https://github.com/drcmda/react-spring">react-spring</a></li><li><a href="https://github.com/drcmda/react-with-gesture">react-use-gesture</a></li></ul><h3>Build. Deploy. Repeat.</h3><p>Now that we have got a good idea of how Gatsby helps developers creating a great and speedy user experience, how do we put this all together? How do we ship all of this marvel?</p><p>The answer depends on you, your choices, your stack, and your team. At Monbanquet.fr we settled on <a href="https://www.contentful.com/">Contentful</a> and <a href="https://www.netlify.com/">Netlify</a>. They are a great combo for our use cases. These are the arguments that got us enrolled:</p><h4>Contentful</h4><ul><li>It has a web-based interface</li><li>It’s content-only, no styling</li><li>It has a <a href="https://www.gatsbyjs.org/packages/gatsby-source-contentful/">Gatsby plugin</a></li><li>It’s a great place to host pictures</li><li>It has a generous free-tier</li></ul><h4>Netlify</h4><ul><li>The DX is amazing (getting the site online took 5min at most)</li><li>It builds and deploys on each git push</li><li>It has an URL for each commit build and each branch</li><li>It has webhooks to trigger a build from outside</li><li>It has branch-based split testing</li><li>It has a generous free-tier</li><li>Many more cool features we haven’t even tried yet. (Forms, identity…)</li></ul><p>Our needs were simple yet difficult to find. We needed to have flexibility, thus Contentful would provide us with content uncoupled from the front-end development which would greatly help interaction with the marketing people in charge of the content. We also needed to get something out quickly, excluding any complex build system, or development process. And Netlify proved up to the task. So how does the development process look like now?</p><p><em>Contentful change → Triggers build on netlify via webhook→ site is deployed</em></p><p><em>Code change → Triggers build on netlify via git push → site is deployed</em></p><p>In my presentation, I mentioned that it cost us 0€. This is obviously excluding development time. Which was still relatively low. An (admittedly simple) website with only one person working on it took only 2 months (design included). It’s a pretty sweet deal if you’d ask me considering:</p><p>Performance… is checked. SEO… checked. Mobile interaction… native-like. Content management… checked. Hosting and build process… quick and easy. Learning time… almost zero. SaaS cost…0€.</p><h3>Conclusion</h3><p>Why does everybody love Gatsby? There could be many reasons but I, for one, like how it helps you get the most of modern web technology (prefetching, image and font optimizations…) which are often way too complicated to handle properly in a timely manner. Now you basically have a performance engineer in your team for free. Performance is not an after-thought anymore, it’s baked in. The barriers have fallen and you have no more excuses not to make a performant website.</p><h3>Is the future of Monbanquet.fr static?</h3><p>This is only the start of the adventure for the website. What started out as a small experiment is quickly becoming a live exploration and we’re proud to be playing our part in pushing the boundaries of front-end development, be it with static rendering or with lively interactions. Our road to a complete experience is still ahead and the next chapter is definitely going to blur the line even more between static and dynamic.</p><p>For instance, we’re on our way to offer online ordering, which includes a lot of e-commerce use cases. Product pages, baskets, search and more. You can guess how this becomes a little more complicated than writing a few pages. Problems will arise regarding the maximum number of pages we can generate in a reasonable time, authentication, and mixing up static pages with dynamic content. This will help us find the limits of static generation. A limit we want to probe if we wish to create a great experience for users and developers alike.</p><p>Thanks for reading!</p><p>Thank you <a href="https://medium.com/u/15f3248b44fe">Charly Poly</a> for your review and help!</p><p>Follow our ongoing development on twitter <a href="https://twitter.com/dot_louis">@dot_louis</a> &amp; <a href="https://twitter.com/monbanquet">@monbanquet</a></p><p>The slides: <a href="https://slides.com/dotlouis/deck-13">https://slides.com/dotlouis/deck-13</a></p><p>The talk (in French 🇫🇷 subtitled in English 🇬🇧): <a href="https://www.youtube.com/watch?v=xLQ4to7Ubn0">https://www.youtube.com/watch?v=xLQ4to7Ubn0</a></p><p>#UX #UI #static #webdevelopment #gatsby #jamstack #speed #easy #react-spring #react-use-gesture #animations</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37e0db5293aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/monbanquet-fr/monbanquet-fr-and-the-great-gatsby-37e0db5293aa">Monbanquet.fr and the great Gatsby</a> was originally published in <a href="https://medium.com/monbanquet-fr">Monbanquet.fr</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Github life — Issue #2]]></title>
            <link>https://medium.com/@dot_louis/github-life-issue-2-95b119e6df66?source=rss-5e7adfc6c6e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/95b119e6df66</guid>
            <category><![CDATA[newsletter]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Louis Lafont]]></dc:creator>
            <pubDate>Mon, 23 Jul 2018 08:18:21 GMT</pubDate>
            <atom:updated>2018-07-23T08:18:21.126Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s up Github— Issue #2</h3><p>Hello people,</p><p>Here’s what I’ve dug out of Github the past week thanks to amazing folks 👏👏</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*oMBBNyv0_JNBrj6m" /></figure><p><a href="https://mybrowser.fyi/"><strong>mybrowser.fyi/</strong></a></p><p>Ok, this one is not open source, but that doesn’t mean I should not tell you about it because it’s very cool.</p><p>Here’s what <a href="https://twitter.com/hankchizljaw">Andy Bell</a> has to say about it:</p><blockquote>Getting and sharing info about someone’s browser is janky as heck, so I made a new product to change that.</blockquote><p>More info about the why and how <a href="https://hankchizljaw.io/wrote/introducing-my-browser/">here</a>.</p><p><a href="https://github.com/mjmlio/mjml"><strong>mjmlio/mjml</strong></a></p><p>“Oh, I need to get that marketing email to look good. It’s only going to take me a few minute.” said… no. one. ever.</p><p>MJML is a markup language created by Mailjet and designed to reduce the pain of coding a responsive email. You write in MJML and the engine transpiles it to email-client ready HTML.</p><p><a href="https://github.com/Munter/subfont"><strong>Munter/subfont</strong></a></p><p>This one’s a gem. As a developer, you know how much you love fonts and how much you hate them at the same time. Yes, they’re beautiful, but gosh how much can they cost you!</p><p>Put simply <em>subfont</em> is going to analyze your whole codebase and find which glyphs are used and which aren’t.</p><p>Then it will recreate the font file without all the unnecessary characters saving you precious bits of data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95b119e6df66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“The more you do, the more you do “ principle.]]></title>
            <link>https://medium.com/@dot_louis/the-more-you-do-the-more-you-do-principle-d109b0b5d6fe?source=rss-5e7adfc6c6e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d109b0b5d6fe</guid>
            <category><![CDATA[time-management]]></category>
            <category><![CDATA[inspiration]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Louis Lafont]]></dc:creator>
            <pubDate>Fri, 19 May 2017 16:07:22 GMT</pubDate>
            <atom:updated>2017-05-19T19:01:06.205Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qADFMqJjhv4wrtB3p_kq4g.jpeg" /></figure><p><em>This essay was written as a reminder and proof that you should not worry about engaging in activities even if “you don’t have time”.</em></p><p>Productivity, efficiency. Two keywords that speak to many and scare others. I won’t go into detailing why you should you do more (or not). Everyone has his or her reasons but it took me about 2 years and getting a full-time job to discover that one principle that I’ve been trying to stick to ever since I came up with it.</p><p>Right before I started working at <a href="https://monbanquet.fr/?utm_source=medium&amp;utm_campaign=the-more-you-do-principle&amp;utm_medium=article">Monbanquet</a> I was concerned about one thing: that I would not be able to do anything else. Indeed, I had never had that much work in before. Who would have thought that being a full-time employee really did mean “full time”? I certainly didn’t. It took me a few months to get to the right pace without feeling exhausted at the end of the day. Obviously I loved what I was doing, but it felt like a compromise. One can only do one thing well at a time.</p><p>That was until I met other people that didn’t seem to have the same notion of time as I did. A friend of mine was going to the swimming pool <em>before</em> work. Wait.. that seemed crazy, it meant waking up at 6 AM and going for a swim from 7 to 8. I knew I wasn’t a morning person but I did that small thing that changed everything. I sent him this text:</p><blockquote>I’ll be there with you tomorrow morning at the pool</blockquote><p>And that was it, it was settled, I could not clear off anymore, I had made a promise. Not simply to myself, like we do at the time of new year’s resolutions, because we all know it’s way too easy to escape. Instead I invited someone to be the witness and the guarantor of my promise, be it a relative, a friend, or even better a stranger. My promise had escaped from my brain and was going to be rooted by the fact that someone else than me could judge whether or not I was going to keep it.</p><p>I ended up sending this short message to my friend every 2 days. Everything followed up: I woke up, and went taking a dip in the pool every couple of days with my friend. I became better at swimming.</p><p>Take engagements. Too often we allow ourselves not to do what we ought to achieve. Don’t get me wrong, this is not a magic formula. Sometimes you won’t show up, sometimes you will still find excuses. But if all the other times you are doing what you said you would, then it’s a great start. This is the best technique I could come up with to put myself to work whenever my brain was making up excuses to avoid doing things. If you’d rather lie to yourself than to others, then put others in the loop.</p><p>There are multiple ways to do this. You could, like I did, inform a friend that you will go train with him. Or, if none of your friends is training, you could go and sign up for swimming lessons. It’s important that you put someone in the loop — in this case the swimming teacher. I know too many people that take a gym membership for a year and only go twice or so. Why ? because you’re still very much by yourself. No one is waiting for you, no one is going to be disappointed if you don’t show up.</p><p>Also, I have noticed that proximity with the people you choose to take as your promise’s witness could be a soft spot. And your best friend probably should not be your first choice. You will presumably be more relaxed about keeping your engagement than with someone you are more formal with. And if you are really serious, think about taking your engagement publicly so that the number of people expecting you to keep your promise will pressure you enough.</p><p>Now that you are committed in several ways, It’s time to make room in your calendar. When you choose to allocate some time for your activity there is only one rule you should have in mind: <a href="https://en.wikipedia.org/wiki/Parkinson%27s_law">Parkinsons’ law</a>, or the fact that</p><blockquote>work expands so as to fill the time available for its completion.</blockquote><p>If I give you 2 weeks to write an article, you will write it in 2 weeks, if I give you 2 months, you will write it in 2 months. If you plan a 1h meeting, it <strong>*will*</strong> use up the whole hour, no less, even if it could have been done in 40min.</p><p>I won’t go into detailing all the possibilities and tools that can help you here, but you can start with basic techniques such as <a href="https://getsolid.io/">setting your default calendar slot to 40min instead of 1 hour </a>, or defining objectives for the next <a href="https://www.amazon.com/12-Week-Year-Others-Months/dp/1501277332">3 months instead of the year</a>. You can also<a href="http://a.co/3kmWOD9"> wake up 45 min earl</a>ier than usual and try to <a href="https://toggl.com/">measure the time it takes you</a> to reach your goals.</p><p>The main thing to remember is not to give yourself too much space to work with (within a reasonable limit). In short: never allow yourself to be won either by comfort or overwork.</p><p>Now, whatever engagement you take, don’t take too many until you’re sure you can hold them. First finish the race, then do a better time.</p><p>Trying new things is hard. I think everybody has a degree of fear when they do what they’ve never done before. But ask yourself these two questions:</p><blockquote>What could possibly go bad ?</blockquote><blockquote>What could it bring to the table?</blockquote><p>If the answer is respectively *<strong>nothing* </strong>and <strong>*something worth to you*</strong>, then there is NO reason NOT to get involved in it.</p><p>Remember, time is not fixed. It can be stretched (👋<a href="https://en.wikipedia.org/wiki/Albert_Einstein"> Albert</a>). So either you waste it being comfortable or you set a number of engagements for yourself in a limited time. It’s a virtuous circle, when you start something it will fuel your desire to continue and to start other projects. I suggest that you try, it’s a wonderful feeling to experience.</p><p>Go on, take engagements, set time constraints, measure your progress, and then reply to this post with your experience !</p><p><em>❤ Merci </em><a href="https://www.linkedin.com/in/amel-toumi-a2123612/"><em>Amel</em></a><em> pour tes corrections, &amp; </em><a href="https://twitter.com/bonclay7"><em>Bonclay</em></a><em> pour l’inspiration❤</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d109b0b5d6fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>