Brutkey

Bryan L. Fordham
@Bfordham@infosec.exchange

Today I was reminded of a stupid #bot I wrote six years ago, logged into Twitter for the first time since it went full Nazi, and rewrote the bot.

Someone in a group chat I'm in mentioned today how LLM's don't think, they just pick the next most likely token.

For some reason it made me think of Markov chains.

Now, I
know ChatGPT, et. al., is more complicated than that. But still, it was just an idle thought.

https://en.wikipedia.org/wiki/Markov_chain


Bryan L. Fordham
@Bfordham@infosec.exchange

If you don't know, a Markov chain is something where an algorithm is just deciding that's the next most likely thing.

I thought of that because, way back in 2019 I wrote a bot that was fed on the text of
#ConanTheBarbarian books, and created Markov chains from it. It then posted them to Twitter.

I called it Conan-o-matic.

It's as dumb as it sounds.

Bryan L. Fordham
@Bfordham@infosec.exchange

I hadn't thought about it in a few years. Apparently sometime in 2023 it stopped spouting nonsense. I don't remember shutting it off, it probably died an ignoble death when I redid a server or something.

But I went to Twitter to see if it was there. It was, but you can't see any more of the goodness.

It a great testimony to the genius of Elno, it says both "
@conanomatic hasn't posted" and also, that 14.7 posts have been made.

Bryan L. Fordham
@Bfordham@infosec.exchange

Long story short, I rewrote it. Made it nicer, too. It's written in #python and can be found out @conanomatic@mastodon.social

Bryan L. Fordham
@Bfordham@infosec.exchange

Code is rough, but you can find it at https://codeberg.org/bfordham/conanomatic

In case you want to make your own.

#Python #bot #coding #softwareDevelopment

Bryan L. Fordham
@Bfordham@infosec.exchange

It also occurs to me that I can pull out the guts of this and make it more portable.

So you could feed it whatever you want, have it post to the Fediverse. Nothing complicated, but might lower the barrier for folks.

Anyway, that's my story of how I spent some time writing a bot to spit out things like:

"I had met him at the stake, to flay him alive."

#Python #bot #coding #softwareDevelopment

Bryan L. Fordham
@Bfordham@infosec.exchange

This thing cracks me up:

Red lips, half parted, dark eyes like limpid seas of wonder, a mass of charred ruins, as it is to be done at all, we must start soon.