home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 189817033 and user = 306380 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • mrocklin · 4 ✖

issue 1

  • Remove caching logic from xarray.Variable · 4 ✖

author_association 1

  • MEMBER 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
263346169 https://github.com/pydata/xarray/pull/1128#issuecomment-263346169 https://api.github.com/repos/pydata/xarray/issues/1128 MDEyOklzc3VlQ29tbWVudDI2MzM0NjE2OQ== mrocklin 306380 2016-11-28T18:05:54Z 2016-11-28T18:05:54Z MEMBER

I agree that it's not great. This was more a show of solidarity that we've also run into this same issue and had to resort to similar hacks.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Remove caching logic from xarray.Variable 189817033
263345054 https://github.com/pydata/xarray/pull/1128#issuecomment-263345054 https://api.github.com/repos/pydata/xarray/issues/1128 MDEyOklzc3VlQ29tbWVudDI2MzM0NTA1NA== mrocklin 306380 2016-11-28T18:01:41Z 2016-11-28T18:01:41Z MEMBER

@shoyer https://github.com/dask/dask/blob/master/dask/utils.py#L68-L84

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Remove caching logic from xarray.Variable 189817033
261989094 https://github.com/pydata/xarray/pull/1128#issuecomment-261989094 https://api.github.com/repos/pydata/xarray/issues/1128 MDEyOklzc3VlQ29tbWVudDI2MTk4OTA5NA== mrocklin 306380 2016-11-21T16:29:25Z 2016-11-21T16:29:25Z MEMBER

Why, yes it does -- and it shows a nice speedup, as well! What was I missing here?

Spawn is only available in Python 3, so it's not a full solution. Something isn't fork-safe, possibly something within the HDF5 library?

You might also want to try forkserver and look at this semi-related PR https://github.com/dask/distributed/pull/687

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Remove caching logic from xarray.Variable 189817033
261936849 https://github.com/pydata/xarray/pull/1128#issuecomment-261936849 https://api.github.com/repos/pydata/xarray/issues/1128 MDEyOklzc3VlQ29tbWVudDI2MTkzNjg0OQ== mrocklin 306380 2016-11-21T13:21:21Z 2016-11-21T13:21:21Z MEMBER

Does your failure work with the following spawning pool in Python 3?

```python In [1]: import multiprocessing

In [2]: ctx = multiprocessing.get_context('spawn')

In [3]: ctx.Pool(4) Out[3]: <multiprocessing.pool.Pool at 0x7fec70afca20> ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Remove caching logic from xarray.Variable 189817033

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,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
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 20.001ms · About: xarray-datasette