« first day (1513 days earlier)      last day (3429 days later) » 

4:00 PM
You know my age?
I am 67 years old
 
No?
 
@Mr.777 I am going through the readme
 
@Mr.777 Are you serious?
 
@ItachiUchiha Oh okay, wrong assumption
@Gemtastic No I am not
:P
 
@Mr.777 Then how old are you?
 
4:01 PM
@Gemtastic 27
 
I bet you're younger than me T_T
Ooh
Actually not
Yaay not oldest
 
@Gemtastic ;) You lost bet
 
Kylar is oldest, no exceptions :p
 
What;s his age?
 
Ugh, I need my address details...
And... I kind of regret doing the drunk naming method
 
4:02 PM
I'm 124. Beat that.
 
@Unihedro Nope. @Joe'sMorgue is the oldest here.
though Kylar beats him when it comes to Java :P
 
More than half of my life has been spent doing coding. Beat that. :p
 
Hi Everyone!
 
Hello :)
 
Hello to you too :)
I am stuck with an SQL query, can someone help?
 
4:06 PM
Which SQL database?
 
id | name | other cloumns
10 | abc |
9 | abc |
8 | zx |
7 | tv |
6 | tv |

I want to sort id column in ascending order based on its descending order
id | name | other cloumns
9 | abc |
10 | abc |
8 | zx |
6 | tv |
7 | tv |
 
I have no idea which folder contains my address details (windows laptop environment, so traditional file explorer)
 
I think it does not depend on any SQL, it is MySQL
 
@LifeH2O try: select * from tablename order by name asc, id asc
 
@Unihedro no name has nothing to do with it, it is only serving the purpose of grouping
 
4:08 PM
@Mr.777 continue
 
?...
 
Hey guys, i'm trying to create a hamilton path between cities and i found this thread: stackoverflow.com/questions/22929352/… (it's python, but that's not the question here). Highest rated answer is to find all the permutations and find then if some of them are hamilton paths
what is meant by permutations here?
 
What do you mean grouping?
 
permutations are permutations..
 
4:09 PM
i know what permutations mean, just don't understand which permutations
:D
 
fge
@charen uhm, why not use JUNG for instance?
Or jgrapht
 
> A permutation is an arrangement of objects into a particular order.
 
fge
Both have algorithms built in for that kind of stuff
 
I have to create my own algorithm
 
fge
Huh
 
4:10 PM
~why no homework
 
:D
 
the id column has to be sorted in descending order, then based on name column they should be sorted in ascending order. rows with abc should be sorted in ascending, then zx then tv
 
I've created spanning tree and i know that hamilton path is not bigger than the length from spanning tree
 
@LifeH2O Is that even possible?
 
@Ita So I am given the task to seek the mechanism to avoid CharBuffer duplication
 
4:11 PM
Why not create an iteration?
one second, SQL cheattable is loading
 
I read in files from this .csv document which contains all the lengths between all the cities in Estonia
 
@Unihedro it must be, I have shown the example output. But I don't know how can I
 
@Mr.777 and where exactly is it getting duplicated?
 
@ItachiUchiha TextCache.java
package com.github.fge.largetext.load;
 
4:13 PM
I need to put the movie on pause
 
chatting > watching movies
 
@Unihedro anyways, if i have three cities:
A: {(B,2),(C,4)}
B: {(A,2),(C,5)}
C: {(A,4),(B,5)}

What would be the permutations from here?
 
I need to sort in Ascending order, then find max id of each group and then sort each group in descending order ??
don't know if that will work and how
 
fge
@LifeH2O you have a problem to start with -- a relation (ie, a table) has no notion of order, so while you get abc, zx and xy now there is no guarantee at all that subsequent queries will return those three in the same order
Sorting is not a relational operation
 
4:21 PM
SELECT * INTO #Data
FROM tablename

DECLARE @Result TABLE (id int, name varchar, ...)

DECLARE @Array TABLE (id int, name varchar, ...)

DECLARE @Name varchar

WHILE EXISTS (SELECT * FROM #Data)
BEGIN
  SET @Name = (SELECT TOP 1 name
                   FROM #Data)
  SELECT * INTO #Iterator
END
I give up, your task is ridiculous.
13 mins ago, by Unihedro
@LifeH2O try: select * from tablename order by name asc, id asc
^^^^^^
 
@Unihedro it is ridiculous ... [smiles with tears]
 
@Mr.777 I guess you will have to throw more pointers to me. The class has too many dependencies that I am not aware of.
 
@ita from fge "Right now it uses a Guava LoadingCache which is good enough, but it won't avoid duplication. In short I need a refcounting CharBuffer "
 
Or, I must fork the project and run it for a better understanding
 
SJD
4:24 PM
Hey, umm.. have a question regarding JavaFX
 
Welcome aboard, @SJD!
 
@SJD shoot
 
SJD
Does anybody know how can I access UI element in controller?:D
 
Hack the runtime.
 
@SJD what do you mean by access?
 
SJD
4:25 PM
I've seen that I should create a local scene.. and try take the proper node by it's id?
 
@uni Don't play with the new kid :P
 
SJD
I mean, I have an element in UI, and inside the controller, once I hit a button I need to change a color of a circle.. and I need that circle instance
 
=shutdown
 
Shutting down. See you later.
 
@SJD Correction, its fx:id
 
4:25 PM
You're no fun.
 
SJD
yeah that's right itachi
 
OakBot Online.
 
@fge The problem is that each group should be sorted asc while the group themselves should be desc
 
=http 200
 
@Michael I don't know that command. o_O
 
4:26 PM
@LifeH2O select * from tabelname order by name, id asc
 
Shutting down. See you later.
 
@SJD How are you changing the color of the circle?
 
SJD
@ItachiUchiha well that is what I'm trying to figure it out..
 
In the controller you write:
@FXML
private Node node; // node is the fx:id, Node is the type (button or textField etc)

@FXML
//Based on the on-action selections
 
SJD
I need that Circle's instance in order to access its fields
 
4:27 PM
Ok, so do you have the circle in the fxml?
 
SJD
yea
For instance have this one:

<Circle fx:id="Led_green" fill="#47ff1f" layoutX="28.0" layoutY="349.0" radius="8.0" stroke="#2fc605" strokeType="INSIDE" />
and also : <Button layoutX="290.0" layoutY="335.0" mnemonicParsing="false" onAction="#refreshClicked" prefHeight="28.0" prefWidth="103.0" text="Refresh Status" />
so when I hit that button I need to change circle's color
 
OakBot Online.
 
=http 200
 
@Michael HTTP 200 (OK): The request has succeeded. The information returned with the response is dependent on the method used in the request, for example:
 
:D
 
4:29 PM
@FXML
private Circle Led_green;

public void refreshClicked(){
    Led_green.setFill(Color.RED);
}
 
In the controller you write:
@FXML
private Circle Led_green;

@FXML
private void refreshClicked(){
//Dostuff
}
 
Off to lunch. Later all.
 
Nice noms
 
Nope, can not order by name.
I want to do convert [10,9,8],[7,6,5],[4],[3,2],1 to [8,9,10],[5,6,7],[4],[2,3],1
 
Cya
 
4:30 PM
@Gemtastic You are fast :P
@Michael c ya
 
Bye Michael
@ItachiUchiha I learned a lot ^^
 
@LifeH2O That's exactly what the code does...
 
@Gemtastic I bet you have ;)
@SJD hope things are clear
 
@ItachiUchiha almost feel like a FX pro
;P
 
haha, good for ya ;)
 
4:31 PM
Well, I had a lot of good help from you @ita ^^
 
The pleasure was all mine :)
 
:)
Well, now I can pay it forward :)
 
SJD
@ItachiUchiha and @Gemtastic awesome!!!!! Thanks a lot!!
 
@SJD Np ^^
It's nice to be able to help someone and not only recieve help
 
SJD
But, really can't figure it out why I need to add @FXML always before a node and can't declare it inside the event method?
 
4:34 PM
@Mr.777 I have no idea about the Guava Caching :/
 
@ItachiUchiha Neither do I, unfortunately
 
Ugh, paypal wants to charge me fees.
 
@Gemtastic I leave the question to you ;)
 
FINE!
 
@SJD Yeah you do, it's kinda to invoke that you're using the FXML
 
SJD
4:35 PM
But, everything is clear. 10x a milion !
 
You're telling the controller that the code is related to the FXML file
 
Or, in other words, it binds the fields declared with the @FXML annotations in the controller with the FXML file and loads the attributes declared for them in the FXML file into the controller
 
:)
 
SJD
yeah, got it guys, thx again
 
@Unihedro It does not. I tried.
 
4:44 PM
oh. Then I have no idea. Sorry.
 
fge
[14/12/2014 17:40:46] <ron> javabot: fuck you
[14/12/2014 17:40:46] <javabot> you couldn't afford me, sweetie.
Heh
 
@Unihedro Thanks for trying. Need to find a SQL guru
 
4:58 PM
Hi
hi..
 
fge
@LifeH2O an SQL guru will tell you the same thing as me
A relation, ie, a table, has no notion of order
And you rely on the order in which your rows are returned before you sort
That cannot work
 
@Outofmemory hello
 
Whats up ?
 
Hello @Outofmemory :)
 
@Outofmemory eating
 
5:03 PM
Hi @Outofmemory
 
Multi Threadding huh ?? Eating and chatting at the same time ;)
Haha
 
indeed
And running my GUI in the third thread ;P
 
A small basic doubt in Java... Please bear with me as I am a beginner
My question is What does a Classname.Class mean ??
For Ex: If a class name is Helloworld..then what does Helloworld.class mean ?
 
Hi
 
I LOVE being able to multi-crash!
 
5:09 PM
@Outofmemory I'd like to answer that but I'm not sure my understanding of it is correct
 
Please tell me
 
I don't know if Classname.class has much sense.. maybe you mean Classpath.class or Classname.method ?
 
Well HelloWorld.class is referring to the class HelloWorld, not an instance of the class
 
Actually i saw this in Android code.. so was wondering if the same exists in Java....
 
Yes it does
 
fge
5:13 PM
There's a major difference between Android and Java though
 
Thanks for explaining that...
 
@fge Yep. And that's why we don't do android in here :P
 
I mean both do share the same syntax...
 
fge
@Outofmemory not really; for instance, Android only supports up to Java 6 language level
 
I won't have my Android course 'til march
 
fge
5:14 PM
What is more, and that's the main difference, the VM it uses doesn't generate the same bytecode as a "real" Java VM
 
So I know nothing about android
 
Oh I c..
Thanks for making this understand to me
@fge Do you work in a software company ??
 
fge
No I don't
 
Anyone can suggest me where to learn Spring? I'd like to use it with struts2 and hibernate..
 
@fge I just saw your reputation on SO...Awesome where did you learn this much
@Renny - javatpoint.com
 
5:16 PM
@Renny Spring Tool suit is supposed to have tutorials, but they suck.
IMO at least
 
fge
@Outofmemory time, my friend, time -- and the fact that I am not reluctant to reading and learning by myself
 
@Outofmemory ooh, I'm gonna look into it
 
Thank you
 
@fge - So how much hours do you spend on learning ?
 
(*many)
 
5:19 PM
@fge I have to sort after the rows are returned. I can have another column with same value as id. Someone who has a lot experience with databases is trying ....... since 20 minutes.
also he told me the same thing, that values are sorted later
 
ok Guys .. I have to leave BYE !!
 
Bye
 
fge
throw new OutOfInspirationError();
 
XD
 
We're live!
 
5:30 PM
ooh
 
And dev.javaroom.website might be online soon. Free FTP accounts if it does.
@fge I can have you a binary scrap of the wikia documents on the site later :D
 
fge
@Unihedro what do youmean?
 
I don't know.
Night!
 
5:46 PM
@Uni night
 
 
2 hours later…
7:42 PM
I posted an issue on this libraries github issues, it's about his inclusion of logback.xml in the jar. The maintainer hasnt responded yet but I am just checking if I am right in my assumptions and further asking if there is anything I can do in the meantime.. github.com/jamesdbloom/mockserver/issues/89
 
7:56 PM
Hey everyone quick question, has anyone used codemirror before? or something similar? I want to create a site where users can code and see the end result but I need some guidance with it
 
Hello.
Using Netty 4.X
channel.write(5);
channel.close();
Will 5 be sent before close?
 
fge
@BenBeri yes
 
ok ty
(assuming i also included flush :P)
 
fge
8:12 PM
@BenBeri close() will flush for you; but of course you can flush before
 
 
2 hours later…
9:42 PM
hi, is anyone else coding on Sunday?
specifically, someone who uses dagger
 
fge
I don't use dagger, no
Hmmm, makes me think that I might make use of DI in my current project
 
10:28 PM
private final String name;
Class<? extends Shape> cl;
This doesn't seem like valid code....
 
fge
@Joe'sMorgue why wouldn't it be valid code?
@Joe'sMorgue talking about Class<? extends Foo>? That's a pretty common way of enforcing type safety at the compiler level for class objects
The JDK has many methods like this
 
11:07 PM
@MLProgrammer-CiM Yes.
 
11:32 PM
@Uni you still up? Didn't sleep?
 
11:54 PM
I'm trying to do something with JPanels. How do I make it so I have multiple JPanels "on top" of each other but not in each other so that I can set one visible at a time
The layouts are screwing everything up for me
 

« first day (1513 days earlier)      last day (3429 days later) »