Skip to content

Instantly share code, notes, and snippets.

View garyblankenship's full-sized avatar
🎩
I may be slow to respond.

Gary Blankenship garyblankenship

🎩
I may be slow to respond.
View GitHub Profile
@garyblankenship
garyblankenship / repeater-plans.md
Created March 16, 2025 15:06
Temporal Repeater

The Electromagnetic Time Capsule: A Practical Approach to Signal Preservation Across Time

Executive Summary

The Electromagnetic Time Capsule represents a revolutionary yet achievable approach to testing fundamental principles of signal transmission across significant time intervals. By employing spacecraft-based repeater technology, we can create controlled temporal delays in electromagnetic signals, allowing for unprecedented experiments in signal integrity, data preservation, and long-distance communication protocols. While not "true" time travel or past viewing, this system provides a critical technological foundation that addresses many of the same engineering challenges and opens pathways to more advanced temporal information technologies.

Concept Overview: The Repeater Time Capsule

Rather than pursuing hypothetical technologies like faster-than-light travel or theoretical "chronolenses," the Electromagnetic Time Capsule focuses on a pragmatic approach: creating a controlled time delay throug

@garyblankenship
garyblankenship / watts-nostalgia.md
Created March 12, 2025 15:16
The Illusion of Simpler Times: A Watts-Wallace Perspective

The Illusion of Simpler Times: A Watts-Wallace Perspective

Listen, now. There's this exquisite paradox about nostalgia that we've all fallen prey to—this notion that there was some golden era when life possessed a crystalline simplicity that has since dissolved in the acid bath of modernity. But this is, if you'll permit me a moment of gentle amusement, a most fascinating self-deception.

What we call the "simpler past" is merely our own past ignorance dressed in ceremonial robes. It's not that the world was simpler—good heavens, no—it's that we were simpler. Our consciousness had not yet expanded to encompass the infinitely complex systems that have always been churning away behind the veil of our perception.

And here's where things get really interesting (and by "interesting" I mean the sort of fascinating that makes your frontal cortex feel like it's being gently massaged by a philosophical Zen master with footnotes): we experience this false nostalgia while simultaneously being crushed beneath the w

<?php
require_once __DIR__ . '/../vendor/autoload.php';
function getPixels($img)
{
$pixels = [];
$width = imagesx($img);
$height = imagesy($img);
for ($y = 0; $y < $height; $y++) {
@garyblankenship
garyblankenship / feynman-says.md
Created February 24, 2025 23:40
Chunking and Diff based LLM Thinking

(Feynman-esque Monologue Begins)

Alright, alright, so we've got this... thing, this language model, right? It's like a parrot that's read every book ever written, but it doesn't really understand. It's good at mimicking, at pattern matching, but it's not a programmer. It's a statistical machine. That's our starting point. We can't forget that.

We want to tell it to change some code. Easy for us, we see the structure, the logic, the meaning. But for the parrot? It's just a stream of... tokens, they call them. Like letters, but bigger chunks. It doesn't see lines, it doesn't see functions the way we do.

So, the obvious way, telling it "change line 35," that's doomed. It'll get it wrong. It's like asking the parrot to find the 35th feather on its left wing. It might look like it knows, but it's just guessing. Diffs? Same problem, only fancier. It's all about positions, and the parrot doesn't have a good sense of position. It's relative, not absolute.

**(Taps on a whiteboard, imagi

@garyblankenship
garyblankenship / seo.sh
Created February 12, 2025 01:30
Quick SEO Check
#!/usr/bin/env bash
# Check if a URL is provided as an argument
if [ -z "$1" ]; then
echo "Usage: $0 <URL> [output_file]"
exit 1
fi
url="$1"
@garyblankenship
garyblankenship / updater.sh
Created February 9, 2025 19:39
Ollama updater
#!/bin/zsh
# Define the file to store the update timestamps
TIMESTAMP_FILE="$HOME/.ollama_model_timestamps"
# Function to fetch and sort Ollama models by size, excluding recently updated models
function fetch_sorted_models() {
ollama list | tail -n +2 | awk -F"\t" '
!/seconds ago|minutes ago|hours ago/ && $1 ~ /:/ {print $1 "\t" $3}' | sort -k2 -h
}
@garyblankenship
garyblankenship / LaravelZeroTinkerwellDriver.php
Created October 28, 2024 20:38 — forked from owenvoke/LaravelZeroTinkerwellDriver.php
A Tinkerwell driver for Laravel Zero.
<?php
use LaravelZero\Framework\Application;
use Tinkerwell\ContextMenu\Label;
use Tinkerwell\ContextMenu\Submenu;
use Tinkerwell\ContextMenu\SetCode;
use Tinkerwell\ContextMenu\OpenURL;
class LaravelZeroTinkerwellDriver extends TinkerwellDriver
{

Step #1: Install Laravel

Install the latest Laravel version i.e. Laravel 5.8. To do so go to the project directory and run the command:

composer create-project --prefer-dist laravel/laravel

Step #2: Create Package Directory

create folder from laravel root directory with this structure:

@garyblankenship
garyblankenship / aider.sh
Created October 6, 2024 01:39
Aider shell script for convenience
#!/bin/bash
# Pull the latest version of the image (optional, uncomment if needed)
# docker pull paulgauthier/aider-full
# Run the Docker container
docker run -it --rm --user $(id -u):$(id -g) --volume "$(pwd):/app" paulgauthier/aider-full "$@"
# Remove all stopped containers to free up resources
docker container prune -f
Name Purpose Author (Publication Date) Category
Andy - an artificial human A slang term for "android" - an artificially created humanoid being. Philip K. Dick (1968) ai
Autobutle An automated servant. Frank Herbert (1972) ai
Automaton Chessplayer - the first chess-playing computer The first chess-playing computer. Ambrose Bierce (1910) ai
Automonk A robot with an AI trained on an individual monk. Ray Naylor (2022) ai
Ava - she wants to be taught A piece of learning software. Amitav Ghosh (1995) ai
Bard A machine that invents randomized stories and can read them out loud or animate them for viewing. Isaac Asimov (1956) ai
Bendix Anxiety Reducer Machine-based psychotherapy. Robert Sheckley (1956) ai
Big Computer - wide-screen Jehovah Just like it says; this computer knows it all. John Varley (1983) ai
Big Noodle A vast artificial intelligence system used to process all of Earth's information. Philip K. Dick (1981) ai