Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
peteristhegreat / setup-c-cpp-programming-language.md
Last active July 5, 2025 04:06
How do you setup a programming language and run it?

IDE

Examples

Qt Creator

Compiler/Linker

You take your .cxx and your .hxx files (.c/.h or .cpp/.hpp/.h) and build them to .o files aka object files. Then all the object files get linked together into an executable.

@peteristhegreat
peteristhegreat / firebase-docs-clone.md
Created June 28, 2025 15:45
Firebase React Docs Clone, Meetings App
@peteristhegreat
peteristhegreat / us-license-plate-alpr-anpr.md
Last active June 28, 2025 15:33
US License Plate ALPR ANPR, datasets, training, OCR research, 2025

Motivation

ALPR and ANPR

Automatic License Plate Recognition

Automatic Number Plate Recognition

I wanted to build out a mobile ALPR app without paying a subscription cloud fee to someone. I dug in and found that it is a pretty layered problem, especially with the constraints I had given myself.

@peteristhegreat
peteristhegreat / wrong-history-robotics.md
Last active June 20, 2025 16:27
A Brief, Incomplete, and Mostly Wrong History of Robotics, Analysis
@peteristhegreat
peteristhegreat / wrong-history-programming-langauges.md
Last active June 20, 2025 16:07
A Brief, Incomplete, and Mostly Wrong History of Programming Languages, Analysis
@peteristhegreat
peteristhegreat / gittyup-wsl-directions.md
Last active June 12, 2025 16:17
GittyUp - git gui for Linux, run in WSL

SourceTree and VSCode were giving me issues with browsing my git repo without marking all my files as "changed".

This looks like it is caused by having my code in WSL in Ubuntu instead of the code in Windows. Maybe there is some other feature that is off, but for now I am pushing back towards open source awesomeness.

GittyUp in WSL

A fork of GitAhead, it is Qt based and pretty easy to install with flatpack.

As far as X11 support or a display for WSL2, Windows 11 ships with Wayland in place.

@peteristhegreat
peteristhegreat / wsl-gotchas-coding-git.md
Last active June 13, 2025 16:50
WSL gotchas, coding, git environment

Git permission downloads

If you clone a git repo into /mnt/c, then you will get 777 permissions on everything.

SourceTree access to a folder under WSL

SourceTree will complain with:

git log failed with code 128 detected dubious ownership ...
@peteristhegreat
peteristhegreat / buzz-whisper-cpp.md
Created June 6, 2025 20:48
Buzz + Whisper_cpp, Fast Whisper
@peteristhegreat
peteristhegreat / ai-high-vram-builds.md
Created June 6, 2025 17:18
AI High VRAM builds, 2025Q2

The few routes I've looked at recently are:

96 GB VRAM via 4x Tesla P40 graphics cards in a server grade motherboard + 500 GB of regular RAM, comes out to about $4000, especially with water cooling.

128 GB Unified RAM in a Mac M4 Ultra setup, $10,000. Slower at inference compared to the 96GB VRAM of older generation graphics cards. Very expensive.

32 GB VRAM 5090 (or whatever is available). Pricing in the US is $3000 + or more. Fastest at inference, but not as much room to hold the larger models.

glhf.chat , Run almost any open source model that's available, and pay for usage. Roughly $0.01 to $0.10 per prompt/answer. I signed up for it as a beta before it was paid and they gave me $10 credit after they started requiring money. In the long run, I don't like this a lot because I want to run an agent or some local coding or local RAG or fine tuning and only pay for electricity.

@peteristhegreat
peteristhegreat / butcher-block-countertops.md
Last active June 3, 2025 16:45
Laminate "Butcherblock" Hardwood Live Edge Counter Top, process, tips, tricks

Butcherblock Counter Tops

I took on a larger project recently. I am converting a Corian countertop/sink + island + desk in a kitchen area over to a hardwoood live-edge counter top.

Glossary

Laminate - A bunch of boards/planks glued side by side in this case

Butcherblock - Typically end-grain up and down on smaller pieces of wood all glued together. In this build, the planks are full thickness of the countertop, and run long grain down the length of the counter top