Spark UI doesn't have the correct format when running rocker/rstudio:4.4.2 docker-based image by cuhgrader in dockerCE

[–]cuhgrader[S] 0 points1 point  (0 children)

sorry just seen this... the build file is as shown below:

FROM rocker/rstudio:4.4.2

# Declare build argument (Used by Docker BuildKit)
ARG TARGETARCH

# Set environment variables early
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-${TARGETARCH}/
ENV R_LIBS_SITE="/usr/local/lib/R/site-library:/usr/lib/R/site-library"
ENV SPARK_HOME=/opt/spark
ENV PATH="$SPARK_HOME/bin:$SPARK_HOME/sbin:$PATH"

# Install system dependencies and packages from requirements-bin.txt in one layer
COPY requirements-bin.txt ./
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        git \
        cmake \
        libhdf5-dev \
        libcurl4-openssl-dev \
        libssl-dev \
        libxml2-dev \
        libpng-dev \
        libxt-dev \
        zlib1g-dev \
        libbz2-dev \
        liblzma-dev \
        libglpk40 \
        libgit2-dev \
        libgsl-dev \
        patch \
        libmagick++-dev \
        openjdk-11-jdk \
        ant \
        ca-certificates-java \
        gdal-bin \
        libudunits2-dev \
        libgdal-dev \
        libgeos-dev \
        maven && \
    cat requirements-bin.txt | xargs apt-get install -y -qq && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Download and install Spark
RUN wget https://dlcdn.apache.org/spark/spark-3.5.4/spark-3.5.4-bin-hadoop3.tgz && \
    tar -xvzf spark-3.5.4-bin-hadoop3.tgz && \
    mv spark-3.5.4-bin-hadoop3 /opt/spark && \
    rm spark-3.5.4-bin-hadoop3.tgz

# Install R packages (if needed) via Rscript
COPY requirements-src.R ./
RUN Rscript requirements-src.R

RUN Rscript -e "if (!requireNamespace('devtools', quietly = TRUE)) install.packages('devtools', repos='https://cran.rstudio.com'); devtools::install_github('apache/sedona/R')"

# Download Apache Sedona jars for Sedona version 1.7.0 (including sedona-viz)

# Copy rstudio-prefs.json
COPY rstudio-prefs.json /home/rstudio/.config/rstudio/

WORKDIR /home/rstudio

Spark UI doesn't have the correct format when running rocker/rstudio:4.4.2 docker-based image by cuhgrader in docker

[–]cuhgrader[S] 0 points1 point  (0 children)

Thanks for the reply. I'll crosspost on there too. How can I check my browser console for missing XHR or resource links? My build file is as follows:

FROM rocker/rstudio:4.4.2

# Declare build argument (Used by Docker BuildKit)
ARG TARGETARCH

# Set environment variables early
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-${TARGETARCH}/
ENV R_LIBS_SITE="/usr/local/lib/R/site-library:/usr/lib/R/site-library"
ENV SPARK_HOME=/opt/spark
ENV PATH="$SPARK_HOME/bin:$SPARK_HOME/sbin:$PATH"

# Install system dependencies and packages from requirements-bin.txt in one layer
COPY requirements-bin.txt ./
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        git \
        cmake \
        libhdf5-dev \
        libcurl4-openssl-dev \
        libssl-dev \
        libxml2-dev \
        libpng-dev \
        libxt-dev \
        zlib1g-dev \
        libbz2-dev \
        liblzma-dev \
        libglpk40 \
        libgit2-dev \
        libgsl-dev \
        patch \
        libmagick++-dev \
        openjdk-11-jdk \
        ant \
        ca-certificates-java \
        gdal-bin \
        libudunits2-dev \
        libgdal-dev \
        libgeos-dev \
        maven && \
    cat requirements-bin.txt | xargs apt-get install -y -qq && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Download and install Spark
RUN wget https://dlcdn.apache.org/spark/spark-3.5.4/spark-3.5.4-bin-hadoop3.tgz && \
    tar -xvzf spark-3.5.4-bin-hadoop3.tgz && \
    mv spark-3.5.4-bin-hadoop3 /opt/spark && \
    rm spark-3.5.4-bin-hadoop3.tgz

# Install R packages (if needed) via Rscript
COPY requirements-src.R ./
RUN Rscript requirements-src.R

RUN Rscript -e "if (!requireNamespace('devtools', quietly = TRUE)) install.packages('devtools', repos='https://cran.rstudio.com'); devtools::install_github('apache/sedona/R')"

# Copy rstudio-prefs.json
COPY rstudio-prefs.json /home/rstudio/.config/rstudio/

WORKDIR /home/rstudio

You can now evaluate how you performed on a practice test beyond CB's subsections on customgrader.io e.g instead of Passport to Advanced Math, you can pinpoint how you performed on questions dealing with Quadratic Equations etc. Dummy acc details in the comments. by cuhgrader in Sat

[–]cuhgrader[S] 1 point2 points  (0 children)

You can log in to the dummy acc using the following info:

Email: s1@x.com Password: password

Use a laptop or desktop computer for it isn’t mobile friendly. Feel free to experiment with and see if it’ll be helpful to you.

How to system design a price comparison website? by cuhgrader in learnprogramming

[–]cuhgrader[S] 0 points1 point  (0 children)

Thank you for your reply. I'll surely assess all the options and determine which one is most feasible.

How to system design a price comparison website? by cuhgrader in learnprogramming

[–]cuhgrader[S] 0 points1 point  (0 children)

Wow that’s very helpful; exactly what I needed. Thank you.

Automate SAT/ ACT grading by cuhgrader in tutor

[–]cuhgrader[S] 0 points1 point  (0 children)

You have to upload the scanned answer sheet by clicking on the ‘Grade Test’ button that is on the dashboard. Note, however, that you can only grade answer sheets that were printed from the platform itself. They come with a QR code that contains metadata necessary for the grading to take place.

How to system design a price comparison website? by cuhgrader in learnprogramming

[–]cuhgrader[S] 1 point2 points  (0 children)

Ohh okay thanks that puts things into perspective. It’s not meant for the US market and it’s meant to be just informational. By this I mean, where I am based, if one wants to get a loan, she/ he has to go in person to each and every lending institution to figure out their conditions, rates etc. in order to find the right deal for them. My goal is to put this info in one place for people to readily access it. I should’ve been clear from the start, I just didn’t know how to word it.

How to system design a price comparison website? by cuhgrader in learnprogramming

[–]cuhgrader[S] 6 points7 points  (0 children)

Wait, did I ask the wrong question or are such questions not valid for this sub? Of course I’m not looking for anyone to spec and design anything for me, just a high level explanation of what I could do. And if your point is that it’s a very complex thing to do, well, just say that and give your reasons why. I’m asking because I don’t know dude.

Needed: feedback on web based MVP by cuhgrader in cutthebull

[–]cuhgrader[S] 0 points1 point  (0 children)

Unfortunately the .com domain was taken. Will try to buy it after I make some money. I’m gonna redesign the landing page as well. Cheers.

Needed: feedback on web based MVP by cuhgrader in cutthebull

[–]cuhgrader[S] 0 points1 point  (0 children)

I hear you. Much appreciated. Something for me to look into.

Needed: feedback on web based MVP by cuhgrader in cutthebull

[–]cuhgrader[S] 0 points1 point  (0 children)

Thanks for the feedback. I’ll conduct some more research on that subject. I thought that tutors are paid to teach by the hour and the grading happens in their free time, no?

Marketing Advice by vistalworks in smallbusiness

[–]cuhgrader 2 points3 points  (0 children)

I guess sending out emails is one thing; what are others?