<?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: tripleo</title>
    <description>The latest articles on DEV Community by tripleo (@tripleo).</description>
    <link>https://dev.to/tripleo</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%2F1108265%2Fcf355ade-408c-4be5-9e81-a93588c38f15.jpeg</url>
      <title>DEV Community: tripleo</title>
      <link>https://dev.to/tripleo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tripleo"/>
    <language>en</language>
    <item>
      <title>Unison speed test</title>
      <dc:creator>tripleo</dc:creator>
      <pubDate>Tue, 05 Nov 2024 04:11:23 +0000</pubDate>
      <link>https://dev.to/tripleo/unison-speed-test-fno</link>
      <guid>https://dev.to/tripleo/unison-speed-test-fno</guid>
      <description>&lt;p&gt;I wonder which one is faster, and which one is correct, of the following two:&lt;/p&gt;

&lt;p&gt;Their:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;base.List.compress: [a] -&amp;gt; [a]
base.List.compress as = case as of
  [] -&amp;gt; []
  [x] -&amp;gt; [x]
  [x, y] ++ rest -&amp;gt;
    if (x == y) then base.List.compress (y +: rest)
    else x +: base.List.compress (y +: rest)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Mines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;base.List.compress: [a] -&amp;gt; [a]
base.List.compress as = case as of
  [] -&amp;gt; []
  [x] -&amp;gt; [x]
  [x, y] ++ rest -&amp;gt;
    if (x == y) then base.List.compress (y +: rest)
    else (x +: y) +: base.List.compress rest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://dev.to/petets/property-based-testing-in-unison-2knp"&gt;https://dev.to/petets/property-based-testing-in-unison-2knp&lt;/a&gt;&lt;/p&gt;

</description>
      <category>unison</category>
      <category>unisonlang</category>
    </item>
    <item>
      <title>Things to do after installing Ubuntu</title>
      <dc:creator>tripleo</dc:creator>
      <pubDate>Fri, 20 Sep 2024 02:33:58 +0000</pubDate>
      <link>https://dev.to/tripleo/things-to-do-after-installing-ubuntu-5gno</link>
      <guid>https://dev.to/tripleo/things-to-do-after-installing-ubuntu-5gno</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Disable firefox snap:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;'
Package: *
Pin: release
Pin-Priority: 1001

Package: firefox
Pin: version 1:1snap1-0ubuntu2
Pin-Priority: -1
'&lt;/span&gt; | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; /etc/apt/preferences.d/mozilla-firefox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Remove the nano editor.  Some people like it.  I dont.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;apt remove nano
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2b. Remove new console and text-editor apps and "upgrade" to previous versions until there is some sort of feature or ui parity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;gedit gnome-terminal gnome-console- gnome-text-editor-
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Install vscodium (you could also use &lt;code&gt;home-manager&lt;/code&gt; -- regular nix-env does not appear to work).
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  curl &lt;span class="nt"&gt;-fSsL&lt;/span&gt; https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | &lt;span class="nb"&gt;sudo &lt;/span&gt;gpg &lt;span class="nt"&gt;--dearmor&lt;/span&gt; | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; /usr/share/keyrings/vscodium.gpg &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null
  &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"deb [arch=amd64 signed-by=/usr/share/keyrings/vscodium.gpg] https://download.vscodium.com/debs vscodium main"&lt;/span&gt; | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; /etc/apt/sources.list.d/vscodium.list
  &lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
  &lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;codium &lt;span class="c"&gt;#-insiders, if you like that&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ol&gt;

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