pete starred moodoki/graphite_picocalc_gc

@pete pete starred moodoki/graphite_picocalc_gc · August 10, 2026 11:06

TI-83/84-inspired graphing calculator firmware for the ClockworkPi PicoCalc (RP2040/RP2350): graphing, statistics, matrices, complex numbers and a …

C 1 Updated Aug 10


pete starred llm-attacks/llm-attacks

@pete pete starred llm-attacks/llm-attacks · August 1, 2026 00:00

Universal and Transferable Attacks on Aligned Language Models

Python 4.8k Updated Aug 2, 2024


pete starred adambenhassen/ESP32Marauder-CardputerADV

@pete pete starred adambenhassen/ESP32Marauder-CardputerADV · July 26, 2026 10:50

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32. This fork focuses solely on M5Stack Cardputer ADV

C++ 9 Updated Apr 16


pete starred ATOMNFT/M5stick-Marauder

@pete pete starred ATOMNFT/M5stick-Marauder · July 26, 2026 10:12

Wifi Marauder (Newest) for M5stickC Plus & Plus2. This version contains the ble swift pair fix.

C++ 221 Updated Jan 11, 2025


pete starred morria/network105

@pete pete starred morria/network105 · July 23, 2026 10:56

1 Updated Sep 8, 2025


Ask your computer what the hell just happened.

the-hell-was-that
#!/bin/rc
# "The hell was *that*?"
# A substitute for mashing the error message into a search engine:
# · Reads /dev/text by default; see -i and -a.
# · Tells the clanker to explain what the hell is going on.
# · The clanker attempts to explain what the hell is going on.
# · Dumps some stuff in /tmp to debug and also to integrate with other
# local tools.
# Plan 9, obviously (See also: https://stream.debu.gs/?id=1696 ), and
# clankers have no idea what the hell they're doing if you show them Plan 9
# stuff but I rarely say "What the hell was *that*?" on Plan 9, and sshing
# to a Linux machine from a Plan 9 machine means I can use the Plan 9 UI
# niceties, so I usually talk to Linux via Plan 9 anyway. The advantage
# for playing with clankers is that nearly everything in Plan 9 is a text
# stream.
# You could probably do something like this that runs on Linux by getting
# the contents of your terminal's scrollback out of screen/tmux/whatever and
# doing a similar transformation and piping it through. emacs. I don't know.
# It's certainly *possible* to get this information.
# I think it might be kinda fun to have a clanker sit there and do running
# commentary in one acme window on whatever's going on in the active window.
# I'm currently just playing with it, but I can `tail -f` a log file and
# tell the clanker to look at that window (by doing something like, e.g.,
# `the-hell-was-that -i /mnt/wsys/wsys/11/text`, or /mnt/acme/$id/body)
# and it will usually (*usually*) respond with something sensible. The
# `dixq` model that it defaults to is qwen3-coder with a custom prompt,
# nothing fancy. (If you've read Neuromancer, you can probably guess what
# the name means.)
rfork en
out=/fd/1
host=aku:11434
diag=/dev/null
temp=0.65
input=/dev/text
window=auto
model=dixq:latest
# Conservative; English prose is 3-4, code is 2-3, CJK is 0.5(!).
# Empirically, at 2 it blows out the context window.
tok2byte=1.5
while(! ~ $#* 0){
switch($1) {
case -a ; input=body; shift
case -i ; shift; input=$1; shift
case -e ; out=/fd/1; shift
case -h ; shift; host=$1; shift
case -m ; shift; model=$1; shift
case -t ; shift; temp=$1; shift
case -w ; shift; window=$1; shift
case -W ; shift; window=auto
case -r ; shift; tok2byte=$1; shift
case -v ; diag=/fd/2; shift
case *; echo bad args: $* >[1=2]; exit usage
}
}
if(~ $input body) {
~ $#winid 1 || exit winid
cd /mnt/acme/$winid || exit no
}
if(~ $window auto) {
# Attempt to use the current context_length to avoid thrashing:
window = `{hget http:// ^ $host ^ /api/ps |\
tee /tmp/last-ollama-ps.js |\
gojq -r '.models | map("\(.name) \(.context_length)\n") | join("")' |\
awk -v 'model=' ^ $model '$1 == model{print $2;exit}'}
if(~ $#window 0) { # Fall back to defaults:
hget -p '{"verbose":false,"name":"' ^ $model ^ '"}' \
http:// ^ $host ^ /api/show > \
/tmp/last-ollama-show.js
pfx = `{gojq -r .details.family < /tmp/last-ollama-show.js | tee $diag}
window = `{gojq -r '.model_info["'qwen3'.context_length"]' < /tmp/last-ollama-show.js | tee $diag}
}
}
bytes = `{echo 3k $window $tok2byte '*p' | dc | sed 's/\..*//'}
body = `''{tail -^$bytes^c $input | awk -v 'w=' ^ $bytes '
BEGIN{
# Give it the date so it doesn''t say "All these log entries are
# from the future! Something is terribly wrong here!"
"date -t" | getline date
preamble = sprintf("This is the output of a terminal session. The current time/date is %s. What the hell just happened? Explain what you see and what is going on; make sure to respond in English. If there are errors or warnings, make suggestions; otherwise, just try to help understand what''s going on.\n\n", date)
}
{f=f $0 "\n"}
function fix(str) {
if(length(preamble str) > w) {
str = substr(str, 1 + (w - length(preamble str)))
}
str = preamble str
# For whatever reason, \ and " behave differently in substitutions.
gsub(/\\/, "\\\\", str)
gsub(/"/, "\\\"", str)
gsub(/\n/, "\\n", str)
gsub(/\t/, "\\t", str)
for(i = 1; i < 32; i++) {
gsub(sprintf("%c", i), sprintf("\\u%04x", i), str)
}
return str
}
END{
printf "prompt: %s (%d), w: %d\n", f, length(f), w > "' ^ $diag ^ '"
printf "\"prompt\":\"%s\"", fix(f)
}
'}
wopt = ''
if(! ~ $window 0) {
wopt = '"num_ctx":' ^ $window ^ ,
}
bpl = '{"model":"' ^ $model ^ '","stream":false,"options":{' ^ $wopt ^ '"temperature":' ^ $temp ^ ',"top_p":0.9,"stop":["<EOT>"]},' ^ $body ^ '}'
echo $bpl > /tmp/last-ollama-payload.js
echo http:// ^ $host ^ /api/generate → $model > $diag
echo ' ' $bpl > $diag
hget -p $bpl http:// ^ $host ^ /api/generate |\
tee /tmp/last-ollama-resp.js |\
gojq -r .response > $out
gojq -s '[
{role: "user", content: .[0].prompt},
{role: "assistant", content: .[1].response}
]' /tmp/last-ollama-^(payload.js resp.js) > /tmp/thehell.js

pete starred lambadalambda/pleromanet

@pete pete starred lambadalambda/pleromanet · July 17, 2026 12:31

A reduced, refined Pleroma client

JavaScript 1 Updated Jul 17


pete starred microsoft/comic-chat

@pete pete starred microsoft/comic-chat · July 17, 2026 12:32

Source code for the Microsoft Comic Chat IRC client

C++ 701 Updated Jul 17


pete starred johnsonjh/cpm386

@pete pete starred johnsonjh/cpm386 · July 17, 2026 12:32

CP/M-386: CP/M for 386 protected mode, derived from CP/M-68K

C 6 Updated Jul 17


Change the dep for older Go

Change the dep for older Go
  • [DH] go.mod
  • [DH] go.sum
  • [DH] vendor/golang.org/x/net/LICENSE
  • [DH] vendor/golang.org/x/net/html/atom/table.go
  • [DH] vendor/golang.org/x/net/html/doc.go
  • [DH] vendor/golang.org/x/net/html/doctype.go
  • [DH] vendor/golang.org/x/net/html/escape.go
  • [DH] vendor/golang.org/x/net/html/foreign.go
  • [DH] vendor/golang.org/x/net/html/iter.go
  • [DH] vendor/golang.org/x/net/html/node.go
  • [DH] vendor/golang.org/x/net/html/parse.go
  • [DH] vendor/golang.org/x/net/html/render.go
  • [DH] vendor/golang.org/x/net/html/token.go
  • [DH] vendor/modules.txt

Verbose build for the fluoride systems

Verbose build for the fluoride systems
  • [DH] build-fluoride.sh

pete starred cjstoddard/PicoCalc-uf2

@pete pete starred cjstoddard/PicoCalc-uf2 · June 21, 2026 01:50

Things I am doing with my PicoCalc.

QuickBASIC 42 Updated Dec 8, 2025


pete starred gurubook/picoarch

@pete pete starred gurubook/picoarch · June 21, 2026 01:48

Picoarch libretro frontend for Luckfox Lyra equipped ClockworkPi Picocalc

C 14 Updated Dec 20, 2025


pete starred cjstoddard/PCL-Ebook-Reader

@pete pete starred cjstoddard/PCL-Ebook-Reader · June 21, 2026 00:24

PicoCalc Lyra Ebook Reader

Python 3 Updated May 16, 2025


pete commented on an issue in janet

@pete pete commented on janet-lang/janet#1755 · June 16, 2026 23:25
&gt; After further investigation and on the advice of [@pete](https://github.com/pete) from the Zulip chat (who analyzed it in much more detail than I…

pete starred dhansel/WifiModem

@pete pete starred dhansel/WifiModem · June 13, 2026 02:40

ESP8266 firmware to act as a telnet modem and server

C++ 87 Updated Sep 26, 2022


pete starred jeelabs/esp-link

@pete pete starred jeelabs/esp-link · June 12, 2026 23:27

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer

C 3k 5 issues need help Updated Jul 18, 2021


pete starred Plan9-Archive/plan9ants

@pete pete starred Plan9-Archive/plan9ants · May 25, 2026 21:43

C 6 Updated Oct 18, 2019


pete commented on an issue in 8id-bits

@pete pete commented on BCDA-APS/8id-bits#142 · May 14, 2026 21:12
&gt; [@pete](https://github.com/pete) ***@***.***&gt; i did review the detailed posts, lot in there and find it complicated to respond. @sureshnaps I thi…

pete starred thorsten-l/ESP8266-TuringPi-WiFi-Controller

@pete pete starred thorsten-l/ESP8266-TuringPi-WiFi-Controller · May 10, 2026 19:47

A WiFi Controller for the Turing Pi V1 cluster board connected via the onboard I2C bus.

C 14 Updated Jan 25, 2021


pete starred bozimmerman/Zimodem

@pete pete starred bozimmerman/Zimodem · May 9, 2026 22:24

ESP8266/ESP32/Arduino custom modem<->internet simulator with lots of features

C 519 Updated Mar 9