Better HN
topnewbestaskshowjobs
Log inSign up

maciej_pacula

1 karma · joined Feb 25, 2025 (1y ago) · 10 submissions

Submissions

1.

Binder: Turn a Git repo into a collection of interactive notebooks(mybinder.org ↗)

1 points · by maciej_pacula · 3mo ago · discuss

comment 9mo ago · link · parent

We're a small startup that had to build and iteratively evolve both the backend API and the Python client with a tiny team.

Pydantic and code generation both had friction points that didn't fit our situation, so we ended up with a ~435-line framework that makes the client read like a mini-ORM.

The post walks through our implementation. While it worked well for us (so far), it may not be right for everyone. And we miss out on the ecosystem around OpenAPI etc. Not having Swagger definitely stings.

I'd love to hear whether others are still building REST clients by hand, or is everything auto-generated from OpenAPI specs these days?

3.

Building a Pythonic REST client that feels like an ORM(blog.gofigr.io ↗)

2 points · by maciej_pacula · 9mo ago · 1 comment

comment 9mo ago · link · parent

I spent a lot of time trying to build a "zero-config" plot capture system for both R and Python. It turns out the two languages have fundamentally different philosophies on how pixels get to the screen which make this easy in Python and super hard in R.

I wrote a deep dive comparing the display architectures in both languages, including some admittedly hacky ways to find figure objects through stack inspection. Hope it helps someone avoid our mistakes!

5.

Building a cross-language plot capture engine in R and Python(quickanalysis.substack.com ↗)

1 points · by maciej_pacula · 9mo ago · 1 comment

6.

Show HN: Automatically add Git hash to your Jupyter figures(github.com ↗)

1 points · by maciej_pacula · 1y ago · discuss

comment 1y ago · link · parent

On the data analysis side, I think making version control both mandatory and automatic would go a long way.

One issue is that internal science within a company/lab can move incredibly fast -- assays, protocols, datasets and algorithms change often. People tend to lose track of what data, what parameters, and what code they used to arrive at a particular figure or conclusion. Inevitably, some of those end up being published.

Journals requiring data and code for publication helps, but it's usually just one step at the end of a LONG research process. And as far as I'm aware, no one actually verifies that the code you submitted produces the figures in your paper.

It's a big reason why we started https://GoFigr.io. I think making reproducibility both real-time and automatic is key to make this situation better.

comment 1y ago · link · parent

Here's the Colab link if you'd like to try it out: https://colab.research.google.com/github/GoFigr/examples/blo...

9.

Show HN: GoFigr – real-time, figure-centric version control for Jupyter and R(gofigr.io ↗)

1 points · by maciej_pacula · 1y ago · 1 comment