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 Fri 13 December 2024 in tech • Tagged with programming, solana, solidity, error
Debugging custom errors in Ethereum smart contracts using Foundry and Forge involves guessing, intuition and trial and error. Custom errors can provide clarity and save gas compared to traditional require statements. However, debugging them requires perseverance.
Posted on Sat 07 December 2024 in tech • Tagged with programming, solana, rust, anchor
Solana Anchor with Docker ensures a consistent development environment, making it easier to manage dependencies and build processes.
Make sure you have the following installed on your machine:
Below is a Dockerfile for setting up the Solana Anchor environment within …
Posted on Fri 29 November 2024 in tech • Tagged with programming, rust
Posted on Sun 24 November 2024 in tech • Tagged with programming, solidity, ethereum, foundry, forge, debugging, smart-contracts
In this video, I walk through four essential debugging techniques in Foundry and Forge, as outlined in my YouTube video. These techniques include:
Verbose test output is …