Skip to content

Instantly share code, notes, and snippets.

View mosure's full-sized avatar
👾

Mitchell Mosure mosure

👾
View GitHub Profile
@mosure
mosure / ramdisk.md
Last active February 19, 2026 20:49

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;
@mosure
mosure / gist:1dc89a4052ca4a275d75b4c3ef7b211c
Created February 11, 2025 22:30
tensorboard_images_to_videos.py
import glob
import os
import argparse
import cv2
import numpy as np
import tensorflow as tf
from tqdm import tqdm
# compatible with https://github.com/fudan-zvg/4d-gaussian-splatting
import sys
from argparse import ArgumentParser
from arguments import ModelParams, PipelineParams, OptimizationParams
import numpy as np
from omegaconf import OmegaConf
from omegaconf.dictconfig import DictConfig
from plyfile import PlyData, PlyElement

Connect via SSH to a Slurm compute job that runs as Enroot container

Being able to SSH directly into a compute job has the advantage of using all remote development tools such as using your IDE's debugger also for GPU jobs (VSCode, PyCharm, ...).

  • Slurm: Scheduling system that many HPC clusters use
  • Enroot: Container system like Docker for NVIDIA GPUs

General problem:

@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.
@mosure
mosure / orthodoxc++.md
Created March 14, 2022 03:11 — forked from bkaradzic/orthodoxc++.md
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?