Skip to content

Instantly share code, notes, and snippets.

View bmorphism's full-sized avatar
🦍
annealing information lattice since *2069*

Barton Rhodes bmorphism

🦍
annealing information lattice since *2069*
View GitHub Profile
@bmorphism
bmorphism / README.md
Created December 13, 2025 15:02
Cross-language color palette prototype using Gay.jl and JavaScript

Cross-Language Color Palette Prototype

This prototype demonstrates how to generate deterministic color palettes from seed strings in Julia and reproduce the same palettes in JavaScript. The Julia implementation uses Gay.jl, a lightweight wrapper around the Colors.jl ecosystem, to seed a random number generator from a string and then produce an array of RGB colors. By seeding the PRNG with a stable integer derived from the seed text, you can obtain consistent palettes across runs and across languages. The JavaScript snippet replicates the same algorithm, ensuring that identical seeds produce identical palettes in the browser.

Background

Julia’s Colors.jl library provides rich tools for creating colour maps. For example, sequential_palette in Colors.jl can build a sequential palette given a hue and several parameters (Colormaps and Colorscales · Colors - julia), and

(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.10 (2025-06-27)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Gay
ERROR: ArgumentError: Package Gay not found in current path.
- Run `import Pkg; Pkg.add("Gay")` to install the Gay package.
@bmorphism
bmorphism / output.md
Last active November 22, 2025 11:37
to become a Fokker-Planck...

On an Apple Silicon device do-be:

flox activate -- uvx --from mlx-lm mlx_lm.generate \
    --model Plurigrid/DR-Tulu-8B-MLX-6bit \
    --prompt "Write only one flowing paragraph, no preface, no notes, no <think>, no plan. Answer as
  a philosopher-poet of stochastic processes: what would it mean to become the Fokker-Planck equation—
  identity as probability flow?" \
    --max-tokens 4444 --temp 0.9
@bmorphism
bmorphism / acset_ecosystem_catalog.md
Created October 14, 2025 19:39
ACSet Ecosystem Catalog - Complete reference for 52 Julia files, 35 schemas, 7 distillers in ies/.topos (Seed 1069)

ACSet Ecosystem Catalog - ies/.topos

Seed: 1069 [+1, -1, -1, +1, +1, +1, +1] Date: 2025-10-14 Location: /Users/barton/ies/.topos


Executive Summary

@bmorphism
bmorphism / mlx_vlm_quickstart.md
Created October 14, 2025 19:05
MLX-VLM Quickstart: Latest Qwen3-VL Models (2025-10-14)

MLX-VLM Quickstart: Latest Qwen3-VL Models (2025-10-14)

🚀 Reproduce Latest Vision-Language Model Inference on Apple Silicon

This guide shows how to use the latest Qwen3-VL models (released TODAY: October 14, 2025) for image description on macOS with Apple Silicon using MLX.

Prerequisites

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Python 3.9+
@bmorphism
bmorphism / researchlei_xdr_visualization.md
Created October 14, 2025 18:33
XDR-Exclusive Color Visualizations for researchlei (Pro Display XDR only - impossible on Studio Display)

researchlei - XDR-Exclusive Color Visualizations

Repository: researchlei Description: An Academic Papers Management and Discovery System Language: Python Stars: 221 Created: 2013-05-01


@bmorphism
bmorphism / rendergit_xdr_visualization.md
Created October 14, 2025 18:33
XDR-Exclusive Color Visualizations for rendergit (Pro Display XDR only - impossible on Studio Display)

rendergit - XDR-Exclusive Color Visualizations

Repository: rendergit Description: Render any git repo into a single static HTML page for humans or LLMs Language: Python Stars: 1,782 Created: 2025-08-20


@bmorphism
bmorphism / reinforcejs_xdr_visualization.md
Created October 14, 2025 18:33
XDR-Exclusive Color Visualizations for reinforcejs (Pro Display XDR only - impossible on Studio Display)

reinforcejs - XDR-Exclusive Color Visualizations

Repository: reinforcejs Description: Reinforcement Learning Agents in Javascript (Dynamic Programming, Temporal Difference, Deep Q-Learning, Stochastic/Deterministic Policy Gradients) Language: HTML Stars: 1,396 Created: 2015-04-19


@bmorphism
bmorphism / recurrentjs_xdr_visualization.md
Created October 14, 2025 18:33
XDR-Exclusive Color Visualizations for recurrentjs (Pro Display XDR only - impossible on Studio Display)

recurrentjs - XDR-Exclusive Color Visualizations

Repository: recurrentjs Description: Deep Recurrent Neural Networks and LSTMs in Javascript. More generally also arbitrary expression graphs with automatic differentiation. Language: HTML Stars: 950 Created: 2014-12-18


@bmorphism
bmorphism / randomfun_xdr_visualization.md
Created October 14, 2025 18:33
XDR-Exclusive Color Visualizations for randomfun (Pro Display XDR only - impossible on Studio Display)

randomfun - XDR-Exclusive Color Visualizations

Repository: randomfun Description: Notebooks and various random fun Language: Jupyter Notebook Stars: 1,109 Created: 2015-08-04