« first day (40 days earlier)      last day (276 days later) » 
04:00 - 16:0016:00 - 18:00

16:01
>> is a bitshift operator
shifts from list 0 to list 1?
sorry for this question :)
no, it changes the binary representation of oldCapacity. TBH, I'm not quite sure how it works
gosh..hard to grasp this terminology :) anyways...
so this is the example
of method which increases arrayList?
binary is 0s and 1s, which al ldata is represented by. Bitshifting is moving those bits
@Ramona elementData = Arrays.copyOf(elementData, newCapacity);
yes..
how to read..this line?
copyOf(elementData, newCapacity)
16:06
Arrays is a class with etc. array utils
copyOF is a method that returns a copy of an array (here: elementData) with a new capacity
and newCapcity is....?
The new capacity
Idk what else to tell you :D
as simpl as that :)
so this method returns a copy of an array and stores in elementData?
16:09
yeah
elementData is the array the list class holds
wait..digesting... :)
so this (elementData - is the variable of OLD array and now we save it in a new 'elementData' = ?
no, you just override it
it's like saying:
int n = 5;
n = 7;
oh i see.
and why we need this second parameter 'newCapacity'?
to define the new size of the array
ok:)
uff :)
writing...
the thing is that the more you write down the more you cant find cos its gets complicated :)
so going back to this checed.. you wrote "when you call checked[someIndex] and change the value, you change a specific part of that array" what it means? and again.. how we store these values in this checked variable?
16:21
well, when you create an array like this:
boolean[] x = new boolean[10]
you essentially create this data stricture:
{ false, false, false, false, false ... } //10 items total
when you say x[3] = true, it changes to:
{ false, false, false, true, false, false, false ...}
if you then change x[0] = true, you get:
{true, false, false, true, false, false...
if you use objects, it's null though
wow... :)
so when we get value from first question it is stored in 0 index of this array, right?
and etc..
so this is how it is stored there?
so now to check now if the answers given by user are the right once we should...
?
do 'rightAnswers' array and compare?
checked v. rightAnswers?
16:31
yeah
this part of code looks like this (dont mind these fragments)
what you think?
would you make any changes?
i didnt write that code to be clear :)
cant grasp what this part means
if (isAllAnswered) {
                    boolean isGoodAnswer = checkAnswers();
@Ramona aside converting the 42 different fragments to a single class, no :) Looks good ^^
@Ramona isAllAnswered is a boolean
writing if(someBoolean) is the same as if(someBoolean == true)
so if all answers are in the same positions (==) as/with checkAnswers..?
checkAnswers just checks whether or not it's right (I think). Can't tell without more context
and hey @jagapathi
16:47
ok :)
please just tell me briefly how to fix these Fragments :)
you need to create a single file which takes in the info you need as constructor parameters
oops.. any quick example? :)
not without knowing what you need in there :)
you mean context?
data in Fragment?
data, yeah
I got some werid guy on my website today. Asking for money lol
I need to remove live chat from that
hmm...@jagapathi :)
whats ur website by the way?
Company website
ok:)
@Alisha
17:08
@jagapathi I don't know what to say.
@Alisha help
@jagapathi I'm impressed. But what do you need me for?
@jagapathi //help for the command list
//help
#################### Commands ####################
about    | Let me tell you a little about myself...
help     | Lists the bots commands
lick     | Licks someone
kill     | Disposes of someone
ban      | Bans someone. Rank 8+
getRank  | Gets someone's rank. Rank 7+
setRank  | Changs someone's rank. Rank 8+
summon   | Summons me to a specified room
unsummon | Makes me leave this room or a specified room
//getrank
17:10
@jagapathi Sorry, that's not a command I know
//getRank
@jagapathi You don't have permission to use this command
//promote 290437 8
@PrincessLuna User 290437's rank changed to 8
@jagapathi there you go :)
//getRank
17:11
//getRank
@PrincessLuna Sorry, that's not a command I know
@jagapathi User jagapathi has the rank 8
@PrincessLuna User Princess Luna has the rank 10
I really should make the getRank command to not have a rank requirement
Ho lol. Nice bot
Make getRank available for all
@jagapathi yeah, that's the plan :D
//about
17:13
@jagapathi Hiya! I'm Alisha. I'm a chatbot created by Olivia. I'm written in Python, in order to use Tensorflow and use it for machine learning, which allows me to talk when you mention me. In addition, there are commands you can use. See the list by doing //help. My source is available on GitHub
Done. Pending reboot once I close issue 23
17:23
@P thanks for help of course :) i always say that chat with you on programming is better than many programming books ;)
@Ramona :)
04:00 - 16:0016:00 - 18:00

« first day (40 days earlier)      last day (276 days later) »