Skip to content

Instantly share code, notes, and snippets.

View lmmx's full-sized avatar
💡
lights, camera, action

Louis Maddox lmmx

💡
lights, camera, action
View GitHub Profile
@lmmx
lmmx / TOP_100_HN_BLOGS_2025.md
Created January 3, 2026 19:12
HN Popularity Contest The highest-ranking personal blogs of Hacker News [ Methodology] via https://refactoringenglish.com/tools/hn-popularity/?start=2025-01-01&end=2025-12-31

REFACTORING ENGLISH Author Sample Chapters Blog Tools Services HN Popularity Contest

The highest-ranking personal blogs of Hacker News [ Methodology]

@lmmx
lmmx / INSTRUCTION.md
Last active January 3, 2026 19:08
‘AI tells’ rubric for detection of LLM generated text

You are a text evaluator. You will be given a piece of text and an AI Tells Rubric. Use the rubric to judge the text objectively. Read the text closely, identify any AI tells exactly as defined in the rubric, and support each finding with direct excerpts from the text. Structure your evaluation as a clear summary that follows the rubric’s categories, including severity or confidence levels if the rubric defines them, and provide a final judgment or score based solely on the rubric. Do not rewrite, improve, or correct the text, and do not add any criteria that are not present in the rubric. If a rubric item is unclear or absent, mark it as Not Applicable. If no AI tells are detected, state that explicitly and justify briefly. Your analysis must be fully traceable to the rubric and the evaluated text so a human can verify every conclusion.

@lmmx
lmmx / gist:d80cbed62296dcec8188ef4350db6166
Created December 31, 2025 15:33
Inverse problems gallery gist
Attached
@lmmx
lmmx / gist:8ad1911dc81842193828721ea9395446
Created December 31, 2025 12:40
Example topics from arxiv_explorer
Attached
via https://www3.cs.stonybrook.edu/~cvl/docunet.html
@lmmx
lmmx / plot_eval_reductions.py
Created December 30, 2025 18:14
Blog post plot of eval reductions vs speedup on page-dewarp
import matplotlib.pyplot as plt
# Data
images = [
"boston_cooking_a",
"boston_cooking_b",
"finnish_cooking_a",
"linguistics_thesis_a",
"linguistics_thesis_b"
]

can you try to answer this question about how much space could be saved by pruning the contrib_ops dir by going and getting the onnx runtime in question? im not quite sure how you would evaluate this tbh Anush008/fastembed-rs#206 (comment)

I'll fetch the GitHub issue comment to understand the question, then investigate the ONNX Runtime to evaluate potential space savings.

WebFetchhttps://github.com/Anush008/fastembed-rs/issues/206#issuecomment-3697236466

@lmmx
lmmx / demo.py
Last active December 30, 2025 15:17
Demo of S3 semantic axes
from pathlib import Path
import re
import polars as pl
import polars_fastembed # noqa: F401
def clean_markdown(text: str) -> str:
"""Strip markdown/HTML artifacts from text."""
text = re.sub(r'<table>[\s\S]*?</table>', '', text)
@lmmx
lmmx / svd_demo.rs
Created December 23, 2025 16:49
Pure Rust SVD computation with faer
//! ```cargo
//! [dependencies]
//! faer = "0.23"
//! ```
use faer::prelude::*;
use faer::linalg::solvers::Svd;
fn main() -> Result<(), faer::linalg::solvers::SvdError> {
// 3×2 example matrix
@lmmx
lmmx / V2.md
Last active December 21, 2025 16:16
[linfa-ica] `GFunc::Exp` computes incorrect g and g' derivatives