#Rust πŸ¦€ – Time for Ferris says ! πŸ˜‹

Hi ! Ferris the crab, is the unofficial mascot for Rust. If you want to create a cool console app with Ferris holding a banner with a custom message, there is a super cool library that may help. We need to search in the Rust community’s crate registry for ferris-says, and there it is ferris-says:…… Continue reading #Rust πŸ¦€ – Time for Ferris says ! πŸ˜‹

#Rust πŸ¦€ – Let’s create a Generic log() FunctionπŸ‘

Hi ! Let’s create a generic log function. This will not make a lot of sense, since the println! function already support lots of data types. However, this is a nice way to understand how generics works. Here is the log function. use std::fmt::Display; // Generic Function to print data to the console fn console_log<T:…… Continue reading #Rust πŸ¦€ – Let’s create a Generic log() FunctionπŸ‘

#Rust πŸ¦€ – Working with Generics and Types πŸ‘

Hi ! I first used Generics back in the old C# days. It’s a super cool feature. Let’s ask ChatGPT for a definition: Generics in programming are a way to create classes and methods that work with multiple data types. They allow the programmer to define type parameters, which can be passed as arguments to…… Continue reading #Rust πŸ¦€ – Working with Generics and Types πŸ‘

#Rust πŸ¦€ – Accesing external vars in threads πŸ§΅

Hi ! In order to access external variables in a thread, we must use the move closure with the move keyword in the thread creation. In example, these 2 lines will define and create a mutable variable and then a new thread where we can access the var. let mut new_var = “hey!”; let handle…… Continue reading #Rust πŸ¦€ – Accesing external vars in threads πŸ§΅

#Rust πŸ¦€ – Working with threads 🧡 and joining thread handles

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

#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!