<?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: sidemt</title>
    <description>The latest articles on DEV Community by sidemt (@siideemt).</description>
    <link>https://dev.to/siideemt</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%2F104511%2Fb275a7c2-995e-49b6-9df1-3d32f68de30b.jpg</url>
      <title>DEV Community: sidemt</title>
      <link>https://dev.to/siideemt</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/siideemt"/>
    <language>en</language>
    <item>
      <title>My first PR was merged into dev.to!</title>
      <dc:creator>sidemt</dc:creator>
      <pubDate>Sat, 17 Nov 2018 04:19:59 +0000</pubDate>
      <link>https://dev.to/siideemt/my-first-pr-was-merged-into-devto-2fd4</link>
      <guid>https://dev.to/siideemt/my-first-pr-was-merged-into-devto-2fd4</guid>
      <description>&lt;p&gt;(&lt;a href="https://ontheneworbit.blogspot.com/2018/11/devto.html" rel="noopener noreferrer"&gt;Original blog post in Japanese&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;My first PR to an open source project was successfully merged. The repo it got merged into was dev.to!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/thepracticaldev/dev.to/pull/1121"&gt;Add GitLab URL field to user profile by sidemt · Pull Request #1121 · thepracticaldev/dev.to&lt;/a&gt;&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxwujv4qrus9wwv36wpy6.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxwujv4qrus9wwv36wpy6.PNG" alt="Merged PR"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Feature I added
&lt;/h2&gt;

&lt;p&gt;I added a new field to put a link to GitLab profile on DEV profile.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Flsmie7wmfc1sv1o6dcm2.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Flsmie7wmfc1sv1o6dcm2.png" alt="GitLab link on DEV profile"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/ben"&gt;@ben&lt;/a&gt; gave me a comment on GitHub so I wrote the changelog post for it too.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/siideemt/changelog-add-gitlab-link-to-your-profile-3fn4"&gt;Changelog: Add GitLab link to your profile - DEV Community&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My thoughts
&lt;/h2&gt;

&lt;p&gt;As many of you may know dev.to uses Ruby on Rails. I have learned the basics of Rails and have made a few web apps as personal projects but had never worked on such a large project.&lt;br&gt;
But there already were similar URL fields and one of them was added recently so I could easily find out what I needed to change by looking into the PRs and codes of the other fields.&lt;/p&gt;

&lt;p&gt;The most difficult part for me was setting up the environment locally.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ruby on Rails on Windows
&lt;/h3&gt;

&lt;p&gt;I'm a Windows user.&lt;/p&gt;

&lt;p&gt;As far as I know, I can't install &lt;code&gt;rbenv&lt;/code&gt; on Windows. So I used WSL(Windows Subsystem for Linux).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The environment of Ruby (on Rails) is installed on WSL(Ubuntu)&lt;/li&gt;
&lt;li&gt;PostgreSQL is installed on Windows&lt;/li&gt;
&lt;li&gt;The code cloned from the dev.to repo is stored on Windows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is a &lt;a href="https://docs.dev.to/installation/windows/"&gt;detailed guide in dev.to's documentation&lt;/a&gt;. It helped me a lot.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where I got stuck
&lt;/h3&gt;

&lt;p&gt;I'm thinking of writing detailed posts on how I resolved these troubles later.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Initial installation before I can launch dev.to locally&lt;/li&gt;
&lt;li&gt;Couldn't sign-in on the local environment (Thanks &lt;a href="https://dev.to/ben"&gt;@andy&lt;/a&gt; for the help on this!)&lt;/li&gt;
&lt;li&gt;Sign-in started working, but instead, Rubocop had an error of Ruby version mismatch which prevented me from making a new commit (it's in the pre-commit hook)&lt;/li&gt;
&lt;li&gt;It seemed something was wrong with the Ruby versions managed by &lt;code&gt;rbenv&lt;/code&gt; but I couldn't resolve it. After investigating for a whole day I decided to reset the WSL and installed everything again (I could do this because dev.to was the only project I'm using WSL)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After going through these challenges, I finally submitted the PR.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I learned
&lt;/h3&gt;

&lt;p&gt;The code I added was 30 lines or so. 90% of my work was setting up the environment.&lt;br&gt;&lt;br&gt;
But as a code newbie who has no work experience as a developer, I learned a lot from this installation process.&lt;/p&gt;

&lt;p&gt;When you create something by yourself you would use something you know or have heard of. Going through all the errors, I had many &lt;em&gt;chances&lt;/em&gt; to deal with things I had no idea what they were.&lt;/p&gt;

&lt;p&gt;Many "things I don't even know they exist" became "things I have heard of their name" and "things I kind of know what they do". I can now guess "I might be able to do this using this..." and search for it more easily.&lt;/p&gt;

&lt;p&gt;If you are a beginner in programming, I recommend you trying to set up a development environment of a large open source project. Even if you can't eventually submit a PR, you can get an idea of what a real-world project looks like, you can practice reading the error message and searching for solutions, you can see the names of a huge number of modules which might help you in the (near) future.&lt;/p&gt;

&lt;p&gt;Actually, I was considering to submit my first PR to &lt;a href="https://github.com/freeCodeCamp/freeCodeCamp" rel="noopener noreferrer"&gt;freeCodeCamp&lt;/a&gt; at first (But I couldn't find "first timers welcome" issues available. I was lucky to find an entry-level issue here!) so I recently installed its environment too. These experience made me think that setting up a local environment of open source projects may be a good practice for beginners.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLab users!
&lt;/h2&gt;

&lt;p&gt;I use GitLab for my private repositories. It's free!&lt;/p&gt;

&lt;p&gt;If you are a GitLab user please try adding the link to GitLab on your DEV profile!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Changelog: Add GitLab link to your profile</title>
      <dc:creator>sidemt</dc:creator>
      <pubDate>Fri, 16 Nov 2018 01:42:56 +0000</pubDate>
      <link>https://dev.to/siideemt/changelog-add-gitlab-link-to-your-profile-3fn4</link>
      <guid>https://dev.to/siideemt/changelog-add-gitlab-link-to-your-profile-3fn4</guid>
      <description>&lt;p&gt;You can now put a link to GitLab profile on your DEV profile!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foud76ov9zxnpabq0ccqx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foud76ov9zxnpabq0ccqx.png" alt="GitLab link on profile" width="800" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please visit &lt;a href="https://dev.to/settings/profile"&gt;your settings&lt;/a&gt; to add the URL.&lt;/p&gt;

</description>
      <category>changelog</category>
      <category>meta</category>
    </item>
  </channel>
</rss>
