role-to-assume: arn:aws:iam::504242000181:role/GithubDeployCIStandard ARN format for IAM is arn:aws:iam:::role/... with no region (empty field), so the double colon is correct. Disregard.
| #!/usr/bin/env python3 | |
| import time, urllib.request, json, sys, os, pathlib | |
| def load_env(path=".env"): | |
| env = {} | |
| for line in pathlib.Path(path).read_text().splitlines(): | |
| line = line.strip() | |
| if not line or line.startswith("#") or "=" not in line: | |
| continue | |
| k, _, v = line.partition("=") |
| #!/usr/bin/env python3 | |
| """ackroyd_lock.py — a spoiler in a sealed envelope. | |
| Usage: python3 ackroyd_lock.py <surname of the culprit> | |
| The culprit's surname is the decryption key. A wrong name yields garbage | |
| and the lock stays shut. The answer appears nowhere in this file: only a | |
| blinded commitment c = b + H(key)*(1,2,3) does. NO SPOILERS IN THE SOURCE. | |
| Hash: surname -> lowercase a-z only -> sum(a=1..z=26) -> sum^3 mod 10007 |
| % ===================================================================== | |
| % test_atan.mms -- Test harness for the Atan library. | |
| % ===================================================================== | |
| % | |
| % Build: mmixal test_atan.mms | |
| % Run: mmix test_atan | |
| % | |
| % Output looks like: | |
| % | |
| % atan tests: |
role-to-assume: arn:aws:iam::504242000181:role/GithubDeployCIStandard ARN format for IAM is arn:aws:iam:::role/... with no region (empty field), so the double colon is correct. Disregard.
These rules apply to all AI-assisted changes in this repository.
Completion Gates are met.A cross-platform, fully offline text-to-MP3 pipeline built on Piper TTS.
Designed for long-form reading (ebooks, essays, Project Gutenberg texts) with natural pacing, clean chunk boundaries, and intentional pauses that sound like real speech rather than stitched audio.
This tool:
.txt or .pdf (optional page ranges)| import math | |
| import random | |
| import time | |
| from collections import deque | |
| import pyglet | |
| from pyglet import gl | |
| # -------------------- CONFIG -------------------- | |
| PARTICLES = 20_000 |
| LOC #1000 | |
| START_TIME IS 1767310000 | |
| DAY IS 86400 | |
| Main | |
| TRAP 0, Time, 0 | |
| SETI $1, START_TIME | |
| SETI $3, DAY | |
| MULI $3, $3, 3 % buffer for 3 days |
| LOC #1000 | |
| Tmp IS $252 | |
| % Entry point | |
| Main | |
| SETI $0, 48 | |
| SETI $1, 18 | |
| PUSHJ $0, GcdEuclid | |
| BN $1, Error |
| DIAL_INCREMENTS IS 100 | |
| LOC #100 | |
| % Entry point | |
| GREG @ | |
| InputPtr GREG 0 % global register for input pointer | |
| Main LDA InputPtr,MyInput % initialize pointer | |
| SETI $10,50 % dial setting - current dial pointer (starts at 50) | |
| SETI $11,0 % count number of operations handled |