Giter Club home page Giter Club logo

Comments (13)

Aniket762 avatar Aniket762 commented on August 18, 2024 1

:)

Sorry that was more of a reminder for myself.

So there is two things here:

  1. Missing data: Sometimes our backend has problems and we may not produce data. For example we don't have data for March 1st in the top graph here: https://ihr.iijlab.net/ihr/en-us/networks/AS2497?af=4&last=3&date=2022-03-02&rov_tb=routes
    Currently plotly draws a long line to fill this gap but we'd like to show that there is missing data, for example with a shaded area where data is missing and maybe a message saying 'No data available'.
  2. Make the graph goes to 0: For some interesting events some lines in our 'AS dependency' graphs just stop. See this example where the line for AS174 stops on March 4th 5pm: https://ihr.iijlab.net/ihr/en-us/networks/AS20485?rov_tb=routes&af=4&last=3&date=2022-03-05
    In reality it means that AS174 is equal to zero from 5:15pm onward. So this is what we want to fix. Continue the AS174 line with only zero values. Note that it can happen the other way around, where a line starts in the middle of the graph. In this case we'd like to add zero values before it starts.

Let me know if it is more clear now and if you want to take care of this issue. Thanks!

Yes, I would take upon this issue and will try to work on it accordingly. In case there is any doubt would revert back to you asap. Please assign this issue to me

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

Hi @romain-fontugne sir, I am interested in taking up the issue. But, I am having a bit of a problem understanding the requirements.

As of now, I have understood you want me to add some sort of component to visualize data in a more structured way. Can you please provide an example or elaborate on the type of overlays you want me to add?

And by dependency disappearance do you mean npm modules as dependencies or failure of API endpoints or is it something completely different.

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

:)

Sorry that was more of a reminder for myself.

So there is two things here:

  1. Missing data: Sometimes our backend has problems and we may not produce data. For example we don't have data for March 1st in the top graph here: https://ihr.iijlab.net/ihr/en-us/networks/AS2497?af=4&last=3&date=2022-03-02&rov_tb=routes
    Currently plotly draws a long line to fill this gap but we'd like to show that there is missing data, for example with a shaded area where data is missing and maybe a message saying 'No data available'.

  2. Make the graph goes to 0: For some interesting events some lines in our 'AS dependency' graphs just stop. See this example where the line for AS174 stops on March 4th 5pm: https://ihr.iijlab.net/ihr/en-us/networks/AS20485?rov_tb=routes&af=4&last=3&date=2022-03-05
    In reality it means that AS174 is equal to zero from 5:15pm onward. So this is what we want to fix. Continue the AS174 line with only zero values. Note that it can happen the other way around, where a line starts in the middle of the graph. In this case we'd like to add zero values before it starts.

Let me know if it is more clear now and if you want to take care of this issue. Thanks!

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

Hey @romain-fontugne,

I was trying to work on this issue. but testing on localhost didn't fetch API calls due to Cross Origin policy. It would be difficult for me to test things and add functionality without seeing any changes on localhost.

I was trying to test this url https://localhost:8081/ihr/en-us/networks/AS2497?af=4&last=3&date=2022-03-02&rov_tb=routes replacing ihr.iijlab.net with localhost:8081. The first link one you mentioned above.

How should I proceed with the task.

Screenshot 2022-03-16 at 2 42 25 PM

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

I recently had the same problem, I'm really not sure why this is happening. I don't think I had this problem before. And it is very confusing, for some links it is working for me... I'll take a look at it

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

I recently had the same problem, I'm really not sure why this is happening. I don't think I had this problem before. And it is very confusing, for some links it is working for me... I'll take a look at it

Thanks sir, waiting for your reply.

Actually, I am planning to submit a proposal for GSoC'22 and before that, I wanted to have a basic understanding of the codebase and the workflow. Although I have started out understanding and sending some PRs I was thinking of sending more PRs before sending the Proposal, can you please help me understand issue #17 or any issue which you believe is beginner-friendly?

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

I think the problem happen with our CDN, somehow some cached queries enforce CORS. If you are on Mac/Linux you can bypass the CDN by adding the following in /etc/hosts:
202.214.97.18 ihr.iijlab.net

And then it should work.

Issue #17 is actually already implemented, sorry forgot to close it. Tomorrow I can add issues related to GSoC ideas. I will also review your PRs tomorrow.

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

I think the problem happen with our CDN, somehow some cached queries enforce CORS. If you are on Mac/Linux you can bypass the CDN by adding the following in /etc/hosts: 202.214.97.18 ihr.iijlab.net

And then it should work.

Issue #17 is actually already implemented, sorry forgot to close it. Tomorrow I can add issues related to GSoC ideas. I will also review your PRs tomorrow.

Thanks a lot sir

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

@Aniket762 I just found out this weird case where there is data but we are putting the 'no data' label on top of it:
https://ihr.iijlab.net/ihr/en-us/networks/AS270903?af=4&last=3&date=2022-04-06&rov_tb=routes

I think the problem is that one of he timeseries stopped. To check the data availability we can use the timeseries where "originasn"=="asn" (we are not plotting this one)

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

@Aniket762 I just found out this weird case where there is data but we are putting the 'no data' label on top of it: https://ihr.iijlab.net/ihr/en-us/networks/AS270903?af=4&last=3&date=2022-04-06&rov_tb=routes

I think the problem is that one of he timeseries stopped. To check the data availability we can use the timeseries where "originasn"=="asn" (we are not plotting this one)

I would check on that and try to resolve it as soon as possible from my end! Sorry, I missed the corner case

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

@Aniket762 I just found out this weird case where there is data but we are putting the 'no data' label on top of it: https://ihr.iijlab.net/ihr/en-us/networks/AS270903?af=4&last=3&date=2022-04-06&rov_tb=routes

I think the problem is that one of he timeseries stopped. To check the data availability we can use the timeseries where "originasn"=="asn" (we are not plotting this one)

So, actually, some AS are having values whereas some are not. For a small interval, I don't think making the missing data points to zero would be good so I am planning to remove the grey box with the label no data available. In the 2 cases you have mentioned above, I made the data points zero for graphs that don't have data after a certain period. But, this case was missed out, if you want me to make the missing data points zero let me know I would do that, but as of now, I am removing the data label and grey box and keeping the missing data points empty for those particular AS. Please let me know if this works

from ihr-website.

romain-fontugne avatar romain-fontugne commented on August 18, 2024

So, actually, some AS are having values whereas some are not.

I see. It means that in this case we have data but that AS has values equal to 0 (which are not reported by IHR API). So I think we should remove the gey box and also add zero values for ASes that have no value

from ihr-website.

Aniket762 avatar Aniket762 commented on August 18, 2024

Yes, that's what I did :)

from ihr-website.

Related Issues (20)

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.