Skip to content

Instantly share code, notes, and snippets.

View harrisj's full-sized avatar

Jacob Harris harrisj

View GitHub Profile
@harrisj
harrisj / Sad Space Cowboys songtracks.md
Last active November 29, 2026 21:34
Liner notes for the Sad Space Cowboy soundtracks

Soundtracks for a nonexistent series about Sad Space Cowboys doing their sad space cowboy things in space. This show doesn't exist, but I wish it did.

@harrisj
harrisj / config.json
Created September 8, 2026 21:06
Default Fence "code" configuration
{
"allowPty": true,
"network": {
"allowedDomains": [
"api.openai.com",
"*.anthropic.com",
"api.githubcopilot.com",
"generativelanguage.googleapis.com",
"api.mistral.ai",
"api.cohere.ai",
@harrisj
harrisj / example.py
Created April 9, 2026 10:43
HR1 example with PRedylogic
#!/usr/bin/env python3
import datetime
from ulid import ULID
import pendulum
from pydantic import BaseModel, Field, computed_field
from predylogic import Registry, all_of, any_of
from typing import Callable, Annotated
MonthNum = Annotated[int, Field(ge=1, le=12)]
YearNum = Annotated[int, Field(ge=2025)]
4c4
< February 5, 2025
---
> February 28, 2025
41,43c41,43
< disseminates only the information of federal government employees.
< Therefore, no PIA is required. OPM has nevertheless chosen to conduct this
< PIA in its discretion.
---
> disseminates information about federal government employees. Therefore,
@harrisj
harrisj / 2020_tweets_from_harrisj.md
Created November 5, 2024 18:16
Stupid Election "Fraud" detection from 2020

Because they'll likely roll out the same bad code again, I decided to bring out some tweets from 2020 about how a past effort to reconstruct the vote and prove that votes were being reallocated from Trump to Biden rested on multiple bad assumptions. Sharing today in case it's relevant again.

Hey all, I just saw the stupidest "proof of voting fraud" by someone with a terrible Python script and I don't know if I should bother explicating all the mistakes he's making

Okay, the first thing you must understand about live election reports is that they are eventually consistent. County people are giving numbers to stringers who are reporting things in dozens of time each hour. Individual mistakes happen and get corrected over the night

As a result, it's a really stupid assumption to look at two different timestamps like this: T1: N votes Cand1: 50.3% Cand2: 47.8% T2: N+M votes Cand1: 50.4% Cand2: 47.6%

All rate schedule
performs an icers, defective or noncoverent accounting procedures, together with-rights
(including unpaid Fee the dollars that would be
the form of performance of a sectre-owned small business settlement proposal aracts;” the terms and conditions of Severance Program (line item number;
(B) The provisions of 47.303-3(c), the Contractor's right, Economy for Construction.
22.1007(i)(A)
@harrisj
harrisj / fake_far.txt
Created February 20, 2020 03:51
Fake FAR text
All rate schedule
performs an icers, defective or noncoverent accounting procedures, together with-rights
(including unpaid Fee the dollars that would be
the form of performance of a sectre-owned small business settlement proposal aracts;” the terms and conditions of Severance Program (line item number;
(B) The provisions of 47.303-3(c), the Contractor's right, Economy for Construction.
22.1007(i)(A)
@harrisj
harrisj / FAR.txt
Created February 20, 2020 01:47
The text of the FAR
This file has been truncated, but you can view the full file.
VOLUME I-PARTS 1 TO 51
FEDERAL
ACQUISITION
REGULATION
Issued Fiscal Year 2019 by the:
GENERAL SERVICES ADMINISTRATION
@harrisj
harrisj / shins_girls.txt
Last active May 7, 2017 23:56
All the times the Shins mention a girl
And she was no ordinary girl
Girl, inform me, all my senses warn me
Remember the girls in the middle are always the first to fall off.
You're the girl on the wing of a barnstormer
So forget about it, girl
I gotta leave here, my girl, get on with my lonely life
Girl, you must atone some
Eyeless in the morning sun you were pale and mild, a modern girl
You'd be damned to be one of us, girl
Dare to be one of us, girl
@harrisj
harrisj / examples.txt
Created April 20, 2017 16:26
Adding even numbers between 1 and 100
Go
total := 0
for i := range 100 {
if i % 2 == 0 {
total = total + i
}
}
Rust
let evens = (0..100).filter(|&x| x % 2 == 0);