<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Josh Robinson on Medium]]></title>
        <description><![CDATA[Stories by Josh Robinson on Medium]]></description>
        <link>https://medium.com/@josh.robinson?source=rss-4c3522fa785b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Josh Robinson on Medium</title>
            <link>https://medium.com/@josh.robinson?source=rss-4c3522fa785b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 21:10:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@josh.robinson/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Stop Doug Ford]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@josh.robinson/stop-doug-ford-129fed5f5d95?source=rss-4c3522fa785b------2"><img src="https://cdn-images-1.medium.com/max/2020/1*MVzIjMheZ2mIpKjGsEJHFg.png" width="2020"></a></p><p class="medium-feed-snippet">In Ontario, one of our most populated and prosperous provinces, our Premier is venturing to privatize health care. Probably not fully&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/stop-doug-ford-129fed5f5d95?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/stop-doug-ford-129fed5f5d95?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/129fed5f5d95</guid>
            <category><![CDATA[ontario-politics]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Thu, 26 Jan 2023 23:29:19 GMT</pubDate>
            <atom:updated>2023-01-26T23:29:19.904Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The DAO Landscape]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@josh.robinson/the-dao-landscape-4b59660c3afb?source=rss-4c3522fa785b------2"><img src="https://cdn-images-1.medium.com/max/2600/0*KZlnGGB6yzM_z_U4" width="5184"></a></p><p class="medium-feed-snippet">In the previous writing, I was talking about DAOs, Blockchain and ideas to whip beside it. I wanted to teach myself about the details of&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/the-dao-landscape-4b59660c3afb?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/the-dao-landscape-4b59660c3afb?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b59660c3afb</guid>
            <category><![CDATA[business-development]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[planning]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Sun, 04 Dec 2022 16:37:41 GMT</pubDate>
            <atom:updated>2022-12-04T16:37:41.217Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Forward Motion.. Blockchain]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@josh.robinson/forward-motion-blockchain-c3b5c9e6b16b?source=rss-4c3522fa785b------2"><img src="https://cdn-images-1.medium.com/max/2600/1*up2FEeeYiQxZQB0co2nfKA.jpeg" width="2677"></a></p><p class="medium-feed-snippet">Maybe I&#x2019;m just being a typical software person.. attracted to the light of the next big bubble. However, whichever way those bubbles burst&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/forward-motion-blockchain-c3b5c9e6b16b?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/forward-motion-blockchain-c3b5c9e6b16b?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3b5c9e6b16b</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[planning]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Tue, 22 Nov 2022 23:42:12 GMT</pubDate>
            <atom:updated>2022-12-04T17:19:08.955Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Money Makin’ Noob]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@josh.robinson/money-makin-noob-f1dc6a128908?source=rss-4c3522fa785b------2"><img src="https://cdn-images-1.medium.com/max/800/1*MyuofPR-ZCAxNqSqWyzOuA.jpeg" width="800"></a></p><p class="medium-feed-snippet">Let&#x2019;s count this as a first foray into a creative effort. I&#x2019;m a successful enough software developer. I&#x2019;ve been doing that for the better&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/money-makin-noob-f1dc6a128908?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/money-makin-noob-f1dc6a128908?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1dc6a128908</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Sat, 05 Nov 2022 00:38:19 GMT</pubDate>
            <atom:updated>2022-12-04T17:18:02.538Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Using Environment Variables as a Configuration Source in C#]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">I created a repository on github for this then cloned it on my local, which you can clone too if you want.</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/using-environment-variables-as-a-configuration-source-in-c-6d82edfecafc?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/using-environment-variables-as-a-configuration-source-in-c-6d82edfecafc?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d82edfecafc</guid>
            <category><![CDATA[configuration]]></category>
            <category><![CDATA[dotnet]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Sun, 15 Sep 2019 19:17:52 GMT</pubDate>
            <atom:updated>2019-09-15T19:17:52.491Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Getting Started with Cognitive Services]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@josh.robinson/getting-started-with-cognitive-services-2980f1a4f0be?source=rss-4c3522fa785b------2"><img src="https://cdn-images-1.medium.com/max/2600/1*DrKc7wEs4O5q6mwUCy0dCg.jpeg" width="5184"></a></p><p class="medium-feed-snippet">When first writing this article, I was following a &#x201C;try it&#x201D; link which assumed that you were using a free account on Azure, like you were&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/getting-started-with-cognitive-services-2980f1a4f0be?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/getting-started-with-cognitive-services-2980f1a4f0be?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2980f1a4f0be</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Thu, 22 Aug 2019 19:47:50 GMT</pubDate>
            <atom:updated>2019-08-22T19:47:50.084Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Has A File Changed?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@josh.robinson/has-a-file-changed-5ce1db516634?source=rss-4c3522fa785b------2"><img src="https://cdn-images-1.medium.com/max/600/0*RKJiBR0H-C3Zqecq.png" width="600"></a></p><p class="medium-feed-snippet">While debugging &amp; triaging a problem, it&#x2019;s often handy to know if a file has changed. There are lots of ways to do this which approximate&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@josh.robinson/has-a-file-changed-5ce1db516634?source=rss-4c3522fa785b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@josh.robinson/has-a-file-changed-5ce1db516634?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ce1db516634</guid>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[hashing]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Thu, 08 Aug 2019 18:31:29 GMT</pubDate>
            <atom:updated>2019-08-08T18:31:29.976Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Working with the Azure CLI]]></title>
            <link>https://medium.com/@josh.robinson/working-with-the-azure-cli-aceebdd008ae?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/aceebdd008ae</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Thu, 08 Aug 2019 15:12:25 GMT</pubDate>
            <atom:updated>2019-08-20T21:04:10.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZB0HaC7Dagtv4Zbi8nCmHQ.jpeg" /></figure><p>Since the <a href="https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest">docs article</a> suggested that I can do this in docker, I decided “why not!!?”. I mean, I installed it on my machine and its been really doing nothing for a while, I should pick up the entry level skills of running on a container… cuz lets face it folks, it ain’t going anywhere.</p><h3>Setup</h3><p>I would recommend docker toolkit. I tried Docker for Windows and it’s not quite fully baked. I am interested in seeing what comes out of that effort and I did make sure to report my statistics to help out, but I had to switch as Docker for Windows still has critical errors so far as I was able to see.</p><h4>Container Type</h4><p>Right before you get started, the azure-cli container is only supplied as a linux container. Make sure that’s selected in the tray icon thingy. If your context menu looks what I have here, you’ve got it right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/0*pl3o1kMDi7Sf5n2_.png" /></figure><h3>The CLI Cometh</h3><pre>docker run -it microsoft/azure-cli</pre><p>The very first time I ran this it gave me an url to login with and a code. It makes you login and then your console gets your user context downloaded. Have a look at the “Login” heading below</p><p>If the image isn’t already on your machine, then it will download it from the repository, run it and attach it to your standard input.</p><h3>Wanna Do a VM thing?</h3><p>Now that we have a terminal running with all the power of the cloud waiting for our input.. lets get some commands going.</p><h4>Login</h4><pre>az login</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*IGGrvPNy5lkoriRnfAtLaw.jpeg" /></figure><p>this will give you and url and a code to enter for verification<br> once your done this, your console will spit out a json string stating the account details its running under</p><h4>Subscriptions</h4><p>I have multiple subscriptions so I had to set one of them to active. You can run the following command or if you have your login output still in your buffer, you can go back and find the “id” element &amp; do a copy/paste to your new command.</p><pre>az account list</pre><p>After you have your ID, you can set your desired subscription to the active one</p><pre>az account set --subscription GUID</pre><h4>Resource Group</h4><p>You’ll need a resource group in order to get your VMs that are available currently and chances are, you’ll need that for a new VM too. Lets get that.</p><pre>az group list</pre><p>Make note of an id you’d like to use. However if you want to create one. Do this:</p><pre>az group create -l canadaeast -n SuperAWESOMEResourceGroup</pre><h3>Finally, The VM</h3><pre>az vm create -n blogPostVm -g test-group --image Centos --location canadaeast --admin-username MYSECRET --admin-password MORESECRETS</pre><p>Side Note — the password has to be longer than 12 and shorter than 72.</p><p>Once you do all this.. it says it’s running and makes you wait a bit while it sets up shop up there in the cloud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aceebdd008ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Validation Concern with dotnet core]]></title>
            <link>https://medium.com/@josh.robinson/the-validation-concern-with-dotnet-core-9e81d9866d4e?source=rss-4c3522fa785b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e81d9866d4e</guid>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[dotnet-core]]></category>
            <dc:creator><![CDATA[Josh Robinson]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 17:22:59 GMT</pubDate>
            <atom:updated>2019-08-20T21:09:19.086Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sd50m5VidzQA8wzhJiFHhQ.jpeg" /></figure><h3>Dotnet Validation in netcoreapp2.0</h3><p>I’m doing a tiny bit on validation in my work hours and I know I’ve used some of the libraries to validate models and other data objects before.</p><p>Maybe I can unpack this in a way that might help a another person out there on the interwebs.. looking for that package that will do the job but just missed some search term you don’t quite have in the searchy box.</p><h3>The Project Setup</h3><p>I’m going to have a place for models, and for the sake of simplicity, I’m going to keep my code that executes validation in a separate namespace in the same project.</p><p>I’ll execute this stuff with some unit tests… just cuz unit tests are awesome and give you agility powers beyond that of your mortal counterparts. Use this power for good, not evil ;)</p><p>I’m trying to use more dotnet core as its the future friends. Lets just roll with that cuz we know that we don’t go back to the past for new stuff :)</p><h4>Setup the Model Project</h4><p>PS C:\Users\ASUS&gt; cd C:\Source\</p><p>PS C:\Source&gt; mkdir ValidationTrial</p><p>PS C:\Source&gt; cd .\ValidationTrial\</p><h4>Setup the Unit Test Project</h4><p>Processing post-creation actions…</p><p>Installing MSTest.TestAdapter 1.2.0.</p><h4>Finally, pull it all together into a Solution</h4><p>We have to get the projects in here too.. lets do that</p><p>Ok .. code all scaffolded up.. we got us a home for our code friends.</p><p>I did want to say that if you want to run tests from this point, you can get them to pass if you say this:</p><p>dotnet test .\ValidationTrial.Tests\ValidationTrial.Tests.csproj</p><h3>Setting up a Model for Validation</h3><p>Because I’m a wild guy who loves the new sauce, I targeted netstandard2.0. Cuz its new right?? Well, the base class library is still being ported so a little extra google-fu went into getting a reference to System.ComponentModel.DataAnnotations. And that my friends is the dependency that’s going to validate our stuff. It’s been around forever and it just works. It’s not dead friends — it’s done.</p><p>Here’s the necessary incantation as of the writing of this post:</p><p>dotnet add package System.ComponentModel.Annotations — version 4.4.1</p><p>After that, if I wanted to run tests on my model validation, I had to add a reference to it. For this command I’m in my tests project folder. Here’s the utterance for that:</p><p>dotnet add reference ..\ValidationTrial.Models\ValidationTrial.Models.csproj</p><p>If I run dotnet build, we get some awesomeness.</p><h3>Time for Validation</h3><p>I setup a few test cases and I added a required attribute on a field.</p><pre>namespace ValidationTrial.Models<br>{</pre><pre>  public class SuperModel<br>  {<br>   [Required]<br>    public string ModelName { get; set; }</pre><pre>    public string Hometown { get; set; }</pre><pre>    public List&lt;string&gt; Designers { get; set; }<br>  }<br>}</pre><p>The code that runs checks for that required attribute looks like this:</p><pre>namespace ValidationTrial.Models.Valdation<br>{</pre><pre>  public class MyValidator{</pre><pre>    public ICollection&lt;ValidationResult&gt; Results { get; set; }</pre><pre>    public bool IsValid(object validationTarget){</pre><pre>      var ctx  <br>        = new ValidationContext(validationTarget, null, null);</pre><pre>      bool r <br>        = Validator.TryValidateObject(<br>         validationTarget, <br>         ctx, <br>         Results<br>      );</pre><pre>      return r;<br>    }<br>  }<br>}</pre><p>and finally, the unit tests that make this stuff all happen and let us know it all worked out the way that we expected.</p><pre>[TestMethod]<br>public void SettingNameSucceeds(){<br>    //arrange<br>    var fame = TyraTheModelBuilder.Build();</pre><pre>    fame.ModelName = &quot;Candice Swanepoel&quot;;</pre><pre>    var validator = new MyValidator();</pre><pre>    //act<br>    bool valid = validator.IsValid(fame);</pre><pre>    //assert<br>    Assert.IsTrue(valid);<br>}</pre><p>If you run</p><pre>dotnet test</pre><p>you get that satisfying feeling that you’ve worked with a Super Model and it was successful.</p><p>If you want to know how it was done, have a look at my repo.<br><a href="https://github.com/josher565/ValidationTrial">https://github.com/josher565/ValidationTrial</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e81d9866d4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>