<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Quentin Sonrel</title>
    <description>The latest articles on DEV Community by Quentin Sonrel (@sudiukil).</description>
    <link>https://dev.to/sudiukil</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F21206%2F83ee1f50-86c1-435c-8e18-3ad3a43a561d.png</url>
      <title>DEV Community: Quentin Sonrel</title>
      <link>https://dev.to/sudiukil</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sudiukil"/>
    <language>en</language>
    <item>
      <title>My manager made a quite stupid mistake</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Thu, 19 Sep 2019 07:46:46 +0000</pubDate>
      <link>https://dev.to/sudiukil/my-manager-made-a-quite-stupid-mistake-50kf</link>
      <guid>https://dev.to/sudiukil/my-manager-made-a-quite-stupid-mistake-50kf</guid>
      <description>&lt;p&gt;And I'm upset about it.&lt;/p&gt;

&lt;p&gt;Long story short: I'm a consultant and my company is looking to get me on a great mission but the client asked for a specific price limit and my manager just told me he mistakenly made them an offer that is just above that limit...&lt;/p&gt;

&lt;p&gt;The price limit was a pretty obvious and well stated requirement and he still missed it and that could make the client refuse the offer and I'd miss a great opportunity.&lt;/p&gt;

&lt;p&gt;I'm pretty pissed off. I've yet to see how this pans out but still...&lt;/p&gt;

&lt;p&gt;That's all, I just needed to get that off my chest, sorry for the whining.&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>How do you cope with bad code?</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Wed, 11 Sep 2019 13:25:19 +0000</pubDate>
      <link>https://dev.to/sudiukil/how-do-you-cope-with-bad-code-4fhj</link>
      <guid>https://dev.to/sudiukil/how-do-you-cope-with-bad-code-4fhj</guid>
      <description>&lt;p&gt;I don't really know how to put it without sounding like a crybaby but let's say I currently need to work on some really bad code (both in quality and structure) and I don't have to time (deadline) to fix/change/refactor anything. I end up implementing some things by writing really dirty code (because it needs to be adapted to the already existing code) and I absolutely hate it and feel bad about it.&lt;/p&gt;

&lt;p&gt;Anyway, not asking for a solution or anything, I know I'll just have to make do, it's part of the job, but for those of you who are/were in a similar situation: how do you cope with this? How do you stop caring too much about quality and just do what must be done?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Error when serving React app from sub-folder</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Tue, 27 Aug 2019 07:58:19 +0000</pubDate>
      <link>https://dev.to/sudiukil/error-when-serving-react-app-from-sub-folder-5f1o</link>
      <guid>https://dev.to/sudiukil/error-when-serving-react-app-from-sub-folder-5f1o</guid>
      <description>&lt;p&gt;Hello there!&lt;/p&gt;

&lt;p&gt;I'm trying to serve a React application from a sub-folder. It's currently a very simple SPA running on the root URL (e.g. &lt;a href="http://myserver:3000" rel="noopener noreferrer"&gt;http://myserver:3000&lt;/a&gt;) and I'd like to serve it from a sub-folder (e.g. &lt;a href="http://myserver:3000/newroot" rel="noopener noreferrer"&gt;http://myserver:3000/newroot&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;I've spent the day trying many things, most of them revolving around the use of a &lt;em&gt;"homepage"&lt;/em&gt; variable in my &lt;em&gt;package.json&lt;/em&gt;:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"cra_test"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0.1.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"private"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"homepage"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"/newroot"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;...&lt;/span&gt;&lt;span class="w"&gt;


&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I've found many people (and docs) reporting this as a (part of a) solution but when I do so and rebuild then rerun my app (&lt;code&gt;npm run build&lt;/code&gt; and &lt;code&gt;serve -s build&lt;/code&gt;) it yields nothing but a blank page with the following error in the browser console:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2F8JuQS5D.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2F8JuQS5D.png" alt="screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pardon the literal french on the first two warnings, it reads:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The script at [...] was loaded while it's MIME type (text/html) isn't a valid JavaScript MIME type&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;These two errors &lt;strong&gt;exclusively&lt;/strong&gt; appear when I use &lt;em&gt;"homepage"&lt;/em&gt; in my &lt;em&gt;package.json&lt;/em&gt;. For testing purposes, I've reproduced all those steps on a freshly created (with &lt;em&gt;create-react-app&lt;/em&gt;) app, the issue is the same, so it's most likely not due to coding errors.&lt;/p&gt;

&lt;p&gt;After hours of trial and error, I'm basically clueless as to how to solve this.&lt;/p&gt;

&lt;p&gt;I'd be grateful for any insight on the issue or for any alternative solution to the initial problem (serving the app from a sub-folder), thanks in advance!&lt;/p&gt;

</description>
      <category>help</category>
      <category>react</category>
    </item>
    <item>
      <title>Firefox 64 drops RSS support, thoughts?</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Thu, 13 Dec 2018 14:13:48 +0000</pubDate>
      <link>https://dev.to/sudiukil/firefox-64-drops-rss-support-thoughts-4hbo</link>
      <guid>https://dev.to/sudiukil/firefox-64-drops-rss-support-thoughts-4hbo</guid>
      <description>&lt;p&gt;Bonus question: do you (still) use RSS? For those of you who do, what client do you use?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Freelancing in addition of a day job</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Thu, 13 Sep 2018 12:11:09 +0000</pubDate>
      <link>https://dev.to/sudiukil/your-thoughts-on-freelancing-in-addition-of-a-day-job-32ka</link>
      <guid>https://dev.to/sudiukil/your-thoughts-on-freelancing-in-addition-of-a-day-job-32ka</guid>
      <description>&lt;p&gt;While I know it's most likely naive and utopic, I'd like to seriously consider how I can make side money with development.&lt;/p&gt;

&lt;p&gt;What are your thoughts on this?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>How many email addresses do you use?</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Thu, 13 Sep 2018 09:42:16 +0000</pubDate>
      <link>https://dev.to/sudiukil/how-many-email-addresses-do-you-use-31gn</link>
      <guid>https://dev.to/sudiukil/how-many-email-addresses-do-you-use-31gn</guid>
      <description>&lt;p&gt;I've always had multiple email addresses, right now I have 6:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One "private": let's say it's the main one, used for everything except for the things I use the other ones for.&lt;/li&gt;
&lt;li&gt;One "dev": for my dev related accounts: GitHub, Dev.to, DigitalOcean, Namecheap, that kind of things.&lt;/li&gt;
&lt;li&gt;Two for work: as a consultant I have an address at my company and one at the client's premises.&lt;/li&gt;
&lt;li&gt;A Gmail address: for Google stuff only.&lt;/li&gt;
&lt;li&gt;A "dirty" address: I don't really use it, but when I need to create an account I'm not sure to keep, I use this address, it allows me to keep the main one clean.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;... and I'll probably have a 7th one soon enough (for freelancing, my dev one wont do and I'd like to keep work-related stuff outside the private one).&lt;/p&gt;

&lt;p&gt;But I'm starting to think it's too much... hence the question:&lt;/p&gt;

&lt;p&gt;How many email addresses do you use? What for?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Usefulness of a personal website/page</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Wed, 29 Aug 2018 08:57:14 +0000</pubDate>
      <link>https://dev.to/sudiukil/usefulness-of-a-personal-websitepage-2fl5</link>
      <guid>https://dev.to/sudiukil/usefulness-of-a-personal-websitepage-2fl5</guid>
      <description>&lt;p&gt;I recently acquired &lt;a href="https://sonrel.me"&gt;sonrel.me&lt;/a&gt; thinking it could finally be the occasion to build a personal page, although I'm still not convinced of how useful it is.&lt;/p&gt;

&lt;p&gt;To those of you who have a personal website/page: would you say it's useful? Whether or not, how so?&lt;/p&gt;

&lt;p&gt;Additional questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What kind of site do you have? A simple page about you? CV-like? Portfolio? Other?&lt;/li&gt;
&lt;li&gt;What techs/stack do you use?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bonus points for links! 😉&lt;/p&gt;

&lt;p&gt;P.S.: I don't consider blogs "personal pages", it is for me a different kind of site with a totally different kind of purpose.&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>What are your thoughts on multiples package managers?</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Fri, 17 Aug 2018 09:24:43 +0000</pubDate>
      <link>https://dev.to/sudiukil/what-are-your-thoughts-on-multiples-package-managers-elh</link>
      <guid>https://dev.to/sudiukil/what-are-your-thoughts-on-multiples-package-managers-elh</guid>
      <description>&lt;p&gt;I just came to realize: I once loved Linux for one (of many) thing: the fact that &lt;strong&gt;everything&lt;/strong&gt; was installed using a centralized package manager. Compared to Windows with it's many dirty .exe it seemed like paradise when I discovered Linux back in 2009.&lt;/p&gt;

&lt;p&gt;And today I realized quite the opposite: I now use many different package managers to install softwares I use daily. Some examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I use Glances, installed with PIP&lt;/li&gt;
&lt;li&gt;I use Rubocop, installed with Gem&lt;/li&gt;
&lt;li&gt;I use TLDR, installed with NPM&lt;/li&gt;
&lt;li&gt;I just started to use exa and bat (thanks to this &lt;a href="https://dev.to/autoferrit/what-are-your-favorite-terminal-apps-or-scripts-to-use-for-productivity-404b"&gt;awesome post&lt;/a&gt;), both installed with Cargo&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not only many packages I use are installed via an external package managers, but these package managers are themselves not even installed via my distribution's packages manager! For example, Rubocop is installed via Gem... installed via RVM... installed via a script. Same for NPM (installed via NVM) and Cargo (installed via a script). The only package manager installed with my distribution's package manager is PIP.&lt;/p&gt;

&lt;p&gt;Another thing I noticed: many "modern" softwares does not even provide real Linux packages (deb or yum for example) anymore. Some of them provide only an AppImage (e.g. BitWarden) or simply a .tar.gz (e.g. Postman).&lt;/p&gt;

&lt;p&gt;I'm not especially bothered by this, except maybe for the fact that I have to manage multiple "software lists" (if I want to list them all before a reinstall for example) and that I can't just update all my packages in one command. Also it feels like all the softwares I use are scattered all over the place... good thing I'm not OCD 😀&lt;/p&gt;

&lt;p&gt;What are your thoughts on this? Do you use many package managers? Why or why not? If you are, do you see it as a good or bad thing?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Explain the difference between PATCH and PUT Like I'm Five</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Wed, 25 Jul 2018 12:57:27 +0000</pubDate>
      <link>https://dev.to/sudiukil/explain-the-difference-between-patch-and-put-like-im-five-36ib</link>
      <guid>https://dev.to/sudiukil/explain-the-difference-between-patch-and-put-like-im-five-36ib</guid>
      <description>&lt;p&gt;Secondary question: is the difference (if any) still relevant? (Asking because Ruby on Rails seems to treat both the exact same way)&lt;/p&gt;

</description>
      <category>explainlikeimfive</category>
    </item>
    <item>
      <title>Average daily coding time of a developer</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Fri, 13 Jul 2018 15:21:28 +0000</pubDate>
      <link>https://dev.to/sudiukil/average-daily-coding-time-of-a-developer-3f66</link>
      <guid>https://dev.to/sudiukil/average-daily-coding-time-of-a-developer-3f66</guid>
      <description>&lt;p&gt;I know the definition of "coding time" can vary but let's be reasonable and human here, of course coding time is more than the time spent typing actual characters in your editor. Taking a few minutes to read some doc, search the web for a function or to type a few VCS commands count as "coding". On the other hand, spending 30 minutes reading a manual does not. You get the idea.&lt;/p&gt;

&lt;p&gt;That being said, let's take a developer working 7 to 8 hours a day (regular day job for example). What would be your estimation of his daily &lt;strong&gt;actual&lt;/strong&gt; coding time? On average, of course.&lt;/p&gt;

&lt;p&gt;P.S.: This is not a question related to productivity measuring or anything, just plain curiosity.&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>How do you get started with new habits?</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Fri, 29 Jun 2018 13:32:39 +0000</pubDate>
      <link>https://dev.to/sudiukil/how-do-you-get-started-with-new-habits-1b1c</link>
      <guid>https://dev.to/sudiukil/how-do-you-get-started-with-new-habits-1b1c</guid>
      <description>&lt;p&gt;I have been quite inspired by &lt;a href="https://dev.to/ben/what-good-habits-are-you-trying-to-adopt-3hm8"&gt;this post&lt;/a&gt; lately, and it's good to see that we all are trying to adopt some new habits and be better!&lt;/p&gt;

&lt;p&gt;But on a practical point of view, how do you get started with a new habit? How do you keep up with it until it becomes normal? What's the most difficult thing for you when trying to adopt a new habit?&lt;/p&gt;

&lt;p&gt;Speaking for myself I usually try to prioritize the habits I'd like to adopt, I start with the most important one. Also I try to take on habits one at a time to avoid being too overwhelmed.&lt;br&gt;
That being said, the main issue for me is time and energy. It's not rare that the habits I try to adopt start feeling like chores and feel more daunting and exhausting than beneficial. In that case I try not to be too hard on myself and keep up until I can see positive result for habit!&lt;/p&gt;

&lt;p&gt;How about you?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Advices for starting and maintaining a blog</title>
      <dc:creator>Quentin Sonrel</dc:creator>
      <pubDate>Thu, 28 Jun 2018 14:51:44 +0000</pubDate>
      <link>https://dev.to/sudiukil/advices-for-starting-and-maintaining-a-blog-54g3</link>
      <guid>https://dev.to/sudiukil/advices-for-starting-and-maintaining-a-blog-54g3</guid>
      <description>&lt;h2&gt;
  
  
  Context
&lt;/h2&gt;

&lt;p&gt;Since a few years now I want to start writing a blog. These few past months I even started putting down some ideas for articles and I feel now is the time to get started, but the truth is: I don't quite know how!&lt;/p&gt;

&lt;p&gt;Before asking any questions, here is a (not so) small description of what I'm considering for my blog.&lt;/p&gt;

&lt;h3&gt;
  
  
  Topic
&lt;/h3&gt;

&lt;p&gt;The blog aims to be a personal blog on which I can write about things I care about.&lt;/p&gt;

&lt;p&gt;This blog isn't meant to be about one specific topic or area but most articles will most likely be tech-related (dev stuff mostly). Other topics will draw in my hobbies (cinema, video games, music) or anything else I'd like to write about.&lt;/p&gt;

&lt;p&gt;In short: 70% tech stuff, 20% hobbies, 10% others.&lt;/p&gt;

&lt;h3&gt;
  
  
  Articles/writing
&lt;/h3&gt;

&lt;p&gt;I'm considering writting different kind of articles. Some articles will just be my two cents on a subject, some others will be more like news posts (conveying specific information to the readers), and some will be more like how-tos.&lt;/p&gt;

&lt;p&gt;The length of articles will vary depending on their type and their subject. Articles will be written in english and sorted in different categories (most likely articles will be tagged and sortable by tag).&lt;/p&gt;

&lt;h3&gt;
  
  
  Layout and design
&lt;/h3&gt;

&lt;p&gt;The idea is to keep things simple and stupid: fixed header and footer and any page will either be a list of articles or an article. Navigation will be in the header, footer will contain miscellaneous informations (bio, external links, social media, etc...).&lt;/p&gt;

&lt;p&gt;The goal is to keep the layout and design minimalist to focus on the content of the articles. The text width will be fixed to facilitate reading and the blog should be mobile-friendly (responsive).&lt;/p&gt;

&lt;p&gt;Also, a classical comment section will be available on each and every article.&lt;/p&gt;

&lt;h3&gt;
  
  
  Backend/technical stuff
&lt;/h3&gt;

&lt;p&gt;This blog project isn't meant to be a technical project, meaning that once the blog is launched, it should require very little technical maintenance, 90% of the work put in the blog should go into writing articles.&lt;/p&gt;

&lt;p&gt;That being said, the tech stack should be chosen accordingly. The current favorite candidates are static sites generators like Jekyll or equivalent.&lt;/p&gt;

&lt;p&gt;Ideally, articles should be written in Markdown, to keep both the redaction and the articles layout simple.&lt;/p&gt;

&lt;h2&gt;
  
  
  Question(s)
&lt;/h2&gt;

&lt;p&gt;Now, here are the two things I'd like to ask:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your thoughts on what I just described! Anything, really.&lt;/li&gt;
&lt;li&gt;Answers or advice for these questions:

&lt;ul&gt;
&lt;li&gt;Is it a good idea to have various topics or should the blog be focused on one domain?&lt;/li&gt;
&lt;li&gt;How to find, gain and keep readership? That's not an absolute goal (meaning: I don't want to blog to gain fame), but a blog is meant to be read after all!&lt;/li&gt;
&lt;li&gt;What about social media presence? (any advices and thoughts are welcome)&lt;/li&gt;
&lt;li&gt;How to make the blog interesting? (kinda broad question, I know)&lt;/li&gt;
&lt;li&gt;What short and long term goals should I set for the blog?&lt;/li&gt;
&lt;li&gt;How to monitor traffic and readership? How to see how things are going?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Of course, if you have any other recommendation, it's more than welcome!&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
