{"html_url": "https://github.com/simonw/datasette/issues/751#issuecomment-623207541", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/751", "id": 623207541, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzIwNzU0MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T00:13:09Z", "updated_at": "2020-05-04T00:13:09Z", "author_association": "OWNER", "body": "Relevant code: https://github.com/simonw/datasette/blob/07e208cc6d9e901b87552c1be2854c220b3f9b6d/datasette/views/table.py#L519-L520", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611540797, "label": "Ability to set custom default _size on a per-table basis"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/751#issuecomment-623207636", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/751", "id": 623207636, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzIwNzYzNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T00:13:46Z", "updated_at": "2020-05-04T00:13:46Z", "author_association": "OWNER", "body": "Syntax suggestion:\r\n```json\r\n{\r\n \"databases\": {\r\n \"mydatabase\": {\r\n \"tables\": {\r\n \"example_table\": {\r\n \"sort\": \"created\",\r\n \"size\": 10\r\n }\r\n }\r\n }\r\n }\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": 611540797, "label": "Ability to set custom default _size on a per-table basis"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/751#issuecomment-623207741", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/751", "id": 623207741, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzIwNzc0MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T00:14:35Z", "updated_at": "2020-05-04T00:14:35Z", "author_association": "OWNER", "body": "I'm calling it `\"size\"` for consistency with the querystring parameter `_size=`, even though `\"page_size\"` might be a more accurate name.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611540797, "label": "Ability to set custom default _size on a per-table basis"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-photos/issues/1#issuecomment-623232984", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-photos/issues/1", "id": 623232984, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzIzMjk4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T02:41:32Z", "updated_at": "2020-05-04T02:41:32Z", "author_association": "MEMBER", "body": "Needs documentation.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 602533300, "label": "Import photo metadata from Apple Photos into SQLite"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/730#issuecomment-623463200", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/730", "id": 623463200, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzQ2MzIwMA==", "user": {"value": 27856297, "label": "dependabot-preview[bot]"}, "created_at": "2020-05-04T13:27:22Z", "updated_at": "2020-05-04T13:27:22Z", "author_association": "CONTRIBUTOR", "body": "Superseded by #753.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 604001627, "label": "Update pytest-asyncio requirement from ~=0.10.0 to >=0.10,<0.12"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/754#issuecomment-623560217", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/754", "id": 623560217, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzU2MDIxNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T16:15:28Z", "updated_at": "2020-05-04T16:15:28Z", "author_association": "OWNER", "body": "I think those will be fixed by an upgrade to aiofiles 0.5.0:\r\n\r\nhttps://github.com/Tinche/aiofiles/compare/v0.4.0...v0.5.0", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611997130, "label": "Clean up aiofiles warnings on 3.8"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/725#issuecomment-623560732", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/725", "id": 623560732, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzU2MDczMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T16:16:21Z", "updated_at": "2020-05-04T16:16:21Z", "author_association": "OWNER", "body": "This may fix #754 warnings.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 598891570, "label": "Update aiofiles requirement from ~=0.4.0 to >=0.4,<0.6"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/754#issuecomment-623561480", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/754", "id": 623561480, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzU2MTQ4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T16:17:42Z", "updated_at": "2020-05-04T16:17:42Z", "author_association": "OWNER", "body": "Sure enough this run https://travis-ci.org/github/simonw/datasette/jobs/674415040 from that PR no longer shows the warnings.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611997130, "label": "Clean up aiofiles warnings on 3.8"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/719#issuecomment-623591293", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/719", "id": 623591293, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzU5MTI5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T17:14:23Z", "updated_at": "2020-05-04T17:14:23Z", "author_association": "OWNER", "body": "Thanks, this is a smart fix.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 594553553, "label": "asgi: check raw_path is not None"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/752#issuecomment-623598224", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/752", "id": 623598224, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzU5ODIyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T17:28:11Z", "updated_at": "2020-05-04T17:28:20Z", "author_association": "OWNER", "body": "Good catch: it looks like we're not specifying the charset for those pages:\r\n```\r\n$ curl -i 'https://latest.datasette.io/404'\r\nHTTP/1.1 404 Not Found\r\naccess-control-allow-origin: *\r\ncontent-type: text/html\r\nDate: Mon, 04 May 2020 16:23:25 GMT\r\nServer: Google Frontend\r\nContent-Length: 605\r\n\r\n\r\n\r\n\r\n Error 404\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 611835285, "label": "Non-utf8 encoding in exceptionhandlers and custom-pages"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/725#issuecomment-623623696", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/725", "id": 623623696, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzYyMzY5Ng==", "user": {"value": 4312421, "label": "stonebig"}, "created_at": "2020-05-04T18:16:54Z", "updated_at": "2020-05-04T18:16:54Z", "author_association": "NONE", "body": "thanks a lot, Simon ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 598891570, "label": "Update aiofiles requirement from ~=0.4.0 to >=0.4,<0.6"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/755#issuecomment-623635525", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/755", "id": 623635525, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzYzNTUyNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T18:40:15Z", "updated_at": "2020-05-04T18:40:15Z", "author_association": "OWNER", "body": "```\r\n$ pytest tests/test_database.py -v\r\n================================================================================ test session starts =================================================================================\r\nplatform darwin -- Python 3.7.7, pytest-5.2.4, py-1.8.1, pluggy-0.13.1 -- /Users/simon/.local/share/virtualenvs/datasette-AWNrQs95/bin/python\r\ncachedir: .pytest_cache\r\nrootdir: /Users/simon/Dropbox/Development/datasette, inifile: pytest.ini\r\nplugins: asyncio-0.10.0\r\ncollected 9 items \r\n\r\ntests/test_database.py::test_table_exists[tables0-True] PASSED [ 11%]\r\ntests/test_database.py::test_table_exists[tables1-False] PASSED [ 22%]\r\ntests/test_database.py::test_get_all_foreign_keys PASSED [ 33%]\r\ntests/test_database.py::test_table_names PASSED [ 44%]\r\ntests/test_database.py::test_execute_write_block_true PASSED [ 55%]\r\ntests/test_database.py::test_execute_write_block_false PASSED [ 66%]\r\ntests/test_database.py::test_execute_write_fn_block_false no such column: id\r\nPASSED [ 77%]\r\ntests/test_database.py::test_execute_write_fn_block_true PASSED [ 88%]\r\ntests/test_database.py::test_execute_write_fn_exception PASSED [100%]\r\n\r\n================================================================================= 9 passed in 1.90s ==================================================================================\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612082842, "label": "Fix \"no such column: id\" output in tests"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/756#issuecomment-623650324", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/756", "id": 623650324, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzY1MDMyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T19:10:23Z", "updated_at": "2020-05-04T19:10:23Z", "author_association": "OWNER", "body": "https://github.com/pipxproject/pipx/issues/79 showed me how to upgrade plugins within the pipx virtual environment.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612089949, "label": "Add pipx to installation documentation"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/756#issuecomment-623654436", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/756", "id": 623654436, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzY1NDQzNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T19:19:06Z", "updated_at": "2020-05-04T19:19:06Z", "author_association": "OWNER", "body": "New documentation is here: https://datasette.readthedocs.io/en/latest/installation.html#install-using-pipx", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612089949, "label": "Add pipx to installation documentation"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-photos/issues/15#issuecomment-623723026", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-photos/issues/15", "id": 623723026, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzcyMzAyNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T21:41:30Z", "updated_at": "2020-05-04T21:41:30Z", "author_association": "MEMBER", "body": "I'm going to put these in a table called `apple_photos_scores` - I'll also pull in the following columns from the `ZGENERICASSET` table:\r\n\r\n* `ZOVERALLAESTHETICSCORE`\r\n* `ZCURATIONSCORE`\r\n* `ZHIGHLIGHTVISIBILITYSCORE`\r\n* `ZPROMOTIONSCORE`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612151767, "label": "Expose scores from ZCOMPUTEDASSETATTRIBUTES"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-photos/issues/15#issuecomment-623723687", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-photos/issues/15", "id": 623723687, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzcyMzY4Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T21:43:06Z", "updated_at": "2020-05-04T21:43:06Z", "author_association": "MEMBER", "body": "It looks like I can map the photos I'm importing to these tables using the `ZUUID` column on `ZGENERICASSET` to get a `Z_PK` which then maps to the rows in `ZGENERICASSET`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612151767, "label": "Expose scores from ZCOMPUTEDASSETATTRIBUTES"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-photos/issues/15#issuecomment-623730934", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-photos/issues/15", "id": 623730934, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzczMDkzNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T22:00:38Z", "updated_at": "2020-05-04T22:00:48Z", "author_association": "MEMBER", "body": "Here's the query to create the new table:\r\n```sql\r\ncreate table apple_photos_scores as select\r\n ZGENERICASSET.ZUUID,\r\n ZGENERICASSET.ZOVERALLAESTHETICSCORE,\r\n ZGENERICASSET.ZCURATIONSCORE,\r\n ZGENERICASSET.ZPROMOTIONSCORE,\r\n ZGENERICASSET.ZHIGHLIGHTVISIBILITYSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZBEHAVIORALSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZFAILURESCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZHARMONIOUSCOLORSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZIMMERSIVENESSSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZINTERACTIONSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZINTERESTINGSUBJECTSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZINTRUSIVEOBJECTPRESENCESCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZLIVELYCOLORSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZLOWLIGHT,\r\n ZCOMPUTEDASSETATTRIBUTES.ZNOISESCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTCAMERATILTSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTCOMPOSITIONSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTLIGHTINGSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTPATTERNSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTPERSPECTIVESCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTPOSTPROCESSINGSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTREFLECTIONSSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZPLEASANTSYMMETRYSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZSHARPLYFOCUSEDSUBJECTSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZTASTEFULLYBLURREDSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZWELLCHOSENSUBJECTSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZWELLFRAMEDSUBJECTSCORE,\r\n ZCOMPUTEDASSETATTRIBUTES.ZWELLTIMEDSHOTSCORE\r\nfrom\r\n attached.ZGENERICASSET\r\n join attached.ZCOMPUTEDASSETATTRIBUTES on\r\n attached.ZGENERICASSET.Z_PK = attached.ZCOMPUTEDASSETATTRIBUTES.Z_PK;\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612151767, "label": "Expose scores from ZCOMPUTEDASSETATTRIBUTES"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-photos/issues/15#issuecomment-623739934", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-photos/issues/15", "id": 623739934, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMzczOTkzNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-05-04T22:24:26Z", "updated_at": "2020-05-04T22:24:26Z", "author_association": "MEMBER", "body": "Twitter thread with some examples of photos that are coming up from queries against these scores: https://twitter.com/simonw/status/1257434670750408705", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 612151767, "label": "Expose scores from ZCOMPUTEDASSETATTRIBUTES"}, "performed_via_github_app": null}