const in rust - 3 essentials

Posted on Fri 29 November 2024 in tech • Tagged with programming, rust

Unlock constants in Rust with these three essential tips! 🚀


Continue reading

Debugging Smart Contracts with Foundry

Posted on Sun 24 November 2024 in tech • Tagged with programming, solidity, ethereum, foundry, forge, debugging, smart-contracts

Debugging in Foundry and Forge: Techniques for Solidity Developers

In this video, I walk through four essential debugging techniques in Foundry and Forge, as outlined in my YouTube video. These techniques include:

  1. Verbose Test Output
  2. Foundry Interactive Debugging
  3. Printf Debugging
  4. Event Logging

1. Verbose Test Output

Verbose test output is …


Continue reading

EMOM Timer - Rust + WebAssembly in Action

Posted on Sun 20 October 2024 in tech

EMOM Timer - A Rust and Yew Application

EMOM Timer

Introduction

For those who are new to EMOM workouts, EMOM stands for "Every Minute on the Minute." It's a type of interval workout that pushes your limits by requiring you to complete an exercise at the start of each minute. The leftover time …


Continue reading

What if you get RIFed?

Posted on Mon 10 June 2024 in tech

What to Do if You Get Terminated: Updated 2024

Facing termination can be one of the most challenging moments in your professional career. It's essential to approach this situation strategically and proactively to navigate your way to a new job successfully. Here’s a comprehensive guide on what to do …


Continue reading

Dancing Cells

Posted on Mon 01 January 2024 in tech • Tagged with rust, programming, solidity, evm, blockchain

I found the discussion of "Dancing Cells" in Don Knuth's latest lecture (2023) extremely relevant to blockchain programming.

The reason is this method of memory allocation is very similar to the method required to organize data as a set in Solidity. See here

Here is a example implementation of some …


Continue reading

Lyn Scanner Rust Example

Posted on Thu 28 December 2023 in tech

Lyn Scanner

Example parser scanner written in Rust using the Lyn crate. This is part of the 2023 Advent of Code, Day 05.

This scanner is meant to parse data of the of the following format into maps of arrays:

seeds: 79 14 55 13

seed-to-soil map:
50 98 2 …

Continue reading