Nan Xiao
@nanxstats.bsky.social
📤 28
📥 13
📝 22
Statistician | Co-author of
https://r4csr.org/
+
https://pycsr.org/
| Opinions = Mine
Becoming a vibe maintainer
nanx.me/blog/post/vi...
loading . . .
Becoming a Vibe Maintainer
I started using AI agents to maintain the awesome-shiny-extensions list: a case study in taste, harness engineering, and the surprising elegance of letting go.
https://nanx.me/blog/post/vibe-maintainer/
about 1 month ago
0
0
0
Introducing pytest-r-snapshot: Verifying Python code against R outputs at scale
nanx.me/blog/post/py...
loading . . .
Introducing pytest-r-snapshot: Verifying Python code against R outputs at scale
pytest-r-snapshot is a pytest plugin for snapshot testing Python code against reference outputs from R. It enables a portable workflow where you record snapshots locally with R, then replay them every...
https://nanx.me/blog/post/pytest-r-snapshot/
3 months ago
0
0
0
Reverse dependency checking {data.table} now only takes 2 hours 44 minutes on a 256-core cloud instance:
nanx.me/blog/post/re...
#rstats
#rust
loading . . .
revdeprun 2.1.0: hunting bottlenecks and a new speedrun record
revdeprun 2.1.0 tackles three bottlenecks in the reverse dependency checking workflow: pak's install scheduler, tarball downloads, and package builds. The result? A new speedrun record: 2 hours 44 min...
https://nanx.me/blog/post/revdeprun-2-1-0/
4 months ago
1
2
0
DM Mono with Fira Code ligatures
nanx.me/blog/post/dm...
loading . . .
DM Mono with Fira Code ligatures
Add a sprinkle of Fira Code ligatures to DM Mono for a unique terminal experience.
https://nanx.me/blog/post/dm-mono-ligaturized/
4 months ago
0
0
0
Reverse dependency check speedrun: a data.table case study
nanx.me/blog/post/re...
#rstats
loading . . .
Reverse dependency check speedrun: a data.table case study
How fast can you run reverse dependency checks for a package with 1700+ reverse dependencies? I put revdeprun to the test with data.table on a 48-core cloud instance. Here is what I learned about spee...
https://nanx.me/blog/post/revdep-speedrun/
5 months ago
0
1
1
revdeprun: Rust CLI for
#rstats
package reverse dependency check automation
nanx.me/blog/post/re...
loading . . .
revdeprun: Rust CLI for R package reverse dependency check automation
revdeprun is a Rust CLI tool that makes running reverse dependency checks on cloud instances as easy as a single command. Learn why this matters for R package maintainers and how it can save you hours...
https://nanx.me/blog/post/revdeprun/
5 months ago
1
5
1
ggsci 4.0.0: 400+ new color palettes
nanx.me/blog/post/gg...
#rstats
loading . . .
ggsci 4.0.0: 400+ new color palettes
ggsci 4.0.0 is here, with over 400 new color palettes from Primer, Atlassian, and iTerm2-Color-Schemes to bring more options to your ggplot2 data visualizations.
https://nanx.me/blog/post/ggsci-4-0-0/
7 months ago
0
13
2
Introducing py-ggsci: ggsci color palettes for plotnine in Python
nanx.me/blog/post/gg...
loading . . .
Introducing py-ggsci: ggsci color palettes for plotnine in Python
Bring publication-ready color palettes to your Python plots with py-ggsci. This new package ports the popular ggsci palettes from R to plotnine and makes it easy to create beautiful, professional visu...
https://nanx.me/blog/post/ggsci-python/
7 months ago
0
0
0
Markdown Stupefy: tidy AI text in VS Code
nanx.me/blog/post/vs...
loading . . .
Markdown Stupefy: Tidy AI Text in VS Code
Markdown Stupefy is a VS Code extension that converts smart punctuation to ASCII, removes emoji, and tidies trailing whitespace so AI-generated text is easy to edit and diff.
https://nanx.me/blog/post/vscode-markdown-stupefy/
8 months ago
0
0
0
A small vibe coding experiment with Claude Code:
nanx.me/blog/post/cl...
loading . . .
Refactoring the GPU Selector App with Claude Code: A Vibe Coding Experiment
I rebuilt my deep learning GPU selector app using Claude Code, and here is what I learned from this small vibe coding experiment.
https://nanx.me/blog/post/claude-code-vibe-refactor/
10 months ago
0
0
0
My first
#PyCon
experience
nanx.me/blog/post/my...
loading . . .
My First PyCon Experience
I attended my first PyCon in Pittsburgh. Here is what caught my attention as a statistician by learning from the Python community.
https://nanx.me/blog/post/my-first-pycon-experience/
10 months ago
0
0
0
pkgdown.offline: Build pkgdown websites without an internet connection
nanx.me/blog/post/pk...
#rstats
loading . . .
pkgdown.offline: Build pkgdown websites without an internet connection
Introducing pkgdown.offline, an R package for building pkgdown websites entirely offline. Learn how it addresses recent pkgdown internet requirements, essential for CI/CD pipelines and air-gapped envi...
https://nanx.me/blog/post/pkgdown-offline/
11 months ago
0
0
0
Customizing Inter with alternative optical sizing presets
nanx.me/blog/post/in...
loading . . .
Customizing Inter with alternative optical sizing presets
Fine-tune the popular Inter typeface using optical sizing (opsz) and letter spacing. This post introduces a set of CSS presets to easily adjust its appearance for optimal readability in your web proje...
https://nanx.me/blog/post/inter-optical-sizing/
12 months ago
0
0
0
Optimize R foreach loops for parallelism: avoid the .combine argument
nanx.me/blog/post/r-...
#rstats
loading . . .
Optimize R foreach loops for parallelism: avoid the .combine argument
Learn why using .combine in R parallel foreach loops can harm performance. Benchmark comparisons show that manual aggregation methods like data.table::rbindlist() significantly accelerate execution.
https://nanx.me/blog/post/r-foreach-combine/
about 1 year ago
0
2
2
R packages using Rust
nanx.me/blog/post/r-...
#rstats
loading . . .
R packages using Rust
r-rust-pkgs is a curated GitHub repository that collects R packages on CRAN that use Rust. It provides a centralized resource for finding high-performance R packages built with Rust, leveraging Rust's...
https://nanx.me/blog/post/r-rust-pkgs/
about 1 year ago
0
10
1
Introducing rtflite for Python
nanx.me/blog/post/rt...
loading . . .
Introducing rtflite for Python
rtflite is a lightweight Python package for generating production-ready tables, listings, and figures (TLFs) in RTF format, designed for clinical study reporting and regulatory submissions while integ...
https://nanx.me/blog/post/rtflite-python/
about 1 year ago
0
0
0
Prevent RStudio 2024.12.0 from adding ProjectID to .Rproj files
nanx.me/blog/post/rs...
#rstats
loading . . .
Prevent RStudio 2024.12.0 from adding ProjectID to .Rproj files
RStudio 2024.12.0 unconditionally adds a ProjectID field to .Rproj files, causing unwanted Git diffs and potential editing conflicts. This post explains the issue and provides an R script to automatic...
https://nanx.me/blog/post/rstudio-projectid/
about 1 year ago
1
2
0
Introducing pkglite for
#Python
nanx.me/blog/post/pk...
loading . . .
Introducing pkglite for Python
pkglite for Python is a simple framework to pack source packages written in any language into a text file and restore them, supporting reproducible research and standard engineering workflows across d...
https://nanx.me/blog/post/pkglite-python/
about 1 year ago
0
0
0
Customize testthat snapshot directory with monkey patching
nanx.me/blog/post/te...
#rstats
loading . . .
Customize testthat snapshot directory with monkey patching
Learn how to customize the default snapshot directory in testthat using monkey patching in R. This post provides a practical solution for modifying testthat internals to meet your project's needs, wit...
https://nanx.me/blog/post/testthat-snapshot-monkey-patch/
over 1 year ago
0
2
0
Skip splash screen in RStudio IDE 2024.12+
nanx.me/blog/post/rs...
#rstats
loading . . .
Skip RStudio splash screen
Learn how to skip the RStudio IDE splash screen using simple automation scripts for macOS, Linux, and Windows.
https://nanx.me/blog/post/rstudio-splash-screen/
over 1 year ago
0
2
1
tinyvdiff: Minimalist visual regression testing plugin for pytest
nanx.me/blog/post/ti...
loading . . .
tinyvdiff: Minimalist visual regression testing plugin for pytest
Introducing tinyvdiff, a minimalist pytest plugin for visual regression testing in Python. Designed for reproducible workflows, tinyvdiff converts PDFs into SVG snapshots for comparing appearance chan...
https://nanx.me/blog/post/tinyvdiff/
over 1 year ago
0
2
0
you reached the end!!
feeds!
log in