Monthly Archives: December 2022

Bash Bitcoin Miner

A little tongue-in-cheek, it’s missing several practical elements but nevertheless here’s some filthy bash to mint sha256 coinbases in the least efficient way possible:

#!/usr/bin/env bash -eu



while true
nonce=$(xxd -l16 -p /dev/urandom)
hash=$(printf $(printf "$nonce" | shasum -a 256))
diff_string=$(printf '%*s' "$DESIRED_DIFFICULTY" | tr ' ' 0)
if [[ "$hash" = "$diff_string"* ]]
printf '%s %s\n' "$nonce" "$hash"

You’re welcome!



AGI needs goals, and satisfying curiosity has to be the first

I spent some time with ChatGPT last night, out of curiosity about the state of the art and how close we might be to runaway artificial general intelligence (AGI). I’m entirely underwhelmed at its inability to model conversational state, its incuriosity towards interlocutors, the obvious polite/inoffensive response templating, and just how far the AI industry appears to be from achieving anything remotely capable of passing for a human.

The rationalists are convinced we face a high risk of AGI going into runaway mode, where it relentlessly optimizes itself, establishing enough control over enough humans that in the large “we” (for some value of we) won’t actually be able to turn it off. Matthew Ward works an example through the lens of Facebook, saying something along the lines of “there’s a ghost AI embedded in Facebook’s myriad of recommendation systems that has financially motivated a bunch of people to prevent turndown: Continue reading AGI needs goals, and satisfying curiosity has to be the first