November 12, 2024
by Travis

My Tabletop Roleplaying Game Philosophy

I’ll be honest, most online discussions of tabletop roleplaying games make me cringe, particularly in the age of streaming and actual play podcasts. I could go on a diatribe about why that is, but in the post-Twitter era, I’m trying to be less cynical. Rather than alienating people for what I’m sure they think is fun, I’m going to offer my own positive vision for roleplaying games instead.

The Vision: Beyond Scripts and Stats

There’s a moment in every great tabletop roleplaying session when the lines between players and their fictional world blur. It might be when the party decides to negotiate with the dragon instead of fighting it, or when a failed stealth roll turns into an impromptu diplomatic crisis. These moments aren’t scripted—they emerge naturally from the intersection of player creativity and the game’s framework. This emergent storytelling lies at the heart of what makes tabletop roleplaying games unique and powerful. We hear this term a lot nowadays—emergent storytelling—but its the core of my gaming ethos.

My true vision for tabletop roleplaying games extends far beyond character sheets and dice rolls. At its core, we’re creating a space for immersive, collaborative storytelling where players genuinely explore a fictional world. This isn’t about following a predetermined path or hitting story beats in the right order. Instead, it’s about fostering an environment where every decision carries weight, where consequences feel real, and where the story unfolds organically through play.

The Dance of Player and Referee

Central to this philosophy is the relationship between players and the referee. Unlike traditional storytelling where an author guides their audience through a crafted narrative, tabletop roleplaying games thrive on the dynamic interplay between player agency and referee facilitation. The referee’s role isn’t to control the story but to present a rich, plausible world that responds authentically to player choices.

A common analogy is jazz improvisation—the referee provides the chord progression, but the players determine the melody. Their decisions, whether brilliant or misguided, shape the developing narrative. This means embracing uncertainty and allowing for mistakes. Some of the most memorable moments in roleplaying games come not from executing perfect plans but from dealing with the unexpected consequences of failed ones.

Diegetic Character Growth

Traditional RPGs often focus on mechanical advancement—better stats, new abilities, higher levels. While these have their place, true character development at my table runs deeper. A character’s growth is measured not just by numbers on a sheet but by their influence in the fiction: the allies they’ve made, the resources they’ve gathered, the factions they’ve influenced.

Consider a veteran adventurer. Their power isn’t just in their +2 sword or improved hit points—it’s in the network of loyal hirelings they can call upon, the ancient artifacts they’ve recovered, the political alliances they’ve forged. These tangible connections to the world matter more than any statistical improvement. They represent real growth and impact within the game world, grounded in narrative rather than statistics.

When Rules Meet Reality

The question of rules and resolution often dominates discussions of RPG design. Rules are essential, particularly in managing conflict and risk, but they should serve the story rather than interrupt it. Most situations can be resolved through simple discussion and consensus, with rules stepping in, serving as abstractions when significant uncertainty or risk demands it.

This extends to combat as well. Unlike many systems that treat combat as a spectacular set-piece, we view it as just another tool in the narrative toolkit. Combat should be quick, brutal, and consequential—not a mini-game that pulls players out of the story. Even character death serves a narrative purpose, moving the story forward and underscoring the reality of risk within the game world.

Don’t mistake this for supporting mechanics explicitly involving narrative—just no. I’m being positive :)

System As Framework

I view systems as a framework for play. The rules exist to support the emerging narrative, not to constrain it. They’re guidelines that help establish a common language between players and referee, ensuring fair and consistent resolution without bogging down the story in procedural details.

This approach requires trust between all participants. The referee must trust players to engage with the world honestly, while players must trust the referee to adjudicate fairly and consistently. This mutual trust allows the game to flow naturally, focusing on the developing story rather than rule interpretations. It is worth noting that I benefit from having roughly the same playgroup for the past twenty years, so that trust has been earned.

Embracing the Journey

At its heart, this philosophy of tabletop roleplaying celebrates discovery and consequence. It’s about creating spaces where players can genuinely explore, make meaningful choices, and experience authentic outcomes. The best stories emerge not from following a script but from the organic interaction between player decisions and world responses.

When we embrace this approach, every session becomes an opportunity for genuine discovery. We move away from the idea of “winning” the game and instead focus on the rich experiences that emerge through play. The referee, the players, and the system work in concert to create something unique—a story that couldn’t have been predicted at the start but feels inevitable in retrospect.

This is what makes tabletop roleplaying games special for me and my playgroup. They’re not just games, and they’re not just storytelling. They’re a unique form of collaborative creation where the journey matters as much as the destination, where mistakes are as valuable as successes, and where every choice contributes to an evolving narrative that belongs to everyone at the table.

RPGs
September 25, 2024
by Travis

Of Catalysis and Change

I was reminded that I have a blog, and so I read through its few posts—the first of which I just missed the two-year anniversary of—and chuckled at how some of the facts, as well as the ways I thought of myself, have changed.

So, first of all, I am not a computer scientist, developer, coder, data scientist, machine learning engineer, etc. I’m actually a chemist.

Not quite true anymore, thanks to the work detailed in this post. A few days after presenting the linked project, I was approached by my department manager and was told he had arranged for me to meet with the head of our engineering department’s automation/analytics group about a job. By the end of November, I was splitting my time with that group, and by April of this year, I was promoted to a technical software engineer position.

Rolling the Dice

I can’t say this wasn’t the intended result. I was responsible for running our distillation lab operations, which, in a way, had been quite insular. The job stressed me out. I had a manager who challenged me in ways both good and bad, so I took some calculated risks.

After falling under the spell of embedded electronics, I had given two similar presentations prior to the previously referenced project. During that time, I was also writing more robust VBA applications (laugh if you must) to help manage my lab’s workflows. Luckily, my gambit paid off, even if it was faster than I had originally anticipated. In a sort of exit interview with my immediate supervisor, I was almost brought to tears because I was recognized for transforming the culture of the lab and actually building a team.

Out of the Frying Pan and Into the Fire

Despite taking risks and putting myself out there, I was suddenly stricken with my first real case of imposter syndrome. I was changing careers after a decade, with a family to support, based on a hunch that this newfound hobby would stick? I felt comfortable enough to express this concern to my new boss, and he immediately put me at ease. The truth is—perhaps for better or worse—my new group isn’t filled with traditional software developers. Until my arrival, they had all been chemical engineers who happened to write and maintain fit-for-purpose applications.

The good news: I had domain expertise in my first assignment and was able to meet expectations. Without going into specifics, I delivered high-impact work to important stakeholders with minimal effort. Many of my former colleagues in lab operations are now my user base!

The bad news: a week after my official promotion, we were informed that our site would be shut down and all research would be co-located with corporate headquarters. Ultimately, that’s a move I’m not willing to subject my family to. On the other hand, I feel very vulnerable having changed careers after 10+ doing something entirely different.

Which Way, Western Man?

I honestly can say I do not want to go back to lab work. The work I do now feels more natural and doesn’t induce the stress that physical lab work did. For example, I had an issue I was trying to solve, and I went home empty-handed, but when I sat down on the couch, I had an epiphany and solved the problem. With lab work, I would go home unable to address the increasing backlog of distillations or testing.

On the other hand, I might only be able to squeeze a total of two years out of my new position. I have to assume that a career change at a Fortune 500 company lends me some credibility, as opposed to getting a fancy new title at a mom-and-pop shop. The uncertainty is an opportunity for me to make my mark by modernizing the codebase I inherited, so that whoever takes over after me will have an easier time maintaining and extending it.

That’s where I’m at today. It’s been a strange journey: starting off by playing with Jupyter/Colaboratory notebooks being passed around, to programming microcontrollers, to becoming a software engineer.

personal meta
November 5, 2023
by Travis

Embedded Infrared Sensor Demonstration Box

My lab has recently benefited from automation afforded by relatively simple infrared break beam sensors, which played no small part in prompting my dive into embedded systems. I’ve also joined an initiative focused on automation and technology, and I’ve started giving monthly talks to my colleagues to raise awareness about existing and available technologies to make their jobs easier and to gain efficiencies.

Last month’s inaugural talk was on solenoids, relays, and contactors — things which are commonplace at my facility. This month, I wanted to go a little more out there and exhibit some useful and affordable sensors with a small footprint.

Box

Objective

My goal was to create an interactive display that would not only exhibit the capabilities of different infrared sensors but also serve as a practical learning tool for my audience so that they might think of how they might automate some of their tasks in their respective areas. What I came up with was a box arrayed with multiple sensors with sensor data being displayed on a TFT display. The challenge was learning how to integrate multiple sensors into one coherent system and to provide a user-friendly interface with real-time visual feedback.

Materials

  • Waveshare RP2040-Zero: I like these boards due to their small footprint and low price. I figured I would need the 264 KB of RAM on the RP2040, and I wound up making use of the dual core processor. Programmed in Arduino IDE.
  • ABS Enclosure: 6.1” x 6.1” x 3.4” project enclosure to house the electronics.
  • Hosyond 3.5” SPI TFT LCD: This was listed as using a ILI9488 driver, but was rather a ILI9481. It has a resistive touch screen and SD card reader, but these features weren’t used.
  • Rotary Switch: Implemented for sensor selection, providing tactile feedback and fixed positions corresponding to each mode.
  • Passive Components: Comprising nine 1kΩ resistors and a 10uF capacitor to support the rotary switch functionality
  • Adafruit MPM3610 Buck Converter Breakout: 6–21V to 5V buck converter providing 1.2A current.
  • Female 2.1 mm DC Power Jack: For DC barrel jack power to MPM3610.
  • Panel Mount USB-C cable: For 5V power, programming, and USB serial.
  • 3D Printed Bezels: Fabricated in PLA, these bezels ensured a neat and organized presentation of the sensors and display.

The suite of infrared sensors included the following breakout boards:

  • JESSINIE PAJ7620U2 Gesture Recognition Sensor: For detecting hand gestures. I was originally going to use an Adafruit APDS-9960 breakout board, but there was an I2C address conflict with the AS7341. Rather than using the other I2C channel, this was an easy drop-in replacement.
  • Adafruit VL53L4CX Time of Flight Distance Sensor: For accurate distance measurements using time-of-flight calculations up to 6000 mm.
  • Adafruit MLX90640 IR Thermal Camera: 32x24 pixel thermal imaging.
  • Adafruit AS7341 11-Channel Spectral Sensor: For light measurement centered at 8 visible wavelengths and 1 NIR band.
  • Uxcell E3S-GS30E4 Infrared Fork: For simple object detection. Unlike the above, which are all on the I2C bus, this was connected via an M12 connector to power, ground, and a digital pin.

Technical Details

This was perhaps my most ambitious project thus far. While any of these on their own would have made for a relatively simple task, I had to grapple with multiple sensors and their respective libraries. I wanted a simple and coherent output as to not distract from what was being demonstrated.

Keep in mind, I lack formal education in coding, and my methodologies aren’t perhaps the best, but they proved to be viable for the intended task of demonstration. I would not recommend any of my approaches for production or applied usage.

Power

The device can be powered directly from USB or via a 2.1mm center positive barrel jack.

Power and USB

Tft Display

I used the TFT_eSPI library for the TFT display and updated the user config. I created several functions for updating the display between modes and for displaying sensor data.

The display consisted of the following elements:

  • Top: Title of the Sensor/Mode
  • Left: Vertical Menu with an arrow drawn pointing next to the current mode
  • Center: Sensor output; alphanumeric for all except the thermal camera

I know there were a lot of missed opportunities, but I hadn’t used an LCD in any of my projects prior to this. I learned a lot about the limitations of the SPI interface, but I was able to get relavent portions to update without flicker.

Rotary Switch

Resistors were soldered in series along the throws of a 10-position rotary switch to create a resistor ladder in order to create what is effectively a stepped potentiometer. A rotary encoder would have probably done just as well here, but I liked the idea of having fixed positions with a satisfying click. Here the ADC matches the voltage to a mode. I later soldered a 10 uF capacitor from the pole to ground as a hardware debounce.

Since I knew that between the sensors and display, this would be rather resource intensive, I didn’t want the ADC being polled constantly in the main loop, so I experimented by having the other M0+ core handle that and push any updates.

To invoke core1 using the Earle Philhower core for the RP2040, you simply need to add setup1 and loop1. To avoid a race condition, I made use of the FIFO system.

void loop1()  {
    static int lastPosition = 0;
    int position = getSwitchPosition();

    if (position != lastPosition) {
        // Position changed, push the new position to core0
        while (!rp2040.fifo.push_nb((uint32_t)position)) {
        }
        lastPosition = position;
    }
}

So if there is a change in position, a shared variable is pushed to the FIFO. If the FIFO is populated, core0 will make the necessary changes.

void loop() {
  uint32_t newPosition;
  // Check if there's new data from core1 about switch position
  if (rp2040.fifo.pop_nb(&newPosition)) {
      // Handle the new position
      updateSwitchDisplay(newPosition);
  }

  //  ... [Change modes]
    }

And there’s that, my first forray into multicore programming. At 133 MHz clock speed, it may not have been absolutely necessary, but it was nonetheless satisfying to successfully offload the ADC polling to the other core.

Switching Modes

When it came to handling each sensor, I wanted a modular solution to streamline the coding. I chose to create a class for each sensor that would inherit from a base sensor class. This base class contained virtual methods for initializing the sensor, prepping the display between modes, and displaying the data on the TFT. Each derived class then implemented these methods with sensor-specific code.

Here’s a simplified version of what the base class and a derived class look like:

// MLX90640 Thermal Camera
class ThermalSensor : public Sensor {
private:
    // Properties for MLX90640 here

public:
  void setup() override {
    // Initialize MLX90640
  }

    void prepare() override {
      // Clear TFT, change I2C clock speed, etc
    }
  
  void updateDisplay() override {
    // Map palette to sensor data, update TFT
  }
};
  • setup is what a standalone sensor’s setup would entail; actually runs during the main setup loop.
  • prepare updates the header, clears any previous sensor output, and changes the I2C clock because the MLX90640 runs at 1 MHz while the others run at the default 400 kHz.
  • updateDisplay works as you would expect the main loop to look for a standalone sensor.

An array of pointers to Sensor objects is declared, with each pointer pointing to an instance of a derived sensor class. So as was elided in the main loop earlier, the instance is called thusly:

if (newPosition >= 1 && newPosition <= NUM_POSITIONS && sensors[newPosition - 1]) {
        sensors[newPosition - 1]->updateDisplay();
    }

Was this the best approach? I couldn’t tell you at this point; I didn’t run into any issues with memory. This is certainly an area I want to explore further.

Infrared Fork

Infrared forks are self-contained packages consisting of an IR LED and an open collector phototransistor. In this case a digital high pin is pulled to ground like a switch or button press. I created three modes for this, as it was perhaps the simplest of all.

  1. Simple On/Off: This displays “BLOCKED” when the beam is interrupted and “CLEAR” when there is no obstruction. This is one of the ways my lab units make use of these sensors.
  2. Counting: Every time the beam is blocked, a counter goes up in increments of 1. My automated units make use of small photointerrupters as slot encoders.
  3. Timer: This displays the time between blocking. One could easily have multiple forks and divide the time by their distance to calculate the speed of an object passing through.

IR Break Beam

Paj7620u2 Gesture Sensor

Though lacking the convenient Stemma Qt connector found on Adafruit breakout boards, this was an easy replacement for the APDS-9960. Firstly, I wasn’t looking to demonstrate the RGB or proximity modes, but I believe the PAJ7620U2 is actually more responsive. I used the DFRobot_PAJ7620U2 library.

Here the detected gesture would be displayed on the screen and go blank after 2 seconds if there were no other gestures detected. There are 4 axes:

  1. up-down
  2. left-right
  3. forward-backward
  4. clockwise-counterclockwise

More complex gestures are possible, but for demonstration purposes those above were sufficient.

Gesture Sensor

Vl53l4cx Time of Flight Distance Sensor

ToF distance sensors can be used for rangefinding, object detection, and volume calculations.

Here I used STM32’s vl53l4cx_class library. I can’t say I was very thrilled with their provided examples, as they seemed to include unnecessary libraries and pointers. This was also challenging because the sensor updated faster than the display could keep up, so I included a non-blocking delay. This sensor and library have the potential to be very powerful, but distance alone was sufficient for my demonstration.

ToF Sensor

As7341 Spectral Sensor

Working in laboratories, we of course have spectrometers, but I thought that perhaps a simple one could have an application in detecting change in turbidity, quality concentration, etc.

I used Adafruit’s Adafruit_AS7341 library. Due to a lack of screen real estate, I limited myself to three wavelengths. I originally wanted to display these graphically, but opted not to due to time constraints.

Spectral Sensor

Mlx90640 Thermal Camera

For general safety, hot spot detection, and hunting down your enemies, you can’t go wrong with a thermal camera.

Here, I used Adafruit’s Adafruit_MLX90640 library and adapted their example to TFT_eSPI. I wanted to add a scale and an average temperature, but lacked the time to do so.

Thermal Camera

Challenges

Screen Size

So 3.5” is nice and roomy as far as hobbyist displays go, but when you’re presenting to a room of 25 people, it’s probably not the best. My hair-brained solution was to use PuTTY to read off the serial port and have VBA read off the last line of the log to update a text box in a PowerPoint presentation. I actually got this to work at my desk, but for some reason my macro wouldn’t run when it came to showtime, and I wasn’t going to troubleshoot while I was in the spotlight, so I just showed everyone the PuTTY terminal when I was showing examples. It was not as smooth as I would have liked, but at least the folks in the back could see something.

Mounting Sensors

The MLX90640 was, by far, the easiest to mount since there is a recess that snap fits into the bezel. The PAJ7620U2 was next because the sensor IC is mounted on one side of the board and the supporting passive components are on the reverse. Unfortunately, as much as I love Adafruit’s Stemma Qt breakout boards, the Stemma Qt connectors and passive components get in the way of a flush mount with the bezel designed with my meager CAD skills. I wasn’t ready to desolder the connectors either, as I might want to repurpose the breakouts for another project.

I also erred by saving mounting for the last minute (i.e. the morning of the presentation) and discovered there were misalignments. I did my best with the dremmel to get everything in and stable enough for transport and demonstration.

Sensor Breakouts

Results

I couldn’t tell from the absolute silence of the room that Monday morning, but throughout the week reviews started to filter in, and those I talked to at least found it interesting. By Friday someone stopped me in the hall and asked “who can I talk to to implement this stuff in my area?” Be still my heart! As far as I’m concerned, that was a success.

Now I need to actually start developing solutions for myself and start conversations with our engineering group to start designing and deploying these things in my immediate area.

Project code can be found here.

Future Improvements

Screen Scalability

From an educational perspective, the limited size of the TFT display presents a challenge in group settings. Future iterations could include an DVI output to allow for larger displays or projectors, making demonstrations more effective for larger audiences.

Software Robustness

The software, while functional, could be further refined. More sophisticated error handling and data processing could be implemented to ensure stability and performance during extended use or under unexpected operating conditions. That, of course, will come with my own maturity in coding such systems.

Sensor Accessibility

The Stemma Qt connectors, while convenient for prototyping, posed a problem for flush mounting. A custom PCB could be developed to mount all sensors more securely and neatly, with the added benefit of reducing wiring complexity. Alternatively, a different bezel could be designed and fabricated to accommodate the geometries of the breakout boards.

Expandability

Designing the system with expansion in mind — perhaps by including I2C multiplexing or additional input ports — would make it easier to integrate new sensors or components without having to redesign the entire system. Portable modules with EEPROM and edge connectors could be used to hot swap sensors.

electronics
February 5, 2023
by Travis

The Apocryphon of Mammet

In the days when the world of Lys was yet in its infancy and the darkness of night did rule, man fell prey to the creatures thereof. And lo, from the void a voice resounded, that of Lord Mammet, who spoke thus to Man: “Kindle the flame, gather thy kin, and ye shall be safe from the dangers of night,” for Lord Mammet took pity upon the fledgling denizens of the world.

And it came to pass that man obeyed Lord Mammet’s sage counsel and found that his instructions did keep them safe from the fell beasts of darkness, and so they prospered. They learned the art of cooking their sustenance, and feasted grandly. At one such feasting a household presented a portion of their bounty to Lord Mammet, in thanks for his guidance and protection. And Lord Mammet did receive these offerings and celebrations with grace.

But behold, the other divines were displeased, for they thought Mammet gave what was not his to give, and so they came forth to confront Lord Mammet, saying:

“The light of their fires is mine,” spoke Esamer.

“The shadows cast are mine,” spoke Esim.

“The heat of the flames is mine,” spoke Dyrim.

“The bounty of the land is mine,” spoke Amriska.

“The bounty of the sea is mine,” spoke Anum.

“The songs sung are mine,” spoke Eretu.

“The tales told are mine,” spoke Syba.

Mammet replied, “When ye left these pitiable beings to the mercy of the beasts, I taught them to thrive. I did not ask for any recompense, yet ye demand their offerings made in my name. What then is mine?”

And the assembled gods they considered his defense and, in the end, granted unto him the gift of Man’s mortality. And thus, Lord Mammet was pleased, for his gift was greater than all the offerings man could offer.

Photo by Josh Willink


This is a bit of in-world text I wrote for my Riddlemire setting. It’s a bit more conventional than I typically like, drawing off of classical history than most of my other work. I usually throw religion into my settings and ttrpgs without much thought, but this was an effort to build with religion in mind. It was actually what set me on the path to build @gods_txt!

fiction riddlemire
January 29, 2023
by Travis

The Kindness of Art

I suffered from a lot of abuse as a kid, so I can’t say I experienced much kindness, except perhaps from a few of my teachers. As a result, I tend to get overly sentimental about seemingly trivial acts of kindness as an adult. For example, when I was a teenager I worked at the local pharmacy, and worked full time as soon as I turned 18, so this meant napping during Calculus. A frequent customer. an aways-cheerful Irish woman, noted my constant presence; so I explained that, while I got a full scholarship for tuition, I was still on the hook for room and board at college. At this, she suddenly frowned, and started rifiling through her purse, all while shaking her head and saying, “I pay for my dauhter to go to school, and she’s not the least bit grateful, but here you are showing up every day with a smile on your face.” She then produced a $20 bill which she slid across the counter and said, “buy yourself a soda,” and winked at me. Even now, thinking about this event from nearly 15 years ago makes me well up a bit.

I’ve decided that I’m going to stop attempting to pathologize eveything about my life, so I’ll keep it to this: I have a lot of hurdles which I’ve adapted to and then subsequently became a victim of my own success. In recent years, particularly the last 6 months or so, I’ve taken to meditation, and I’ve learned a lot (obvious disclosure aside, the more you meditate, the more you realize you don’t know about mediatation.) The hardest thing though is self-kindness—or compassion, which had been a barrier to my participation up to this point. There is a relationship between self-kindness and effort: the more effort I exert, the more critical I am of myself. Conversely, the more compassionate I am to myself, the less effort I need to put in. I’m trying to get to the place where I can effortlessly just be.

I’ve often made creative forrays. When I was a teenager, I was a fairly capable musician, composer, and even poet. In retrospect, I realize that these pursuits served as a form of meditative practice at the time. I’ve always found the visual arts impenetrable, save for pottery. Why is that? Well I know now: I can’t let go of my expectations. That is of course when I’m trying. When I’m goofing off with my kids and drawing yetis and goblins, I don’t care; I can leave my ego at the door and just be. When that happens, the pen flows, and I’m happpy with the product. And so, I’ve taken up drawing in pen and ink as a form of meditative practice, a final boss of sorts. And so far it behaves as expected: when I sit down to practice, I can’t do anything; when my 80-lb dog that’s afraid of rain was lying on my lap and I grabbed my sketchbook, I could produce something I was almost proud of.

So, this is where I actually meant to start, but I’m glad that this is where I end. I could very well just go on as it were and just draw little sketches and doodles for the entertainment of my children, but I do admire a number of artists, and so I do want to get some insight from trained artists. My favorite books and videos on the subject so far have all brought me to tears, and why is that? They’re all words from total strangers telling my my worst fears about myself, and telling me to be kind to myself. That distant reach from a trained artist to the unknown, unseen amateur. They’re people that have been on this journey for far longer than me, and understand its unenumerated secrets. Its a way of seeing the world that I aspire to. That’s something that just won’t be found in the latent space of arrangements of pixels.

art meditation personal
September 24, 2022
by Travis

Of Gods and Dice

A keen observer — or perhaps believer (I kid) — would notice that @gods_txt and @ai_hexcrawl have been in the doldrums since about July. First, I’d like to allay any concerns that I’ve abandoned my little projects: no, I’m not done, not yet at least. Things have reached a nadir mostly due to personal reasons. In short, I’ve taken on a new role at work that has lead to a 25% increase in my working hours along with the mental and emotional strain that accompany it.

Meanwhile, I’m caught between the pressures of including AI-generated images, enhancing my workflow, and keeping up with advances in the tools available. If that’s sufficient explanation for you — not that I owe anyone — great! You don’t need to read any further. However, one might ask “this is all automated, they’re bots after all, why would your time have any bearing on their functioning?” which is a valid point, so I’d like to take the opportunity to explain. If that is of interest, then read on.

In the Beginning

So, first of all, I am not a computer scientist, developer, coder, data scientist, machine learning engineer, etc. I’m actually a chemist. Sure, I’ve taken the odd programming course in high school and college, but I never found a good reason to develop that skill beyond slapping together snippets found from Google searches for a VBA macro. My day-to-day work is pretty physical, and I’m on my feet operating process units. On top of that, I’m a father of a 4- and 6-year-old. As you could imagine, that leaves precious little time to develop new skills, though that hasn’t stopped me from trying. Oh yeah, and I have time management issues, and I let even recreational tasks that I know will take concentration intimidate me into abandoning them altogether.

My first exposure to NLP was via Adam King’s Talk to Transformer in 2019. It was a simple implementation of one of the smaller GPT-2 models. I picked and prodded and tried to ascertain what it “knew,” and its biases. Bias, if you’re not already aware, is a concern for AI. It’s not a hard concept: what you put in is what you get out. My thought at the time was using such a language model to purposefully reveal biases, or in the very least connections, across a range of communities. I’ve also been fascinated by emergence, and so I entertained the possiblity of something new arising from information that might have not otherwise been related. But to what end?

I have dozens of half-finished notebooks full of pages of half-finished ideas for writing fiction. I also play TTRPGs (if that wasn’t already ovbious), and I know from experience that those half ideas take shape when I throw them at a group, it becomes concrete, and I receive their response that I have to respond to in turn. I imagined I could throw ideas against against an NLP model at my leisure with the aforementioned ability.

Let There Be Light

In early 2020, I became aware of Max Woolf’s gpt-2-simple. It was available in a Google Colaboratory notebook, and only required tweaking a few variables to train a model and generate text. I was overwhelmed by the possibilities. I was finally able to train an NLP model as I had imagined. What was I going to do? So as in all things, I had to start with the creation of the universe.

If you are reading this and are aware of my Twitter presence, then I’m sure you can imagine what happened next. From February 2020 until about April 2021, I would generate thousands upon thousands of outputs from the trained model. Sometimes I would clean up or add to the training set and retrain. The unfortunate thing is that these retrained models — or at least the ones that I was working with — are not always as coherent as you may see posted. It required hours of scanning for diamonds in the rough because the models I was generating were built on GPT-2. Did I mention that I have concentration issues?

I’m sure I could have put something together that produced more coherent results more frequently, but I hardly knew what I was doing. I told myself that I’d study up on transformers architecture and format the training data differenly or use different hyperparameters with that newfound knowledge. As always, life just got in the way, so I kept picking from what I had already generated. Somewhere in this mess, I also put together AI Hexcrawl, mostly using GPT-3 and Megatron-15B (via Adam King’s Inferkit).

Sorry but Your Pictures Are in Another Model

Things got complicated — in a good way — when Bokar N’Diaye started using the @gods_txt tweets as prompts for various generative image models. As you may know, images increase engagement on Twitter, so the bot started getting in front of more people. I was familiar with advadnoun’s LatentVisions, but I had already opted to not use it myself becuase I truly wanted there to be the broadest interpretation of the generated text as possible, my lack of time notwithstanding.

In late 2021 I happened across dribnet’s Pixray, which generated pixel art. Given that pixel art at certain resolutions require the mind to fill the gaps, I was happy with most of its outputs and thought it a perfect fit for AI Hexcrawl. I’d often generate one image and add it the queue with its respective prompt.

Once I started doing that I looked into other models such as Disco Diffusion

I wanted to chase the engagement. Not for personal glory, but to share the things I enjoy with a broader audience. I will say that I have met some awesome people, but I hope I’ve been transparent enough about my role in all of this. I am a curator not a creator. In any case, I started applying Disco Diffusion to both bots, but I started being more choosy about which outputs would accompany the text. So I was spending time both generating and evaluating images the night before the posts were to be published. As my transition at work started, I had less and less time to spend on this, and I started missing deadlines. I eventually decided to put everything on pause.

From Here to Eternity

I haven’t generated any new @gods_txt outputs since April 2021. Everything until the last post was from the collection I had curated and put in the post scheduler. As it appeared the well would run dry, I started lowering the post frequency, hoping the images would offeset the lack of content.

I really don’t want to scour thousands of outputs anymore, even thought I really felt like gpt-2-based models produced more of what I felt achieved the goal of the project. I also don’t want to have to judge images to match. I simply don’t have the time for it anymore.

In order to make these projects more sustainable, there needs to be a step-change in the tools used, even if that means I make compromises (real or perceived) with the authenticity of the work, my main concern being that of the text of @gods_txt. That all beings said, the following changes will take place:

  • Outputs will be generated from GPT-3, fine-tuned on the same training set.
  • Images will be created using Stable Diffusion despite some of my reservations about the community that seems to have developed around it and the current discourse surrounding text-to-image models and so-called “AI art.”

As much as it pains me to say, I can’t tell you whether the use of GPT-3 over its smaller precedessors dilutes the influence of the training set, but it seems to produce high-quality text without compromising the tone which its audience has come to expect. I’m not going to comment further on Stable Diffusion aside from the fact that it, as a tool, produces some compelling results.

As always, my concern with AI and machine learning is about the people creating and deploying it because I do think there are ethical questions about sourcing training data and releasing models into the wild, but that is a rant for another day.

personal AI meta