<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>2021-05 on Funky Si's Blog (Dev)</title><link>https://blog-dev.funkysi1701.com/2021/05/</link><description>Recent content in 2021-05 on Funky Si's Blog (Dev)</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>funkysi1701@gmail.com (Simon Foster)</managingEditor><webMaster>funkysi1701@gmail.com (Simon Foster)</webMaster><lastBuildDate>Tue, 11 May 2021 20:00:45 +0000</lastBuildDate><atom:link href="https://blog-dev.funkysi1701.com/2021/05/index.xml" rel="self" type="application/rss+xml"/><item><title>My road to Certification</title><link>https://blog-dev.funkysi1701.com/posts/2021/my-road-to-certification/</link><author>funkysi1701@gmail.com (funkysi1701)</author><pubDate>Tue, 11 May 2021 20:00:45 +0000</pubDate><guid>https://blog-dev.funkysi1701.com/posts/2021/my-road-to-certification/</guid><category term="Azure">Azure</category><category term="Certification">Certification</category><media:content medium="image" type="image/png" url="https://blog-dev.funkysi1701.com/images/dev-to/eytphopn3inx2x77m9n5.png"/><description>&lt;p&gt;So today I sat the Azure Fundamentals Certification Exam and passed!
&lt;img class="img-fluid" alt="Alt Text" src="https://blog-dev.funkysi1701.com/images/dev-to/eytphopn3inx2x77m9n5.png" loading="lazy"
width="600" height="600"
/&gt;
&lt;/p&gt;
&lt;p&gt;Really pleased with myself at achieving this. It was one of my goals for 2021 so I can tick that off.&lt;/p&gt;
&lt;p&gt;Back in January I booked my first exam, however due to technical problems I didn&amp;rsquo;t get as far as the Exam. In order to be able to sit an exam like this you need a webcam and microphone so you can be monitored remotely to check that you are not cheating. Something in my network was blocking them from seeing my video so it got cancelled before it started.&lt;/p&gt;
&lt;p&gt;My theory is that either my internet connection was playing up at the time, My Pi Hole was blocking something, or something else on my network was blocking the video feed.&lt;/p&gt;
&lt;p&gt;This cancellation put me off Certifications, as I wasn&amp;rsquo;t sure how to debug the issue and find out exactly what the problem was.&lt;/p&gt;
&lt;p&gt;A few months back I won a free Azure Certification for taking part in a skills challenge run by &lt;a href="https://twitter.com/gregor_suttie" target="_blank" rel="noopener noreferrer"&gt;Gregor Suttie&lt;/a&gt;
and &lt;a href="https://twitter.com/Pixel_Robots" target="_blank" rel="noopener noreferrer"&gt;Richard Hooper&lt;/a&gt;
and this was due to expire at the end of this month so I thought why not book a second exam and see if I can get past the technical problems. I didn&amp;rsquo;t do any exam prep as I thought, I wouldn&amp;rsquo;t get that far.&lt;/p&gt;
&lt;p&gt;This time I connected directly to my router, bypassing most of the network, firewall and other items on my network that could possibly cause an issue.&lt;/p&gt;
&lt;p&gt;I cleared my desk, took photos of my ID, took pictures of my desk from every orientation, and waited for the technical issues to start.&lt;/p&gt;
&lt;p&gt;I was in a queue waiting for the exam to start.&lt;/p&gt;
&lt;p&gt;A connection issue has occurred you have been sent to the back of the queue. Oh here we go again!&lt;/p&gt;
&lt;p&gt;But no I connected with the invigilator, who asked to confirm my monitors were disconnected and to move my wallet out of reach off my desk.&lt;/p&gt;
&lt;p&gt;And we are off, I am answering questions from the exam.&lt;/p&gt;
&lt;p&gt;I won&amp;rsquo;t go into detail about the questions, but I whizzed through them, most made me think, some I guessed at. I wasn&amp;rsquo;t expecting to pass, I thought maybe half marks or just under due to my familiarity with Azure. (I have been using it for years which must count for something!)&lt;/p&gt;
&lt;p&gt;I was wrong I passed comfortably and now I have my first certification.&lt;/p&gt;
&lt;p&gt;My advice for you if you have been using Azure for a while is to book this exam and see how you do, you may well pass like me. There are plenty of opportunities to get a free exam, attending conferences like Ignite often qualify you for one, look out for challenges and competitions by #AzureFamily people on twitter as they are very encouraging and helpful in your Certification journey.&lt;/p&gt;
&lt;p&gt;And yes I am thinking about what Certificate to do next!&lt;/p&gt;</description></item><item><title>DotNet on a Raspberry Pi</title><link>https://blog-dev.funkysi1701.com/posts/2021/dotnet-on-a-raspberry-pi/</link><author>funkysi1701@gmail.com (funkysi1701)</author><pubDate>Mon, 10 May 2021 20:00:45 +0000</pubDate><guid>https://blog-dev.funkysi1701.com/posts/2021/dotnet-on-a-raspberry-pi/</guid><category term="RaspberryPi">RaspberryPi</category><category term="DotNet">DotNet</category><media:content medium="image" type="image/jpeg" url="https://blog-dev.funkysi1701.com/images/dev-to/e21z7vbamy6w6akhhiwd.jpg"/><description>&lt;p&gt;I have had a Raspberry Pi for a few years and recently I connected it up again, I plugged in the camera and everything worked.&lt;/p&gt;
&lt;p&gt;To start off you can view photos from the camera with the raspistill command. With a bit of clever scripting and the crontab I got the Pi taking pictures every 60 seconds. Even managed to take a nice picture of a robin.&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="Alt Text" src="https://blog-dev.funkysi1701.com/images/dev-to/e21z7vbamy6w6akhhiwd.jpg" loading="lazy"
width="547" height="699"
/&gt;
&lt;/p&gt;
&lt;p&gt;However scripting isn&amp;rsquo;t really programming, and I would like to write a bit more code. Dotnet can run everywhere these days and it made sense to see if it would run on a Raspberry Pi.&lt;/p&gt;
&lt;p&gt;@pete_codes has written a nice guide to getting started with dotnet on a Raspberry Pi &lt;a href="https://www.petecodes.co.uk/install-and-use-microsoft-dot-net-5-with-the-raspberry-pi/" target="_blank" rel="noopener noreferrer"&gt;https://www.petecodes.co.uk/install-and-use-microsoft-dot-net-5-with-the-raspberry-pi/&lt;/a&gt;
This guide and the nuget package &lt;a href="https://www.nuget.org/packages/Unosquare.Raspberry.IO/" target="_blank" rel="noopener noreferrer"&gt;https://www.nuget.org/packages/Unosquare.Raspberry.IO/&lt;/a&gt;
was all I needed to get started taking pictures with my Pi.&lt;/p&gt;
&lt;p&gt;My initial goal is to take some wildlife pictures, stick my camera to a window and take pictures of what flies/crawls/jumps past the window.&lt;/p&gt;
&lt;p&gt;The code I have written so far is available on github &lt;a href="https://github.com/funkysi1701/RaspberryPiDotNet" target="_blank" rel="noopener noreferrer"&gt;https://github.com/funkysi1701/RaspberryPiDotNet&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;So far the code takes a picture, uploads this file to Azure Blob Storage (so as not to fill up the Pi with too many image files) and deletes the image locally.&lt;/p&gt;
&lt;p&gt;Run a dotnet publish -c Release and then cron can run dotnet RaspberryPiDotNet.dll (with full paths to the relevant files)&lt;/p&gt;
&lt;p&gt;I then use crontab to execute the code every 60 seconds.&lt;/p&gt;
&lt;p&gt;My code has an appsetting.json file which has a couple of settings that need completing for my code to work.&lt;/p&gt;
&lt;p&gt;Storage: This is the connection string for Azure Blob Storage
LocalPath: This is the path to where the camera will save its photos to, something like /home/pi/ is all you need but feel free to specify what you need.&lt;/p&gt;
&lt;p&gt;Once the photos are in blob storage I plan to display them somewhere, add options to delete what I don&amp;rsquo;t want, maybe do something timelapsey.&lt;/p&gt;
&lt;p&gt;I also don&amp;rsquo;t have a proper release pipeline and this grates on me a bit. I have been doing a mixture of writing code in VS and pushing that to github and then doing git pull on the Pi, and also writing code directly on the Pi. (VS Code can connect via SSH which is pretty cool!)&lt;/p&gt;</description></item></channel></rss>