{"html_url": "https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1240882245", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/297", "id": 1240882245, "node_id": "IC_kwDOCGYnMM5J9lxF", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-08T15:33:11Z", "updated_at": "2022-09-08T15:33:11Z", "author_association": "OWNER", "body": "The more I think about this the more I like it - particularly for `sqlite-utils fast-insert` where differences in features aren't a problem.\r\n\r\nI used a variant of this trick with parquet files here: https://simonwillison.net/2022/Sep/5/laion-aesthetics-weeknotes/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 944846776, "label": "Option for importing CSV data using the SQLite .import mechanism"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1807#issuecomment-1241185851", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1807", "id": 1241185851, "node_id": "IC_kwDOBm6k_c5J-v47", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-09-08T20:14:05Z", "updated_at": "2022-09-08T20:14:05Z", "author_association": "OWNER", "body": "The entire concept of a \"writable database\" is something that's becoming increasingly important to be honest. Maybe Datasette should have that as a core concept which plugins can interact with?\r\n\r\nI had to write [this code](https://github.com/simonw/datasette-upload-csvs/blob/6b7581f5d5363bd17632ebbf5a1e7fe12beddab6/datasette_upload_csvs/__init__.py#L38) in `datasette-upload-csvs` which is a bit nasty: \r\n\r\n```python\r\n if await datasette.permission_allowed(\r\n actor, \"upload-csvs\", default=False\r\n ) and any(\r\n db.is_mutable and db.name not in (\"_memory\", \"_internal\")\r\n for db in datasette.databases.values()\r\n ):\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1366915240, "label": "Plugin ecosystem needs to avoid crashes due to no available databases"}, "performed_via_github_app": null}