<?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: Reagan Scofield</title>
    <description>The latest articles on DEV Community by Reagan Scofield (@reaganscofield).</description>
    <link>https://dev.to/reaganscofield</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%2F187302%2F8650e0cc-7c79-4a4c-96f3-e98a1a2b4b9b.jpg</url>
      <title>DEV Community: Reagan Scofield</title>
      <link>https://dev.to/reaganscofield</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/reaganscofield"/>
    <language>en</language>
    <item>
      <title>Interesting Python Tools and Libraries</title>
      <dc:creator>Reagan Scofield</dc:creator>
      <pubDate>Fri, 11 Jun 2021 04:53:28 +0000</pubDate>
      <link>https://dev.to/reaganscofield/interesting-python-tools-and-libraries-5105</link>
      <guid>https://dev.to/reaganscofield/interesting-python-tools-and-libraries-5105</guid>
      <description>&lt;p&gt;&lt;strong&gt;ElectricEye&lt;/strong&gt;&lt;br&gt;
Continuously monitor your AWS services for configurations that can lead to degradation of confidentiality, integrity or availability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gramformer&lt;/strong&gt;&lt;br&gt;
A framework for detecting, highlighting and correcting grammatical errors on natural language text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WholeFoodsFrugality&lt;/strong&gt;&lt;br&gt;
A Tool to Find Sales at Grocery Chains.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PyTCP&lt;/strong&gt;&lt;br&gt;
PyTCP is an attempt to create a fully functional TCP/IP stack in Python. It supports TCP stream based transport with reliable packet delivery based on sliding window mechanism and basic congestion control. It also supports IPv6/ICMPv6 protocols with SLAAC address configuration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Graph4NLP&lt;/strong&gt;&lt;br&gt;
Graph4nlp is the library for the easy use of Graph Neural Networks for NLP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Openspeech&lt;/strong&gt;&lt;br&gt;
Open-Source Toolkit for End-to-End Speech Recognition leveraging PyTorch-Lightning and Hydra.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HyperLib&lt;/strong&gt;&lt;br&gt;
Library that contains implementations of machine learning components in the hyperbolic space.&lt;/p&gt;

</description>
      <category>python</category>
    </item>
    <item>
      <title>Converting DMS (Degrees, Minutes, Seconds) to Decimal and Vice Versa</title>
      <dc:creator>Reagan Scofield</dc:creator>
      <pubDate>Sat, 22 May 2021 13:12:45 +0000</pubDate>
      <link>https://dev.to/reaganscofield/converting-dms-to-decimal-decimal-to-dms-3dj4</link>
      <guid>https://dev.to/reaganscofield/converting-dms-to-decimal-decimal-to-dms-3dj4</guid>
      <description>&lt;p&gt;Whenever I search for an NPM package that meets my requirements and come up empty-handed, I take it upon myself to write and publish a solution. Last week, I was working on a feature that required converting Degrees, Minutes, and Seconds (DMS) to Decimal format and vice versa. Since I couldn't find a suitable existing tool, I developed my own package to handle both cases.&lt;/p&gt;

&lt;p&gt;The Dms2Decimal function accepts four parameters: degrees, minutes, and seconds as integers, and direction as a string. It returns 0 if the input is invalid and the calculated decimal value if successful.&lt;/p&gt;

&lt;p&gt;The Decimal2Dms function takes two parameters: a decimal float and a type string (either "latitude" or "longitude"). It returns null if not found or a formatted string (e.g., 23°34'5"N) upon success.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementation&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;    &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Decimal2DMS&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;DMS2Decimal&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;dms-to-decimal&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;// Converting Degrees Minutes Seconds to Decimal &lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;degree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;46&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;minutes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;59&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;seconds&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;direction&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;N&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;converDms2Decimal&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;DMS2Decimal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;degree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;minutes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;seconds&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;direction&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;converDms2Decimal&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// Output: 46.984722222222224&lt;/span&gt;

    &lt;span class="c1"&gt;// Converting Decimal to Degrees Minutes Sesonds&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;longitude&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;decimal&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;122.90222222222222&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;converDecimal2DMS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Decimal2DMS&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;decimal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;type&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;converDecimal2DMS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// Output: 122°54'7"W&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;here are the link to the npm package and I am busy with Python.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/dms-to-decimal" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/dms-to-decimal&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>node</category>
      <category>react</category>
      <category>npm</category>
    </item>
  </channel>
</rss>
