Sunday, January 07, 2024

Fedora 37 Workstation installation screen capture

Just an itch, wanted to see how Fedora 37 Workstation looks like. For other versions see here

Rust: Using Windows thread pool

Rust: Using Windows thread pool

Quick demo how to use Windows thread pool in Rust using windows crate.

Create new project

PS C:\> mkdir prj
PS C:\> cd prj
PS C:\> cargo new thread_pool_work

Edit Cargo.toml like below

Update src/main.rs

Run thread_pool_work

PS C:\prj\thread_pool_work> cargo run
   Compiling thread_pool_work v0.1.0 (C:\prj\thread_pool_work)
    Finished dev [unoptimized + debuginfo] target(s) in 0.64s
     Running `target\debug\thread_pool_work.exe`
counter: 10
Tags: Rust, Windows, thread pool

Monday, January 01, 2024

Fedora 36 Workstation installation screen capture

Just an itch, wanted to see how Fedora 36 Workstation looks like.
For other versions see here.

PowerShell Quick Tip: Reading an XML file

PowerShell Quick Tip: Reading an XML file

Say you have an XML data like below. To read the IP element in PowerShell, do: Tags: PowerShell, Xml

Friday, December 29, 2023

Installing QNX 6.4.1 on Ubuntu 20.04

Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...