Skip to content

Instantly share code, notes, and snippets.

@cmpadden
cmpadden / gist:fe6fd88b6c7cd4961d6fe17221fe7847
Created December 9, 2025 20:39
git diff colton/python-3-14 "12-08-support_3.14" | pbcopy
diff --git a/docs/docs/getting-started/installation.md b/docs/docs/getting-started/installation.md
index ec6171f82d..88ec13bfcf 100644
--- a/docs/docs/getting-started/installation.md
+++ b/docs/docs/getting-started/installation.md
@@ -8,7 +8,7 @@ import InstallUv from '@site/docs/partials/\_InstallUv.md';
:::note
-To follow the steps in this guide, you'll need to install [Python 3.10](https://www.python.org/downloads/) or higher. **Python 3.14 is recommended**.
+To follow the steps in this guide, you'll need to install [Python 3.10](https://www.python.org/downloads/) or higher. **Python 3.13 is recommended**.
@cmpadden
cmpadden / prompt.txt
Created October 22, 2025 01:08
Codex video transcript generation from Dagster example
>_ You are using OpenAI Codex in ~/src/dagster
▌Review the example projects in examples/docs_projects/
▌project_dagster_modal_pipes and produce a video transcript to teach users the
▌core concepts of the project. Break the transcript into sections, and target a
▌video duration of approximately 5 minutes. Include code snippets to be showcased
▌in the video, and store the transcript in MODAL_VIDEO_TRANSCRIPT.md.
• Updated Plan
└ □ Explore example project files
@cmpadden
cmpadden / gist:357af2210fc3a4cfa5acca082dceba65
Created September 3, 2025 20:10
unit-tests_build_2160_pytest-dagster-airbyte-unit-3-dot-12.log
This file has been truncated, but you can view the full file.
[2025-09-03T19:51:26Z] ============================= test session starts ==============================
[2025-09-03T19:51:26Z] platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /workdir/python_modules/libraries/dagster-airbyte/.tox/py312-unit/bin/python3
[2025-09-03T19:51:26Z] cachedir: python_modules/libraries/dagster-airbyte/.tox/py312-unit/.pytest_cache
[2025-09-03T19:51:26Z] rootdir: /workdir
[2025-09-03T19:51:26Z] configfile: pyproject.toml
[2025-09-03T19:51:26Z] plugins: flaky-3.8.1, buildkite-test-collector-1.1.1, timeout-2.4.0, asyncio-1.1.0, anyio-4.10.0, mock-3.14.0, xdist-3.6.1, syrupy-4.9.1, requests-mock-1.12.1, cov-5.0.0
[2025-09-03T19:51:26Z] timeout: 240.0s
[2025-09-03T19:51:26Z] timeout method: signal
[2025-09-03T19:51:26Z] timeout func_only: False
[2025-09-03T19:51:26Z] asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
C:\Users\t1>powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Downloading uv 0.5.10 (x86_64-pc-windows-msvc)
Installing to C:\Users\t1\.local\bin
uv.exe
uvx.exe
everything's installed!
To add C:\Users\t1\.local\bin to your PATH, either restart your system or run:
set Path=C:\Users\t1\.local\bin;%Path% (cmd)
C:\Users\t1>pip install dagster
Collecting dagster
Using cached dagster-1.6.6-py3-none-any.whl.metadata (12 kB)
Collecting click>=5.0 (from dagster)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting coloredlogs<=14.0,>=6.1 (from dagster)
Using cached coloredlogs-14.0-py2.py3-none-any.whl.metadata (12 kB)
Collecting Jinja2 (from dagster)
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting PyYAML>=5.1 (from dagster)
@cmpadden
cmpadden / twitter-unfollow-non-followers.js
Created December 2, 2024 22:07
Twitter unfollow non-followers
Array
.from(document.getElementsByTagName('button'))
.filter(button => ! button.innerHTML.includes('Follows you'))
.map(button => button.querySelector('button'))
.filter(el => el !== null)
.filter(el => el.innerText == 'Following')
.map(button => button.click());
@cmpadden
cmpadden / bsky-follow-back.js
Created November 17, 2024 04:36
Snippet to follow people back on BlueSky Social
if (!/.*\/profile\/.*\/followers/.test(document.URL)) {
console.error(
'Make sure you are on your followers page!'
)
} else {
Array
.from(document.getElementsByTagName('button'))
.filter(el => el.innerText == 'Follow Back')
.map(el => el.click())
}
@cmpadden
cmpadden / duckdb-dagster-graphql-materializations.sql
Last active October 29, 2024 02:55
Dagster Materializations from DuckDB via GraphQL
install http_client from community;
load http_client;
with __input as (
select
http_post(
'http://localhost:3000/graphql',
headers => map {
'content-type': 'application/json',
@cmpadden
cmpadden / nyc-yellow-taxi-duckdb.sql
Last active August 11, 2024 21:57
DuckDB Yellow Taxi Benchmark
-- Computes the NYC zones that have the most (relative) yellow cab disputes
--
-- It is expected that the NYC yellow trip data set has been downloaded to `./data/nyc_yellow_tripdata`
--
-- https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page
--
-- USAGE
-- $ du -sh data/nyc_yellow_tripdata/
-- 1.1G data/nyc_yellow_tripdata/ $ duckdb < nyc-yellow-taxi-duckdb.sql
--
$ python -c "import math; [print(1/(math.sqrt(n))) for n in range(1, 1000)]" | uplot line -t "1/sqrt(n)"
1/sqrt(n)
┌────────────────────────────────────────┐
1 │⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│
│⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│
│⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│
│⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│
│⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│
│⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│
│⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│