When Windows 10 Professional shutdowns while on Battery Mode and with Turn on fast startup unchecked. Windows 10 encounters a BSOD with Stop Code DPC WATCHDOG VIOLATION.
Rust – How to Create While and For Loops
This post shows how to create and use loops in Rust. There are three ways to create loops in Rust – using the loop, while, and for keywords. The Endless Rust Loop Using the loop Keyword To create an endless loop
docker-compose.yml for MySQL For Local Development
This post provides a another basic docker-compose.yml .This time is to create a MySQL container with initial user accounts.
docker-compose.yml YAML for MariaDB Docker Container
This post shows how to create and use a docker-compose YAML file to generate a MariaDB Docker container with initial user accounts. First, we need to install Docker for Windows. Then, use its docker-compose to process our YAML file. We
Rust – How to create Two-Dimensional Array Example
An array is an important construct in most programming languages. This post shows how to create one- and two-dimensional arrays in Rust. Although Rust has different ways of creating arrays, the following examples demonstrate some of them. One-Dimensional Arrays Before
Rust – How to Declare and Initialize an Array
Rust is a strange language for some. However, it is a fun programming language to play (or work) with. When we need arrays in Rust, we declare and initialize an array simultaneously with size and default values. Declare And Initialize
Rust E0384 Cannot Assign Twice To Immutable Variable
By default, variables are immutable in Rust. This design helps up write concurrent codes and avoid common problems that come along with concurrency.
Rust – Connect to PostgreSQL Database Using Crate
Is this your sudden foray into Rust? Although not totally for beginners, this post shows how to connect to a PostgreSQL database from Rust. Note that we have updated the content of this post to use a newer version of
docker-compose.yml for PostgreSQL
This post provides a basic docker-compose.yml to create a PostgreSQL container with initial user account with password.
Compare Strings in Rust – Functions And Operators
In any programming language, strings are essential. We’ll be hard-pressed to find any real-life application that doesn’t rely on strings. One of the everyday operations on strings is comparison. We can use the eq(), eq_ignore_ascii_case(), and == to compare strings