{"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/7#issuecomment-685895540", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/7", "id": 685895540, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTg5NTU0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T17:46:44Z", "updated_at": "2020-09-02T17:46:44Z", "author_association": "MEMBER", "body": "Some opet questions about this:\r\n\r\n- Should I restrict to two exclusive categories here, or should I have a generic category mechanism that can be expanded to more than two?\r\n- Should an item be able to exist in more than one category? Do I want to be able to mark an indexed item as both by-me and liked-by-me for example? This question is more interesting if the number of categories is greater than two.\r\n- How should this be modeled? Single column, multiple boolean columns, JSON array, m2m against separate table?\r\n- What's the best way to make this performant", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691265198, "label": "Mechanism for differentiating between \"by me\" and \"liked by me\""}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/8#issuecomment-685960072", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/8", "id": 685960072, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk2MDA3Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T19:50:47Z", "updated_at": "2020-09-02T19:50:47Z", "author_association": "MEMBER", "body": "This doesn't actually help, because the Datasette table view page doesn't then support adding the `where search_index_fts match :query` bit.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691369691, "label": "Create a view for running faceted searches"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/3#issuecomment-685961809", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/3", "id": 685961809, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk2MTgwOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T19:54:24Z", "updated_at": "2020-09-02T19:54:24Z", "author_association": "MEMBER", "body": "This should implement search highlighting too, as seen on https://til.simonwillison.net/til/search?q=cloud\r\n\r\n\"TIL_search__cloud\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 689810340, "label": "Datasette plugin to provide custom page for running faceted, ranked searches"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/7#issuecomment-685962280", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/7", "id": 685962280, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk2MjI4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T19:55:26Z", "updated_at": "2020-09-02T19:59:58Z", "author_association": "MEMBER", "body": "Relevant: https://charlesleifer.com/blog/a-tour-of-tagging-schemas-many-to-many-bitmaps-and-more/\r\n\r\nSQLite supports bitwise operators Binary AND (&) and Binary OR (|) - I could try those. Not sure how they interact with indexes though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691265198, "label": "Mechanism for differentiating between \"by me\" and \"liked by me\""}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/7#issuecomment-685965516", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/7", "id": 685965516, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk2NTUxNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T20:01:54Z", "updated_at": "2020-09-02T20:01:54Z", "author_association": "MEMBER", "body": "Relevant post: https://sqlite.org/forum/forumpost/9f06fedaa5 - drh says:\r\n\r\n> Indexes are one-to-one. There is one entry in the index for each row in the table.\r\n>\r\n> You are asking for an index that is many-to-one - multiple index entries for each table row.\r\n>\r\n> A Full-Text Index is basically a many-to-one index. So if all of your array entries really are words, you could probably get this to work using a Full-Text Index.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691265198, "label": "Mechanism for differentiating between \"by me\" and \"liked by me\""}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/7#issuecomment-685966361", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/7", "id": 685966361, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk2NjM2MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T20:03:29Z", "updated_at": "2020-09-02T20:03:41Z", "author_association": "MEMBER", "body": "I'm going to implement the first version of this as an indexed integer `category` column which has 1 for \"about me\" and 2 for \"liked by me\" - and space for other category numerals in the future, albeit a row can only belong to one category.\r\n\r\nI'll think about a full tagging system separately.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691265198, "label": "Mechanism for differentiating between \"by me\" and \"liked by me\""}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/7#issuecomment-685966707", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/7", "id": 685966707, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk2NjcwNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T20:04:08Z", "updated_at": "2020-09-02T20:04:08Z", "author_association": "MEMBER", "body": "I'll make `category` a foreign key to a `categories` table so Datasette can automatically show the `name` column.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691265198, "label": "Mechanism for differentiating between \"by me\" and \"liked by me\""}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/dogsheep-beta/issues/7#issuecomment-685970384", "issue_url": "https://api.github.com/repos/dogsheep/dogsheep-beta/issues/7", "id": 685970384, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NTk3MDM4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-02T20:11:41Z", "updated_at": "2020-09-02T20:11:59Z", "author_association": "MEMBER", "body": "Default categories:\r\n\r\n- 1 = created\r\n- 2 = saved", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 691265198, "label": "Mechanism for differentiating between \"by me\" and \"liked by me\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/952#issuecomment-686061028", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/952", "id": 686061028, "node_id": "MDEyOklzc3VlQ29tbWVudDY4NjA2MTAyOA==", "user": {"value": 27856297, "label": "dependabot-preview[bot]"}, "created_at": "2020-09-02T22:26:14Z", "updated_at": "2020-09-02T22:26:14Z", "author_association": "CONTRIBUTOR", "body": "Looks like black is up-to-date now, so this is no longer needed.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 687245650, "label": "Update black requirement from ~=19.10b0 to >=19.10,<21.0"}, "performed_via_github_app": null}