« first day (2409 days earlier)      last day (2538 days later) » 

4:00 AM
"When it comes to winning, you need the skill and the will." -Frank Tyger (source)
 
4:16 AM
morning
 
4:31 AM
morning
 
SBM
5:14 AM
Morning folks
 
@SBM Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
SBM
Wait, one can add bots to Stack Exchange chats?
Interesting ...
 
hiee
 
SBM
Hello @vidya
 
I need one help ..
i need to connect to the unix box throgh java code and run the commands via java code programmatically
usually i connect through putty box only..but now i planned to do this in java..
any useful links pls post ..
or idea also welcome@SBM
 
SBM
5:24 AM
Connect as in run the shell commands by executing a program? I'm more of a newbie, sadly
 
same pinch:)
yes run the shell commands programmatically with the help of java
 
SBM
5
Q: Java - Running Bash Commands

mickzerI have the following class. It allows me to execute commands through java. public class ExecuteShellCommand { public String executeCommand(String command) { StringBuffer output = new StringBuffer(); Process p; try { p = Runtime.getRuntime().exec(command); p.waitFor...

Something like that?
@vidya
 
Thank you so much:)@SBM
i will check
 
SBM
I've been banned from answering questions on Stack Overflow
 
why what happened@SBM
 
SBM
5:31 AM
because all my answers were dumb
 
if your answers are wrong and you feel then delete it..
then you will get unbanned i think.
 
SBM
I had done that earlier but that's not how it works.
 
ok fine..
 
SBM
That was about a year back when I was banned, since then I have learnt a lot more than what I knew
 
great:)@SBM
 
SBM
5:35 AM
But I still have lots to learn.
 
ok
 
@SBM deleting answer is the biggest mistake you have done
 
SBM
Yes I realised it after deleting
 
sadly u don't have timeout for answer ban
 
SBM
:(
 
 
1 hour later…
6:48 AM
@SBM You aren't question banned or answer banned right now...
 
@geisterfurz007 Great, I look forward to helping you in your voyage!
 
SBM
Oh, the last time I tried to answer I was
Thanks for the good news
 
7:05 AM
@jagapathi why deleting is the wrong answer is biggest mistake.suppose i feel the answer is incorrect i have an option given by stackoverflow .
 
ok @jagapathi
 
@vidya Have a look at JSch
 
thanks:)@ItachiUchiha
 
SBM
Oh seems interesting
 
7:09 AM
Suppose there is a string s abcd..i want the 5th string consisting of a,b,c,d. which is adbc.
but i also get all the answers beyond it which i dont need.So how can i stop this method after its 5th execution
 
I want to passing an xml file from the main to my method paramters
 
SBM
Pardon? Did you mean searching for the fifth substring containing a sequence?
 
is it possible to do
 
not 5th substring
5th string cotaining a,b,c,d
 
SBM
@vidya it is possible to take input from a file if that's what you need
 
7:14 AM
yes i can take a input from main
i have doubt in that.is it possibe to take the input to method parameters
 
SBM
@Fawkes so you have a String[]
 
no only one string not array os strings
main logic start from permu..read from there
permu method
 
7:26 AM
@vidya You can pass the reference of the original file.
 
 
1 hour later…
8:48 AM
@ItachiUchiha thanks
Stringbuilder too helped
 
 
3 hours later…
11:41 AM
@ItachiUchiha Really appreciate it! I will ping you when I am stuck :D
 
 
3 hours later…
2:13 PM
Morning, Java!
 
3:08 PM
How to print xml file from java
 
@ChandraBhanSingh Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
@ChandraBhanSingh This isn't google... xD
 
@Michael ... I've done the google. But have confusion regarding DOM vs SAX. Afterall what this forum is meant for, if I can't ask my doubt here.
 
Ok. Just remember that this isn't a help desk.
 
3:23 PM
Neither Java nor android room will be good to ask question as in the android room they're being... hmm..you know
 
@Plain_Dude_Sleeping_Alone Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
if you want just ask a new question :)
 
How do I use a CookieHandler?
 
hands cookies
 
3:49 PM
How to Java.
@Uni Which is better: solid core UTP or standard core UTP
 
SBM
4:50 PM
Good evening/night
 
cheers
 
SBM
CookieHandlers ... haha
 
5:17 PM
@geisterfurz007 cheeeeeeeeerrrrrrrrrrrrrrrrrrrs
 
Hello, im having trouble transforming classes to active classes
Ive got a project that uses a Simulation class to well simulate everything, but apparently ive got to get rid of that
 
5:34 PM
what are active classess in this case
 
Thats a thing im struggling with as well
No explanation
 
are those some kinds of design patterns
 
I believe its something with separating method initialization and execution
 
huh??
just do it
 
yeah but i dont know what sense it makes to take all of the simulation out of that specific class
basically getting rid of the model
 
5:40 PM
that still sounds pretty general.., maybe you can get it narrow, so that I could understand..
 
Ehm, alright, its simulating travelers via train and taxi
and theres a simulation class basically handling those
 
uh ok , are you having trouble with threading..??
threads management??
 
now im supposed to delete that entire simulation class and put everything in the others
Oh hang on, maybe i need to make runner classes
Sorry im not being very clear, ehm, nvm for a bit
 
 
1 hour later…
7:05 PM
hello, can I pass variable from gradle to java?
 
Is there a way to dynamically add incrementing integers to an observableArrayList() in JavaFX. I'm trying this, but it wants me to pass an array of integers to it. gist.github.com/GorgonsMaze/aa587448919ce3eb6239dfb39c5664c9
 
@Gorgon_Union Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
7:26 PM
@Gorgon_Union you want to add i and not something else you tried there ;)
 
@geisterfurz007 Wow, I feel dumb. lol
 
Thank you
 
No problem :)
 
7:45 PM
haha
@@geisterfurz007 hey pilot
@geisterfurz007 hey pilot guy
 
Hey, hey :D
Tuesday or Wednesday I am driving out to the airfield again :D
 
whaatsup?
 
Just to dream :P
 
what you doing at night here?
 
College starts at 12 tomorrow :P
 
7:50 PM
and what is the time currently?
 
9:50 pm
 
oh its not late then
 
Nah its not
 
oh
 

« first day (2409 days earlier)      last day (2538 days later) »