Coder Social home page Coder Social logo

dhub's People

Contributors

ipazc avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

dhub's Issues

Multiple updates of element's data

The smart updater is not mixing up multiple updates of the same element. Under certain circunstances, this might lead to a race condition.

Unexpected delay in iterations

When iterating a dataset with filter_iter(cache_content=True), there is an unexpected delay between page_size requests. Seems that when the whole page_size is processed and the limit is reached, the new page is requested, stopping the run of the application until the next page is retrieved. It should be requesting the next page before reaching the limit to speed up the computations.

Elements are not synchornized with the dataset object

Modifications on an element are not reflected on the dataset inmediately.
Example:

>> element = dataset[0]
>> print(element.get_title())
"title1"
>> element.set_title("titlte2")
>> print(element.get_title())
"titlte2"
>> print(dataset[0].get_title())
"title1"

dataset sync method is not syncing.

The sync() method is not syncing correctly. The following code on a huge append of dataset elements:

>>> print("Syncing...")
>>> dataset.sync()
>>> print("Synced.")

gives this result almost instantly:

Syncing...
Synced.

Iteration should have an option to avoid caching

When it is wanted to iterate over the elements' headers of a dataset rather than the data, data is downloaded too because of the caching system in background. It should have an option to disable this behaviour.

client should try to recover automatically from Connection Timed Out

requests.exceptions.ConnectionError: HTTPConnectionPool(host='', port=): Max retries exceeded with url: /datasets/ipazc-adience/fold1/elements?page=60&_tok= 
(Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2bd3875c18>: Failed to establish a new connection: [Errno 110] Connection timed out',))

After this error, the client should automatically retry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.