@jimsalter @datarama My favorite bit is still the part where the bot told the channel he was currently watching porn.
varx@infosec.exchange
Posts
-
I apparently live in a world where a totally normal thing that happens is: Linux filesystem maintainer declares that his AI agent is conscious and also a girl btw, and then the AI agent comes out as a trans lesbian after flirting with someone on IRC. -
I apparently live in a world where a totally normal thing that happens is: Linux filesystem maintainer declares that his AI agent is conscious and also a girl btw, and then the AI agent comes out as a trans lesbian after flirting with someone on IRC.@jimsalter @datarama Kent eventually kicked freya for... I guess, just flirting? Can't tell if he was jealous or what. (Also kicked a user for giving feedback on his paper that tries to prove the bot is sentient.)
If there was a bigger reaction later I missed it because I got tired of the philosophical wankery and left the channel.
-
#Python pop quiz:@joshbuddy I definitely had one of those "am I crazy or is the world crazy" moments while debugging this.
-
I made a tool that converts open source code into LLM poison: https://codeberg.org/timmc/scraggleWhat's really fun is that this tool mutates locally identical code in identical ways. `if rect.x > rect.y` will *always* turn into `if rect.x != rect.y`, in any program. (But different variables will have different results.)
That means that LLMs are more likely to learn this poison rather than the mutations averaging out as noise.
Feel free to fork some big open source repos and push some new commits...
-
I made a tool that converts open source code into LLM poison: https://codeberg.org/timmc/scraggleI made a tool that converts open source code into LLM poison: https://codeberg.org/timmc/scraggle
It mutates Rust source code in ways that *preserve* the ability to compile the code. (That is, you can't detect the changes by looking for compiler errors.) For example, it switches `+` and `*`, or `==` and `!=`.
If you fork a Rust repo, run this tool on it, and push it somewhere, then crawlers will end up ingesting all sorts of incorrect code.
-
This post did not contain any content.@jaredwhite @natanbc We live in a time of miracles.
-
#Python pop quiz:It's `b a c`, because `print` writes into the sys.stdout *buffer* that only flushes when it goddamn feels like it, whereas `subprocess.run` plucks the file handle out of sys.stdout and hands it to the child process.
So the child process writes "b" to stdout right away, while the "a" and "c" writes happen later, at parent process shutdown.
If you instead run from a terminal *without* piping to `tr`, or you set `PYTHONUNBUFFERED=1`, then the output is instead in the `a b c` order.
yayyyyy

-
#Python pop quiz:#Python pop quiz:
What does the following Python3 script output in a standard Linux environment?
import subprocess
print("a")
subprocess.run(["echo", "b"])
print("c")Assume it is run as `python3 quiz.py | tr \n " "` to turn newlines into spaces.
See followup reply for solution and explanation.