Skip to content

Instantly share code, notes, and snippets.

View ryan-williams's full-sized avatar
🚆

Ryan Williams ryan-williams

🚆
View GitHub Profile

[hyparam/hyparquet#142] For discussion: Add suffixStart option to parquetMetadataAsync

Adds a suffixStart option to parquetMetadataAsync that allows the caller to specify a byte offset to start fetching from (instead of fetching the last initialFetchSize bytes).

It's analogous to fetching bytes [idx:] (idx to EOF) instead of [-n:] (current behavior: last n bytes).

Motivation: polling append-only Parquet files

I built [a dashboard][awair] that reads from append-only Parquet files in S3:

@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 28, 2025 02:44
Draft PR for test-owner/test-repo

Title

Description of the PR...

@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 28, 2025 01:52
Draft PR for test-owner/test-repo

Title

Description of the PR...

[plotly/plotly.js#7659] fix: preserve z-indexed subplots during relayout for correct pan/zoom

Summary

Fixes a bug with the first pan/zoom after page load, when traces have different zorder values: some traces are not redrawn until the pan/zoom completes (while others are). All traces are redrawn continuously during subsequent pans/zooms, as expected. This is particularly noticeable in react-plotly.js, which calls Plotly.Plots.resize() after mount.

Root cause: When relayout is called (e.g., during resize), supplyDefaults resets _plots via linkSubplots, losing z-indexed subplots (e.g., xyz2, xyz3). Since relayout doesn't trigger drawFramework, they aren't recreated, causing updateSubplots in dragbox.js to miss them during pan/zoom.

Fix:

  • In linkSubplots (plots.js): preserve z-indexed subplots from oldSubplots
@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 22, 2025 16:32
Draft PR for test-owner/test-repo

Title

Description of the PR...

[runsascoded/dffs#3] Add shell-integration, -C/--cached flag, fix exit codes, modernize CI

Summary

  • Add dffs-shell-integration command for convenient shell aliases with c (back-compat) and n (no-color) variants
  • Add -C/--cached flag to git-diff-x for comparing HEAD vs staged changes
  • Fix exit code propagation in git-diff-x and comm-x
  • Improve test assertions: replace vague in checks with precise line-by-line comparisons
  • Remove deprecated Tuple import, use built-in tuple
  • Update CI workflow to match ghpr/git-didi pattern
@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 9, 2025 01:06
Draft PR for test-owner/test-repo

Title

Description of the PR...

@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 9, 2025 01:05
Draft PR for test-owner/test-repo

Title

Description of the PR...

@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 9, 2025 01:03
Draft PR for test-owner/test-repo

Title

Description of the PR...

@ryan-williams
ryan-williams / DESCRIPTION.md
Created November 9, 2025 01:01
Draft PR for test-owner/test-repo

Title

Description of the PR...