Skip to content

Instantly share code, notes, and snippets.

View okram's full-sized avatar
🏠
Working from home

Marko A. Rodriguez okram

🏠
Working from home
View GitHub Profile
BUILD 2-NODE CLUSTER (1-MASTER) FROM mDNS ROSTER
mtron> {0,1}.harvest(<boot/space/grph/peer.boot.mtron>)
==>[0=>ws://localhost:1111/mtron,
1=>ws://localhost:1112/mtron]
mtron> {0,1}.move(//1).harvest()
==>[0=>ws://localhost:1111/mtron,
1=>ws://localhost:1112/mtron]
mtron> {0,1}.move(//0).harvest()
==>[0=>ws://localhost:1111/mtron,
[== all the craziness below trying to get the end vertex to be the key for the shuffle ==]
[== and the solution was simply a span cofficient of -1 ==]
mtron> [marko=>{josh=>lop,josh=>ripple}]{-1}
==>[lop=>josh=>marko,ripple=>josh=>marko]
"A striking result."
Algebraically: (WA){-1} = Ξ£β‚š (Ξ”β‚š A){-1} (Ξ”β‚š W{-1})
wheel span / converse verdict
//x = x (a^⌣)^⌣ = a (Thm 11) identical
/(xy) = /x/y (a·b)^⌣ = b^⌣·a^⌣ identical, order reversed: · is not commutative (Thm 6), so the wheel's homomorphism lifts to an anti-automorphism
/(x+y) = /x + /y (derived) (a+b)^⌣ = a^⌣+b^⌣ identical, no defect term: streams have a genuine absorbing zero (Thm 4), so the wheel's 0z never appears
/1 = 1 1^⌣ = 1 identical
/0 = 0/0 = βŠ₯ 0^⌣ = 0 diverges β€” the wheel's zero is not absorbing; mtron's is
x βˆ’ x = 0xΒ² β‰  0 aΒ·a^⌣ β‰  1 (Cor. 9) same shape, richer residue (below)
{x : 0x = 0} is a commutative ring {a : a·a^⌣ = a^⌣·a = 1} = the bijections (Cor. 9) identical: the sub-part where the reflection is a group inverse
βŠ₯ absorbing: 0/0 + x = 0/0 limbo: start(x).{-n}inst, "run, it answers itself" same refusal of partiality, different device (value vs. blocked computation)
@okram
okram / distributed.mtron
Last active November 23, 2026 22:19
mtron distribution planner
mtron> start?hop=4(0).{0,2000}plus(1).explain()>>format
==>"""
op dom rng args f desc c_dom c_rng c_out
branch noobj{0}::T int{*}::T [http://localhost:8777=>start?hop=3(0).{0,1066}plus(1), <j> standard {0} {*} {*}
<ws://192.168.1.37:8555>=>start?hop=3(0).{1067,1600}plus(1),
<ws://192.168.1.72:8555>=>start?hop=3(0).{1601,1867}plus(1),
<ws://0.0.0.0:8555>=>start?hop=3(0).{1868,2000}plus(1)]
β”Œβ”€β–Ί//localhost:8777────{1}─{162}─┐
β”œβ”€β–Ί//192.168.1.37:8555─{1}─{81}───
@okram
okram / law_shard.mtron
Created October 18, 2026 11:22
Distribution and Optimization as Algebraic Rewrites
[INFO ] [boot] mEtaTROn successfully booted
[== CREATE TWO NETWORK PEERS (one remote the other self loop) ==]
mtron> ws_client::[host=><ws://localhost:8555/mtron>]
==>ws_client::[host=>ws://localhost:8555/mtron,
send=>inst?#{*}<=#{?}(){<j>},
send_recv=>inst?#{*}<=#{?}(){<j>},
close=>inst?#{*}<=#{?}(){<j>},
on_message=>print?#<=#('received ${_}')]
@okram
okram / agent-metatron-review.md
Last active September 19, 2026 11:48
agent-metatron-review.md

Metatron β€” A Fresh-Head Review Against the Field

A component-by-component deep analysis of metatron (https://metatron.phaseshift.studio) relative to popular existing systems. Written for developers, computer scientists, tech enthusiasts, and prospective contributors.

Method: claims grounded in the actual source tree where possible, not just the skill/documentation surface. Where I am inferring beyond what I can verify in-tree, I say so.

@okram
okram / agent_summary.mtron
Created August 27, 2026 22:39
qwen3.8:27b review after using thalamus integration
mtron> @dr.chat("""what do you think of the claims and looseends?""")
β”Œagent response───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
β”‚Honestly? **Really well done.** And I mean that specifically. β”‚
β”‚ β”‚
β”‚**The taxonomy is the smartest part.** `decision`, `problem`, `observation`, `solution` β€” that's not just "here are some notes." It captures *wh
@okram
okram / ide.mtron
Created August 27, 2026 16:28
mtron encoding of a java project
mtron> */usr/marko/scratch.==[name=>_,root=>_,command=>_]
==>[
name=>'scratch',
root=>mfs:src/test/resources/scratch,
command=>[
mvn_build=>/m/ide/inst/command/runner?result<=#{?}(to=>#::T),
mvn_clean=>/m/ide/inst/command/runner?result<=#{?}(to=>#::T),
mvn_exec=>/m/ide/inst/command/runner?result<=#{?}(to=>#::T),
code_tree=>inst?#{*}<=#{?}(max=>isa(int::T).else(2)){*max.split(tree_select::[root=>!*/usr/marko/scratch/root,max=>id(),flatten=>true]@scratch_tree)}]]
mtron> */usr/marko/scratch/code/1.as(web:java::T)
@okram
okram / metatron-thalamus.mtron
Last active August 26, 2026 12:37
a metatron implementation of the thalamus project.
$ bin/drstynx
______ _______ __ PhaseShift Studio
| _ \ .----. | _ | |_.--.--.-----.--.--.
|. | \| ___| 1___| _| | | |_ _|
|. | |__||__|____ |____|___ |__|__|__.__|
|: 1 / |: 1 | |_____| presents ..
|::.. . / |::.. . | a metatron bomb
`------' `-------'
version 0.1-alpha
/------------------------\
\|| Graph Concepts ||/
/|| by Marko A. Rodriguez ||\
\------------------------/
Graph Modeling
Vertex, Edge (w/ properties)
-- simple data model
-- expressive data model