1 User and 18 Guests viewing this page
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

Trash phone, good comp, give trash access to good via connection.


Are you asking me how to activate resource sharing?
Hidden 7 yrs ago Post by DarkwolfX37
Raw
GM
Avatar of DarkwolfX37

DarkwolfX37 Absolute L User

Member Seen 14 days ago

<Snipped quote by DarkwolfX37>

Are you asking me how to activate resource sharing?


Just how do I let my phone use my comp's ram because my phone's ram sucks.
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

Just how do I let my phone use my comp's ram because my phone's ram sucks.


It's impossible. If it were, it wouldn't help.
Hidden 7 yrs ago Post by DarkwolfX37
Raw
GM
Avatar of DarkwolfX37

DarkwolfX37 Absolute L User

Member Seen 14 days ago

<Snipped quote by DarkwolfX37>

It's impossible. If it were, it wouldn't help.


That's dumb. My phone can't run this shit very well and a new phone isn't going to work.
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

That's dumb. My phone can't run this shit very well and a new phone isn't going to work.


It's not dumb. It's a physical limitation.
Hidden 7 yrs ago Post by DarkwolfX37
Raw
GM
Avatar of DarkwolfX37

DarkwolfX37 Absolute L User

Member Seen 14 days ago

<Snipped quote by DarkwolfX37>

It's not dumb. It's a physical limitation.


It... it's not? Run the program that's on the phone on the computer or vice versa while it's connected. The limitation isn't physical.
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

It... it's not? Run the program that's on the phone on the computer or vice versa while it's connected. The limitation isn't physical.


RAM is only useful because of its speed. Ram only has speed because it's physically connected to the CPU in close proximity. It's worthless to try to extend RAM because all the interfaces and distance between the two devices will only slow it down. At that point, you might as well just have an external SSD.
Hidden 7 yrs ago Post by Multifarious
Raw
Avatar of Multifarious

Multifarious Rea

Member Seen 30 days ago

@Legend

How should I go about recursively writing a method that raises x to a power of n and works for both +n and -n? Powers are easy enough but I don't see the logic behind getting it to work for both
Hidden 7 yrs ago 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

@Legend

How should I go about recursively writing a method that raises x to a power of n and works for both +n and -n? Powers are easy enough but I don't see the logic behind getting it to work for both


Not sure why anyone wouldn't use the built in x^5, but you could do something like

public int powerUp(int num, int power)
{
if(power == 0) //Stop condition
return 1;
else if (power > 0) //Positive powers
return powerUp(num, power - 1) * num;
else //Negative powers
return 1 / powerUp(num, power + 1) * num;
}
Hidden 7 yrs ago Post by Multifarious
Raw
Avatar of Multifarious

Multifarious Rea

Member Seen 30 days ago

<Snipped quote by Multifarious>

Not sure why anyone wouldn't use the built in x^5, but you could do something like

public int powerUp(int num, int power)
{
if(power == 0) //Stop condition
return 1;
else if (power > 1) //Positive powers
return powerUp(num, power - 1) * num;
else //Negative powers
return 1 / powerUp(num, power + 1) * num;
}


Oh, one over the power makes so much sense. Duh. Kill me now.
Hidden 7 yrs ago 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

Oh, one over the power makes so much sense. Duh. Kill me now.


Actually, wait! Not only did the Guild's default formatting totally ruin my beautifully formatted code, but there needs to be a negative on the second last line.

else //Negative powers
return 1 / (powerUp(num, -1 * power - 1) * num);
Hidden 7 yrs ago Post by Multifarious
Raw
Avatar of Multifarious

Multifarious Rea

Member Seen 30 days ago

<Snipped quote by Multifarious>

Actually, wait! Not only did the Guild's default formatting totally ruin my beautifully formatted code, but there needs to be a negative on the second last line.

else //Negative powers
return 1 / (powerUp(num, -1 * power - 1) * num);


The bit for positive numbers always seems to return a value of zero regardless of the input. Not sure if that's an issue with my own code or not though.
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

The bit for positive numbers always seems to return a value of zero regardless of the input. Not sure if that's an issue with my own code or not though.


Could you send me your code via PM or otherwise?
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

Night.
Hidden 7 yrs ago Post by DarkwolfX37
Raw
GM
Avatar of DarkwolfX37

DarkwolfX37 Absolute L User

Member Seen 14 days ago

Okay so can I use my comp's processor because constant crashes is annoying.
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

Okay so can I use my comp's processor because constant crashes is annoying.


Nope. Resource sharing isn't possible.
Hidden 7 yrs ago Post by DarkwolfX37
Raw
GM
Avatar of DarkwolfX37

DarkwolfX37 Absolute L User

Member Seen 14 days ago

<Snipped quote by DarkwolfX37>

Nope. Resource sharing isn't possible.


That's dumb.
Hidden 7 yrs ago Post by Legend
Raw
Avatar of Legend

Legend Isis

Member Seen 8 days ago

<Snipped quote by Legend>

That's dumb.


But it's not =/
You're asking for your device to do something that physically can't be done without special hardware.
Hidden 7 yrs ago Post by Multifarious
Raw
Avatar of Multifarious

Multifarious Rea

Member Seen 30 days ago

I died for today but I'm back now.
Hidden 7 yrs ago Post by Multifarious
Raw
Avatar of Multifarious

Multifarious Rea

Member Seen 30 days ago

One of the best things dokkan battle puts out is its artwork.
↑ Top
1 User and 18 Guests viewing this page
© 2007-2024
BBCode Cheatsheet