Weekly 2022-34
- Reading list:
- Django: used
only()anddefer()to optimise performanceonlyhas issues with related objects andprefetch_relatedUser.objects.all().prefetch_related("post_set").only("name", "post_set")will result in an error. Usedeferinstead to exclude data you don't need.
- Idea: Build function that automatically adds
onlyordeferto a queryset based on the Serializer
- There will be an atomic bomb event in data gathering. Similar to how atom bombs polluted carbon dating, the spread of AI generated content will pollute future datasets. https://news.ycombinator.com/item?id=32578142
- Added experimental webmention endpoint to blog.