Extracting Path String(s) in Rust
A compilation-ready source for this article can be found here. In Rust, it's fairly straightforward to obtain the path of the running executable, any string passed to the executable, and…
A compilation-ready source for this article can be found here. In Rust, it's fairly straightforward to obtain the path of the running executable, any string passed to the executable, and…
In a previous post, I investigated the limits to what NVS accepted as a valid ASCII string. While I'm certain I did not iterate over ALL the acceptable possibilities, the…
This began as a four- or five-question exploration of the Non-volatile storage library for the ESP32. However, the queries, simple at first, grew in depth as I probed their bounds.…
There's a dynamic programming interview question which asks how many possible paths exist from one corner of a grid to the opposite corner if one can only move to the…
In a prior, previous post, I pondered what the largest possible number could be had from a carry-less multiplication of two 8-bit numbers. In a multiplication featuring carries, the obvious…
Let us recall that any number XORed with 0 is just that number i.e. 5 ^ 0 == 5 resolves to true. Let us also recall that it is foolish…
tl;dr - For the ESP32 microcontrollers, ALWAYS terminate a printf() function call with a newline character. Consider the humble printf("Hello world!\n") statement. This elementary function call is the poor man's…