<?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: Tom Browder</title>
    <description>The latest articles on DEV Community by Tom Browder (@tbrowder).</description>
    <link>https://dev.to/tbrowder</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%2F940334%2Ff7dfc02c-7f81-4abc-bbe1-d9be9de1c473.png</url>
      <title>DEV Community: Tom Browder</title>
      <link>https://dev.to/tbrowder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tbrowder"/>
    <language>en</language>
    <item>
      <title>Publishing Raku modules</title>
      <dc:creator>Tom Browder</dc:creator>
      <pubDate>Tue, 31 Oct 2023 19:01:31 +0000</pubDate>
      <link>https://dev.to/tbrowder/publishing-raku-modules-1onk</link>
      <guid>https://dev.to/tbrowder/publishing-raku-modules-1onk</guid>
      <description>&lt;p&gt;As a long-time Raku user and author of several published modules, I have learned a good bit from my own experience and from using my Raku friends' modules and I recommend the following steps be considered for new authors. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Create a public account on Github&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If possible, make it a name you use as a handle on IRC #raku and your &lt;em&gt;auth&lt;/em&gt; name for the &lt;em&gt;Zef&lt;/em&gt; module archiving system (similar, but more secure than Perl's &lt;em&gt;CPAN&lt;/em&gt;).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Create a &lt;em&gt;fez&lt;/em&gt; account&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is the key-generation system protecting your user name and Zef &lt;em&gt;auth&lt;/em&gt; name. It is required in order to publish to the &lt;em&gt;Zef&lt;/em&gt; archival system.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Create the module on your local host&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You may use &lt;em&gt;mi6&lt;/em&gt; (from module App::Mi6), but for extra credit, and highly recommended, use my module &lt;strong&gt;Mi6::Helper&lt;/strong&gt;'s binary &lt;strong&gt;mi6-helper&lt;/strong&gt;. It encapsulates many of my preferences I consider to be "best practices," and it greatly eases the boring work of starting a module. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Think carefully about the module's name&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Perl used to have a recommended standard name hierarchy, but the Raku community has been much more indifferent about that. My first module was a port of a Perl module I needed for a personal Perl project I wanted to port to Raku: &lt;strong&gt;Geo::Ellipsoid&lt;/strong&gt;. When I started my first Raku module from scratch, I asked the community for guidance but didn't get many firm suggestions. I learned later to consider a new module's name in a combination of my opinions melded with existing names of other authors' modules. As our module &lt;em&gt;ecosystem&lt;/em&gt; has evolved, it is possible, but a bit rude in my opinion, to use another author's module name, but the system can disambiguate the two by the respective authors' &lt;em&gt;auth&lt;/em&gt; names. For example, one of my better modules can be referred to as &lt;em&gt;Date::Names:ver&amp;lt;2.2.4&amp;gt;:auth&amp;lt;zef:tbrowder&amp;gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I also learned, as I worked on a new module, the original name often needed changing as the design zeroed in on its final form. Developing on Github makes it easy to change names prior to publishing a module for the community's use in its &lt;em&gt;fez&lt;/em&gt; archive. After that, any name change is more involved and its popularity needs to be considered. &lt;/p&gt;

&lt;p&gt;One can see the list of published modules by visiting the site at &lt;a href="https://raku.land"&gt;https://Raku.land&lt;/a&gt;. The site does have some issues, but they are slowly being worked. (Note the &lt;strong&gt;Modules&lt;/strong&gt; search window on &lt;a href="https://raku.org"&gt;Raku.org&lt;/a&gt; which links to &lt;a href="https://modules.raku.org"&gt;Module.raku.org&lt;/a&gt; is not maintained and should be ignored.)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Publishing useful modules is fun and rewarding. The Raku community is a warm and welcoming one. Please visit and we hope you will learn to love the language as much as we do.&lt;/p&gt;

</description>
      <category>raku</category>
      <category>module</category>
      <category>publish</category>
    </item>
    <item>
      <title>Pitching Raku</title>
      <dc:creator>Tom Browder</dc:creator>
      <pubDate>Mon, 31 Oct 2022 11:36:15 +0000</pubDate>
      <link>https://dev.to/tbrowder/test-drive-20m8</link>
      <guid>https://dev.to/tbrowder/test-drive-20m8</guid>
      <description>&lt;p&gt;My favorite programming language is &lt;strong&gt;Raku&lt;/strong&gt; (formerly known as Perl 6). Most of my code is public, and I use auto-generated Markdown a lot for READMEs on &lt;a href="https://github.com/tbrowder"&gt;github.com/tbrowder&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Yesterday, I successfully finished a good code workflow for producing documentation, using &lt;strong&gt;Raku&lt;/strong&gt;, by converting text in &lt;strong&gt;Markdown&lt;/strong&gt; to &lt;strong&gt;Rakudoc&lt;/strong&gt; to &lt;strong&gt;PDF&lt;/strong&gt;, thanks to the Raku modules produced and published by my friends in the Raku community. &lt;/p&gt;

&lt;p&gt;The final product needs some tweaking for sure, but it's a reasonable proof-of-concept for a very valuable tool for developers. (Its final form is part of my Raku Advent article for 3 December 2022: &lt;a href="https://raku-advent.blog/category/2022/page/3"&gt;Day 3: Santa and the Rakupod Wranglers&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;To learn more about Raku, visit &lt;a href="https://raku.org"&gt;raku.org&lt;/a&gt; and check IRC &lt;strong&gt;#raku&lt;/strong&gt; for online discussions and help--it's a very welcoming community.&lt;/p&gt;

</description>
      <category>raku</category>
      <category>pdf</category>
      <category>text</category>
      <category>documentation</category>
    </item>
  </channel>
</rss>
