Skip to content

Instantly share code, notes, and snippets.

View lastforkbender's full-sized avatar
🎯
Focusing

ROBERT CECIL lastforkbender

🎯
Focusing
  • Row4
  • Milkyway
View GitHub Profile
@lastforkbender
lastforkbender / gsp.py
Created September 27, 2025 16:57
Grid Signal Processor with satellite interpolation kernels, pi-correlated RNG, spectral/harmonic phase sequencing opts, adjustable directional interpolation probability & per-pass callback(s).
# gsp.py - Grid Signal Processor with satellite interpolation kernels, pi-correlated RNG,
# spectral/harmonic phase sequencing opts, adjustable directional interpolation
# probability & per-pass callback(s). (Reproduces the wave audio file @ runtime
# where this module is -> current_module_run_directory/gsp_wave/gsp.wav) The
# constants associated with these classes are in sim the satellites are facing
# some type of reflected source from an infinite [angular] density regression.
#__________________________________________________________________________________
from typing import List, Optional, Callable, Tuple
import hashlib
@lastforkbender
lastforkbender / dctm.py
Created September 26, 2025 23:15
Diffusion Chained Tunneling Coupler Modal
# dctm.py - Diffusion Chained Tunneling Coupler Modal
import math
CNST_EP = 2.718281828459045
#___________________________________________________________________________________
def mat_mult_vec(M, v):
return [sum(M[i][j]*v[j] for j in range(len(v))) for i in range(len(M))]
#___________________________________________________________________________________
@lastforkbender
lastforkbender / ce_mmap_hqi.py
Last active September 26, 2025 08:33
Extra Particle(Classic/Quantum) tiny srf-sim for palindrome luyh rotational variable(s) complex interpolation dynamics
# ce_mmap_hqi.py - Extra Particle(Classic/Quantum) tiny srf-sim for palindrome
# luyh rotational variable(s) complex interpolation dynamics
#______________________________________________________________________________
import tempfile
import struct
import cmath
import math
import mmap
import time
@lastforkbender
lastforkbender / lcbs_nn.py
Created September 25, 2025 06:26
Lensed Cubed B-Spline NN
#--------------------------------------------------------
#----------------------------------------------------------
# LENSED CUBED B-SPLINE NN
#----------------------------------------------------------------
#-----------------------------------------------------------------
#----------------------------------------------------------------
# CUBED LENSED B-SPLINE NN
#----------------------------------------------------------
#--------------------------------------------------------
@lastforkbender
lastforkbender / bermuda_svd.py
Created September 24, 2025 12:42
Triple singular svd decomp with mmap/ctypes
# bermuda_svd.py
from ctypes import Structure, c_char, c_uint64, c_uint8, c_double, POINTER, sizeof, cast, byref, addressof
from copy import deepcopy
import tempfile
import random
import struct
import shutil
import cmath
import mmap
import math
@lastforkbender
lastforkbender / mmbd.py
Created September 23, 2025 10:30
multi-key; multi-val; multi-timer aware mmap dict
#////////// . ._________|______________________________*
#///////// . . / .
#//////// . _____| /
#/////// . . \//_.|._\\/ .______/ __.
#////// . . ///_/.|.\_\\\ / | / .
#///// _\|| /.:|:.\ ||/_ ._______/ | /
#////// . / //||__/|\__||\\ \ .___| / .
#/////// . . / //|| \\ // ||\\ \ . |_____• .
#//////// . _/ _/_|_| \* / ||_ \_ \_ . | .
#///////// | .
@lastforkbender
lastforkbender / ceec.py
Last active September 22, 2025 16:14
Complex Expanded Edges Cube/Hypercube Object Library
# ceec.py - Complex Expanded Edges Cube/Hypercube Object Library
#________________________________________________________________________________
from ctypes import c_double, c_void_p, cast, POINTER, CDLL, sizeof, addressof
from typing import Any, Iterator, List, Tuple, NamedTuple, Callable, Optional
from itertools import combinations, product
from collections import defaultdict, deque
from functools import reduce
import multiprocessing as mp
from staqtapp import rev9 #staqtapp original version required, that uses mmap
@lastforkbender
lastforkbender / api_pico.py
Created September 19, 2025 03:23
API - Probability Iterations Complex Object
# api_pico.py - Analytic Primes Infrot / Probability Iterations Complex Object
from functools import reduce
import cmath
import math
#________________________________________________________________________________
class AnalyticPrimesInfrot:
def __init__(self):
@lastforkbender
lastforkbender / rm_scr.py
Last active September 18, 2025 00:31
Red Matter - Surface Compression Regulator(ZSCP-2949-88-1) Simulation
# rm_scr.py | Red Matter - Surface Compression Regulator(ZSCP-2949-88-1) Simulation
#___________________________________________________________________________________
# __//._ /.__/ _/./__ __//._ /_._ _/./ /_._ _././_ __//._ .//_/ _/./__
# __/.// _//.// __/.// /_._ _././_ __/.// _././_ /.__/ _//.// /.__/
# /.__/ /_._ _/./ __/._/_ /.__/ __/._/_ _//.// _//.// .//_/ .//_/
# /.__/ _/./ _//.// _//.// _/./__ _/./__ /.__/ __/._/_ .//_/ _/./
# /.__/ /_._ __/.// __/._/_ _././_ _//.// _/./__ _//.// /.__/ .//_/
# __/.// _/./ /_._ /.__/ /.__/ .//_/ _/./ __/._/_ _././_ _//.// _/./__
# .//_/ /_._ __//._ _/./ _/./ /.__/ _/./__ _././_ __//._ _././_ .//_/
# /.__/ .//_/ _././_ _/./ __/._/_ .//_/ __//._ _/./ .//_/ /.__/ .//_/
@lastforkbender
lastforkbender / tic_tac_sl2_ctl_1.py
Last active September 16, 2025 14:35
SL2-CTL KPS LENS/VISOR TRACKER
# tic_tac_sl2_ctl_1.py, September 16 2025
#_____________________________________________________________________________________
# SL2-CTL Gauge(KPS Track Lens) Notes:
# 1. Ensure coords are in meters if is physical wave-
# lengths -> key depth values --> non-negative disc
# 2. For ray-optical corrections, consider local slope
# deflection angle -> transverse shift @ detect dist