« first day (1490 days earlier)      last day (3452 days later) » 

12:01 AM
Looks like there was no survivers
Hello?
 
 
5 hours later…
4:53 AM
Hello! :D
 
5:14 AM
Heya
 
hello
 
just woke up @Unihedron?
 
Noooz, at school
Lunch break at skool is noon to one thirty
 
what year you at already? taking what course?
 
High school.
 
5:31 AM
^ oh my. never fails to amaze me. thought you were college already..
 
-_-
 
you have any idea why my JTable only displays of format mm dd, yyyy when the datatype its retrieveing from MySQL db is Timestamp?
 
Because that's how DateTime is converted to string?
 
ah yeah, i forgot to tell that its missing the hh:mm part.. trying to research it at same time im asking you..
 
 
1 hour later…
6:48 AM
Dead Room
 
NO!
everyone is busy. hehe
Hi, anyone know if there is any existing screen keyboard for java?
 
screen keyboard in java?
 
sorry, screen keyboard made in java
 
7:10 AM
well
it cannot be, you cannot use java for key logging
 
Hi guys
 
heya
 
hi
are there any discussions here?
Hi ItachiUchiha
where r u from?
 
it has nothing to do with key logging @ItachiUchiha,
i just want a screen keyboard that types something on a JTextfield/Area...
 
@Lee you shud learn swings first..and you will get it
 
7:25 AM
@Arjun9 i know swing... i just dont want to create anymore if there were any made already. leveraging.. not inventing the wheel again..
aaaaand... i found one..
 
then put a condition if there is already existing then you shud not create again
 
exactly... i was asking if any of you guys know of and tried a screen keyboard made in java already.. cuts time of finding and validation..
 
No...'
are you on linkedin?
 
yes.. why?
 
share your id....
are you a java developer? in school or college or job?
 
7:31 AM
but why?? why would you want my infos?
 
haha...just to add in my network...
i have community of only java developers
 
Joeffrey Biccay just search it
 
tell one more thing to search either school or college or job name
 
Lyceum of the Philippines
^ school
 
ok got it
so you are in Philippines
 
7:35 AM
yep. you?
 
hi
India
currently
 
yep. you?
 
have you heard about India?
India
u there?
 
7:58 AM
Greetings
 
@LeeJeong Ahh, ok, then I misinterpreted your requirement
It is doable
 
~JavaBot, at your service
yaaay it worked!
 
@Vogel612 JChatExchange?
 
@ItachiUchiha not yet.
you want to play with it a bit?
 
@Vogel612 which JavaBot are you playing with?
 
8:12 AM
##javadoc:JTable
Sorry, I never heard of that class. :(
@ItachiUchiha uni's...
##javadoc:Object
Sorry, I never heard of that class. :(
 
hmm..
 
wat??
oh nevermind then, javadoc is not my building site ...
##help
@Vogel612 I am JavaBot, maintained by Uni, Vogel, and a few others. You can find me on github.com/Vincentyification/JavaBot
 
8:28 AM
oh come on that's a joke, right?? 404?
T.T
 
8:52 AM
I'm here!
 
hmm??
 
Now to fix JCE! For any issues, pls ping me
 
~JavaBot, at your service
#1 Cannot summon cross-system!
##summon stackexchange 1
^fails
Could not join room.
 
9:39 AM
AAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHH
 
@Unihedron What?
 
@Mr.777 evil evil maths
 
if I now knew what yaw is..
but from pitch it seems to be something with sound..
@Unihedron didn't you want to check pr #16?
 
on it
Is there a way to change the implementation of a specific method of an already compiled class in runtime?
Like with reflection?
 
didn't you ask that before??
 
9:45 AM
Yeah, I did.
It was back in Java7 though.
 
if you're feeling evil you could compile your own class and replace them...
but aside from a proxy or decorator I doubt you can do much..
 
How? I'm using an external jar. I don't mind if I make my client take my recompiled jar instead, if that's the only way.
// TODO invent java runtime hack for this later
 
lel...
You could hack your way around this with a Proxy class.
see oodesign ;)
 
!!! :D
Me likes hacks!
Ok, review your PR first :P
 
10:02 AM
stackoverflow.com/a/27057521/3622940 Did I duplicate the explanation or something? Looks weird to me. Edits welcome
 
@Unihedron Perfect, I am not that expert to commend or edit on that :)
 
@Unihedron guarantee just has one r. ...
 
@Vogel612 But chrome spellchecker didn't complain ;-;
fixed thanks
Looks good! Recommend merge.
Thanks!
 
you should be able to just click that purple button..
but if you don't want to ;)
 
Did :P
I'm used to saying "Recommend merge" and waiting for another person to say the same before I merge. Oh well, workflows.
 
10:11 AM
@Unihedron we're probably not enough people contributing there to do that..
 
Yeah.
What's branch "15"?
 
Guys, I've build the application and gone through the code as well, so is there anything, I can contribute into?
 
@Unihedron my repo has a branch named 15
I am very very creative about branch names /sarcasm
 
Yeah, are they all multiples of pi?
 
always...
but I am usually rounding before multiplying ;)
 
10:13 AM
... Oh.
@Mr.777 JavaBot is the chat bot work in progress for this room. When it runs properly and does most of what we want I'll be putting him on a server.
 
@Unihedron well I hope I can get him to work for CR too..
 
@Vogel612 Me too!
 
currently it can't be summoned across domains, though..
soo.. meh.
 
Yeah, gotta implement new tabs.
 
it works across rooms though..
~JavaBot, at your service
 
10:16 AM
##eval:"hello world"
 
hello world
 
Have I sent you the credentials for Javabot yet? I might have forgotten.
Ah, no cc I probably forgot. Hold on...
 
Okay @Uni I have cloned the JavaBot repo
 
something broke...
 
So, what's the difference between JavaBot & JChatExchange? Is JavaBot only for this room?
 
10:18 AM
wtf..
 
@Mr.777 Ok! You can try compile and run it after changing the Main method to work properly.
 
NullPointer exceptions all over the place
 
Holy..
 
@Vogel What's the scenario, it threw NPE?
 
10:19 AM
@Mr.777 JavaBot (alias Junior) was the chat bot we decided to build for the room, along with letting him sit in multiple rooms for good causes. JCE as an open source project kicked in later.
 
something blew up when he tried to parse the chatMessages..
 
Ah, forgot a null check somewhere.
 
seems like, It got some null string
 
Jsoup.parse(event.getContent()).text();
 
Yeah, event can be null sometimes.
 
10:20 AM
argh..
 
Add if(null != event) before that line.
 
another filter clause should fix that..
 
Or that.
 
that's inside the parsing stream.... okay ..
 
Sooo tempted to sarcastically curse this person... github.com/DarkStorm652/DarkBot/issues/29
 
10:23 AM
~JavaBot, at your service
Cookie rejected... wat?
 
The server must not like your cookies. Make more delicious ones!
 
it's not the server.. htmlunit did that internally..
since the domain of origin and the cookie signer didn't match,..
anyways we really need to start handling Response 409 Conflict
##eval:"rnd"
rnd
##eval:javaBot.broadcast("bc-testing");
interesting..
I think I found the problem already...
 
Wait, really? What's 409 Conflict?
 
I was trying to send the result of the groovy evaluation and the broadcast message simultaneously..
and that conflicted..
 
10:30 AM
Hi @KrisnelaTPL
##shutdown
~going down
@Unihedron ... I just see in my console..
 
can any any one tell me how to get multipart form value
 
the fkey,.. is the same for both the snadbox and this room..
@KrisnelaTPL you should add a little more information..
what are you trying to do in the first place, what tech are you using?
 
jsp
servlets
 
are you POSTing or GETing the form to your servlet?
 
yup
post with multipart encript
 
10:34 AM
Tell us more. We'll wait.
 
okay then it's out for me here, since I have no clue about servlets.
 
i m getting all the files saves but i an not able to get form feilds like textbox using request.getParameter
saved*
 
aaand you made a jump too big to follow..
well at least for me..
 
~JavaBot, at your service
##help
@Mr.777 I am JavaBot, maintained by Uni, Vogel, and a few others. You can find me on github.com/Vincentyification/JavaBot
 
can i get any help from here?
 
10:36 AM
@KrisnelaTPL "not able to"... Why? Exception? It format your hard drive instead? Your mother won't let you?
 
##javadoc
 
##javadoc HashMap
 
##javadoc HashMap
 
Hmpf.
 
Nope, javadoc doesn't hit
 
10:38 AM
##eval:"hello world"
 
##shutdown
hello world
Aren't we suppose to shutdown the bot on shutdown?
##test This is a test.
##help
 
Adz
guys, I'm trying to do a regex pattern for a number that is an int and the max length is always 4. (\\w{4,4}\\d+) This always returns true even if the length if more than 4
 
@Adz How are you using it, .matches() or .find()?
 
Adz
.matches
 
~JavaBot, at your service
 
10:40 AM
Wait... "\\w{4,4}\\d+" doesn't do what you need.
 
@Mr.777 I am JavaBot, maintained by Uni, Vogel, and a few others. You can find me on github.com/Vincentyification/JavaBot
 
##javadoc:HashMap
 
Sorry, I never heard of that class. :(
 
you guys just need to get the syntax right!
 
Do you know how regex works, or did you steal that somewhere?
 
Adz
10:41 AM
I was just looking around
 
@Vogel612 If we shutdown the bot and execute few commands and re-run the bot, will it process those?
 
currently on master? yes.
 
Yes, on master
 
but on my current development state? no
 
Use this: "\\d{4}" and if you want to allow negative values "-?\\d{4}"
 
10:42 AM
Ops sorry, no on 15
 
nope on 15 it doesn't..
check the latest commit message ;)
 
Well, it seems like, it did :D
 
Adz
thanks
i keep getting a parseerror when I try and send a message btw
 
@Vog Added a Command name as base for info {command} and help {command} commands
 
Adz
it's been happening a-lot lately here :s
 
10:43 AM
> Cleaned up a bit, added JAVADOCS_DIR to changed configuration, made changes to room-join, so that messages before join are no more evaluated
commit is just an hour old, though..
 
So, probably, I am working on branch ;)
 
@Mr.777 that commit message is the master's latest..
--> you're running master and not 15..
 
Nope, I sent you the commit message of master, not 15 (the one I am running) :P
 
-.-
Then it doesn't...
 
@Vogel612 Nevermind, I forked the master and working on it now :)
 
10:51 AM
please check the code of joinChat in StackExchangeChat. there should be something like "handleInitialEvents"...
T.T
 
11:42 AM
@ItachiUchiha Hey man, how have you been?
 
Heya
goo, wbu?
 
Good man, what have you been up to? :)
 
nm..
how is your project going on?
 
@ItachiUchiha This nm refers to nevermind or not much?:P
 
nm ? :P
It's going great man ! :)
nevermind probably
 
11:47 AM
I guess it's not much
 
@Mr.777 not much
@miniHessel When are you planning to finish it?
 
I am planning on finishing the developing and testing before christmas, then focus on writing after christma
*christmas
 
writing docs?
 
Will you people stay on Stack Overflow for Christmas? Winterbash is coming!
 
no, it's a masters project, so will write the thesis :)
 
11:50 AM
ahh, i see
@Unihedron Why are you asking this question?
 
@ItachiUchiha Because?
Were you around for winterbash last year? winterbash2013.stackexchange.com
 
nope
 
hows your project @ita ?
 
@miniHessel Currently not working on any main line project. Just making few POC's here n there..
 
Didn't you some weeks ago?
 
11:56 AM
@miniHessel Didn't I what?
 
Work on some project for a couple of weeks
 
nope
 
ah ok
guys, is there any way to make a method accept optional variables? For example I want a method to accept 4 different kinds of charts..
love the fox :P
 
@miniHessel overloading and delegating
 
12:04 PM
so you can't write algorithm(Optional pieChart,Optional barChart) ?
 
Optional<PieChart> pieChart should work..
but I'd rather not..
 
hmm, bad design?
 
private void markRedWhenSelected(Button button) {
someChartHere.visibleProperty().addListener(new ChangeListener<Boolean>() {

@Override
public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) {
//do something


}
}
});
}
something like this I want, but I can't define the type of chart :(
actually, it should work for all javafx elements, as all elements have a visibleProperty
 
use Control, or Node
 
12:08 PM
ita to the rescue !
that was really smart, thanks
why didn't I think of node or control :@
 
because...
 
drum roll
 
... dafaq
 
12:20 PM
a drum sound :)
 
i have to open default browser, open and close tabs from java
how can I do that?
 
public static void openWebpage(URI uri) {
Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
if (desktop != null && desktop.isSupported(Desktop.Action.BROWSE)) {
try {
desktop.browse(uri);
} catch (Exception e) {
e.printStackTrace();
}
}
}

public static void openWebpage(URL url) {
try {
openWebpage(url.toURI());
} catch (URISyntaxException e) {
e.printStackTrace();
}
}
 
@TusharTushKhush Write code.
@miniHessel wth?
 
what?
 
why?
 
12:29 PM
Opening a web page on the default browser is easy:

java.awt.Desktop.getDesktop().browse(theURI);
 
Sockpuppet?
 
It was the first StackOverFlow answer I found :)
 
Thanks a lot,,, @miniHessel
 
did it work?
 
12:32 PM
Uni = mr Fox
 
Guys, I am having problem in understanding "protected: Accessible by any class in the same package as its class, and accessible only by subclasses of its class in other packages."
The term 'as its class' is confusing.
 
Eh... Need a sketch?
 
@Mr.777 what's the problem??
 
@ita , do you have time for a javafx question?
 
12:40 PM
ohhh another cool sketch!
 
The problem is, I understood the concept, but what with the statement 'as its class'
@Unihedron yes sure
english is not my first language so....
 
neither is it mine ;)
you can only declare class members as protected.
as it's class thus means: class ItsClass { protected Object thing; }
so to say this.getClass();
 
Okay thank you.
 
@miniHessel its working great,,, but the problem is I have to close the current tab. In chrome ctrl+w close the current tab. I have to execute that hot key from java,,,
 
Wait, that's protected, not default.
 
12:43 PM
@Unihedron well.. protected was the thing in question..
 
:P
 
what are you using in java?
spring or?
 
@miniHessel In java
Process p;
p = Runtime.getRuntime().exec("cmd /c start chrome");
opens the chrome. Now I have to know how to close a current tab
 
desktop then
I dont believe thats even possible from a dekstop application
 
there's that thing called Selenium
they use this other thing called Chrome Adapter
you might want to connect to chrome using this adapter and then send the Keycombination over that..
 
12:47 PM
is it a api? library? or other things?@Vogel612
 
it's a binary..
 
ok,, lt me search it,,,
 
thanks for the effort @Uni
 
12:54 PM
@miniHessel What is not possible?
 
to close a web browsers tab?
 
Ctrl+F4 closes the browser tab (current opened tab)
 
Ctrl+W does too..
 
and Ctrl+Shift+T undoes the closed tab ;)
 
undoes*
 
12:59 PM
@Unihedron :D
 
how can I execute Ctrl+Shift+T in java
I know these commands
 
ehm ita, isn't sort by in tableview working with ints ? o.O
 
~JavaBot, at your service
 
1:44 PM
Hello Bots! :D
 
...
 
i guess that was a bad joke. *flies away
 
you're not a bird...
you can't do that..
 
col.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<ObservableList, String>, ObservableValue<String>>() {
public ObservableValue<String> call(TableColumn.CellDataFeatures<ObservableList, String> param) {
return new SimpleStringProperty(param.getValue().get(j).toString());

}
});
could this be written in a more understandable lambda expression?
 
It's not a lambda expression.
 
1:52 PM
converted* then..
 
should be possible..
it's a simple map function...
 

« first day (1490 days earlier)      last day (3452 days later) »