<?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 Emmanuel Loisance on Medium]]></title>
        <description><![CDATA[Stories by Emmanuel Loisance on Medium]]></description>
        <link>https://medium.com/@eloisance?source=rss-f91558f822cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fI7Aud7nQZ5SJB1i7LLkDg.png</url>
            <title>Stories by Emmanuel Loisance on Medium</title>
            <link>https://medium.com/@eloisance?source=rss-f91558f822cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:42:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@eloisance/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 I completely rebuilt my portfolio website with the help of AI]]></title>
            <link>https://medium.com/@eloisance/how-i-completely-rebuilt-my-portfolio-website-with-the-help-of-ai-f48c992945c8?source=rss-f91558f822cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f48c992945c8</guid>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Emmanuel Loisance]]></dc:creator>
            <pubDate>Thu, 11 Dec 2025 17:31:46 GMT</pubDate>
            <atom:updated>2025-12-11T17:31:46.984Z</atom:updated>
            <content:encoded><![CDATA[<p>For context I’m an Android developer for over 7 years now so I haven’t really developed for web or setup a server for a long time but I wanted to rebuild my online portfolio website as it started to look very old. So I decided to redo everything from scratch. Build something simple but clean with the help of AI. I also took the opportunity to clean up my OVH setup that was there since 2014.</p><ul><li>Before : An old OVH Web Hosting plan hosting a dying WordPress site (broken database, unsupported PHP) built in 2014, plus a VPS that had been sitting unused since 2017.</li><li>After : A modern, fast website built with React and Next.js, running on a brand-new Ubuntu 24.04 LTS installation on my VPS.</li><li>Result : You can see it live at <a href="https://emmanuel-loisance.fr/">https://emmanuel-loisance.fr/</a></li></ul><figure><img alt="Showing a computer on a desk displaying some lines of code, in a cartoon way." src="https://cdn-images-1.medium.com/max/1024/1*V7THONwI3-CSQ_r16-fZgg.png" /><figcaption>Generated by our friend Nano Banana</figcaption></figure><p>I used Google AI studio to build the new portfolio, it was easy and fast to create this React application. As my knowledge on the server setup is a bit rusty, I used Gemini a lot to help me understand and remember the current setup I had and how to migrate it to a more up-to-date version of it. So while AI Studio was building the new portfolio based on my different prompts to transform it as I wanted it to be, I was manually doing other tasks on the OVH console and by SSH inside the VPS to finalise the setup.</p><p>I also completely erased the previous DNS configuration for both domain names as they contained some entries from the old setup and added only one A entry for the basic domain and another A entry for the www version of the domain. One exception was the TXT entry verification for the Google Search Console that I kept from the previous configuration.</p><p>Quickly setting up everything needed :</p><ul><li>nginx server with a simple and clean configuration</li><li>SSL with Certbot for simplicity</li><li>redirection between the .com and .fr</li></ul><p>The fact that all the context about my revamp project was in one Gemini conversation was extremely helpful as Gemini kept giving the right steps to follow and providing commands to execute and configuration for the server but also explanation on how it works which is a good reminder. I remember how painful it was to do it 10 years ago when I had to find each information one by one on my own, the gain of time is huge.</p><p>To be fair it is probably easier this time because I already did it once before even if it was a long time ago but still it was fast !</p><p>So I built the React part within Google AI Studio then exported those files and moved them into my Next.js local project in order to build it and extract those static files, put them in the VPS running with nginx and voilà !</p><p>The project is on my Github at : <a href="https://github.com/eloisance/portfolio">https://github.com/eloisance/portfolio</a></p><figure><img alt="Showing some technology references inside bubbles, in a cartoon way" src="https://cdn-images-1.medium.com/max/1024/1*SqwIqr1pPRhw6KkeiRc8DA.png" /><figcaption>Generated by our friend Nano Banana</figcaption></figure><p>So to recap.. within a few hours only I was able to rebuild entirely my portfolio website, taking advantage of AI to quickly build a new website with a technology that I don’t know very well and assist me to update to a more modern VPS server and clean up the setup around it.</p><p>More important, I really enjoyed learning (again) new stuff, doing some SSH commands and reusing old tools like FileZilla, lot of fun !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f48c992945c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android — AlertDialog with custom layout and transparency]]></title>
            <link>https://medium.com/@eloisance/android-alertdialog-with-custom-layout-and-transparency-d95ca8b5e712?source=rss-f91558f822cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/d95ca8b5e712</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[alert-dialog-android]]></category>
            <dc:creator><![CDATA[Emmanuel Loisance]]></dc:creator>
            <pubDate>Wed, 06 May 2020 19:36:56 GMT</pubDate>
            <atom:updated>2020-05-06T19:36:56.487Z</atom:updated>
            <content:encoded><![CDATA[<h3>Android — AlertDialog with custom layout and transparency</h3><p>The default AlertDialog is not the most beautiful component of Android but we can use custom view to modify it&#39;s appearance and behavior ! In this quick tutorial we&#39;ll see how to create an awesome AlertDialog window. Let&#39;s go !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zu46XWJGA1-pW9UFMSyqvg.jpeg" /></figure><blockquote>We&#39;ll make the yellow one here but you can easily adapt it to fit with your needs.</blockquote><p>Step 1 — Create our custom AlertDialog. Nothing special here except that we need to use setView() to pass our custom layout. Also we specify custom style as second argument to the Builder, we&#39;ll need it later.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/983ad20c9b166ad816164b4a6ad9f18f/href">https://medium.com/media/983ad20c9b166ad816164b4a6ad9f18f/href</a></iframe><p>Step 2 — The layout. The key here is to set the CardView&#39;s marginTop as half of the ImageView&#39;s height. Also place the ImageView after the CardView in the layout to have ImageView above content.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/02713f6efc6129a788a771a81d2e09f9/href">https://medium.com/media/02713f6efc6129a788a771a81d2e09f9/href</a></iframe><p>Step 3 — The button and circular icon. You can adapt them as you want.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c2f4adbb8f8afc8c3cb34ec2799f78d/href">https://medium.com/media/0c2f4adbb8f8afc8c3cb34ec2799f78d/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6aa8fac9a9f9e5785c01dec29de3deef/href">https://medium.com/media/6aa8fac9a9f9e5785c01dec29de3deef/href</a></iframe><p>Step 4 — A bit of style, all the magic comes from here ! To get this effect of the circular icon above the content with transparency we have to set the &quot;android:windowBackground&quot; attribute to transparent.</p><p>You can also, if you want reduce the minimal width of the window with &quot;android:windowMinWidthMinor&quot; attribute. From documentation : &quot;<em>The minimum width the window is allowed to be, along the minor axis of the screen. That is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.</em>&quot;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa114c14e1e822ca605b27d6f2d7898b/href">https://medium.com/media/fa114c14e1e822ca605b27d6f2d7898b/href</a></iframe><p>Feel free to comment if you have any tips !</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d95ca8b5e712" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android — Simple cloud animation]]></title>
            <link>https://medium.com/@eloisance/android-simple-cloud-animation-78805d038109?source=rss-f91558f822cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/78805d038109</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[android-animations]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Emmanuel Loisance]]></dc:creator>
            <pubDate>Sat, 04 Apr 2020 18:11:31 GMT</pubDate>
            <atom:updated>2020-05-02T18:36:20.441Z</atom:updated>
            <content:encoded><![CDATA[<h3>Android — Simple cloud animation</h3><p>Today we are going to create a simple Android cloud animation that you can use anywhere you want, here we’ll use it to create a beautiful login screen.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fe7nZjBZ5Uq4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3De7nZjBZ5Uq4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fe7nZjBZ5Uq4%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/6e3722f35d51e223d8b989a1c903ca22/href">https://medium.com/media/6e3722f35d51e223d8b989a1c903ca22/href</a></iframe><p>The idea is to create programmatically multiple ImageView that represent clouds and customize each cloud with random numbers to get different size, opacity, speed and position. Add each of them to a ConstraintLayout container and finally we&#39;ll use ObjectAnimator with infinite repeat mode to get our cloud animation. So let&#39;s get started !</p><blockquote>Note : cloud will start on the right of the screen and move to the left.</blockquote><p>Step 1 — First we need to create an ImageView programmatically. Lot of random numbers so that each cloud is different. You can use any vector you want for the cloud drawable.</p><p>Change the start position with translationX so not all cloud will start at the same position. Positive number will make the cloud out of the screen (on the right) and negative number on the left of original position so something in middle of the screen.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/da27ca61c02ee53c2c949c35c87eb129/href">https://medium.com/media/da27ca61c02ee53c2c949c35c87eb129/href</a></iframe><p>Step 2 — Then we need to animate the ImageView. With the <a href="https://developer.android.com/guide/topics/graphics/prop-animation#object-animator">ObjectAnimator</a> we can easily moving our ImageView we just need to specify the property that is going to be animated (translationX) and the value that we want to apply.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a08269bfe43ceae2c7c5eb40149b080e/href">https://medium.com/media/a08269bfe43ceae2c7c5eb40149b080e/href</a></iframe><p>Step 3 — Finally we loop to get as many cloud we want and for each we set constraints, vertical bias and then add it to the parent layout. At the end we just have to call the animateCloud and we&#39;re done.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/84ef131deafd379a575431ebc4c7a941/href">https://medium.com/media/84ef131deafd379a575431ebc4c7a941/href</a></iframe><p>The XML part for the screen login, you can adapt it as you want.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/74e48a741a8f93b70baf6f37826ac198/href">https://medium.com/media/74e48a741a8f93b70baf6f37826ac198/href</a></iframe><p>You can find the cloud vector <a href="https://www.svgrepo.com/svg/202675/clouds-weather">here</a> if needed.</p><p>There’s probably some improvements that can be done or another way to do it ? I personally don&#39;t like the very beginning when all clouds pop and some are in the middle of the screen, but if they all start on the right, area will be empty for a moment.. Also, maybe avoid random numbers and use fix values ​​for clouds would done a smoother experience.</p><p>Feedback appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78805d038109" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>