Hi ! Let’s take a look at the following code. The main thread will run a loop for ~5 seconds, displaying a message every 1 second. The 2nd thread with display a message, wait 5 seconds and display a 2nd message. https://gist.github.com/elbruno/5b116361ed0a9931b52ae59f678e2516 The code output shows that the app is closed before finishing the execution…… Continue reading #Rust π¦ – Working with threads π§΅ and joining thread handles
Category: EnglishPost
#Rust π¦- Working with threads π§΅ (concurrency)
Hi ! Working with threads is usually an interesting (challenging) task, when we program in low level languages. I love how easy is to do this in C# or Python, however, multi-threading in C++ is … a super fun moment. So, the idea behind this is to have sections of code in our application runing…… Continue reading #Rust π¦- Working with threads π§΅ (concurrency)
#Rust – Install Rust and Hello World π in #RaspberryPi
Hi ! Quick post today on how to install rust in a Raspberry Pi, and later create a hello world test app. Install Rust I’m starting this with the latest updates for Raspberry Pi OS installed. The command to install rust is this one: curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh Check the Rust…… Continue reading #Rust – Install Rust and Hello World π in #RaspberryPi
#RaspberryPi β 1st setup no monitor πΊ: Wifi πΆ auto connect, SSH, rename, update, docker π³, rust and more! Update 2023-Jan-04
Content Create SD card using Raspberry Pi Imager Configure Wireless connection (if needed) Enable SSH (if needed) Find the IP address in your network Access via SSH Change Password (if needed) Rename the device (if needed) Expand FileSystem Update the device Install Docker Setup SSH password-less access to the Raspberry Pi Setup password-less access to…… Continue reading #RaspberryPi β 1st setup no monitor πΊ: Wifi πΆ auto connect, SSH, rename, update, docker π³, rust and more! Update 2023-Jan-04
#HowTo-Connect ElGato Stream Deck to non supported IoT devices using IFTTT πΊπΉπΊ
Hi ! I am deploying several new IoT devices to my house and office, and … hey I want to control them using my Stream Deck from Elgato. Sadly, most of my devices does not have an ElGato extension to work with Stream Deck, however, there is a cool solution for this. It involves the…… Continue reading #HowTo-Connect ElGato Stream Deck to non supported IoT devices using IFTTT πΊπΉπΊ
#AI Generated – Unlock the Power of Low Code No Code Platforms. Unlock Your Possibilities!
Disclaimer: I didn’t write this. I’m testing some amazing AI platforms, and today I asked Writesonic (@writesonic), to write an article about Low Code – No Code and Microsoft Power Platform. The Output is amazing, very acurate, and for testing purposes I haven’t change a line of the generated text. β Image Source: FreeImagesβ The…… Continue reading #AI Generated – Unlock the Power of Low Code No Code Platforms. Unlock Your Possibilities!
#PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 6/N
Hi ! Now that we have all the necessary steps to play with a Trivia question using Power Automate and Microsoft Teams, I think it will be nice to have an online event to build this all together. That’s will I’ll host an event, on Dec 15th to explain and show the step-by-step for this.…… Continue reading #PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 6/N
#PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 5/N
Hi ! Now that we have the core steps to request a Trivia question from the API, send the question to a user and process the user’s answers, let’s work on the trigger. My final idea is to use a trigger from Teams, then validate that the message body contains the words ‘start trivia’ and,…… Continue reading #PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 5/N
#PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 4/N
Hi ! In previous posts we request a Trivia quesion using the Open Trivia Database API, and sent the question as a message using Teams Flow Bot. Context The process of the quesion is fine, however, the way that we process the answers has a flaw. Let’s take a look at steps in the current…… Continue reading #PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 4/N
#PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 3/N
Hi ! In previous posts we request a Trivia quesion using the Open Trivia Database API, and sent a mesage to teams so an user can read the question and pick an answer. In today’s post, les process the user’ answer. The flow is simple: Create a new variable [strQuizResponse] to store the response for…… Continue reading #PowerAutomate β Flow to use Open Trivia Database questions in a Microsoft Teams bot π€ 3/N