« first day (1424 days earlier)      last day (3734 days later) » 

00:08
@Karl not
@Kylar Welcome back!!
 
4 hours later…
04:13
I am a totally noob in Remote EJB patterns, I always use local EJBs in a single project to inject my Facade services. How does a Remote EJB works? If I have a method that returns an object ClientData, how can I access this object returned by injecting in a different servlet in another server in a different classpath? Should I duplicate the code? How the other servlet received the object reference? How does the other servlet even gets the EJB class reference to inject using @EJB inside a servlet?
I'll appreciate it if anyone could have a look at my question: http://stackoverflow.com/q/25847887/2139684

it's about db4o
@Hamid omg I want to close that question
@Unihedron Why?
Its unclear what u are asking
And opinion based
and quite opinionated... "am I right?"
I tried to clarify it... Please outline your problem better
04:26
Alright I didn't know that. But can you help me with that problem? I'll edit it.
Of course, you already did that. Now, can you help me with that problem?
Hamid, throw some code and a concrete question, then ppl might be inclined to help you
04:47
hey ppl !
04:58
@Hamid If I knew what the problem was, I would had helped.
heya @ItachiUchiha
 
3 hours later…
07:59
10 hours ago, by Karl
Dead chat...
08:13
@ItachiUchiha Go answer some questions :)
I have been commenting on questions
people ask strange questions
Then... read my answers and up/down vote them :)
lolz
have you been answering questions lately ?
Yeah, of course.
Our bot now has uptime stats!
in Room for Low Quality posts on Meta Stack Exchange Chat, 1 min ago, by Sam
Owners: Sam, Unihedron & ProgramFOX. Users with command access: Jan Dvorak & rene. Total terms: 0. Caught posts over last 2 days: 862. Uptime: 00:00:16.5049440.`
08:30
@Unihedron review this
09:13
Java still rules.
test
 
1 hour later…
10:30
Greetings
10:53
o/
How you?
great
wbu ?
Kylar didn't reply after
14 hours ago, by Karl
I woulda earned my keep…I would have carried your bags, your lady...
Hope he didn't take it the other way :P
11:20
I hope @Kylar didn't take it the wrong way either...
Frustrated...
The issue with my computer continues….
Plus my Mac is acting up...
BBS
11:43
I'm back
11:54
@ItachiUchiha Who is the OFFICIAL owner of this room?
@Karl Stack Overflow.
@Karl there are multiple owners of each room
@Unihedron I guess its time to gift Kylar with what we were thinking. What do you have to say ?
@ItachiUchiha I would like to make @Kylar a room owner, let's gather around and promote him when he's back. From the website it says he was last seen 5s ago.
OK….Somebody made comments about a user posting code way too often in here. In Java & Android, they give you a link in the description to Pastie so people know where to put long code, and it might help if something like that was here too.
@Karl Let's create the guidelines for this room then?
12:02
Important: Please use English only. Drop your long code in pastie.org. and save images in imgur.com.
They have that in the room description.
Well, we can't change the room description right now without building a consensus.
Personally, I don't think there was a problem and the comments yesterday was by somebody who was over sensitive to the situation. The code he was posting was about 10 lines long each time, It's not like he was taking up the entire screen with each post, and he was having conversations with others between each posting of code.
@Unihedron I guess everyone will agree :)
Maybe, it was the day before...
@Karl While it may not be a big problem, the room is not for two.
12:05
@Karl Long code's are automatically clipped by Chat room
Noe of the codes were long enough to be clipped, but somebody was complaining about how often he was posting code clips, which was part of the dominant conversation at the time.
I agree, this room is never for exclusive use by a few people, let alone two, but...
still, code's make a room look messy
this is the reason, most of the rooms have the guidelines to past code on something like pastie
which IMHO, is a good thing
It does show code evolving...
I agree, with long code...
FTR: I am NOT trying to start an argument here...
Help build the community consensus on what rules should we have - Stack Overflow Chat - Java - Rules Planner
5
12:12
I like that!
Hello frnds.
Hey there, @NirajJani!
i'm new learner in java.
Welcome to the world of Java, where your dreams may or may not come true!
>_>
<_<
Yes. i do some codes from site javatpoint.com
is there any other things which i also should learn for java.
12:16
Question: WARNING NON-JAVA material: While trying to separate the heat sink from my AMD CPU, the CPU got ripped out of the motherboard's locked socket because the thermal grease, pre-applied at purchase, and included with the CPU, turned to a solid I think it's AMD's fault the CPU got damaged, and not because of abuse. [I had to take the CPU to a pro to separate the two, and he said he's never seen a grease do that.] Am I wrong for thinking that?
I didn't know there was a limit to the length of comments...
 
2 hours later…
13:54
1 message moved from Java Sucks
@uni plz move this msg
which?
14:22
lolz you had send it to the room :P
@Unihedron Have you stopped working on Minecraft ?
Why is Bart rejecting your edits ?
It wasn't a good edit, adds no value to the tag.
I didn't expect it to be approved anyway.
14:57
would anyone mind taking a look at: http://stackoverflow.com/questions/25655458/im-getting-errors-on-line-1-about-the-brackets-and-the-comma-i-have-alrea

My answer was accepted because it 'worked' but I would be interested in why it was necessary. :)
@GuyFlavell I think it was a panic accept. I have no idea how a compilation error is related to values().
 
2 hours later…
16:46
Anybody alive?
17:06
I try not to be
Eh all
Hey @Kylar
Hey @Karl
I didn't offend with my comments before, did I?
Not at all
I'm kind of in and out
if I don't talk, it's probably because I went AFK
BRB, Updating
17:13
OK.
Hiya @Kylar!
How was the vacation?
Great!
Nice and relaxing
Lots of hiking
caught a shark
ASR
ASR
can any one tell me the output of this program?
ASR
ASR
public class TestString {

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		//System.out.println("Hello World!");

		String s1="sudheer";

		String s2="sudheer";

		System.out.println(s1.equals(s2)+ " " +s1==s2);
		}
}
'
"true false"
true true
ASR
ASR
no
s1 == s2 should be false
17:22
String is immutable
but they're different references
never use ==
@Kylar Mmm, sharks.
@Kylar compiler optimization on compile time, "sudheer" and "sudheer" refer to the same "sudheer" in literal pool
@ASR: why not just run it
Mmmm the strings are interned
ASR
ASR
@Kylar i run it, i know string basics :)
compile-time is interned, otherwise if you concat them, do .intern()
ASR
ASR
17:24
i just want to share
If I ever saw an == in code, I'll freak out and kill you
@Kylar if (false == isKylarMad())
;)
ASR
ASR
@Kylar i have face this question in interview today, not able to anser
17:25
@ASR Ah, well it's a tricky question
because if you do this:
String s1 = "foobar";
I should seriously go apply for a job like now, all these "interview questions" makes me happy
String s2 = "foo" + "bar"
boolean same = s1 == s2;
@Kylar That's still going to be evaluated on compile time.
It's the same principal as why people write this:
Oh that's right
you need to break it into two lines
String s2 = "foo";
s2 = s2 + "bar"
ASR
ASR
17:27
== for ref comparision and equals() for content comparision
return toString = "[" + a + "] + [" +b + "]";
@Kylar or this:
String a = "foo";
String b = a.concat("bar");
Speaking of string manipulatiom, I'm teaching a group of people string manipulation and file io today? Any good advice or examples to show them?
then b == "foobar" -> false
@KalaJ learn regex
@Unihedron except if you .intern() them both
hmm I didn't put that in the curriculum but I could for the next class. Thanks
17:28
@Kylar that's exactly why it exists
It's for fucking with people
.intern() I mean
@KalaJ seriously, don't
never use == with objects of any kind
Ahhh... I miss my system !
In my OOP classes my teacher wrote this puzzling one-liner
it has ++, --, ? and misused arrays
17:29
hm?
Just don't.
Can you share it?
I dont have an IDE on this system :(
I don't have the "question" with me anymore, but were it within my power I would take every duplicate of that, find the person who designed the "puzzle" and tie them on a tree.
It's for people to learn...
One of the best ways to teach is to break the rules and have students figure out what is wrong...
17:31
Anyone who writes long code with purposefully misused operators deserves to get thrown under the cliff.
I mean, it's not like .equals() will be deprecated any version of JDK soon.
Use that..
Long code? How is a one-liner LONG code?
@ASR This question has to do with the Operator Stack !
Anyone who uses java's 'Goes-To' operator deserves to be shot too
17:32
8 mins ago, by Unihedron
@Kylar compiler optimization on compile time, "sudheer" and "sudheer" refer to the same "sudheer" in literal pool
both mine and Kylar's answer is wrong
:18921068
10 mins ago, by ItachiUchiha
String is immutable
Get over it, it's not like it ever matters. You'll never really compare strings with ==.
yeah but this question has not to do with ==
And if you do, we should shoot someone
17:33
it depends on the Operator precedence
@ItachiUchiha what does
@ItachiUchiha Well use brackets, they help with readability anyway
output to System.out.println(s1.equals(s2)+ " " +s1==s2);
here s1.equals(s2)+ " " +s1 will be compared to s2
Ohh yeah, that's a bad example
Yeah ! :P
17:36
@ItachiUchiha Even if s1==s2 evaluates first, you'll still want to keep them in brackets.
We were all wrong ;)
it just prints "false"
yeah coz for java s1.equals(s2)+ " " +s1 acts as a String :P
these examples remind me of college days :)
yes, it evaluates to new StringBuffer(s1.equals(s2)).append(" ").append(s1).toString() == s2
on compile time
@Unihedron Nice Rules :D
add yours, i'm not completing the rest
it's 01:41 I have school tomorrow, dream code on! Bye!
17:41
Bye !
18:23
There was a day or two ago a question that had that issue. The person was trying to test interning string constants, but made the + and == error. It almost got reflexively closed as a duplicate of the "how do I compare strings in java" question
Can anyone look at this and tell me if this is the generally accepted away of reading and writing a file in Java in the simplest way for beginners?
Have you guys watched the trailer for Unbroken ?
I don't normally program in Java, so I just to check it
*just want to someone check it and see if it's alright
For any java version >= 7 I'd use try-with-resources
18:30
@Kylar Hilarious..
 
2 hours later…
20:19
I'm back
 
2 hours later…
22:02
Dead chat...
 
2 hours later…
23:45
Fear not, I'm here!
Okay still dead.
That's what she said
Explain?
Explain what

« first day (1424 days earlier)      last day (3734 days later) »