« first day (2316 days earlier)      last day (2632 days later) » 
01:00 - 16:0016:00 - 23:00

1:00 AM
@Tavo what is it you do at your job in Singapore?
 
1:47 AM
java mostly. Starting with a bit of JS as well
 
 
1 hour later…
 
3 hours later…
6:28 AM
It's about that time of day again when somebody says something that upsets @Unihedron
 
stop raising flags
I just finished a mediation session
 
7:00 AM
how do I make spring boot web app listen on public ip ? searching on duckduckgo only shows results about port
 
what are you trying to do?
 
currently the web app works fine on my computer listening on localhost. i want to deploy it on amazon EC2
 
7:22 AM
got it. server.ip=0.0.0.0 seems to do the trick
 
 
1 hour later…
8:41 AM
morn
 
hehe
cat you are here too
:D
 
yeah
:D
 
is this some paralell world
or am i still sleeping
or why is noone in chats except us
 
8:44 AM
CAT WORLD!
 
I'm in chat too
 
:o
oh ok, hello
 
hello, cat-obsessed person
 
yeah
!!fatcat
 
8:56 AM
person persons
lets not forget about chewcat
 
@Hans1984 persons people
let's not break english
 
yeah yeah whatever you say
 
@Unihedron "persons" isn't really incorrect
 
:3
 
8:58 AM
36
Q: Correct usage of "persons" (vs. "people")

BlamaI had a little fight about persons vs. people. Could you advise if both of the following are correct, if possible with reference to a dictionary? A table for two people please. A table for two persons please. Besides that, how would you ask for a table in a restaurant? I read http...

Oh no! Not English!
 
and you linked to a post where the top answer says persons is used in legal contexts
wrong card to play for the technicality strat
People is the ordinary plural of person. <- this
 
hm
 
Nothing about StackOverflow is ordinary.
 
@JonahSloan the name is Stack Overflow with a space
 
@Unihedron The domain name doesn't have a space though
 
9:02 AM
@JonahSloan the name is Stack Overflow with a space
the domain name also doesn't have caps either
 
Well then they should put that at the top of the main page
 
@Unihedron looks like one word to me. :P
 
go get new glasses
there's a space of at least .2em
 
@Unihedron Like a hair space?
 
9:07 AM
@JonahSloan no?
 
Hair space with em dash: left — right
 
morn
 
morn@Nicktar
 
I just thought of a fun game
you write some names of chat users in a 5x5 box, and you cross out a name when that person triggers unihedron
when any 5 marks fill a bar horizontally, vertically or diagonally, you run into the Java room and shout bingo
I bet some of you are already playing that
 
lol
 
9:14 AM
Unihedron-Bingo
 
@Nicktar thank u i try
 
I don't think there's ever 25 different people in chat at a time
 
@JonahSloan there could be a variant where you need to add every name but could add names multiple times. But you're only allowed to cross out one instance per trigger
 
@Nicktar that would be significantly harder to win
I'm not the kind that's dumb enough to fall for the same person twice
mock me once, shame on you, mock me twice, shame on me
 
not if you can choose which instance you cross out
 
9:17 AM
screams "Bingo" just for the fun of it
 
so you have a zebra pattern?
wait, that rule sounds like cheating now that I read it again
what if you write every person you know in every box for every 25 boxes?
 
nono one name per box
 
@JonahSloan people who are offline right now can also count, if you accept the risk of them not ever coming back to the chat again
so it's best to just record the regulars
I've made my own bingo sheet just now, actually
 
Anyone doing MITx: 6.005.2x Advanced Software Construction in Java on edx? courses.edx.org/courses/course-v1:MITx+6.005.2x+1T2017/info
 
 
1 hour later…
10:38 AM
dead chat
 
RIP chat
 
yes
RIP in pieces
 
RInPieces in peace
 
not bad
!!rip
 
@Hans1984 That didn't make much sense. Use the !!/help command to learn more.
 
10:41 AM
meh
 
10:56 AM
@Hans1984 That didn't make much sense. Maybe you meant: all, balls
 
/8ball ?
 
11:44 AM
!!is the chat dead?
 
@Hans1984 By all means
 
 
1 hour later…
12:55 PM
:3
!!CF or hans or hemlata
 
@ChewbaccoCat CF
 
ha ha ha
@ColdFire
!!geisterfurz007 eating bread or not
 
@ChewbaccoCat not
 
ok @geisterfurz007
 
which is correct
 
12:58 PM
o/
 
\o/
( )
/ \
 
\o/
:O
 
this is now catland too?
@ChewbaccoCat
cat take-over
 
1:02 PM
ha ha ha
yeah
 
soon uni will come
10000 messages moved to trash
 
:D :D
 
->
 
got energy from bread
:P
 
yes
 
1:02 PM
room mode changed to Gallery: anyone may enter, but only approved users can talk
room mode changed to Public: anyone may enter and talk
 
eh?
 
whoops, mouseslip
 
bought healthy sandwich with tomatoes ,salad and cheese
@ChewbaccoCat
 
@Unihedron whts d wrong with u
r u admin?
@Hans1984 ohh cool man
<3
 
@ChewbaccoCat yep and I don't guarrantee I won't accidentally ban you
 
1:04 PM
he he he @Unihedron
 
any last words?
 
!!meow
 
man that cat is bland and boring
 
it's generate randomly
press F5
 
1:05 PM
寝てる時にいたずらをすると可愛い反応する https://t.co/Qgzbqlpv0I
 
ha ha ha <3
 
ho ho ho <4
 
@Hans1984 are you trying to pick a fight
fight me you scrub
 
Q(°_°)Q
come at me
im rdy
 
1. e4
 
1:18 PM
2. c3
hit!
 
it's chess you scrub
 
i dont care
anyhow i have a meeting now
later
 
1:35 PM
@Hemlata
busy to learn java
kid
 
It turns out that twitter streams videos in tweets as 3 second long cacheable videos
 
same as torrenting
twitter, bringing future technologies today
 
> Arguing with idiots is like playing chess with a pigeon. It will just strut all over as if it won.
 
@Gemtastic is it just me or my entire experience with this chat has been mostly arguing with idiots?
 
I came to think about that quote there
@Unihedron I'm an idiot arguing with smart people, but I never win :(
 
1:44 PM
"win"
no one wins an argument, you're looking for debates, and you won't get any here lol
btw do you use / have a discord?
 
1:57 PM
Happy Friday, Java!
 
happy friday, michael!
 
2:25 PM
bye
@Unihedron ;)
 
2:37 PM
Happy Michael , Friday! @Michael
uhh
 
Hey @Uni @Hans
 
I have a question
 
@Quality Life is full of questions
 
i wish i had only ONE question
 
Quality response
 
2:42 PM
:D
ok i mean a stupid question :)
i need to know how i assess cpu utilization for a web application running on tomcat in netbeans, i need an over all number as real time monitoring, where i can ask this question?
 
@Quality I would use java to open the command prompt
 
user6857832
@Hans1984 I have so many questions lol
 
yeah@Hemlata
true
 
user6857832
I can ask all day long lol
 
oh you re talking about java
 
2:50 PM
@Quality production or development environment?
 
@Nicktar development, netbeans, win7 OS
 
It's probably a bad idea to use Java to get the cpu utilization by having Java opening the command prompt and run wmic CPU get LoadPercentage
 
@Nicktar seems interesting
 
user6857832
@Hans1984 Yeah, but I didn't meant for just Java lol.
 
2:55 PM
:)
!!can you answer all my questions?
 
@Hans1984 No
 
@JonahSloan the problem that i can not detect even the utilization for the tomcat process!
 
:(
 
@Quality used in production or with live production data it's serious moneys... Check the licence before doing so
 
user6857832
I haven't studied today, but I will in a bit lol.
 
2:56 PM
isnt it like 9.30pm at your place?
 
user6857832
8:30 pm
 
oh ok still
i cant learn that late
 
@Nicktar it is just research project, and i am is the only user :D
 
@Quality then you're safe...
 
user6857832
Yeah
 
2:57 PM
Sometimes oracles toys are just the best :)
 
@Nicktar :) do you have any idea about how to get the CPU/memory utilization for the tomcat itself while it is part of netbeans
 
>netbeans
:fire:
>win7
:fire::fire::fire::fire::fire:
I better run out before my sanity gauge empties
 
@Unihedron best performance ever:D
 
@Quality as I'm usually running jetty either standalone or directly from maven... Unfortuately I have no clue
 
@Nicktar thanks i will check the Java Mission Control one
 
3:01 PM
@Unihedron is that supposed to be "fire" with a colon on each side?
 
no it supposed to be two colons with fire in between
giggles
well nvm
 
Fire: 🔥
 
:o
 
user6857832
@JonahSloan Do you wanna see a emoji?
 
user6857832
3:09 PM
Is it scary 👻👻👻👻👻👻👻👻👻?
 
@Hemlata 🤷
 
user6857832
💀💀💀💀
 
@Hemlata did you finish your book?
 
user6857832
Is it scary?@JonahSloan
 
user6857832
@ItachiUchiha Which one?
 
3:10 PM
🏖️🏖️
 
user6857832
Head first?
 
@Hemlata the one on Java
yes
 
user6857832
I just did 11 chapters and rest are on GUI, so I skipped it for now.
 
well the Mission give me the cpu and memory for the netbeans not the web application neither the tomcat:( am i missing something? @Nicktar
 
user6857832
But I'm reading another book related to OOP
 
3:12 PM
🏃📚💻🖥️🚗🚗🏊🏃💻🖥️🛌
 
user6857832
@JonahSloan Was that scary? Lol
 
my day
 
RMI sometimes really gives me braincramps :D
 
That's strange... the emojis are monochrome in Internet Explorer and Edge, but colored in Firefox
 
@Hemlata OOO.. which one?
 
user6857832
3:13 PM
Object oriented?
 
is that the name of the book?
 
user6857832
Abstraction and inheritance
 
user6857832
No
 
OOO = object oriented overpower ;P
or lets say OOO = over object oriented :P
 
haha
 
3:14 PM
Does anyone know of an open java implementation of pacman or a similar game with an api to externally control pacman and the ghosts (or whatever that game has)?
 
user6857832
Head first object oreiented analysis and design
 
user6857832
@ItachiUchiha
 
Too much head first..
 
The Internet says OOO means Object-Oriented Organization or Object Oriented Operation
 
user6857832
I never said OOO
 
3:16 PM
Up to now I use a python one but I'd like to use a Java one
 
mine OOO was supposed to be ooo.. an expression..
 
user6857832
But I have not studied anything today lol, but I think I should.
 
you meant 000 @ItachiUchiha? ;)
 
OoO
 
user6857832
That's why I always express my expressions using emojis lol.
 
user6857832
3:18 PM
Plus I don't get those haha
 
did you solve the triangle problem @Hemlata
 
user6857832
@motaa Yes
 
with the tree data structure?
 
user6857832
Nah lol
 
you went for the bruteforce method? :D
 
user6857832
3:20 PM
Took the max of two till n and then which one was max added with the current number.
 
user6857832
And did till it reached the top of the node and took off that number of the node.
 
so you started at the bottom?
 
user6857832
I started at the top first, but again I was having the index problem. So I started at the bottom.
 
it is still this problem right? projecteuler.net/problem=18
 
user6857832
Yes
 
3:23 PM
I think that might not work properly :)
 
user6857832
It is working
 
what happens if you got like 10 rows
 
user6857832
It will still do the same
 
3
7 4
2 4 6
8 5 9 3
5 5 5 5 5
6 6 6 6 6 6
will that triangle work aswell?
 
user6857832
Yes
 
user6857832
3:25 PM
Start at line 5 5 5 5 5 5
 
user6857832
Check for max in last line
 
user6857832
And add up to the current no which is 5
 
user6857832
So 5th line will be 11 11 11 11 11
 
user6857832
Then do again, So 4th line will be 19 16 20 14
 
@Hemlata that's a crazy idea, but I'm glad it works. :)
 
3:27 PM
I still don't think it will work properly :)
 
user6857832
Now 3rd line will be 21 24 26
 
user6857832
Now 2nd line will be 31 30
 
user6857832
And 1st line will be 34
 
user6857832
So 34 is a answer
 
take this triangle:
3
7 1
0 1 9
I edited the triangle
will this one work?
 
user6857832
3:30 PM
Is that all or you gonna add more rows?
 
user6857832
Yes
 
nope thats all
result?
 
user6857832
2nd line will be 8 10
 
user6857832
13 is answer
 
so it does not work:P
the answer should be 11
 
user6857832
3:32 PM
Did you ran it?
 
@motaa 3+1+9 != 11
 
then reread the problem again pls :)
 
user6857832
Did you ran it?@motaa
 
@Hemlata what do you get for this triangle?
 
what is your result on this:


3
7 4
2 4 6
8 5 9 3
 
user6857832
3:34 PM
@JonahSloan I can't calculate it myself. I need to run it.
 
user6857832
@motaa Wait let me calculate
 
user6857832
10 13 15 -> 3rd line
 
user6857832
20 19 -> 2nd line
 
@JonahSloan the path is actually not 3+1+9 but 3+7+1
 
user6857832
23
 
user6857832
3:36 PM
23 is answer
 
user6857832
@JonahSloan I will tell the answer in a bit when I will be using laptop
 
Why wouldn't the path be 3+1+9 on that? Doesn't the problem want the highest possible sum?
 
no
reread the problem pls:)
 
user6857832
@Leathe It is 3 + 1 + 9
 
user6857832
Let me run his code to make sure
 
3:38 PM
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.
 
user6857832
@motaa Yeah, that's what I said
 
user6857832
23 is the answer
 
that's the line from the example, right?
 
yes
that means you start at the top which is 3
 
user6857832
But you don't need to start at the top
 
user6857832
3:40 PM
If you'll start at the bottom that is better approach
 
3
7 1
0 1 9

but how you get the wrong result on this triangle?
 
user6857832
Can you prove me my answer is wrong?
 
user6857832
Or give me the link where you see this example with the answer
 
let me explain it one more time given the above example:
you start at top -> 3
go straight dow one line and check the adjacent values which are 7 and 1
 
user6857832
No, it's wrong that's how I was doing earlier, but then I realized you're not supposed to do it like that.
 
3:42 PM
Am I missing something here? 3+1+9 = 13, 3+7+1 = 11, 13 is higher, how is that not the right answer then?
 
there you take the max
now from 2 down 2 adjacent numbers are 0 and 1
so you add 1
 
ooh
 
1 and 9 are the adjacent numbers of 1 from line 2
 
But it's asking for the maximum total, not the maximum adjacent number, tho
 
0 and 1 are the adjacent numbers from 7 oout of line 2
 
user6857832
3:43 PM
No, you're wrong @motaa
 
first line of the problem explains it
LOOK AT THE ADJACENT NUMBERS!
 
user6857832
I will ask you one question, wait.
 
user6857832
1
2 1
1 1 100
 
user6857832
@motaa
 
result 4
 
user6857832
3:46 PM
What is the answer of it?
 
user6857832
Wrong
 
user6857832
102 is the answer.
 
says your script? :D
 
user6857832
Nah, I will show you wait.
 
user6857832
http://stackoverflow.com/a/4772620/6857832
Have a look at it
 
3:47 PM
There's no limitation in the problem that says you have to take the highest adjacent number, unless I can't read
 
user6857832
It's correct
 
user6857832
@motaa
 
The problem says "Find the maximum total from top to bottom of the triangle"
 
user6857832
@JonahSloan You can start from the bottom to top, It doesn't matter.
 
user6857832
Plus I read a bit on it and it says bottom approach is more better.
 
user6857832
3:49 PM
But it will work from top to bottom as well
 
user6857832
@motaa You are doing the same mistake which I was doing it eariler.
 
user6857832
We don't have to just check the adjacent number. We need to check for every number and take the maximum of them.
 
I guess it'd be easier to say the numbers from the current line + 2 rows aren't hidden, they're still known and a high number should be considered as a viable path.
In a triangle with 3-4 rows that is.
 
well at the first part of the problem description it says that one should look at the adjacent numbers on the row below
 
It says you should move to an adjacent number
 
3:53 PM
Like checkers
 
user6857832
@motaa But it should look at all the numbers.
 
Meaning in @Hemlata's example with the 100 at the bottom, you can't go 1+2+100, because 2 and 100 aren't adjacent, but the 100 is the biggest number and has the highest impact on the total and should therefore be considered above the 2.
 
leaving
bye
o/
 
bye
 
user6857832
@Leathe Yes
 
3:56 PM
Meaning the problem is much deeper than going 1 row down and checking the highest number, rinse and repeat.
 
yes @Leathe but still it strucks me that the problem states one should check the adjacent numbers which of course would not ask for the absolut maxsum path
 
user6857832
It check for the adjacent numbers like in 2nd line 2 1. Here 2 adjacent is 1 and 1, so we will take the max of two, and adjacent of 1 is 1 and 100, max of two is 100.
 

no one knows how to solve the problem

38 mins ago, 37 minutes total – 117 messages, 5 users, 0 stars

Bookmarked 9 secs ago by Unihedron

 
haha @Unihedron
 
:D
 
user6857832
3:57 PM
So 2nd line is 3 and 101
 
@Unihedron has found the real problem, us.
 
user6857832
and then do the same
 
@Leathe no
society is the problem
 
Equality for integers of low value!!!11one
 
there is no equality.
 
3:59 PM
only zuul?
 
if we want the largest sum, weak numbers gets eliminated
 
or absorbed.
 
or invited onto the free candy van
and never seen again
 
but still I don't get it why the problem explanation is talking about going through the triangle using adjacent numbers and not about the overall max sum path :D
 
but hey, free candy.
 
01:00 - 16:0016:00 - 23:00

« first day (2316 days earlier)      last day (2632 days later) »