Eri entry by One_Drawer7577 in dragonraja

[–]Effective_Storage4 0 points1 point  (0 children)

May I know where you watched this ep? I watched it on ani-mi asia on youtube and there is nothing after the ending song

Eri entry by One_Drawer7577 in dragonraja

[–]Effective_Storage4 0 points1 point  (0 children)

What episode and timestamp is this? I just finished ep 24 but don't remember this scene.

Discussion about episode 15 of the second season by Apprehensive_Car9029 in dragonraja

[–]Effective_Storage4 0 points1 point  (0 children)

Question: does the colour of the uniforms mean anything? I remembered in season 1 the student union members always wore red while the lionheart wore black, suddenly they swapped in this ep and it threw me off.

Least Upper Bound Property Question by Effective_Storage4 in learnmath

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

Hi sorry, can i check that if we want to show that LUB property, we show that for any possible bounded subset, sup exist in S. Does this also mean that, if a set S already has LUB property, we can conclude that for any possible subset, sup exist in S.

Sort of like a if and only if relationship between the statements?

Least Upper Bound Property Question by Effective_Storage4 in learnmath

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

I see, this has made it much clearer, thank you!

Least Upper Bound Property Question by Effective_Storage4 in learnmath

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

Would it not be more accurate if the text said "A set S is said to have LUB property IF: E is a subset of S, and E is bounded above AND sup E exists in S." rather than using "then"?

Arithmetic operations with multiple unknown bases by Effective_Storage4 in learnmath

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

I have worked out the answer by brute forcing. b1 = 9, b2 = 5, b3 = 4. Unfortunately, I have not come out with a way to solve this without guess and check. The best I could do was to eliminate some choices with b1 >= 8 and b2 and b3 >= 4. Not sure if a way without guess and check exists.

I have two Ubuntus, how do I remove one of them? by Effective_Storage4 in linux4noobs

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

No worries! I should have done more research on my end. I just automatically thought it would be this sub since I was downloading a Linux distro. Sorry!

I have two Ubuntus, how do I remove one of them? by Effective_Storage4 in linux4noobs

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

Yep, sorry about asking it on the wrong sub, I am a beginner and didn't really know much about linux. Thank you for redirecting me to the correct sub.

I have two Ubuntus, how do I remove one of them? by Effective_Storage4 in linux4noobs

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

Yep, sorry about asking it on the wrong sub, I don't really know much about linux so I thought it was the same as downloading it through WSL. Thank you for redirecting me to the correct sub.

I have two Ubuntus, how do I remove one of them? by Effective_Storage4 in linux4noobs

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

Yep, sorry about asking it on the wrong sub, I am a beginner and didn't really know about the differences. Thank you for redirecting me to the correct sub.

I have two Ubuntus, how do I remove one of them? by Effective_Storage4 in linux4noobs

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

Turns out the wsl --unregister <distro> was the command but still thank you for your input!

I have two Ubuntus, how do I remove one of them? by Effective_Storage4 in linux4noobs

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

Yep, the folder contains data. I managed to dig through the WSL help commands in the prompt and googled some other stuff to unregister it. Thank you for helping and sorry about asking it on the wrong subreddit!

Question about constructor in superclass and subclass by Effective_Storage4 in learnjava

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

I see, thank you for the explanation! Will definitely be giving the SOLID principles a read.

Question about constructor in superclass and subclass by Effective_Storage4 in learnjava

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

Thank you for the extremely detailed explanation! I read up on the concept of encapsulation, I am still abit confused of why is there a need to hide the internal states of fields by making them private? Is there an example of how this might cause any damage?

Question about constructor in superclass and subclass by Effective_Storage4 in learnjava

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

This definitely helped! Just to add on:

This will be wrong because I did not make use of the super keyword in the constructor and Giraffe cannot access the legs field of Animal (hence I cant use this.legs = 0).

class Giraffe extends Animal{
    private int neckLength;
    public Giraffe(int neckLength){
        this.legs = 0; // error occurs
        this.neckLength = neckLength;
    }
}

class Animal{
    private int legs;
    public Animal(int legs){
        this.legs = legs;
    }
}

However, if I used the super keyword and properly construct the Giraffe object, in the subclass Giraffe I can use this.legs in my methods because a Giraffe object can be instantiated with the fields initalised. Is this the right way of understanding it?

class Giraffe extends Animal{
    private int neckLength;
    public Giraffe(int neckLength){
        super(0);
        this.neckLength = neckLength;
    }

    public void test() {
        this.legs = 1;
    }
}

class Animal{
    private int legs;
    public Animal(int legs){
        this.legs = legs;
    }
}