GithubHelp home page GithubHelp logo

idne's People

Contributors

danielkurniadi avatar endiliey avatar gesrua avatar hugopm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

idne's Issues

Usability Issues

Hey, I just tried out this tool. It seems to get the job done, but I feel the UX could be a bit better.

  • Improved installation process

    • Preferably via pip
  • Currently username / password has to be specified inside utils/conig.py

    • Instead we could create a config file $HOME/codeforces
  • Bundled under one main script

    • We could have a main script idne that has two arguments
      • parse
      • submit
  • Improvements to the parse script

    • Add support for Python language

    • Take optional argument for problem name: A, B etc.

      • So that only a single problem can be fetched
    • In general, the test.sh can be refactored

      • Maybe we could even create a Python file out of it. and add it as a separate command idne run
    • We could even fetch the problem statement (the entire text) and add it to the problem code file itself (.cpp, .py)

      • So one can look at the problem statement in the editor itself

      • Similarly, the test cases could be written inside the code file too

      • Then, the idne run command could just extract the test cases from the code file itself, and run them!

        • This means, separate input1 / output1 files won't be needed!

What are your thoughts?

Compatibility issues

Dear idne Maintainers,

As I was following the tutorial, at the following jupyter notebook line

idne 454A A.cpp

I get the following error

Traceback (most recent call last):
  File "/usr/local/bin/idne", line 9, in <module>
    load_entry_point('Idne', 'console_scripts', 'idne')()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/neo/idne/idne.py", line 42, in cli
    enter_form['handle'] = config.username
  File "/usr/local/lib/python2.7/dist-packages/robobrowser/forms/form.py", line 216, in __setitem__
    self.fields[key].value = value
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/datastructures.py", line 784, in __getitem__
    raise exceptions.BadRequestKeyError(key)
werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

not working for live contests

the tool is unable to submit answers for live contests.This is a great setback and greatly lowers the usability of the tool.

compilation error

submitting a python solution gets compilation error because it's treated as c++
image

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.