Index a String in Rust

Posted on Fri 08 December 2023 in tech

Two Ways to Index a String in Rust

A Beginner Perspective

As a relative newcomer to Rust, with experience programming in C and C++, I am used to being able to directly index a String. In these languages, indexing a string is a simple operation. However, in Rust, things are …


Continue reading

History: Cluniac reforms

Posted on Sun 03 December 2023 in dictionary • Tagged with movement

910- The Cluniac Reform Movement began in Burgundy at the abbey of Cluny. In 910 , Duke William of Aquitaine founded an abbey on the principal that the high ideals of the Benedictine rule should be lauded and followed. The Cluniac abbots maintained strict adherence to the ideal of moderation practiced …


Continue reading

Advent of Code 2023

Posted on Sat 02 December 2023 in tech

Advent of Code 2023 Repository

I have created a repository for the Advent of Code 2023 challenges. You can find the repository here.

This year I'll be coding in Rust.

I'm using the basic setup as described in How to set up Rust for Advent of Code by Chris Biscardi …


Continue reading

History: Truce and Peace of God

Posted on Sun 26 November 2023 in dictionary

In the eleventh century the Catholic church instituted the Peace of God to stop knights from constantly battling each other and especially to stop them from hurting and killing noncombatant persons such as clergy, the poor, merchants and women. The church urged knights to take an oath of respect for …


Continue reading

Hacking pickups on highly customized Les Paul

Posted on Sat 25 November 2023 in news • Tagged with guitar, hacking, pickups

Les Paul Les Paul

In this video I show my highly customized, hand wired and hand wound Les Paul. The pickup fell down off the spring and I had to restore it.


Impact of Java virtual threads on performance?

Posted on Mon 20 November 2023 in tech

Virtual threads are ideal for handling a large number of short-lived threads without prioritizing low latency or high throughput. This is because virtual threads share the compute resources overall. In contrast, applications seeking high throughput often use long-lived platform threads as dedicated workers for spinning or polling workloads. In this …


Continue reading