« first day (2106 days earlier)      last day (2818 days later) » 

12:34 AM
@Michael Check chat ..
 
@ItachiUchiha k
/shutdown
 
Shutting down. See you later.
OakBot Online.
 
1:34 AM
Anyone here experienced with Sockets in Java?
 
2:21 AM
@fge: I read the source, and it mostly redirects the work to some method.
 
Seems that most of the date logic has been taken care of elsewhere, so IsoChronology only implements a few extra ones, like proleptic leap year and era
 
2:34 AM
anyone know what the error means in my code ? I have posted it above
 
String words = Arrays.asList
You might want to write String[] words = new String[] {"your", "list", "here"}
 
@nhahtdh does the rest of my code look right ?
 
No idea
 
idea of program is to find a char like "v" in a sentence
 
Are you a student doing some coding exercise?
 
2:43 AM
yep its a program from code academy
 
There are many ways to write, but it depends on the level you are at
 
beginner level haha like 1 week into java
 
People would usually use a resizable List to store the list of words that fulfills the criteria, or in Java 8, they would use Stream and functional programming to avoid that altogether
 
okay dont think i know how to do it that way haha
 
Install Eclipse or some other IDE - it will point out some of your errors or redundant code.
 
2:50 AM
okay sweet thanks
 
For the rest, you would need someone to coach you. I don't have the resource for that, though.
 
that's alright :)
 
 
2 hours later…
4:24 AM
anyone alive?
o/
 
4:54 AM
@MadaraUchiha I am stuck on a Java Generics problem
I have two methods
which are almost the same except it accept two types of concrete classes
 
5:27 AM
@MadaraUchiha ok. Sorted the problem :)
 
 
1 hour later…
6:56 AM
morn
 
7:17 AM
morn
 
8:03 AM
morning
 
morn
 
I dunno how to feel about that when my track-pad freezes up I can just use the touch screen on my laptop.
 
!!meow
 
I get a workaround, but I still have an annoying issue
 
8:15 AM
hovercraft cat
 
Also, wat?
Why can't you wish a happy friday just because you're not Michael?
 
its his phrase
he has copyright on it
 
He's not paris hilton, he can't copyright that!
 
damn you re right
so
Happy friday!
!!meow
 
8:20 AM
ahhhhhhhhhhh
my eyes
!!meow
 
8:44 AM
!!meow
 
Not sure what to make out of that
 
is it enjoying it
or hating it
!!meow
 
@Hans1984 you do know that the links after deboing aren't going to the actual image, right?
 
8:50 AM
i know
 
*deboxing
 
its always a new one
everytime you click the link
:)
 
It was a gif of Simba as a cub crouching into the grass after mufasa rescued them
 
very weird
everyone should see the same gif
 
9:10 AM
The issue is that Caprica unboxes to the random gif link instead of the recieved image link
Feel free to patch it if you want to
 
yes i get it now
i didnt know that before
i though everyone sees the same gif
hmm
 
You see the same gif when it's showing
 
you dont
i just tested it in another chanel they saw different gifs
 
But when Caprica changes the gif to a link she changes it to the random link
Let's try it then
 
!!meow
 
9:12 AM
!!meow
 
I see a cat in a bag and an image not found
 
i see 2 gifs
 
Oh, that's kinda cruddy then
:(
 
cat on table
 
9:13 AM
Everyone should see the same
 
and laughing cat
 
Well, we can still submit a patch to her fixing that
 
ugh
fridays..
 
@Hans1984 put you cat shit all over the place in the room :(
 
WHy "ugh" fridays?
You just happily claimed the ability to greet us happy friday XD
 
9:54 AM
theres only one good day
its saturday
@CrazyNinja mehow?
want more ?
!!meow
 
@Hans1984 wrong. It's caturday!
 
hehe right!
 
10:18 AM
hows the cat? @tavo
or did she ran away yet
 
she is getting used to the house
 
:P
ok
 
she cries less, plays more and feels more confident
 
thats good
 
she is learning how to communicate
 
10:19 AM
where did you get her from again
 
I now know when she wants her litter changed
a rescue
 
i see
thats why shes probably scared
traumatized evtl
 
and she understand that when I take her food plate, it means there's more food on the way
well, she had two kittens before we adopted her, and she probably misses them as well
 
yeah
first she thought you ll eat her food
 
it doesn't really look very yummy despite she loves it
 
10:31 AM
well a dead mouse doenst look yummy to us
but maybe it does to the cat
:3
 
11:10 AM
 
11:23 AM
poke poke
 
@Hans1984 can i ask a quikc question about my code
im so close to solving it but one of my test cases don't seem to work
or if anyone else can check :)
 
11:49 AM
whats the question
 
My method takes an ArrayList of integers as a parameter and returns the average of the elements in the ArrayList.
so it works when i have integers in my array list right
but when its empty it comes up with Nan instead of 0.0
 
so?
 
why isn't it coming up with 0.0 instead of Nan?
I tried to investigate into it haha
 
if you pass no parameters
its NaN
not 0.0
 
how do i get 0.0 ?
 
11:54 AM
lets say if you pass parameters like
0.0,0.0
 
yup
 
then it should return 0.0
but if you pass no parameters
maybe with
if (data=null)
 
what if i tried isEmpty() ?
 
{ average=0.0;
 
hehe cat
cat
 
11:55 AM
then return average
cat!
 
im getting errors but ill try solve it :) thanks for the tip
 
public double averageArrayList(ArrayList<Integer> data) {
int sum = 0;
double average;

for(int i=0; i < data.size(); i++){
sum = sum + data.get(i);
}
average = (double)sum/data.size();
if(data.isEmpty())
{
average=0.0;
}

return average;

}

}
it should work that way@ross.c
 
@Hans1984 thanks alot ! was just reading about isEmpty :)
and why does everyone call you cat ?
 
12:12 PM
!!catclub
 
@Hans1984 The catclub members are: Hans1984, Hitman, neferpitou, TheLittleNaruto, ankitagrawal, Saif, Xack Tuaras, AshuKumar, Sanjeev, Crazy Ninja, buffo
 
only those call each other cats
@ross.c
:3
its just a joke ;)
 
cat
hanscat is a cat
so we call cat as cat
 
12:28 PM
im a coding-cat
:3
!!meow
 
data.stream().collect(Collectors.summarizingInt(i -> i)).getAverage()
@Hans1984 @ross.c it's a one liner
 
its not a good line for a beginer
your right
but hes new
 
every beginner these days should know about the ppowers of the stream API
 
its bette rhe does it in multiple steps
to get used to what he is doing
ugh weekend cant come fast enough..
:(
i mean dont get me wrong your solution is good
i just think for a beginer its better to do things step by step
but thats just my oppinion ;)
 
12:40 PM
@Hans1984 no offense taken if that's what you think...
My opinion just differs
 
no i didnt think so anyway
we are no kids ;)
 
indeed
I just think everyone and especially beginners should know the best tools for a task even if new inventions make a lot of teaching material obsolete
 
you are probably right
but sometimes all this new stuff is overwhelming for a beginner
so he/she should stick to the basics first
but like i said you can see it both ways
!!meow
 
@ross.c did you solve it yet?
 
1:07 PM
mornin everyone
 
hey
 
hows it goin?
 
exhausted,waiting for the weekend ;)
how are you?
 
Same here man
Last night was good though
cleared the air about some shit with my girlfriend lol
 
good
 
1:13 PM
Yeah
By cleared the air I mean farted
 
\o/
hehehe
 
cleaned the air
 
hahahah yeash
With my toots
 
hehe
 
1:14 PM
I haven't directly farted on this one yet
I'm working up to that
 
Happy Friday, Java!
 
Hey Michael!
or gerry, or jerry or whatever your name is...
Theodore McMonkeyFace
 
hey
@ItachiUchiha 0/
 
(#.#)7
 
1:16 PM
@ItachiUchiha i got my lib working
hurray
 
Sargeant poopy reporting for duty
 
i am so happy
 
@ankitagrawal superb..
 
\o/ hurray
 
1:16 PM
ancitcat
 
cat cat
 
what's going on today here?
what's all of this excitement about?
 
happy happy
 
\o/ excitement \o/
 
@Tavo Ayo
Something about getting his library card renewed
I think
 
1:21 PM
@ballBreaker Whatever you want. I've stopped trying to keep up at this point.
 
@Michael Hmm.. the possibilities..
 
morning @ballBreaker
 
@blahfunk Ay there bunny
or is that a guinea pig
no, no thats a bunny
 
its a rat
 
well, since it's the pancake-bunny meme, Imma go w/a bunny
 
1:23 PM
hehe
a very cute rat though
!!meow
 
one of my neighbors has a pet pig... I see it at her door from time to time when I walk my dog in the morning..
it appears to be an indoor pet
 
oink oink
 
whatever floats her boat...
she has no kids. Not exactly the most pleasing body to the eye
 
@ballBreaker library card rofl
 
1:26 PM
@ballBreaker yo dawg
 
1:40 PM
@blahfunk lol O.O
@Tavo How's it goin buddy?
@blahfunk So what, you just close your eyes then?
 
giggles
!!meow
 
Image not found
!!meow
 
mowww
 
1:43 PM
thats how i feel
 
hmm I don't know how I feel
 
@ballBreaker not bad. It's Friday, and that's good. Besides that, looking forward to going home today
 
POW POW
 
you?
 
@Tavo Yep same here, and I just got to work 40 minutes ago haha..
Long weekend though
 
1:45 PM
@ballBreaker yeah, I do. I keep running into parked cars, then...
 
fights cat that tries to box him
 
@blahfunk Oh, I thought the pig was your kid with her
 
@ballBreaker ah, yes, well, she's not my kind... she doens't have a penis
XD
and the room goes quiet
 
lmao
I was too busy going "HAH ggaaaayyyy" in my head to type
You wanna hear a sweet song for descending into self-destruction?
Check this out
 
it's not gay if they have titties
then it's just oddly confusing
 
1:51 PM
I listened to that song a lot when I was spiralling towards the bottom lol It's interesting listening to it now again with a different mindset
Dope ass song tho
 
I'll have to look it up later on
oddly enough I rarely am listening to music when I get self-destructive...
 
Yeah do it, it has some stellar saxophone
 
I never really noticed that until you posted that
hmmm...
 
I listen to music 99% of my waking hours, so it would be extra abnormal for me not to be
 
I can't listen to it at work... my boss thinks it is distracting
but the guy next to me blasts his music and my boss has no issues
 
1:53 PM
without headphones?
 
luckily, he's got similar music tastes
yes
although I pretty much like all music
 
your boss is a fuckin idiot
lol if I knew what company you worked at, and where I would probably leave a scalding yelp review...
That'll show 'em!
 
2:44 PM
I am trying to configure sonarqube on ubuntu 14.04 but it always gives following error when I start it.

2016.07.29 17:39:26 ERROR web[o.a.c.c.C.[.[.[/sonar]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.PlatformServletContextListener
org.sonar.api.utils.MessageException: Current version is too old. Please upgrade to Long Term Support version firstly.
2016.07.29 17:39:26 ERROR web[o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file
Can someone help me with fix this?
 
How is sonar related to Ubuntu version?
Strange
 
I am trying to configure 5.6.1
It's not, just stating the configurations
 
Ok :)
 
3:37 PM
im leaving
bye
 
 
1 hour later…
4:48 PM
Quick Question. How do I fire an event for a JList when an item is unselected.
nvm
 
5:10 PM
@DarkV1 selectionListener?
 
@ItachiUchiha At first I thought selectionListener was only for firing an event when a component is selected. But if figured it out
 
@DarkV1 :)
 
5:43 PM
I take that back. Haha. Is there any way I can tell if a value is being selected or deselected? Because the same event fires for both :/
@ItachiUchiha
Nvm... Again... Figured it out .
 
@DarkV1 :)
 
 
3 hours later…
9:14 PM
/help
 
OakBot Online.
 
 
1 hour later…
10:39 PM
Thanks @Itachi
 

« first day (2106 days earlier)      last day (2818 days later) »