Simon Willison

Results 624 issues of Simon Willison

This enables `.map()` and `.filter()` and suchlike against arrays of matching elements.

I was reading the site on my phone and when I scrolled to the bottom of chapter one there was no obvious link to move to chapter two - I...

This didn't use to be possible because there was no API method to return a list of tables - but https://community.airtable.com/t/how-do-i-get-list-of-all-the-tables-in-a-base/30420 now has a comment that says: > This is...

enhancement

See this thread: https://twitter.com/jaffathecake/status/1238080408216047617

enhancement

Hack from: - https://github.com/simonw/asyncinject/issues/10#issuecomment-1101822735

enhancement

The examples in the README are boring, and don't show how the library can resolve a dependency tree into the most efficient possible mechanism. Need to come up with a...

documentation

This line: ```python [m.groupdict() for m in rure.compile('(?P\w+)').finditer("hello there")] ``` Returns this: [{'word': 'h'}, {'word': 't'}] I would expect it to return this: [{'word': 'hello'}, {'word': 'there'}] Adding a second...

Running scrapers is a really interesting use-case for GitHub Actions - especially in a data journalism context. I wrote about a pattern for doing that here: https://simonwillison.net/2020/Oct/9/git-scraping/

I got this error: ``` Could not find backend 'redis_cache.RedisCache': cannot import name 'six' from 'django.utils' (/app/.heroku/python/lib/python3.7/site-packages/django/utils/__init__.py) ``` Django 3.0 doesn't have `django.utils.six` any more: https://github.com/sebleier/django-redis-cache/blob/0b1f870a0960faf253a9133b9bfc2b994da057d3/redis_cache/utils.py#L5-L7