Comments (6)
Just so you know, I created a Discord for developing ICIE. Feel free to join and ask me if you are stuck on something!
from icie.
I actually don't have any idea about rust language. But with your help, I will try my best.
from icie.
If I recall correctly, I did not add this originally because CodeChef has a lot of ongoing contests, which would clog up the view. But now I'm thinking I can just display them at the bottom of the list with an [ONGOING] prefix or something.
It seems pretty easy to do: adding some bool is_ongoing for tasks, disable skipping parsing ongoing contests, add a prefix when displaying them. I will try to implement it sometime soon when I find the time. If you want to take a stab at this yourself, I will be happy to help!
from icie.
Sure! If you want to learn Rust, check out the Rust Book or Rust By Example, which are both really good. This change should not require a lot of knowledge about the language though, so you can also just look specific things up in RBE or ask me if you don't understand something. :)
After that, you can start with compiling the plugin and running the compiled extension to make sure everything works - the details on how to do that are in CONTRIBUTING.md. Tell me if anything there does not work though or is unclear since it's best to fix such stuff anyway.
There are three changes this feature will require. First, add an is_ongoing field to the ContestDetails struct. Second, add code that sets this field to true or false (the hardest part, see next paragraph). Third, add an if here that adds the [ONGOING] prefix to the option name, and change the sorting order here so that ongoing contests are displayed last.
I suggest to start with the first and third part, and only then do the second one properly. To start with, just set is_ongoing as always true for CodeChef, and always false for AtCoder and Codeforces. Then you can check if everything is compiling, and if displaying the [ONGOING] prefix works. I'll explain how to actually set is_ongoing to real values once you get to this point - leave a comment here and I'll respond.
If you get stuck at any point, or my explanations are unclear (they probably are...), please tell me here! I'll be happy to help.
from icie.
Thanks for considering me!!
from icie.
I have added scanning CodeChef permanent/ongoing contests, since this already worked on Codeforces/AtCoder. When I release 0.7.22, they will be displayed at the bottom of the contest scan list.
from icie.
Related Issues (20)
- mingw compiler HOT 1
- Change Default download location HOT 2
- Test View not working properly in VSC version 1.47.0 HOT 3
- Problem Not loading
- "MinGW not installed" HOT 4
- Compilation Error bug HOT 10
- Atcoder live contest . HOT 4
- Customize Project Direcotry HOT 3
- Add mirror for codeforces HOT 2
- website could not be analyzed; missing field `problem_name` at line 2 column 82; HOT 1
- Notification Sound (Feature Request) HOT 4
- Codeforces||| Website could not be analyzed; not found '.problem-statement > .header > .title'; HOT 3
- Stress Test is never stopping HOT 3
- network request failed; error sending request: JsValue(Object({"message":"request to https://codeforces.com/contest/1294/problem/D failed, reason: certificate has expired","type":"system","errno":"CERT_HAS_EXPIRED","code":"CERT_HAS_EXPIRED"})); report issue? HOT 1
- Consider making `vscode-sys` an independent project
- Codeforces Network request fails
- CodeChef Invalid type even after pasting string
- submit doesn't work correctly for codeforces..
- Other Languages Support
- / HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icie.