<?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: Richie Bendall</title>
    <description>The latest articles on DEV Community by Richie Bendall (@richienb).</description>
    <link>https://dev.to/richienb</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%2F90169%2Fbfb228fe-29d0-4ef8-8900-c420d6c980d5.png</url>
      <title>DEV Community: Richie Bendall</title>
      <link>https://dev.to/richienb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/richienb"/>
    <language>en</language>
    <item>
      <title>Coercing an array with semver, sorting it and then reverting it to its pre-coerce counterpart</title>
      <dc:creator>Richie Bendall</dc:creator>
      <pubDate>Thu, 19 Dec 2019 04:32:09 +0000</pubDate>
      <link>https://dev.to/richienb/coercing-an-array-with-semver-sorting-it-and-then-reverting-it-to-its-pre-coerce-counterpart-1jmb</link>
      <guid>https://dev.to/richienb/coercing-an-array-with-semver-sorting-it-and-then-reverting-it-to-its-pre-coerce-counterpart-1jmb</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pTF_nE4a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/59401233/coercing-an-array-with-semver-sorting-it-and-then-reverting-it-to-its-pre-coerc" rel="noopener noreferrer"&gt;
               Coercing an array with semver, sorting it and then reverting it to its pre-coerce counterpart
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Dec 18 '19&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 1&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/59401233/coercing-an-array-with-semver-sorting-it-and-then-reverting-it-to-its-pre-coerc" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5MiFESHx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk_a5QFN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;A problem with &lt;a href="https://www.npmjs.com/package/semver" rel="nofollow noreferrer"&gt;&lt;code&gt;semver&lt;/code&gt;&lt;/a&gt; is that its different functions return different outputs:&lt;/p&gt;
&lt;pre class="lang-js prettyprint-override"&gt;&lt;code&gt;const semver = require("semver")


semver.valid("1.0.0")
//=&amp;gt; "1.0.0"

semver.valid(" 1.0.0 ")
//=&amp;gt; null

semver.valid(" v1.0.0 ")
//=&amp;gt; null


semver.clean("1.0.0")
//=&amp;gt; "1.0.0"

semver.clean(" 1.0.0 ")
//=&amp;gt; "1.0.0"

semver.clean(" v1.0.0 ")
//=&amp;gt; null


semver.valid(semver.coerce("1.0.0"))
//=&amp;gt; "1.0.0"

semver.valid(semver.coerce(" 1.0.0 "))
//=&amp;gt; "1.0.0"&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/59401233/coercing-an-array-with-semver-sorting-it-and-then-reverting-it-to-its-pre-coerc" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Help break Quilt!</title>
      <dc:creator>Richie Bendall</dc:creator>
      <pubDate>Thu, 03 Jan 2019 13:45:11 +0000</pubDate>
      <link>https://dev.to/richienb/help-break-quilt-299o</link>
      <guid>https://dev.to/richienb/help-break-quilt-299o</guid>
      <description>&lt;p&gt;I need your help to try to break my programming library, &lt;a href="https://github.com/Richienb/quilt"&gt;Quilt&lt;/a&gt; in order to expose bugs before it is released.&lt;/p&gt;

&lt;p&gt;To do so, simply execute any function in the library and try to make it perform something unexpected.&lt;/p&gt;

&lt;p&gt;For example, if &lt;code&gt;add(True, True)&lt;/code&gt; results in &lt;code&gt;2&lt;/code&gt;, then that is unexpected.&lt;/p&gt;

&lt;p&gt;Once you've found anything, simply &lt;a href="https://github.com/Richienb/quilt/issues/new?template=bug_report.md"&gt;create a shiny new bug report&lt;/a&gt; in the handy-dandy issue tracker found &lt;a href="https://github.com/Richienb/quilt/issues"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>help</category>
    </item>
    <item>
      <title>What should I call my Python library?</title>
      <dc:creator>Richie Bendall</dc:creator>
      <pubDate>Sat, 22 Dec 2018 04:24:11 +0000</pubDate>
      <link>https://dev.to/richienb/what-should-i-call-my-python-library-5dc6</link>
      <guid>https://dev.to/richienb/what-should-i-call-my-python-library-5dc6</guid>
      <description>&lt;p&gt;I've created a Python library that contains many useful functions. At the moment, it's called Quilt but I've realised that such name has already been used in other GNU software. That brings me to the Python thread of dev.to to ask the community for a new name. By the way, the GitHub repository is &lt;a href="https://github.com/Richienb/quilt"&gt;here&lt;/a&gt; and the documentation is &lt;a href="https://quilt-lang.richie-bendall.ml/"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>github</category>
      <category>library</category>
      <category>contest</category>
    </item>
    <item>
      <title>Have any useful Python functions? Contribute them to Quilt!</title>
      <dc:creator>Richie Bendall</dc:creator>
      <pubDate>Mon, 17 Dec 2018 04:21:48 +0000</pubDate>
      <link>https://dev.to/richienb/have-any-useful-python-functions-contribute-them-to-quilt-181i</link>
      <guid>https://dev.to/richienb/have-any-useful-python-functions-contribute-them-to-quilt-181i</guid>
      <description>&lt;p&gt;Do you have any useful Python functions? Consider contributing them to &lt;a href="https://github.com/Richienb/quilt/blob/master/src/quilt_lang/__init__.py"&gt;Quilt&lt;/a&gt;!&lt;/p&gt;

</description>
      <category>python</category>
    </item>
    <item>
      <title>I'm making a new Python library that lets you write less code to do more things</title>
      <dc:creator>Richie Bendall</dc:creator>
      <pubDate>Thu, 22 Nov 2018 08:09:15 +0000</pubDate>
      <link>https://dev.to/richienb/im-making-a-new-python-library-that-lets-you-write-less-code-to-do-more-things-ec7</link>
      <guid>https://dev.to/richienb/im-making-a-new-python-library-that-lets-you-write-less-code-to-do-more-things-ec7</guid>
      <description>&lt;p&gt;I'm making a new Python library that lets you write less code to do more things.&lt;br&gt;
You can find it &lt;a href="https://richienb.github.io/quilt" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
