Skip to content

Instantly share code, notes, and snippets.

View ceejbot's full-sized avatar
📈
bigger on the inside

C J Silverio ceejbot

📈
bigger on the inside
View GitHub Profile
@ceejbot
ceejbot / claudification.md
Last active August 29, 2025 06:03
Clau--clau--Claudius shall speak clear. Tips for getting Claudius to write things.

My current advice for making the machine write code/solve problems for you successfully, condensed:

First, use Claude Code if you can. It's the best at this and has been for some time. It leverages the terminal, terminal tools, and the fancy markov chains to work in a way that feels familiar to people who are terminal users.

Second, you must always remember it is a machine. It does not think. It is closer to the "do what I mean machine" than it used to be, but it is still a markov-chain-shaped intern that does what we tell it to do mindlessly. Garbage in, garbage out. Interrupt it ruthlessly without sentiment if you figure out it's heading down the wrong path.

Third, context is everything. The context window is how many word-tokens about the problem space the model can consider. Roughly, token counts map to context size. Hard problems benefit from models or providers who give you lots of context to work inside. BUT! You can also use different models for different parts of a task! And here's the crucial i

@ceejbot
ceejbot / middleware.md
Last active January 22, 2025 20:54
Middleware, onions, and crying

Notes on axum middleware

A few days ago I complained about the agony of trying to write per-endpoint middleware in Axum using Tower services and layers, and how awful I found the experience every time Axum exposes Tower to me. (I still feel that way.) Josh Triplett was kind enough to point me to a relative newcomer in the Rust http framework scene, Trillium, as a good alternative.

Here are my notes on the spike I did with Trillium.


tl;dr Axum is much more popular and also finished. You are getting a more well-known and understood project when you choose it. You should probably choose it unless you have a reason not to. For now.

@ceejbot
ceejbot / holy60-build.md
Last active September 4, 2024 15:45
Build instructions for a 60% keyboard in a Holy60 case

Build instructions for a KBDFans Holy60-based custom keyboard

I built a keyboard I like the other day. You can build your own custom keyboard like this if you want to. It's more approachable than you might think!

Parts list:

  • KBDFans Holy 60 case. It comes with screws, standoffs, and a torx driver for its screws.
  • Silicone standoff covers, to prevent accidental shorts from the board touching the metal standoffs.
  • A PCB that can be mounted in this case. Any 60% PCB that can go into the KBDFans Tofu60 original flavor can go into the Holy 60, which is a wide range of boards. I chose the DZ60 RGB with the arrow keys, because I use the arrow keys a lot. Another popular choice is the [Wooting HE 60](https://wooting.io/
@ceejbot
ceejbot / crashlogger-output.txt
Created March 28, 2024 07:15
repeatable crash from papyrus
Skyrim SSE v1.6.640
CrashLoggerSSE v1-12-1-0 Dec 22 2023 02:20:56
Unhandled exception "EXCEPTION_ACCESS_VIOLATION" at 0x7FF6FBA1C3EC SkyrimSE.exe+0DBC3EC mov dword ptr [rax+0x20], 0x01
SYSTEM SPECS:
OS: Microsoft Windows 11 Home v10.0.22631
CPU: AuthenticAMD AMD Ryzen 7 7800X3D 8-Core Processor
GPU #1: Nvidia GA102 [GeForce RTX 3080 Ti]
GPU #2: AMD Raphael
@ceejbot
ceejbot / SoulsyHUD.log
Created February 3, 2024 20:43
soulsyhud logging sample
18:37:22 [INFO ] SoulsyHUD version 0.16.4 coming online.
18:37:22 [INFO ] Game version 1-6-640-0
18:37:22 [INFO ] Registering plugin for SKSE cosaves.
18:37:22 [INFO ] SoulsyHUD load successful.
18:37:24 [DEBUG] main.cpp:63: Registering with Trainwreck if it's found...
18:37:40 [INFO ] D3DInit hooked so we can give imgui something to render to.
18:37:40 [INFO ] Getting DXGI swapchain...
18:37:40 [INFO ] Reticulating splines...
18:37:40 [INFO ] Getting DXGI swapchain desc...
18:37:40 [INFO ] Initializing ImGui...
@ceejbot
ceejbot / crashlogger-output.txt
Created October 4, 2023 02:08
Thaumaturgy format string crash with Yes I'm Sure
Skyrim SSE v1.6.640
CrashLoggerSSE v1-10-0-0 Sep 5 2023 01:25:07
Unhandled exception "EXCEPTION_ACCESS_VIOLATION" at 0x7FF630A2D6AF
SYSTEM SPECS:
OS: Microsoft Windows 10 Home v10.0.19045
CPU: AuthenticAMD AMD Ryzen 7 3800X 8-Core Processor
GPU #1: Nvidia GA102 [GeForce RTX 3080 Ti]
GPU #2: Microsoft Basic Render Driver
@ceejbot
ceejbot / justfile
Last active August 14, 2023 23:47
some automation for the profiling steps
# If you don't know what this is, go to https://just.systems
set windows-shell := ["pwsh.exe", "-Command"]
modpath := "G:/VortexStaging/Community Shaders development/SKSE/Plugins/"
# How to get started profiling.
@help:
"First, add the following directories to your path env var:"
"C:\Program Files\Microsoft Visual Studio\2022\Community\Team Tools\Performance Tools\"
@ceejbot
ceejbot / BetterThirdPersonSelection.log
Created May 15, 2023 23:42
Skyrim AE BTPS crash logs
[info] BetterThirdPersonSelection v0.5.8
[info] BTPS: API is being requested, version 0
[info] BTPS: API request successful
[info] BTPS applying hooks...
[info] BTPS applying ActivateHook
[info] BTPS applying SelectionHook
[info] BTPS applying MainUpdateHook
[info] BTPS applying HorseBackHook
[info] BTPS finished applying hooks...
[info] BTPS: successfully registered SelectionWidgetMenu
@ceejbot
ceejbot / Crash_2022_11_30_0-37-54.txt
Created November 30, 2022 08:43
skyrim crash output
Unhandled native exception occurred at 0x7FF77C3ED789 (SkyrimSE.exe+A0D789) on thread 17540!
FrameworkName: NetScriptFramework
FrameworkVersion: 15
FrameworkArchitecture: x64
GameLibrary: SkyrimSE
GameLibraryVersion: 18
ApplicationName: SkyrimSE.exe
ApplicationVersion: 1.5.97.0
VersionInfo: Successfully loaded
@ceejbot
ceejbot / config
Last active September 1, 2021 17:47
fast notes on how to build and test rust lambdas in local dev on a mac
# this goes into your ~/.cargo/config file
[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"