Simon Willison’s Weblog

Subscribe

Tuesday, 29th November 2022

Stable Diffusion 2.0 and the Importance of Negative Prompts for Good Results. Stable Diffusion 2.0 is out, and it’s a very different model from 1.4/1.5. It’s trained using a new text encoder (OpenCLIP, in place of OpenAI’s CLIP) which means a lot of the old tricks—notably using “Greg Rutkowski” to get high quality fantasy art—no longer work. What DOES work, incredibly well, is negative prompting—saying things like “cyberpunk forest by Salvador Dali” but negative on “trees, green”. Max Woolf explores negative prompting in depth in this article, including how to combine it with textual inversion.

# 1:22 am / max-woolf, stable-diffusion, prompt-engineering, generative-ai, text-to-image

TIL Using pipenv and Docker — I had [a Django project](https://github.com/natbat/cbwg) that used `pipenv` (in particular a `Pipfile.lock`) to manage dependencies and I wanted to build a Docker container for it.

Scaling Mastodon: The Compendium (via) Hazel Weakly’s collection of notes on scaling Mastodon, covering PostgreSQL, Sidekiq, Redis, object storage and more.

# 5:46 am / postgresql, redis, scaling, mastodon, sidekiq

Release datasette 1.0a0 — An open source multi-tool for exploring and publishing data
Release datasette-ephemeral-tables 0.1 — Provide tables that expire after a time limit
Monday, 28th November 2022
Wednesday, 30th November 2022