« first day (3681 days earlier)      last day (1484 days later) » 

00:00
I am not now, nor have I ever been, a member of the demigodic party. -- Dennis Ritchie (source)
00:27
hi
gotta visit the bookstore today
fun. What books you looking for?
00:41
Oh. I've taken Algebra before.
I hate Geometry
Algebra and Geometry XD
Does anyone here use Spring Data JPA/Spring Boot regularly?
 
6 hours later…
06:45
fights crime
07:06
posted on November 20, 2020

 
1 hour later…
08:31
I have return from the Mall->Bookstore.
2 messages moved to Trash can
Guys, stahp it!
 
3 hours later…
12:00
The heaviest baby on record to survive was a 22 lb. 8 oz. Italian baby born in 1955. In 1879, a woman in Canada gave birth to a 23 lb. 1.92 oz. baby that died 11 hours after birth. (source)
12:36
Good morning (or afternoon (or evening)),
I was wondering something about Java; would setting the first dimension of a 2d array to a 1d array fill in those spots, or would it just return a "placeholder"?
(e.x.)
array[][] and array2[] are arrays

array[x] = array2

for (int i = 0; i < array2.length; i++) {
   array[x][i] = array2[i]

Are these equivalent statements?
@KalamariKing Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
those are equivalent
Ok good, thanks
at least
no, they are not
How so?
12:38
in the case that they are equivalent, you generally have a no-op
in the first case, you replace the array
in the second case, you copy each element
Oh ok that makes sense
if you do array[x] = array2
and then you do array[x][0] = array2[0] then that last statement is a no-op
Ok thanks
13:14
posted on November 20, 2020

archive - contact - sexy exciting merchandise - search - about ← previousNovember 20th, 2020nextNovember 20th, 2020: Hey, I've got a mailing list for SECRET PALS! If you'd like to be a SECRET PAL, baby, now is your chance. I only send out a message like once a month!– Ryan

 
2 hours later…
15:17
Happy Friday, Java!
@Neil lol you got me
16:06
I'm back with another question, if anyone's there
No? Ok
 
2 hours later…
17:51
@KalamariKing Not quite. First option references array2, so changes to array2 affect array.
array[x] = array2;
array2[0] = 99;
assertEquals(99, array[x][0]); //passes

for (int i = 0; i < array2.length; i++) array[x][i] = array2[i];
array2[0] = 99;
assertEquals(99, array[x][0]); //fails
 
5 hours later…
22:33
 
1 hour later…
23:38
Yep I'm uhh...
I'm lost
I'm very lost
have you tried getting unlost?
~Pro Tip~ Don't learn a programming language by trying to write a neural network by piecing together snippets from around the internet
I'm telling java to do a thing and then do it again and combine those two things and ~apparently~ it did two very different things, even though it works perfectly fine for other data sets
have you tried getting unlost?
@Wietlol I think I might try that
I have tried getting unlost many times
and I keep getting lost over and over again
23:43
Did you get unlost in your search for it
mostly
But are you still lost
Has the lost-ness lost you
@KalamariKing atm? not really
Do you need a compass for your compasses
Quick question: What compass tells all the other compasses which way is north
Jack Sparrow's?
23:54
...we should steal it and turn it by, say, 0.1 degrees
Anyone up for poring over some code that's patched together from opposite ends of the internet, trying (and so close) to a neural network? There's an error I can't seem to fix

« first day (3681 days earlier)      last day (1484 days later) »