<?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: Doron Chapnitsky</title>
    <description>The latest articles on DEV Community by Doron Chapnitsky (@chapnitsky).</description>
    <link>https://dev.to/chapnitsky</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%2F1041906%2F3248956f-5805-48c9-9c95-bda8817f4a6d.png</url>
      <title>DEV Community: Doron Chapnitsky</title>
      <link>https://dev.to/chapnitsky</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chapnitsky"/>
    <language>en</language>
    <item>
      <title>My new calculator repository</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Tue, 20 Jun 2023 21:36:55 +0000</pubDate>
      <link>https://dev.to/chapnitsky/my-new-calculator-repository-14d</link>
      <guid>https://dev.to/chapnitsky/my-new-calculator-repository-14d</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;As part of my OSDC course, taught by &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; , &lt;br&gt;
I decided today to create a new repository in the theme of binary calculator and I called it &lt;a href="https://github.com/chapnitsky/pyBinary"&gt;pyBinary&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I also added a basic pytest CI to it aswell.&lt;br&gt;
The calculator is visualizing the bits results in each operation and finally the total operations result.&lt;/p&gt;

&lt;p&gt;I would like to add more unique functionality to it soon!&lt;/p&gt;

&lt;p&gt;Have a great day! &lt;/p&gt;

</description>
      <category>python</category>
      <category>github</category>
      <category>programming</category>
      <category>osdc</category>
    </item>
    <item>
      <title>Advanced MX2 UT</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Mon, 12 Jun 2023 10:14:00 +0000</pubDate>
      <link>https://dev.to/chapnitsky/advanced-mx2-ut-3ii5</link>
      <guid>https://dev.to/chapnitsky/advanced-mx2-ut-3ii5</guid>
      <description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;After my last assignment, which is to create a CI github workflow, I started to work on my latest assignment. My latest assignment is to add a more complex and advanced UT to the pymx2 repository via this &lt;a href="https://github.com/vpaeder/pymx2/pull/4"&gt;PR&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Our last session with Gabor, we learned about PyTest and all of it's functionalities including handling exceptions.&lt;/p&gt;

&lt;p&gt;I like python in general since it is very simple to understand and to implement. I have some experience with UT in my current job position, so it was pretty easy and cool :)&lt;/p&gt;

&lt;p&gt;I added a UT regarding the MX2 stop bits (that can only be 1 or 2 integers). So I messed it up with some different object types, including None of course. I had a very fun time doing this. To check that the UT are OK I run the command:&lt;br&gt;
&lt;code&gt;python -m unittest&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Thank you and stay tuned for the next cool assignment!&lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; &lt;/p&gt;

</description>
      <category>unittest</category>
      <category>python</category>
      <category>osdc</category>
      <category>git</category>
    </item>
    <item>
      <title>Github actions are awesome!</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Sat, 13 May 2023 16:09:28 +0000</pubDate>
      <link>https://dev.to/chapnitsky/github-actions-are-awesome-1i7p</link>
      <guid>https://dev.to/chapnitsky/github-actions-are-awesome-1i7p</guid>
      <description>&lt;p&gt;Today, Saturday, I had a lot of free time to explore github a little more. I was searching for a python repository that has tests to run, but without the CI to do it automatically.&lt;/p&gt;

&lt;p&gt;I found &lt;a href="https://github.com/vpaeder/pymx2"&gt;this&lt;/a&gt; cool python driver repository which uses the computer motherboard serial ports (HDMI and such). It didn't had any CI workflow so I decided to make one for it!&lt;/p&gt;

&lt;p&gt;I saw that it requires python version of 3.9 or higher and that's it! No pytest or poetry needed, simple as that.&lt;/p&gt;

&lt;p&gt;I thought that it will be a great idea to make sure the tests will run once a week, at Sunday midnight. By that way, they can check the CI results once they wake at Monday. Since it needs python version of 3.9 or higher, I gathered the versions of 3.9, 3.10 and 3.11. It is important to check that it will also work on different type of operating systems so I chose linux ubuntu, macOS and Windows. Ofcourse it will run their latest versions, so nothing will surprise on new releases.&lt;/p&gt;

&lt;p&gt;Once I finished writing the YML script, I sent a &lt;a href="https://github.com/vpaeder/pymx2/pull/3"&gt;PR&lt;/a&gt; to the repository, which I forked and tested it. I really hope he likes and approves it!&lt;br&gt;
Github has a lot of cool features that makes our lives easier.&lt;br&gt;
Can't wait to learn more, thank you &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; for this useful information!&lt;/p&gt;

</description>
      <category>osdc</category>
      <category>ci</category>
      <category>github</category>
      <category>python</category>
    </item>
    <item>
      <title>Git bash commands</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Mon, 08 May 2023 20:00:26 +0000</pubDate>
      <link>https://dev.to/chapnitsky/git-bash-commands-dga</link>
      <guid>https://dev.to/chapnitsky/git-bash-commands-dga</guid>
      <description>&lt;p&gt;My recent &lt;a href="https://github.com/kantoniko/ladino-pages/pull/1"&gt;contribution&lt;/a&gt; on github is to the &lt;a href="https://github.com/kantoniko"&gt;kantoniko&lt;/a&gt; project. &lt;/p&gt;

&lt;p&gt;I wanted to help so I looked up some of the open issues that are not resolved yet. I saw a cool, urgent labeled, request about adding the name of the contributors of the kantoniko project, to the website about page. I decided to explore the project and to setup the environment locally.&lt;/p&gt;

&lt;p&gt;At first I was confused by the many repositories that the project has. I was looking for the about file so I can modify it. After a long search I used our course slack channel and got the file's location by the help of &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;The workflow went as described:&lt;/p&gt;

&lt;p&gt;I opened my git bash and created a new folder and entered it using cd command:&lt;br&gt;
&lt;code&gt;mkdir kantoniko&lt;/code&gt;&lt;br&gt;
&lt;code&gt;cd kantoniko&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Cloned the repository that is responsible for the website pages and entered it using cd command:&lt;br&gt;
&lt;code&gt;git clone https://github.com/chapnitsky/ladino-pages.git&lt;/code&gt;&lt;br&gt;
&lt;code&gt;cd ladino-pages/&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I noticed that the about page is in English only so I entered the en directory and listed all of the files in it:&lt;br&gt;
&lt;code&gt;cd en/&lt;/code&gt;&lt;br&gt;
&lt;code&gt;ll&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I found out that the file I needed to modify is called about.md, and decided to edit it via vi command:&lt;br&gt;
&lt;code&gt;vi about.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;While in the vi editor, I pressed INSERT so I could enter new data to the file, the contributors names and their profile's url. When I finished the modification, I wanted to save the file with all of the changes and exit the editor. You can do that by pressing ESC button and using this sytax, that means write and quit:&lt;br&gt;
&lt;code&gt;:wq&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I wanted to see only the changes so I used the diff command:&lt;br&gt;
&lt;code&gt;git diff&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Once I was satisfied with the results I added and commited the changes:&lt;br&gt;
&lt;code&gt;git add about.md&lt;/code&gt;&lt;br&gt;
&lt;code&gt;git commit -m "Added contributors to the 'about' page"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After commiting, I pushed it to my forked repository by:&lt;br&gt;
&lt;code&gt;git push&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;By the end, I opened a PR so the changes will be added to the project as needed.&lt;/p&gt;

&lt;p&gt;It felt great using this kind of technic without using github GUI.&lt;br&gt;
I hope I contributed a lot and that the kantoniko project is getting more progress!  &lt;/p&gt;

</description>
      <category>vim</category>
      <category>osdc</category>
      <category>html</category>
      <category>github</category>
    </item>
    <item>
      <title>Loading repositories to docker and testing them!</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Tue, 02 May 2023 12:30:30 +0000</pubDate>
      <link>https://dev.to/chapnitsky/loading-repositories-to-docker-and-testing-them-1p56</link>
      <guid>https://dev.to/chapnitsky/loading-repositories-to-docker-and-testing-them-1p56</guid>
      <description>&lt;p&gt;My code-maven mentor: &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Today I got hands-on experience with docker and containers.&lt;br&gt;
I have downloaded the docker desktop program so that it will be visually more clearer. &lt;/p&gt;

&lt;p&gt;I run a container for each repository that I found interesting in Python coding language. For more than 5 repositories, I run their tests, sent PRs to update their README file to have much more clearer instructions so that users who wants to contribute and check their tests, will have a better understanding.&lt;/p&gt;

&lt;p&gt;You can feel the fast and reliable containers running, you stop them at any time and start them at any time. It is way much better and faster than using VmWare.&lt;/p&gt;

&lt;p&gt;The repositories that I tested with docker are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/sdispater/tomlkit"&gt;tomlkit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/skit-ai/dialogy"&gt;dialogy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/jjmccollum/teiphy"&gt;teiphy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/mreiche/python-automation-framework"&gt;python-automation-framework&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/petertodd/python-bitcoinlib"&gt;python-bitcoinlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Arkiralor/overloaded_iterables"&gt;overloaded_iterables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/pawelkn/xapi-python"&gt;xapi-python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Gr1N/nats-python"&gt;nats-python&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have learned a lot about how to use docker and containers, some libraries that are known to be required to run the basic operations. Those libraries are poetry and pytest (for now).&lt;/p&gt;

&lt;p&gt;After using these repositories in their containers, I decided to send PRs to some of them, making their README much more clearer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/sdispater/tomlkit/pull/287"&gt;tomlkit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/skit-ai/dialogy/pull/195"&gt;dialogy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/jjmccollum/teiphy/pull/71"&gt;teiphy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/pawelkn/xapi-python/pull/1"&gt;xapi-python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Gr1N/nats-python/pull/27"&gt;nats-python&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is my contribution for today,&lt;br&gt;
Thank you everyone :)&lt;/p&gt;

</description>
      <category>osdc</category>
      <category>docker</category>
      <category>python</category>
    </item>
    <item>
      <title>My latest actions</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Mon, 17 Apr 2023 17:37:30 +0000</pubDate>
      <link>https://dev.to/chapnitsky/my-latest-actions-2980</link>
      <guid>https://dev.to/chapnitsky/my-latest-actions-2980</guid>
      <description>&lt;p&gt;Hello everyone!&lt;br&gt;
After a long day at work, I wanted to checkout some of github cool repositories. The one repository that had my attention is about Deep Learning &lt;a href="https://github.com/huggingface/transformers"&gt;transformers&lt;/a&gt;.&lt;br&gt;
I have decided to fork the repository and give it a try!&lt;br&gt;
Also, I contributed to the &lt;a href="https://github.com/kantoniko/ladino-diksionaryo-code/pull/39"&gt;Kantoniko&lt;/a&gt; repository (Learn Ladino) since I saw some examples that are not translated. Well, not anymore! They are now translated to english as well. &lt;br&gt;
Thank you and have a great week!&lt;/p&gt;

&lt;p&gt;Learning more every class run by &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>osdc</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Contribution to Github python repositories</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Sat, 01 Apr 2023 13:13:27 +0000</pubDate>
      <link>https://dev.to/chapnitsky/contribution-to-github-python-repositories-42h2</link>
      <guid>https://dev.to/chapnitsky/contribution-to-github-python-repositories-42h2</guid>
      <description>&lt;p&gt;I have contributed to the following reps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/dev-sushi/sushi/pull/32"&gt;dev-sushi/sushi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/randovania/open-dread-rando/pull/202"&gt;randovania/open-dread-rando&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/okosioc/pyseed/pull/1"&gt;okosioc/pyseed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/domschl/ml-indie-tools/pull/2"&gt;domschl/ml-indie-tools&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nicc777/py-animus/pull/59"&gt;nicc777/py-animus&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Added their license to the metadata file to appear in the website pypi.org&lt;/p&gt;

&lt;p&gt;It is a part of a OSDC course, run by &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; &lt;/p&gt;

</description>
      <category>osdc</category>
      <category>python</category>
      <category>pypi</category>
      <category>github</category>
    </item>
    <item>
      <title>Visit my Github Page website!</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Sat, 25 Mar 2023 10:28:36 +0000</pubDate>
      <link>https://dev.to/chapnitsky/visit-my-github-page-website-3ibb</link>
      <guid>https://dev.to/chapnitsky/visit-my-github-page-website-3ibb</guid>
      <description>&lt;p&gt;I have just created my brand new github page!&lt;br&gt;
Anyone can visit it and share its opinion and impressions.&lt;br&gt;
I believe that y'all will like it :)&lt;/p&gt;

</description>
      <category>osdc</category>
      <category>github</category>
      <category>git</category>
    </item>
    <item>
      <title>YAML and Git</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Sat, 18 Mar 2023 18:26:05 +0000</pubDate>
      <link>https://dev.to/chapnitsky/yaml-and-git-554k</link>
      <guid>https://dev.to/chapnitsky/yaml-and-git-554k</guid>
      <description>&lt;p&gt;I visited organizations repositories and created YAML files to be seen in an HTML page. These are global and known organizations such as: Nvidia, Intel and more. I Followed a couple of them and reviewed their coding language variety.&lt;/p&gt;

</description>
      <category>osdc</category>
      <category>yaml</category>
      <category>git</category>
    </item>
    <item>
      <title>Assignment 1 - Getting started</title>
      <dc:creator>Doron Chapnitsky</dc:creator>
      <pubDate>Wed, 15 Mar 2023 09:20:26 +0000</pubDate>
      <link>https://dev.to/chapnitsky/assignment-1-getting-started-46b1</link>
      <guid>https://dev.to/chapnitsky/assignment-1-getting-started-46b1</guid>
      <description>&lt;p&gt;As part of OSDC course, I learn how to use new communication tools at Jerusalem College of Engineering as M.sc Software Engineering student.&lt;/p&gt;

&lt;p&gt;The course will be guided by &lt;a class="mentioned-user" href="https://dev.to/szabgab"&gt;@szabgab&lt;/a&gt; &lt;br&gt;
We can do it!&lt;/p&gt;

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