<?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: Dillon Fagan</title>
    <description>The latest articles on DEV Community by Dillon Fagan (@dillonfagan).</description>
    <link>https://dev.to/dillonfagan</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%2F283486%2F112fbf79-71ce-46bb-b52e-6580b907704b.jpg</url>
      <title>DEV Community: Dillon Fagan</title>
      <link>https://dev.to/dillonfagan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dillonfagan"/>
    <language>en</language>
    <item>
      <title>Building a website with Cobalt.rs</title>
      <dc:creator>Dillon Fagan</dc:creator>
      <pubDate>Thu, 16 Jul 2020 12:54:34 +0000</pubDate>
      <link>https://dev.to/dillonfagan/building-a-website-with-cobalt-rs-2n4n</link>
      <guid>https://dev.to/dillonfagan/building-a-website-with-cobalt-rs-2n4n</guid>
      <description>&lt;p&gt;I had considered making a blog/journal site for a while, but never found the time to work it into my already busy schedule.&lt;/p&gt;

&lt;p&gt;But after doing some light research into the latest and greatest static site generators, I came across a unique specimen called &lt;a href="https://cobalt-org.github.io/" rel="noopener noreferrer"&gt;Cobalt&lt;/a&gt;. Cobalt is essentially a re-implementation of Jekyll in Rust, but with its own unique quirks.&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%2Fi%2Fgtg61gu1qw4edxc6arat.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%2Fi%2Fgtg61gu1qw4edxc6arat.png" alt="Cobalt Static Site Generator" width="310" height="353"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Though Cobalt doesn't have the same maturity as Jekyll, I still find using it to be very enjoyable. It's also one of those situations where, as someone who appreciates what the Rust community is building, it can be worth sacrificing some convenience for the sake of supporting a cause.&lt;/p&gt;

&lt;p&gt;When I had a problem with the &lt;code&gt;where&lt;/code&gt; function in Liquid not working, I put up an issue on Cobalt's GitHub page and the maintainers added it in less than a day. This made me a very happy camper.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;Installing Cobalt couldn't be more straight-forward. Assuming you have &lt;a href="https://www.rust-lang.org/tools/install" rel="noopener noreferrer"&gt;Rust installed&lt;/a&gt;, simply run the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git cobalt-org/cobalt.rs --crate cobalt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And that's it. Cobalt's installed.&lt;/p&gt;

&lt;p&gt;To create a new site:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cobalt init &amp;lt;my-site-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;cobalt init&lt;/code&gt; without a site name will initialize a new site in the current directory. With the name, it creates a directory for your site. &lt;em&gt;It just works.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For designing and configuring your site, I recommend referring to their docs, which are fairly well written.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Is Cobalt mature enough to build a blog site?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Absolutely. It's super easy to build a blog with Cobalt.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Is Cobalt right for a business's website?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It's tough to say. Depending on what you want to implement on the site, it might be enough. It also might not be. Like Jekyll, Cobalt is blog-aware, which means that configurability is more limited than something like Hugo or Gatsby. I recommend at least pairing Cobalt with &lt;a href="https://www.netlifycms.org/" rel="noopener noreferrer"&gt;Netlify CMS&lt;/a&gt;, which gives the site a simple and convenient interface for non-coders.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Why would I choose Cobalt over Jekyll?&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You like to see your site built blazingly fast.&lt;/li&gt;
&lt;li&gt;You like Rust and the community that goes along with it.&lt;/li&gt;
&lt;li&gt;You like to support the underdog.&lt;/li&gt;
&lt;li&gt;You prefer simplicity over features-galore.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>cobalt</category>
      <category>rust</category>
      <category>webdev</category>
      <category>blog</category>
    </item>
    <item>
      <title>Starting a worker co-op of software developers</title>
      <dc:creator>Dillon Fagan</dc:creator>
      <pubDate>Thu, 02 Jul 2020 13:03:30 +0000</pubDate>
      <link>https://dev.to/dillonfagan/starting-a-worker-co-op-of-software-developers-1gg</link>
      <guid>https://dev.to/dillonfagan/starting-a-worker-co-op-of-software-developers-1gg</guid>
      <description>&lt;p&gt;&lt;em&gt;Whoa, stop right there. Don't know what a worker co-op is? Read &lt;a href="https://institute.coop/what-worker-cooperative" rel="noopener noreferrer"&gt;this&lt;/a&gt; first.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;After many months of twiddling thumbs and considering the prospect in theory, some coworkers and I have decided to launch our own worker co-operative business. Two things prompted this decision:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The corona virus pandemic and the need to close physical places of business revealed just how ill-prepared small businesses are for the digital age.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;As supporters of the growing co-op movement, we felt it was our duty to get involved and prove to other Rhode Islanders that worker co-ops can be just as successful (or more successful) than conventional businesses.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We've decided that our first pursuit will be in the web dev arena; the goal being to help small businesses in Rhode Island to elevate themselves to the same level of much larger companies online.&lt;/p&gt;

&lt;p&gt;Our ethos is that small, locally owned businesses are preferable to big, corporate machines. Buying local creates a cyclical economy, which fosters the growth of community wealth, as opposed to the siphoning off of wealth that occurs when buying non-local. But the only way these local businesses have a chance at competing with the Amazons of the world, is if they can offer similar or better digital experiences for their communities.&lt;/p&gt;

&lt;p&gt;Local farms and food co-ops should have more convenient websites for ordering fresh produce than Whole Foods. Local hardware stores should have websites just as good or better than Home Depot's. Local cafés and restaurants ought to have better ordering systems than Starbucks and Chipotle. And so on.&lt;/p&gt;

&lt;p&gt;With an equal footing online, local enterprise has a fighting chance against the tentacles of Amazon, Walmart, and the like.&lt;/p&gt;

&lt;p&gt;And so, &lt;a href="https://twitter.com/starboardcoop" rel="noopener noreferrer"&gt;Starboard Developer Co-operative&lt;/a&gt; is setting sail. We're out to prove that co-ops are the future model of doing business and that buying local doesn't need to be less convenient.&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%2Fi%2F347fu2fkew3flcxssoka.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%2Fi%2F347fu2fkew3flcxssoka.png" alt="Starboard Developer Co-operative" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>business</category>
      <category>startup</category>
      <category>cooperative</category>
    </item>
    <item>
      <title>Worker Cooperatives in Tech</title>
      <dc:creator>Dillon Fagan</dc:creator>
      <pubDate>Thu, 14 May 2020 22:44:39 +0000</pubDate>
      <link>https://dev.to/dillonfagan/worker-cooperatives-in-tech-14e2</link>
      <guid>https://dev.to/dillonfagan/worker-cooperatives-in-tech-14e2</guid>
      <description>&lt;p&gt;First off, what's a &lt;em&gt;worker cooperative?&lt;/em&gt; &lt;a href="https://riceo.org/resources/learn-about-co-ops/" rel="noopener noreferrer"&gt;Worker co-ops&lt;/a&gt; are businesses owned and run by the people who work in them. Each member of the co-op owns one share and has one vote and gets a share of the profits by the end of each year.&lt;/p&gt;

&lt;p&gt;Simply put, worker cooperatives are defined by shared ownership and workplace democracy.&lt;/p&gt;

&lt;p&gt;Now how do they relate to tech? Interestingly, worker co-ops have been around since at least the nineteenth century. But recently, they've been making a comeback. And as it turns out, this business model is perfect for the tech industry, and here's why.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 8-hour workday
&lt;/h2&gt;

&lt;p&gt;When the US passed the 8-hour day into law in 1938, this was a radical change for the many employees across the country working 10 hours, 12 hours, 14, or more. Fast forward about eighty years and we find ourselves in a situation that is ripe for change, especially for tech workers.&lt;/p&gt;

&lt;p&gt;For many developers, the 8-hour day just isn't practical anymore. We find ourselves mentally fatigued long before the digital clock strikes 5:00. That's why a lot of our offices have video games or other activities to do throughout the day: we have too much time on our hands!&lt;/p&gt;

&lt;p&gt;If we worked cooperatively with one another, we could democratically decide how long our workday should be. And if we all had the ability to do this today, I'm certain most of us would not choose an 8-hour day. We might decide 6 hours is sufficient or even 5 hours. (What do you think? Leave a comment below.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobbing IRL
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.agilealliance.org/glossary/mob-programming/#q=~(infinite~true~filters~(postType~(~'page~'post~'aa_book~'aa_event_session~'aa_experience_report~'aa_glossary~'aa_research_paper~'aa_video)~tags~(~'mob*20programming))~searchTerm~'~sort~false~sortDirection~'asc~page~1)" rel="noopener noreferrer"&gt;Mob programming&lt;/a&gt;, or mobbing, is a development approach where a team of people works on the same task at the same time, each taking turns with the keyboard and mouse.&lt;/p&gt;

&lt;p&gt;Mobbing can be a very effective tool for making high-quality, reliable code in groups. It's this mode of working cooperatively and by consensus which yields that high-quality software. A worker co-op, then, is a lot like a mob, except the mob runs an entire business.&lt;/p&gt;

&lt;h2&gt;
  
  
  If Apple were a worker co-op...
&lt;/h2&gt;

&lt;p&gt;In 2014, Forbes published &lt;a href="https://www.forbes.com/sites/cameronkeng/2014/12/18/if-apple-was-a-worker-cooperative-each-employee-would-earn-at-least-403k/#4c3427782dee" rel="noopener noreferrer"&gt;an article&lt;/a&gt; that explored a hypothetical scenario in which Apple is a worker-owned cooperative. They found that if it were one, every Apple employee would earn &lt;em&gt;at least&lt;/em&gt; $400k a year. In today's world, the profits go to the shareholders instead of the people who generated those profits: the employees.&lt;/p&gt;

&lt;h2&gt;
  
  
  Still a skeptic?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.mondragon-corporation.com/en/" rel="noopener noreferrer"&gt;Mondragon&lt;/a&gt; is the largest and most successful worker co-op in the world and employs around 75,000 people. Their work spans several industries, including manufacturing, retail, banking, and... software.&lt;/p&gt;

</description>
      <category>cooperative</category>
      <category>democracy</category>
      <category>ownership</category>
      <category>business</category>
    </item>
  </channel>
</rss>
