Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dhiraj Sharma
    @Dhiraj240
    Also, i need references to follow a structural approach, as of now i was going through the code and may i know the files to be tweaked. The paper i am following is https://www.researchgate.net/publication/3058141_Video_Compression_Using_Conditional_Replenishment_and_Motion_Prediction
    I have some issues and will update by 8th july
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    The paper is quite old, but, the concept of Conditional Replenishment remains valid. However, if you have any question, please, ask it here without any fear :-)
    Dhiraj Sharma
    @Dhiraj240
    as of now i have above doubts and reading codebase etc.
    Dhiraj Sharma
    @Dhiraj240
    Sorry for turning up so late, my college campus placement has started very early.
    May i know the required directory to solve issue 1. is it somewhere inhttps://github.com/Dhiraj240/JHelioviewer-SWHV/tree/master/src/org/helioviewer/jhv ?
    José Juan Sánchez
    @josejuansanchez

    The code related with the JPIP requests and responses is in:

    https://github.com/Dhiraj240/JHelioviewer-SWHV/tree/master/src/org/helioviewer/jhv/view/j2k

    Dhiraj Sharma
    @Dhiraj240
    Could you please provide the idea related to the code walkthrough for issue 1?
    José Juan Sánchez
    @josejuansanchez

    The source code inside the jpip folder is a partial implementation of the JPIP protocol needed to perform JPIP requests. You can find more information about the JPIP protocol in this url:

    https://www.itu.int/rec/T-REC-T.808-200501-I/en

    I don't have a deep knowledge of the JHelioviewer source code but in my opinion the first thing to do is try to understand how JHelioviewer manages the JPIP requests and responses. For this task you can study the J2KReader and J2KDecoder classes.

    Once you know how it works, you can try to find a solution to requests several WOIs for each image. I can think of two possible solutions:

    1) A possible solution could be to perform several requests in parallel.

    2) The client could send to the server how is his cache model to inform the server about the WOIs received in previous requests.

    Dhiraj Sharma
    @Dhiraj240
    okay, so it means that I should not think of CR algorithm as of now. Just improve the jpip structure
    ?
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Yes, you can think this, but, the things that @josejuansanchez has proposed are intended to adapt the current JPIP code to incorporate CR.
    Dhiraj Sharma
    @Dhiraj240
    okay, I have got the idea now.
    Dhiraj Sharma
    @Dhiraj240
    Sorry, for not reporting anything, I am having my campus placement and I want it as early as possible to do my pending personal work. Yesterday I was rejected after HR and today in the coding round. Two more companies are coming this week and thus I have to go through tough times as of now.
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Thank you for the info. Good luck!
    Dhiraj Sharma
    @Dhiraj240
    Sir, as of now I am unable to secure anything from placements hence I have planned to devote time at least 2 hours in the morning because else I wouldn't be able to learn anything and lose this opportunity as well so, I would try to send a PR within this week. I am novice so please forgive me if I do something wrong in PR and hopefully will get required guidance in reviews. :worried:
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    No problem :-)
    Dhiraj Sharma
    @Dhiraj240
    now, i can work, finally got a great placement in HSBC.
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Good news! Congratulations!
    Dhiraj Sharma
    @Dhiraj240
    Sir, can i make an independent project whose code integration can be done by you.As of now i am unable to know the jHelioviewer codebase itself what all things are happening thouugh i read JPIP protocol but it will take me a year to get accquainted with codebase.
    Need an alternative so that i can start from scratch.
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Dear Dhiraj. At this moment I'm in a similar state (I can't dedicate time to this project, at least until next Spring). Don't worry. It's OK. Maybe, we can return to the project in the next SOCIS.
    Dhiraj Sharma
    @Dhiraj240
    okay, till then i would find out the ways on my local system.Are you planning for GSOC?
    gsoc 2020
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    I don't think so.
    Dhiraj Sharma
    @Dhiraj240
    sir, will you fill the feedback form so that i can get a certificate?
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Let me discuss this first with @josejuansanchez. We would like first to analyze the work you did.
    Dhiraj Sharma
    @Dhiraj240
    sir, they are asking for feedback, you could give that i researched on jpip server etc.
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Dear @Dhiraj240, after talking with @josejuansanchez, we don't have clear what you did in the project. Could you first provide a list of done items/tasks ... ?
    Dhiraj Sharma
    @Dhiraj240
    i just researched about jpip server, making docker images and built a sphinx documentation for technical blog. https://github.com/Dhiraj240/SOCIS_Research
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    OK, so I can do a certificate saying that: you researched about JPIP (the rest of your work is out of the scope of this project). Is that OK for you?
    Dhiraj Sharma
    @Dhiraj240
    okay
    but please do mention about sphinx and docker container.
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Yes, no problem. Could you write the letter (LaTeX, ASCII ... but not word, please) and send it to me? Thanks!
    Dhiraj Sharma
    @Dhiraj240
    which one? mentor template?
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    yes, please.
    Dhiraj Sharma
    @Dhiraj240
    okay.
    Dhiraj Sharma
    @Dhiraj240
    @josejuansanchez Sir, can you solve docker file issue using alpine as I am getting errors like libsgf not defined etc. for other apt-get elements when I use apk.
    Can you just look into it and check on your local system on how this Dockerfile can be updated?
    Dhiraj Sharma
    @Dhiraj240
    @josejuansanchez please ^
    José Juan Sánchez
    @josejuansanchez
    @Dhiraj240 Which are the issues? I'm sorry to tell you that I don't have too much experience with Alpine. I have only used it a few times...
    Dhiraj Sharma
    @Dhiraj240
    Just use the previous version of docker file and change FROM ubuntu to FROM alpine and update the scripts.
    The issue is the script I wrote has errors which can't be managed by me
    please can you work on it for 1 day
    I was looking to optimize the container to 2 mb from 280 mb
    José Juan Sánchez
    @josejuansanchez

    @Dhiraj240 The only change that I have seen in your proposal is the base layer, you have replaced ubuntu:16.04 by alpine:latest.

    In my opinion, use Alpine is a good idea to reduce the size of a Docker image. But apart from that, I am not able to see what are the changes that you have developed in the script to optimize the size of the Docker image. I only see a copy and paste of the RUN layer used in the previous version. (Replacing apt-get by apk)

    One last question, if the size of the last version of Alpine is 5.61MB, how is possible to get a Docker image of 2 MB using Alpine as a base layer? Thanks!

    Dhiraj Sharma
    @Dhiraj240
    therefore i was asking for to look for a solution.
    sorry for 2mb i just meant to reduce the size @josejuansanchez
    José Juan Sánchez
    @josejuansanchez

    @Dhiraj240 I have created a new docker image for the ESA JPIP Server using Alpine as base layer.

    I have used a multi-stage build in order to reduce the final size of the image, and now the image size is 118 MB instead of 564MB.
    You can see the changes that I have carried out to compile the project using Alpine as base layer. The Dockerfile is available at:

    https://github.com/josejuansanchez/docker-esajpip/blob/master/Dockerfile

    Dhiraj Sharma
    @Dhiraj240
    Yeah, great help sir I will update in my repo too.
    Do you have any remote paid work?
    José Juan Sánchez
    @josejuansanchez
    Yes, I work as a secondary school teacher.
    Dhiraj Sharma
    @Dhiraj240
    Oh, great sir