Skip to content

Instantly share code, notes, and snippets.

View mdtrooper's full-sized avatar

Miguel de Dios Matias mdtrooper

View GitHub Profile
@mdtrooper
mdtrooper / hello_world.py
Created April 12, 2024 10:12 — forked from matthen/hello_world.py
Hello world in python, using genetic algorithm
"""Hello world, with a genetic algorithm.
https://twitter.com/matthen2/status/1769368467067621791
"""
import random
import time
from dataclasses import dataclass
from itertools import chain
from typing import Iterable, List
@mdtrooper
mdtrooper / WorLLMs.md
Created April 17, 2023 22:53 — forked from rain-1/WorLLMs.md
WorLLMs

Could an LLM end up being the core part of a dangerous computer worm?

How would we neutralize such a thing if this happened?

Some virus and worm background

There is a hilarious story from https://users.cs.utah.edu/~elb/folklore/xerox.txt about an early computer virus called robin hood and friar tuck. This was basically just two programs running on a UNIX system that would look out for each other and reboot the other process if it was killed. It's interesting to note that since computer programs run thousands of times faster than humans, a human can't type kill -9 robinhood then type kill -9 friartuck in time. The computer is faster so it always wins if you try this. To defeat this you need to take a different approach than speed.