« first day (1494 days earlier)      last day (3439 days later) » 
00:00 - 19:0019:00 - 21:00

12:43 AM
Does anybody knows why this code get stuck using Apache Commons Exec??

CommandLine cmd = new CommandLine( "git" );
cmd.addArgument( "pull" );
DefaultExecutor executor = new DefaultExecutor();
executor.setStreamHandler( new PumpStreamHandler( System.out, System.err, System.in ) );
executor.execute( cmd );

In console it prompts:
$ git pull
Enter passphrase for key (...)

I want to mimic that =/
 
 
4 hours later…
4:46 AM
@miniHessel Hey man!
 
5:05 AM
Hey Java!
@Gemtastic Practically, it's another SE site.
 
@Vogel612 (this.view = view).getRssButton().setOnClickButton(this.onRssClick());
 
5:27 AM
Hey @Uni ssup?
 
at skool :)
 
ahh, lunch break?
 
 
2 hours later…
7:15 AM
@ItachiUchiha yo!
 
7:44 AM
Greetings
 
8:42 AM
How can read from FileOutputStream ?
 
O.o
As in intercepting the FileOutputStream?
 
9:22 AM
@smail2133 ya kant!
 
9:35 AM
Hello
 
hiya
 
has anyone experience with enunciate maven plugin?
 
not here...
but a bit of experience with maven in general
 
well, the question would be a little specific
I just discovered enunciate which is a library to generate (among other things) web clients and online documentation
for (among other kinds of services) jax-rs services
I need to disable the clients generation
 
Not sure what you're looking for, if it's a specific question, shouldn't their documentation cover what they provide?
Otherwise, the general assumption is that you can't do it.
 
9:39 AM
You can, I just can't find how in the docs
 
@Gabber which module does that belong to?
docs?
or java-client?
> The "disableCompile" attribute prevents Enunciate from compiling its generated client source files.
<modules>
   <java-client>
        <disableCompile />
   </java-client>
</modules>
should do the trick then
 
I am going to try
 
alternatively you might have to use the following:
<modules>
    <java-client disableCompile="true" />
</modules>
 
@Unihedron what ?
 
@smail2133 You can't!
 
9:48 AM
@Unihedron english please
@Unihedron it's bad
 
@smail2133 You can't!
@smail2133 No, you just can't. One does not simply read from an output stream. One can only print to an output stream.
 
Why is there no private message function on stack overflow, is it to prevent people getting bombed with messages from users?
 
@miniHessel well that for one.
for the other: Stackoverflow is not a dating site..
that renders private messages mostly useless..
If you really need a private chat with someone, then ... you're not in the right place here..
 
@miniHessel Why would you ever need a private messaging function on Stack Overflow?
 
IIRC chat was only implemented because people were abusing comments..
 
9:53 AM
Stack Overflow isn't about getting help from someone else. It's a site for professional and enthusiast programmers. There's no chit-chat. Even the chat messages are licensed under CC and public and has quality controls as well.
That's the whole point of trashing junk.
Unless you're in room 10.
 
I would love to ask a person a question, because he has the knowledge to answer it..But, I find it hard posting that question and following the stack overflow rules
 
You can't. You're trying to jump the queue. That doesn't make sense.
If you need help, post a new question, pestering someone else in comments with your question could be considered not constructive, flagged and even removed. So there's that.
 
Actually not, I just want that specific person to answer the question.
 
You can't.
 
@Unihedron could be considered offensive..
 
9:55 AM
I know, I just asked why :)
 
5
A: Is it OK to use comments to highlight a related unanswered question?

Vogel612You already stated it yourself: Comments are for requesting clarification / information This means you should not abuse comments to link to other questions, just because it's convenient. Also I, as answerer of a question would probably be rather annoyed to be asked: "Hey you just solved that pro...

 
@Unihedron There you go.
 
I want to specifically stress a certain point I am making in that answer..
> As answerer I and only I decide which questions I want to answer.
 
If a user post a comment to a question, and you answer that comment, does the user get a notification ?
 
just because BalusC could probably answer my every question about JSF, that doesn't mean I can pester ask him to answer my every question..
@miniHessel yes....
 
9:58 AM
@miniHessel If you @mention them.
 
@Unihedron that missing period though..
 
@Vogel612 Welcome to my realm.
 
@Unihedron also if you two are the only participants in a conversation
aka: Post -> Comment -> CommentBack (without @mention)
the CommentBack still generates a notification
 
That's only if the user who comments back is the same as the owner who posted it.
 
yes.
"you two are the only participants"
 
10:00 AM
Directly implying that I can read, well done.
 
post owner gets notified anyways..
 
That's true.
 
Okay, sometimes I feel they never read my follow up comments, could be that I forget to mention them.
 
@miniHessel sometimes people may chose to ignore follow up comments...
but stuff happens, and that's fine, too..
 
@miniHessel What you feel is almost always different from reality, that's a lesson of internet for ya.
 
10:02 AM
True, sometimes the original user asking the question has such a fucked up question he can't really explain it well.. :p
 
s,sometimes,everytime
 
see also XYProblem
 
@Unihedron I can read the same file with inputstream
 
@smail2133 Yes, and you have to do that.
 
all these gems of problem solving techniques..
 
10:04 AM
Then there's Kids can't use computers, haha.
 
What stack could do though, is open a service where you pay to send a user a question directed to him:p
 
Welcome to Stack Overflow, check out the help pages too. And remember to take the tour.
http://stackoverflow.com/help
http://stackoverflow.com/tour
 
:-)
I scared @ita away again
 
shakes head
 
dont shake it more than three times, if you do, you are playing with yourself..
 
10:15 AM
shakes head
 
shake it like a polaroid picture
 
> helpful flags 6799
LOL I earned excavator badge for editing your post @Vog
 
Well that answer was from some time ago..
I got me an excavator for a small editing spree on a half-canonical swing question
 
hello everybody
 
@Aamir I have no clue how you got 2 upvotes for this... I feel there's still information missing..
 
10:30 AM
^^^
 
@vogel612what else do u need
 
could you be so nice and put the mapping.findForward("success"); into an interim variable and sysout that?
 
> This framework has reached End Of Life status as of 2013-04-05.
Why are you using Structs?
 
@Unihedron hey it's not really that bad...
there are still people out there using asp-classic
 
shrugs.
 
10:32 AM
and that has been dead since 1995
 
shivers
 
@unihedron, actually its easy to learn struts 2.x after u know 1.x
 
suddenly feels cold
 
plus u have to maintain the older code written in 1.x
 
or you take that code and gradually migrate it up to current technical standards...
 
@Unihedron 213 Citizen Patrol badges overall @area 51
 
@Vogel612 Wait, I thought badges only show up if you have at least 200 rep on that site?
 
what luck that I have 259 rep then
 
10 gold 27 silver 92 bronze
tears
 
@Unihedron confusion
 
10:39 AM
 
lolz
 
Well I'm going to go through all SE sites and earn 100 rep to get them accumulate in my badge count.
 
@miniHessel heya
@Unihedron FACEPALM
 
STATUS-DEFERRED too lazy to do that
 
10:59 AM
@ita hey
 
@Vogel612 it's a long time since my last post, I've found now the reference
it was about the config file, not the pom
 
ssup @mini?
@Gabber welcome back!
 
@ItachiUchiha thanks! (to tell the truth it was 1h ago)
 
@Gabber oups... yea I should've linked the reference...
 
lolz
 
11:01 AM
@ItachiUchiha banging head to wall
 
@Gabber 1 h ago is... nothing..
I am often vanishing for 12h+, especially on weekends..
 
Now what?
 
same as yesterday :P
 
@Vogel612 I know
 
lolz..
 
11:04 AM
@Gabber are you one of these .... howdyoucallems..
ahh Stalkers ?
 
not really, to tell the truth
 
/me disappointed
@Gabber that one's ages old though..
 
Ahah, it was a quick search
 
> stalker site:9gag.com
 
oh come on, are you teaching me how to search stalker images on 9gag?
 
11:10 AM
... yes?
 
Is there any alternative for @Value in spring? actually in my service classes I have about 20 variables and I am accessing their values form properties file.
 
@Vogel612 really think I need that?
 
@Gabber no?
 
@Vogel612 no, but thanks anyway
Ok, aaaaaaaaand we have the solution
The conversation as I understood it

@Gabber 1 h ago is... nothing..
me: @Vogel612 I know
I am often vanishing for 12h+, especially on weekends..
The conversation as normal people understood it
 
@Vogel612 If you don't stalk, then you're not really a qualified netizen.
 
11:18 AM
@Gabber 1 h ago is... nothing..
I am often vanishing for 12h+, especially on weekends..
me: @Vogel612 I know
Ok, it was creepy indeed
 
aargh 4 pings
 
@Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 @Vogel612 SUPER PING
 
:O:O
 
@Vogel612 they hurt like sunshine when you wake up
 
plays super hexagon theme music
 
11:26 AM
Yay super hexagon!
 
^^
 
However, back to java, I can't use enunciate because it fails parsing a class
And it is our fault
now I hate everything
 
11:42 AM
hmm...
I am not sure whether that our is intended that way..
 
our == my team & me
and btw, to tell the truth
my team & me == the previous developers that screwed up the app and then changed job
 
this is my first msg
 
@user2215906 !!!
 
pls ignore guys
 
You've done it wrong, you should've said "Hello world"!!
:(
 
11:48 AM
haha
System.out.println("Hello, world")
 
and a semicolon and you'll be good to go
 
:D
 
waiting for that msg
:D
 
12:06 PM
@user2215906 no need for the ","
 
@ItachiUchiha but it's not grammatically incorrect either, I think..
 
@ItachiUchiha With the example I sent you yesterday
 
@miniHessel I understand! Where are you stuck?
 
Would it require a lot of code to make a table row object with some logic understanding how it is a row? By that I mean that it understands that row0 = column1.allData.get(0)+column2.allData.get(0) ?
 
Why does the amount of code it takes matter?
 
12:10 PM
haha, okay, I rephrase, is it possible.
Instead of using the Matrix Transpose @ita. That way it would be easy to have a custom row object who extends table row. The row object can have a getMessage() method
 
fge
@miniHessel why don't you use Guava and its Table?
 
@fge its javafx
 
12:24 PM
@ItachiUchiha sent you two invites :)
 
@miniHessel Potential for anything; Everything is possible. Now go code!
 
Greetings!
 
@Unihedron I want to kill myself right now, don't tell me everything is possible
:P
 
@miniHessel What does the fact that you have a thought of committing suicide have to do with the probability of things happening?
 
that
to do with the probability of things happening?
 
12:29 PM
Everything is possible
 
You are not going to believe this, but Friday Asus said they were going to send me a replacement motherboard [of equal or greater value] but last night they told me they cannot because they cannot come up with functional motherboard to send me!
 
@Unihedron Do you have any idea how poor Java Print API is?
 
@ItachiUchiha Yes, and it doesn't matter whether @miniHessel wants to kill themselves for anything to be possible.
 
Even Java's new Printing API sucks big time
 
@ItachiUchiha Obviously. Make your own!
 
12:29 PM
@Joe'sMorgue Sad!
 
They build them...
 
12:42 PM
hello every one..
any idea about this error com.ibm.websphere.ce.cm.StaleConnectionException
??
 
@Goku Connection is Stale?
-> you said there was a connection and there was none...
 
BTW: Greetings!
 
means that error come when the define connection is not really exists in JDBC providers ?
@Vogel612..
 
@Goku nobody said that...
stale is the point in time where water (or beverages in general) begin tasting like foul eggs.
 
:/
 
12:56 PM
that's what happened to your connection..
how that happened?? no clue...
 
1:23 PM
@Goku
The exception is caused by the following reasons:
1. The WebSphere Adapter for JDBC tries to get connected to the database and fails, as the database was not started.
2. A connection is no longer usable due to a database failure. When the JDBC Adapter tries to use a connection it had previously obtained, the connection becomes invalid. In this case, all connections currently in use by the JDBC Adapter gives this error, when they try to connect to the database.
3. The JDBC Adapter obtains a now-stale connection.
 
1:39 PM
lonely, I'm so lonely, this chat room has nobody, I'm on my ooooown
 
@miniHessel There are many users in the room.
 
@ItachiUchiha hi buddy ..
 
could anyone help me with this lambda:

data.stream().map(d -> new WhatHere(d, 0)).forEach(dd::add);
@Mr.777 it's a song :-)
 
i have that one i check all the bridges all working fine but still it showing same error
well i am debugging
 
@miniHessel you forgot to ask your question...
 
1:56 PM
data.stream().map(d -> new WhatHere(d, 0)).forEach(dd::add);


What's wrong with this Lambda, and what should be placed in the WhatHere?
better?
 
@miniHessel What's the type of data.stream()?
 
The lambda looks fine to me. WhatHere should be a valid class identifier..
dd::add must accept a WhatHere as only parameter.
 
so WhatHere should be new ArrayLists() ?
Stream<List<String>>
I tried posting it like 10 times, fuck this schools connection..
 
I don't think anything is wrong with the lambda. It has to do with how you're passing d in the constructor.
 
hmm, it's red like a fire truck here o.O
error: no suitable constructor found for ArrayList(List<String>,int)
data.stream().map(d -> new ArrayList(d, 0)).forEach(dd::add);
constructor ArrayList.ArrayList(int) is not applicable
(actual and formal argument lists differ in length)
constructor ArrayList.ArrayList() is not applicable
(actual and formal argument lists differ in length)
constructor ArrayList.ArrayList(Collection) is not applicable
(actual and formal argument lists differ in length)
    data.stream().map(d ->  FXCollections.observableArrayList(d, 0)).forEach(dd::add);
makes more sense, but how can I say that d is a ObservableList<List<String>> ?
(argument mismatch; ObservableList<Object> cannot be converted to List<String>)
 
2:16 PM
you can explicitly specify the type..
 
of d?
 
data.stream().map((ObservableList<List<String>> d) -> FXCollections.observableArrayList(d, 0)).forEach(dd::add);
 
error: method map in interface Stream<T> cannot be applied to given types;
data.stream().map((ObservableList<List<String>> d) -> FXCollections.observableArrayList(d, 0)).forEach(dd::add);
required: Function<? super List<String>,? extends R>
 
your data is not a Collection<ObservableList<List<String>>> then
 
ObservableList<List<String>> data = FXCollections.observableArrayList();
 
2:21 PM
.... then what type are your elements?, right List<String>
 
of course, sorry.
dataen.stream().map((List<String> d) -> FXCollections.observableArrayList(d, 0)).forEach(dd::add);
right?
 
dataen now?
 
it's data
 
sooo..., what's borken now?
 
error: incompatible types: invalid method reference
dataen.stream().map((List<String> d) -> FXCollections.observableArrayList(d, 0)).forEach(dd::add);
no suitable method found for add(ObservableList<Object>)
method Collection.add(List<String>) is not applicable
(argument mismatch; ObservableList<Object> cannot be converted to List<String>)
method List.add(List<String>) is not applicable
(argument mismatch; ObservableList<Object> cannot be converted to List<String>)
 
2:24 PM
Well, there's your problem! You don't have a Stream<List<String>>.
It's a Stream<List<Object>>!
Or actually, a Stream<ObservableList<Object>>
 
what is o.O?
 
dataen
 
but data is ObservableList<List<String>> data = FXCollections.observableArrayList();
 
It doesn't matter, you're using dataen, look at the error message!
Or, wait...
Whatever, I don't even understand what's broken anymore.
 
:p
me neither.
 
 
1 hour later…
3:47 PM
@uni here?
 
No, not really.
 
:D
you are,liar!
tableview.getItems().stream().map((MyTableRow d) -> FXCollections.observableArrayList(d, 1)).forEach(dataen2::add);
 
urk, that looks evil
 
this is still making my day suck
I am really open for help @Vogel612
 
You're overly complicating stuff..
 
3:51 PM
Why use streams and lambdas which you don't understand over actual coding?
What advantage will you gain from this?
 
I just want all the data for one row in one ObservableList over to another.
I was hoping performance wise uni
 
tableview.getItems().forEach((MyTableRow d) -> {
      dataen2.add(FXCollections.observableArrayList(d,1));
});
should do the trick just fine
shorter, more practical, and not abusing stream();
 
doesn't it miss a parentheses ?
 
maybe...
 
NetBeans says so :P
 
3:55 PM
netbeans is a prick and can't count..
 
haha
 
How is Netbeans still officially an IDE?
 
no idea..
 
I don't know, but it won't compile anyhow :P
 
does it say something reasonable???
if not, ditch it..
 
3:58 PM
error: no suitable method found for add(ObservableList<Object>)
dataen2.add(FXCollections.observableArrayList(d, 1));
method Collection.add(MyTableRow) is not applicable
(argument mismatch; no instance(s) of type variable(s) E exist so that ObservableList<E> conforms to MyTableRow)
method List.add(MyTableRow) is not applicable
(argument mismatch; no instance(s) of type variable(s) E exist so that ObservableList<E> conforms to MyTableRow)
where E is a type-variable:
E extends Object declared in method <E>observableArrayList(E...)
How come it can't add a MyTableRow to a collection of MyTableRow
 
hey all...
hi @Gemtastic ...
Hello @Unihedron ...
:P
 
hello
 
what's going on ?
 
me learning SQL
 
me too... :)
php/mysql
 
4:03 PM
Anyhow, what I really want @Vogel612 is to just loop through all the rows in the tableview and add the row data for the selected columns to another tableview.
 
@mlwn hi there
I'm dancing
For once
 
hey... that' s nice... :)
 
not really, I can't dance for shit :P
 
well.. you'll learn in no time.. :) I am sure
which type?
 
Well, you see; before the broadband was a mainstream thing, all girls in the age 11-13 were dancing, as that was the only kind of fun cool enough to do. So, I've had my share of dancing. I even took dancing classes. But I was never any good.
But. When you don't gaf it doesn't really matter. Dancing is a good excercise
My boyfriend is the only one who sees and can laugh, and I'll give him that.
 
4:09 PM
hehe...
he's lucky to get some laugh..
:)
 
Sure is. It's the gift and curse of being with me; you get to see me do stupid things all the time. Like how I derped out earlier and thought 1 out of 20 wasn't 5%
Epic fail
 
what did you think it was then ???
 
4:23 PM
I mixed up 20 out of a hundred which is a fifth
 
4:39 PM
waaait one out of 20 is 5%????
 
@Vogel612 Yes, exactly, that's why I was epic failing
 
hmm... times 10 / 2...
yes.. that... works out
 
4:51 PM
Still simple math that I derped out on for a second
I may add that I have a cold and the ibuprofen had yet to remove my headache
I can't believe I had the top results on the entrance test to my education :')
 
5:44 PM
I am out of my mess that I call documentation for today..
Laters ;)
 
:)
Bye!
 
Laters
I should really be coding on my FX assignment >_> But Is tired Q_Q
I'm probably gonna code on it anyway >_>
'cuz that's how I roll
 
6:10 PM
hello!
 
hello
I have to sleep now though, night!
 
goodnight uni!
 
:)
 
Night @Uni
It always feels like he goes to bed too early, even though it's really late at his place :/
 
We have the same time.. he's just in a different country. xD
he's a very smart and one of a kind kid for his age
 
6:17 PM
yeah, so why are you up so late? :P
He should be a role-model for a lot of kids. I don't think I've ever met a kid as well-mannered as him. It's very refreshing
 
true..
doing a side-project. hehe.. making me nuts with all this grinding thing of DAO/DTO stuffs.. xD
 
Well, to me that's the fun part; I love learning new tools and how to use them :P
 
00:00 - 19:0019:00 - 21:00

« first day (1494 days earlier)      last day (3439 days later) »