home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where "updated_at" is on date 2021-08-04 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: issue_url, created_at (date), updated_at (date)

issue 3

  • `datasette publish cloudrun --cpu X` option 4
  • Add an interactive tutorial as a Jupyter notebook 2
  • `publish cloudrun` should deploy a more recent SQLite version 1

user 2

  • simonw 6
  • fgregg 1

author_association 2

  • OWNER 6
  • CONTRIBUTOR 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
892988609 https://github.com/simonw/sqlite-utils/issues/308#issuecomment-892988609 https://api.github.com/repos/simonw/sqlite-utils/issues/308 IC_kwDOCGYnMM41OezB simonw 9599 2021-08-04T21:30:59Z 2021-08-04T21:30:59Z OWNER

OK, this works great as a proof-of-concept (though maybe I should remove the output from the cells so people have to run it themselves in the Binder environment?)

Next challenge: how extensive should it be? What features should I cover? Should I do a basic tutorial and then several advanced tutorials?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add an interactive tutorial as a Jupyter notebook 961008507  
892957281 https://github.com/simonw/sqlite-utils/issues/308#issuecomment-892957281 https://api.github.com/repos/simonw/sqlite-utils/issues/308 IC_kwDOCGYnMM41OXJh simonw 9599 2021-08-04T20:37:00Z 2021-08-04T20:37:00Z OWNER

https://mybinder.org/v2/gh/simonw/sqlite-utils/main?filepath=docs%2Ftutorial.ipynb

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add an interactive tutorial as a Jupyter notebook 961008507  
892376353 https://github.com/simonw/datasette/issues/1420#issuecomment-892376353 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MJUh simonw 9599 2021-08-04T05:33:12Z 2021-08-04T05:33:12Z OWNER

In the Cloud Run console (before I deleted these services) when I click "Edit and deploy new revision" I see this for the default one:

And this for the big one:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892374253 https://github.com/simonw/datasette/issues/1420#issuecomment-892374253 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MIzt simonw 9599 2021-08-04T05:27:21Z 2021-08-04T05:29:59Z OWNER

I'll delete these services shortly afterwards. Right now:

https://fixtures-over-provisioned-issue-1420-j7hipcg4aq-uc.a.run.app/-/psutil (deployed with --memory 8G --cpu 4) returns: ``` process.memory_info() pmem(rss=60456960, vms=518930432, shared=0, text=0, lib=0, data=0, dirty=0)

...

psutil.cpu_times(True) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0)

psutil.virtual_memory() svmem(total=2147483648, available=2092531712, percent=2.6, used=33103872, free=2092531712, active=44130304, inactive=10792960, buffers=0, cached=21848064, shared=262144, slab=0) https://fixtures-default-issue-1420-j7hipcg4aq-uc.a.run.app/-/psutil returns: process.memory_info() pmem(rss=49324032, vms=140595200, shared=0, text=0, lib=0, data=0, dirty=0)

...

psutil.cpu_times(True) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0)

psutil.virtual_memory() svmem(total=2147483648, available=2091188224, percent=2.6, used=40071168, free=2091188224, active=41586688, inactive=7983104, buffers=0, cached=16224256, shared=262144, slab=0) ``` These numbers are different enough that I assume this works as advertised.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892372509 https://github.com/simonw/datasette/issues/1420#issuecomment-892372509 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MIYd simonw 9599 2021-08-04T05:22:29Z 2021-08-04T05:22:29Z OWNER

Testing this manually with:

datasette publish cloudrun fixtures.db --memory 8G --cpu 4 \
  --service fixtures-over-provisioned-issue-1420 --install datasette-psutil

And for comparison:

datasette publish cloudrun fixtures.db --service fixtures-default-issue-1420 \
  --install datasette-psutil
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892365639 https://github.com/simonw/datasette/issues/1420#issuecomment-892365639 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MGtH simonw 9599 2021-08-04T05:05:07Z 2021-08-04T05:05:07Z OWNER

https://github.com/simonw/datasette/blob/cd8b7bee8fb5c1cdce7c8dbfeb0166011abc72c6/datasette/publish/cloudrun.py#L153-L158

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892276385 https://github.com/simonw/datasette/issues/1419#issuecomment-892276385 https://api.github.com/repos/simonw/datasette/issues/1419 IC_kwDOBm6k_c41Lw6h fgregg 536941 2021-08-04T00:58:49Z 2021-08-04T00:58:49Z CONTRIBUTOR

yes, filter clause on aggregate queries were added to sqlite3 in 3.30

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`publish cloudrun` should deploy a more recent SQLite version 959710008  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 464.785ms · About: github-to-sqlite