c-style for loop in bash
Posted on Fri 14 November 2025 in tech • Tagged with programming, rust, c
How did i not know that you can make a c-style for loop in bash
$ for (( i=0; i<5; i++ ))
do
echo $i
done
Posted on Fri 14 November 2025 in tech • Tagged with programming, rust, c
How did i not know that you can make a c-style for loop in bash
$ for (( i=0; i<5; i++ ))
do
echo $i
done
Posted on Fri 21 February 2025 in tech • Tagged with programming, C++, rust
Programming is a discipline that requires both speed and integrity. The best developers balance rapid iteration with careful checking, ensuring that their code is robust, maintainable, and adaptable over time. That’s where structured coding principles—like those found in the Power of Ten—may …
Posted on Tue 31 January 2023 in tech • Tagged with c++, c++20, programming, tutorial
This example demonstrates how to incorporate a compiled switch construct in an event driven application such as a market data handler or parser.
Full tutorial on YouTube:
Posted on Fri 27 January 2023 in tech • Tagged with c++, std::generate, lambda, tutorial
Many examples of std::generate in C++ involve a static. However using a static introduces issues around thread safety and usability in modern code. Here is a simple example using std::generate with a c++14 style lambda that defines and captures a local variable.
Full tutorial on …
Posted on Fri 20 January 2023 in tech • Tagged with docker, rust, c++, go, build, apple
Should you enable your efficiency cores for use by Docker on Apple Silicon?
If you enable the efficiency cores there are 2 additional cores for the system scheduler to allocate to your workload. However, if you leave them disabled, these 2 cores will remain in reserve for use by supportive …
Posted on Thu 17 November 2022 in tech • Tagged with Ethereum, Solidity, web3, c++, devops
Building Solidity's compiler solc is nothing short of a bear. It is using complex external dependencies like boost with some optional dependencies. Moreover the build depends on specific versions of these packages. This amount of complexity for a compiler is a topic of another post but it does give me …