Ben's notes

A personal blog

topics: tech (especially obscure problems), bio hacking, product design
Featured

Git under the hood

No verbiage, no nonsense, not written for SEO. Immediately actionable. Assumes CS knowledge and only some git.
Featured

Custom Opencv WASM With Any Frontend Libray (ESM Imports)

Import opencv like any other module. Very easy.

Use CSS Variables to style react components on demand

No css-in-js needed, no libraries, locally scoped. Perfect for creating tree-shakeable component libraries.

The Shambolic State of Typescript Dev in 2023

Lambdas and aws: The clear difference between API and HTTP API

It is extremely hard to differentiate between these two API gateway types from AWS. The documentation is extremely opaque and convoluted. After doing a lot of detective work, I try to delineate the two services clearly.

Lamdas: Overview, routing and fast local test and deploy

(Python) An overview of AWS Lambda functions and how to do end to end testing. The function itself uses mangum to glue it to FastAPI.

Windows Console Popup in Python Subprocess

When running the python subprocess module a windows console will flash / popup.

Pyinstaller Module Not Found Venv

Or "unable to load metadata", etc

More Python Vscode QoL

How to make sure the venv opens in the terminal on startup automatically and other tips

Debugging Python in Vscode: The ideal setup

This is a follow on from the post about imports

Relative imports in python

Extremely convoluted and a perfect trap for the beginner or otherwise

Moving Blog to Hugo

Explanation of execute_async_script in selenium - Non spam post

The selenium docs are absolutely terrible. And especially on this method on its WebDriver implementation. What is WebDrive? I'll explain it in one sentence.

Disabling windows search bar AKA microsoft edge seach bar

The program launches on start up whether you disable start up or not. Two methods for disabling it

Running WireGuard GUI on windows with a non-admin account

Unlike other solutions, this does not require unsafe adding to the admin group or running an admin account

Habits

Discussion of the paper 'Psychology of habit'

Blender ULTRA quickstart - Part 2

Retopology, texture baking, etc. This information is useful for creating models for games.

Various opaque errors encountered when working in Visual Studio using the dotnet framework

I encoutered this errror when testing a .NET 6 app in VSCode and found a solution

Blender ULTRA quickstart

A quick start to sculpting in blender. Assumes you are an absolute beginner.

UML Class Diagrams

And object orientated programming in general.

Treat Time-Release Locker

A locker that stores a number of treats released after a timer you set goes off

Git Commands (reference)

Specific git command reference

Boxing vs unboxing & stack vs heap in csharp

Conversion from a 'reference type' to a value type and vice versa and what happens on a lower level with memory

The first post

My initial post to this blog