« first day (2131 days earlier)      last day (2824 days later) » 

1:42 AM
OakBot Online.
 
 
3 hours later…
4:56 AM
hii
anyone on??
i need help on topic of Threads
 
5:29 AM
hi
 
 
3 hours later…
8:00 AM
morn
 
rD.
hii
 
 
2 hours later…
10:17 AM
morn
@Tavo simple clarification
I have refactored the old class which used sysouts and moved it to a logger
we are using logback
 
fge
10:38 AM
Thursday is Linux' 25th anniversary!
 
I saw the news somewhere
@fge is i initialize a logger like below without putting the xml tag in logback xml, will it throw any exceptions at runtime?
private Logger logger = LoggerFactory.getLogger(LoggerToolkit.class);
 
@fge And today is the WWW's
 
fge
10:54 AM
@MadaraUchiha really? I didn't know that
 
fge
11:45 AM
Hmm, what would be Windows' equivalent to /var/lib/xx for some program xx?
 
12:09 PM
@CrazyNinja sorry, I've been busy all morning
 
12:24 PM
Hello, anyone online?
I have a question about structuring beans/java domains. Let's say I have a soldier bean that falls under certain classes(roles). A soldier can be a medic, at the same time, he can be a vanguard. that makes it two. The question is how can I structure the bean? Do I make a bean for soldier, and another named soldierClass?
And should I put the soldier class inside the soldier bean as a property?
 
1:06 PM
Morning, Java!
 
 
1 hour later…
2:12 PM
@MadaraUchiha wtf is that?
@Carnal It looks like a classic case of inheritance to me
 
@ItachiUchiha Someone ordered a hamburger with ketchup only
 
@Gemtastic But it says McDouble, which makes it a serving from McDonalds.
 
Though if they were gonna be that literal they should have just given him a pack of ketchup straight off. Now he technically got a hamburger with buns and ketchup
@ItachiUchiha You can custom order your burger
I often order without mustard
 
@Gemtastic Whoever ordered it was out of his mind. Ham + Ketchup :P
 
@ItachiUchiha Nothing wrong with burger + ketchup + buns
A bit bland though
 
2:21 PM
@Gemtastic Not my way of having a burger :)
 
@ItachiUchiha Aren't cows sacred where you live or something?
(He was probably already arrested for talking about burgers)
 
@MadaraUchiha They are kind of... Well, its complicated.
@MadaraUchiha We get burgers without meat here. McDonalds has a strict policy for no beef :D
 
@ItachiUchiha Oh, I see.
 
@ItachiUchiha Noone's forcing you :P
 
Alright that was distasteful, I apologize.
 
2:33 PM
"Why vegans live longer: they sit alone at home away from all the parties and dangers while trying not to cry into their drinks, because that's a produce of an animal suffering"
Original joker was vegan himself
 
lolol
 
was vegan?
 
Until he died from malnourishment
true story
 
Well, I dunno if he still is now
 
2:35 PM
@MadaraUchiha LMAO
 
I know exactly one vegan who isn't batshit crazy.
IRL
 
I really don't care if people are vegan, I suppose it's good in the greater perspective, but I can't stand the fact that it's not universally considered animal abuse to feed cats and dogs vegan diets
 
The kind the like to remind you that they're vegan
And try to convert you every time the subject comes up
 
I know many vegans who aren't batshit crazy. I know a few that are as well
 
Some Vegans take it too far.
My country has the highest number of Vegans but I haven't met anyone(stretching too far) who force things on other individuals / animals.
 
2:41 PM
@MadaraUchiha hahahahahahaha
:')
 
3:07 PM
good that i'm just vegetarian :D
 
@ItachiUchiha in this country it's easy to spot vegans. It's the first thing they will say to you
 
in what country?*
in my country the only thing people care is a big piece of meet on the table and vegetables are just for decoration :)
meat
haha :D
 
@Tavo haha same here
I like getting in arguments with vegans just for fun
 
@Tavo no problem. I could understood you. :)
 
@ballBreaker same here. My gf fears me :P
 
3:30 PM
@Tavo bahahaha yah mine stopped ragging on me for eating meat a while ago too
When she had blood work done and found out she was iron deficient I just looked at her with a knowing stare lol
 
3:53 PM
oh, mine is not vegan at all. But she fears me when she introduces me to one
 
Dom isn't either, but she doesn't eat red meat, and ahhhh hahaha I see
 
4:07 PM
sweet. Just found a nice playlist for running ^_^
this is going to improve my performance
 
@ballBreaker should havbe checked vitamin b12 aswell :)
 
4:32 PM
@motaa yeah that was also low haha ^_^
@Tavo Nice! Gotta love playlists for physical activity
I have a workout playlist, but it's mostly just heavy rock
Was kind of weird because I was in a rage last night, I was so mad.. heavy rock and working out.. it was kind of WAY TOO MUCH
 
Hey
is somebody of u developing in intellij?
Got the following error: Every time i run a projekt i got a popup where it says module not specified, i like to get that fixed..
 
4:46 PM
@ballBreaker b12 is seriously important since a long term deficiency can result into nerves damage... happend to my ex gf... she was vegan and never took supplements for those vitamins until she complained about having difficulty to concentrate... her fingers and eyes were always twitching until all that resulted into multiple sklerosis
anyways I could need a little coding advice :D
whatever I look up on stack about swingworker and exceptions... everybody says that one should not catch exceptions in doInBackground()
the thing is that I need to catch it in the doInBackground() because it happens in a loop and if it happens it should skip that "loop walk" and go to the next "loop walk"
not sure if I should open another topic about swingworker and exceptions :D
 
5:04 PM
btw the exception should not go to the EDT directly. If it gets caught I publish sth in a textpane and continue with the next loopstep
k I think this could help me stackoverflow.com/questions/9502149/… :)
 
@motaa wow that's pretty crazy man
 
well continuous stupidity gets punished in time
 
5:49 PM
@Traxstar Right click on the project and go to module settings
 
you sound like a bunch of 16 years old.
 
6:14 PM
how to post coding here ?
 
not sure if there is a functionality for that in here
 
directly cut and paste in Send Box or there is any other ay?
otherway*
Object contain copy of its own instance Variable that means tt object of class Thread1 contain one copy of Instance Variable "int i".
In above code two object A and B used to create two Thread.Both thread accessing runMethod() through tt object and changing value of Instance Variable int i . If there is one copy of instance variable then how both Thread accessing instance variable independently without interfering or changing value of instance Variable int i
 
6:40 PM
well
u forgot sth in line 6
there is missing a int i = 0
 
it have int i=0
see the 2nd line
 
strange here it looks like
void runMethod()
{ for(;i<10;i++)
System.out.println(Thread.currentThread().getName()+i);

}
does your code even compile? :)
 
big yess
even executed and displayed output
 
ah now i see you declared the i a ferw lines above: D
 
yep
 
6:53 PM
k got it running now :D
 
yo man
@motaa r u new just like me?
 
well not really but i was out for about 10years :D
got 2 degrees in AI but there i mostly used prolog and R
then i got 2 degrees in spatial and urban planning/development :D
and coz i am bored at the moment I started a masters in geoinformatics :D
 
where r u from??
so many degree collection
 
i am from luxembourg
got bsc and msc in AI in aberdeen scotland
spatial planning bsc and msc in dortmund germany
well tbh i am currently working most of the time :D
but still studying :D
 
sound good
 
7:02 PM
any the "company" i am working right now needs me to expand their public transportation simulaton software
"company" since its not really a company but still got 8k peeps working there around the world
well tbh ur code looks confusing :D
and I might see where the problem is
you got 2 independent objects
 
AI is one of most complicated and hot technology . in near future everything going to be AI .
 
ye
 
yes
 
thats why I work in transportation modelling and simulation next to university :D
checked out the "synchronized" stuff?
 
Sync will be used when we want to monitor the object
 
7:07 PM
// Output::A0B0A1A2B1..........so on...A9B8B9 what will be the output in between?
a0b0 a1a2b1b2a3a4b3b4 and so on?
 
it always change coz it depend upon System Environment.
but it move like AO A1 A2 A3 increment to A8 A9
same for B
 
so what exactly should be the output?
its not that big you can write it down in here: D
 
wait a sec
A0B0B1B2B3A2B4B5A3B6A4B7A5B8A6B9A7A8A9
 
7:22 PM
A1 is not getting to the output?
 
A0B0A1B1B2**
 
or lets say should not get to the output
 
no i get the output .
how to share SS?
 
k
SS?
 
screenshot
 
7:24 PM
printscreen
open paint
paste
 
how to share it here ?
 
is that an excercie from uni?
+s
upload it to a picture site
 
ok got it
 
like xup.in
 
thks
now u can see it
 
7:30 PM
thats the output it should put out?
 
yes bro
 
I mean thats the result you expect?
because currently I don't see a logic to put it out in that way
maybe I am already too tired :D
 
yes i m expecting result in that way
lol.. take some rest if felling tried
tired
 
you should post that question in the forum
there are some really good people that know how to handle threads like a boss :D
 
i will post . Thk for help.
 
7:44 PM
http://www.commitstrip.com/en/2016/08/23/when-you-cant-not-listen/
CommitStrip
When you can’t not listen.
CommitStrip
1471981318
 
well I wasnt of any help :D
9 hours of heavy headstuff lets concentration fade late in the day :D
need a beer haha
but as a tip: ask you question clearly
format your code a bit better, like put the i=0 into the "if"
for me its better to read Ö:D
 

« first day (2131 days earlier)      last day (2824 days later) »