Skip to content

Instantly share code, notes, and snippets.

View mosure's full-sized avatar
👾

mitchell mosure mosure

👾
View GitHub Profile
@cart
cart / example.rs
Created October 31, 2023 21:41
An example of using GpuArrayBuffer to support platforms without storage buffers (ex: WebGL2)
#[derive(Clone, ShaderType)]
struct MyType {
x: f32,
}
// Create a GPU array buffer
let mut buffer = GpuArrayBuffer::<MyType>::new(&render_device.limits());
// Push some items into it
for i in 0..N {
@malteos
malteos / docker-without-desktop-macos.md
Created May 28, 2024 11:03
Run Docker (without Docker Desktop) on MacOS with Apple Silicon (M1/M2/...)

Run Docker (without Docker Desktop) on MacOS with Apple Silicon (M1/M2/...)

Docker Desktop requires an expensive license for commercial use: https://www.docker.com/pricing/faq/

# Install minikube
brew install minikube

# Install Docker CLI
brew install docker
@mosure
mosure / escaper.md
Last active December 5, 2025 01:39

ESCAPER: a modern approach to software design

ESCAPER is a pragmatic, ECS-flavored way to structure software—especially interactive apps, simulations, and data-oriented workloads.

It stands for:

  • E — Entity: a stable identifier (an “ID”) for a thing in your world.
  • S — System: logic that runs over matching data (usually in batches).
  • C — Component: plain data attached to entities (no behavior required).
  • A — App: the orchestration layer that wires everything together.

ramdisk is a scaling primitive for local agent orchestration

local development used to be human-paced: one developer, one editor, occasional builds and tests. consumer ssd endurance assumptions were built around that pattern.

agent-driven development changes the load profile. when you run 4-32 local agents in parallel, each doing build, test, validation, and coding loops, write pressure scales horizontally just like cpu and memory demand.

graph LR;
    a["agent count"] --> e["daily host writes"];
    b["cycles per agent per day"] --> e;