Simon Willison

Results 1833 comments of Simon Willison

I'm here to advocate for more SQLite coverage. SQLite is a fantastic tool for command-line data science, because it gives you a full relational database without needing to run a...

You have to request access to that specific API: https://airtable.com/shrWl6yu8cI8C5Dh3 - I've submitted a request.

Looks like that API is available to everyone now: https://airtable.com/api/meta

... no, you still need to get approved for access as far as I can tell.

Looks like I introduced conflicts with a recent change I landed on `main` - very keen to review this if you push a fix for the conflicts.

The tool currently sleeps for 0.2 seconds between requests to try and stay within the 5 seconds per base limit, but it doesn't do anything smarter than that: https://github.com/simonw/airtable-export/blob/6e27758ef67ee69b452edd706638216436b9f3a8/airtable_export/cli.py#L74-L90 Ideally...

Also worth noting: > Iteration may timeout due to client inactivity or server restarts. In that case, the client will receive a 422 response with error message LIST_RECORDS_ITERATOR_NOT_AVAILABLE. It may...

```python def visualize_traces(traces, chars=80): start = min(t[1] for t in traces) end = max(t[2] for t in traces) width = end - start pos = lambda value1, value2: int((value1 -...

That's when run against data collected using this pattern: ```python registry = Registry(a, b, c, d) collected = [] registry.timer = lambda name, start, end: collected.append((name, start, end)) await registry.resolve(d)...

My hope is that the `.timer` hook itself is enough that people who use OpenTelemetry could easily plug it in.