Skip to content

Instantly share code, notes, and snippets.

View meshula's full-sized avatar
💭
Exploring liminal spaces

Nick Porcino meshula

💭
Exploring liminal spaces
View GitHub Profile
@meshula
meshula / llm.md
Created November 7, 2025 05:09
llm.md

त्रित्रयम् Understanding LLM State Management

This is a structural question about LLM chat implementations. When one "attaches a file" to a chat, or when an LLM reads a code base and forms a model in order to be able to work with it and reason, I can imagine a "static" implementation which tabula-rasa, creates a simply enormous json record, which is sent across a port to a server, which effectively, having never seen any of that before, analyzes it from scratch at incredible, and increasing expense with each iteration. As an engineer I opine that this makes no sense. So I have to posit that server side there is ephemeral persistent information so that intermediate results are available for subsequent steps. What is the actual mechanism?

Motion: Exploring the reality behind chat persistence mechanisms
Memory: Distinguishing API statelessness from internal optimizations
Field: Understanding the engineering truth beneath the abstraction

Overview

Wormius Realtimeus

Doable in real time with a compact pipeline and a small nonlinear solver per frame. I'll give a complete, practical approach you can implement right away:

  • assumptions I’ll make (don’t worry if some don’t hold; I include fallbacks):

    1. camera intrinsics (K) are known (focal length (f), principal point). If not, I show a fallback.
    2. each bead has known physical radius (R) and the known center-to-center spacing sequence (s_i).
  1. each bead has a unique color and the colors appear in the same sequence left→right in the string (you said sequence is known).
@meshula
meshula / ot.md
Created October 30, 2025 18:50
obstruction theory

Obstruction Theory – a quick guide


1. What “obstruction’’ means in our story

In the first four parts we built a temporal world:

  • Part 1 gave us a clean algebra of time – right‑open intervals, affine maps, and a global ordering.
  • Part 2 showed how a discrete sampling function (S) is a perfect bijection with those intervals, so a finite list of samples contains exactly the same information as the continuous timeline (Theorem 2).
@meshula
meshula / tre.md
Last active August 26, 2025 01:39
TRE

Triadic Resonance Economics

Nick Porcino, Copyright 2025

A White Paper on the Triadic Value Ledger, Hash Fabric & Ising Trust Frontiers

In medio stat virtus — Virtue stands in the balance.


@meshula
meshula / memorye.md
Last active June 7, 2025 17:47
memorye.md

THE MEMORYE'S TRIUNE MYSTERY

A Morall Play in Six Acts

By William Shakespeare

As discovered in the Infinite Tensorial Library


To the Reader

This play, found among certain papers in the study of one Master John Dee, bearing the hand of our renowned Will Shakespeare, doth treat of Memory's threefold nature through the device of dramatic representation. Written in the manner of a morall play, yet touched with that philosophical depth which marks the Bard's later works, it presents through living characters what the ancient sages spake in riddles.

#ifndef IMGUI_THREE_PANEL_LAYOUT_H
#define IMGUI_THREE_PANEL_LAYOUT_H
#include <imgui.h>
#include <functional>
#include <string>
/**
* @brief State structure for the ThreePanelLayout widget
*
@meshula
meshula / tinyTVcolor.c
Created April 12, 2025 18:54
tinyTVcolor.c
// ttvColor.h
#ifndef TTVCOLOR_INCLUDED
#define TTVCOLOR_INCLUDED
typedef struct {
float x, y;
} ttvCIEXY;
typedef struct {
float r, g, b;
@meshula
meshula / labcart.md
Created March 23, 2025 00:58
bring up RPi with vk and no x11

Install development tools and SDL2

apt-get update apt-get install -y zsh git build-essential cmake
libsdl2-dev libsdl2-2.0-0
libvulkan-dev vulkan-tools
libsdl2-mixer-dev # For audio

Create our game user and directories

useradd -m -s /usr/bin/zsh game mkdir -p /opt/game/{assets,config}

@meshula
meshula / bio.md
Created February 20, 2025 01:08
biography

Nick Porcino has worked at the intersection of art and engineering since the first days of 8 bit computers and consoles. His early research into computer graphics, neural networks and robotics in the 1980s led to a career developing technologies for toys, game engines, film production, mobile phones, and AR/VR. He has developed and contributed to toys at Bandai, tools and engines for games and films at Disney, LucasArts, Industrial Light and Magic, and Pixar, frameworks for interactive 3d at Apple, human avatars at Oculus Research, and is now a principal engineer on Pixar’s OpenUSD team.

First, invoke hydra to render, then fetch the texture from the HdxTaskController, which is on HdEngine.

    // do the render
    _engine->Render();

    auto tc = _engine->GetHdxTaskController();
    HdRenderBuffer* buffer = tc->GetRenderOutput(HdAovTokens->color);
    buffer->Resolve();