« first day (1496 days earlier)      last day (3428 days later) » 
05:00 - 14:0014:00 - 00:00

ASR
5:14 AM
hi all
 
6:01 AM
Hiii
 
6:21 AM
gm
 
sb'
6:33 AM
.
 
hello @sb' ... how you doing ?
 
6:51 AM
@ItachiUchiha @ItachiUchiha uhh... facilitate easy transfer of data between DB and application?
 
 
1 hour later…
8:10 AM
~JavaBot, at your service
**eval:850 / (40 * 4)
: 5.3125
**eval:5.32 * 69
: 367.08
 
Greetings.
 
Greetings..
 
8:45 AM
morning
 
9:42 AM
Morning!
 
9:55 AM
'sup Uni`?
 
all is well
 
That's good
 
:D
 
I'm a little stressed >_> I want to finish my FX application doday but I dunno if I can make it :/
 
:o
Good luck!
 
9:57 AM
I don't feel as confident about JavaFX as I did the first course :/
 
Meh, it's not really that difficult. As you said, JavaFX makes everything really easy.
disclosure: I'm not affiliated with this site.
 
I know, I just don't feel as confident
 
Well, don't worry about it. It will all be fine!
 
> 9. Learn Other Programming Languages
Add Java Script, CSS, Ruby and HTML to your skillset. W3school and CodeAcademy are there to help.
 
Such a crap article, right?!
 
10:10 AM
... meh the headlines are good
the rest is brutal crap
 
Is the bot running? I'm doing maths homework.
 
@Gemtastic Why is that?
 
@ItachiUchiha I dunno, feels like what I'm doing is crap :/
 
What exactly are you doing?
 
right now I'm trying to figure how to set an image as the background >_> I'm not doing it right with the path
 
10:25 AM
@Gemtastic Are you using css?
 
yes
 
@Unihedron last time I checked it still ran..
 
use '-fx-background-image: <URi>'
 
**eval:"rnd"
: rnd
 
:D
 
10:27 AM
@ItachiUchiha I am, but it's the path to the image I'm aparently not getting right
 
where is the image ?
and what path are you using?
 
src/main/resources/images
/resouces/images/imagename.png
the css is in src/main/resources/projectname
 
src/main/resources/ is the folder in classpath
so you can use -fx-background-image: url(../images/imagename.png)
 
**eval:384/8
 
10:32 AM
**eval:14%1
 
or you can use -fx-background-image: url(/<path to project resources>/images/imagename.png)
 
@Unihedron did you really need the bot for this??
 
lol, maybe
> Year 645, Winter: Black rain is falling over the village
wtf
 
Nope :(
 
10:40 AM
9 mins ago, by ItachiUchiha
so you can use -fx-background-image: url(../images/imagename.png)
will work
 
It doesn't
 
Do you have the code on git or can you create a GIST ?
 
There's no code to speak of
just an fxml and a css file
<AnchorPane id="AnchorPane" prefHeight="400.0" prefWidth="600.0" styleClass="mainFxmlClass" xmlns:fx="http://javafx.com/fxml/1">
    <stylesheets>
        <URL value="@doghead.css"/>
    </stylesheets>
</AnchorPane>
 
are you loading the css directly into the fxml?
where is the css file located?
 
Css:
#AnchorPane{
    -fx-background-image: url(...images/bgimage.png);
}
Same folder as the fxml
 
10:43 AM
-fx-background-image: url(../images/bgimage.png);
this is the correct statement
 
Still nothing
Wait, now it worked
Thanks Ita ♥
 
4 mins ago, by ItachiUchiha
will work
 
urk... paths...
 
@gem did you understand how the path works?
 
Yes, I think I do. It's just been so long since I worked with them
 
10:50 AM
Hi
 
@Gemtastic ok cool. Just lemme know whenever you are stuck with anything
@fahdijbeli heya
 
by default if I don't precise the accessor in interface it will be public ? for example :
public interface DocumentRequestViewConstants {

     String DOCUMENT_REQUEST = "documentrequest";


}
 
@ItachiUchiha Thanks :)
 
so this attribute it will be public static final ?
by default
 
10:52 AM
and for class instead public it will be package ?
by default
 
package? y?
 
well it will be default...
 
in class if u don't indicate for an attribute "public" "private" ...
by default it will be package
 
which is sometimes also called package-private
 
ok
thank you all
 
10:53 AM
No, public static.
 
@Unihedron for classes..
not interfaces..
 
Oh.
 
@ita how do I write the unicode for the copyright symbol?
 
@Gemtastic Javadoc: &trade;
Otherwise, search for the symbol and copy-paste it.
 
@Gemtastic I got it on codepoint 153 -> â„¢
 
11:00 AM
@Unihedron that's for TM I want the &copy; sign
 
<Label text="&#169;"/>
use this
 
@ItachiUchiha Taht's what I was looking for :)
 
Oh. That's probably not an html entity, so use \u0169.
 
This has been a really helping community since few days ;)
 
@ItachiUchiha lol, never knew that works :P
 
11:01 AM
@Unihedron It will work :)
 
TIL: &(hex);
 
Thanks Ita and Uni. Uni's version was the one I was looking for, provided it will work :P
 
@Unihedron hex?
 
How you people like this? mawersoft.co.uk/clients/Unihedron/about
@Vogel612 or denary
give or take nine characters
 
@Gemtastic :S
@Unihedron I like this "Due to the low volume of e-mails I get, if you send me a email message, you actually will get a personal reply!"
:D :D
 
11:04 AM
Hand written CSS on that page because CSS is fun.
@ItachiUchiha :D :D
 
Is this BootStrap?
 
It's all in one html.
 
@Unihedron I had and still have very difficult time with css :(
 
Pfft... Putting the \u0169 in the lable text crashed scene-builder XD
 
specially javafx css (cz of less data available on9)
@Unihedron I had and still have very difficult time with css :(
 
11:05 AM
:(
I'm going to add some javascript so the top bar looks more entertaining.
But until then, to code JCE!
 
&#169; worked though.
 
Great!
note to self: javafx is weird
 
I'm one of those that don't wanna paste the symbol itself into the text since there may be encoding issues
 
Someone should pay li'l more attention to what I say :P
 
It's not JavaFX it's xml :P
 
11:07 AM
@Unihedron It is very closely related to HTML and Java
 
@ItachiUchiha I will trust you above everyone now master Ita
 
attention wh- choke choke cough
 
@ItachiUchiha funny enough, &copy; didn't work :P
 
@Unihedron Time to take your Medicine
 
Speaking of medicine.. I should take my thyroid meds >_>
Now for the fun with pagination
I can't wait for the next update btw. Changeing the window icon is gonna be simpler :3
 
11:20 AM
Try &(c);! (just kidding... 'd be surprised if it works)
 
Actually @Uni you are right, since FXML gets converted into Java code "\u0169" should have worked
Its quite bizarre that it doesn't
 
scene-builder sucks. Netbeans if I recall?
 
Scene Builder has nothing to do with NetBeans
 
Scene builder has nothing to do with netbeans, but they work well together
Scenebuilder is oracles own tool
 
yeah, but it is far better than NetBeans :P
and it sync's well with Eclipse and IDEA as well
 
11:30 AM
it probably does, else they wouldn't have it :P
 
Well, don't know much about that. I don't really do JavaFX. :P
OpenGL ftw
 
I guess since FXML is basically extended version of XML, so it takes the XML encoding technique
 
That's what I was taught that it did
 
@gem did you try "\u0169" by loading the FXML into an application?
coz "\u0169" works with Label label = new Label("\u0169");
 
@ItachiUchiha It probably works in the normal java code, but in the FXML it doesn't
 
11:38 AM
maybe you have to escape the first backslash.
 
@Vogel612 I think it's because it's xml it wants the webb version of the character, like &#169;
 
the XML can go **** itself IMO..
that's for XML in general.
 
YAML rules.
 
@Vogel612 I actually don't mind XML
@Unihedron YAML sucks.
 
*ML sucks..
~food
 
11:44 AM
... Hey, what about HTML?
 
@Vogel612 Blasphemy!
 
12:04 PM
The problem is not either FXML or XML or YAML. The reason I am stunned is FXML when gets loaded, it gets converted into Java.
So <Label text="\u0169"/> will become Label label = new Label("\u0169");
If the latter works when directly written, why not when it gets converted from FXML :S
 
@Ita, how do I set the bg fill to transparent? I have an anchorpane with a bg image, but I don't want there to be any fill behind the image
 
-fx-background-color:transparent
 
Thanks a bunch!
 
12:20 PM
@ita yo man :)
how you doing?
 
12:32 PM
Hey guys
i'm having trouble
LineChart from JavaFX works in the way we need in my computer but not in my friends computer
could someone explain where the difference comes from and how to change it?
 
ask him to try to update java
compare your JDK versions
 
@miniHessel M good
@charen what's the diff?
 
@charen there are several bugs with the charts in the latest U25 version
@ItachiUchiha I'm good now, finally got the rowMessages to work as I want.
 
@miniHessel Which way did you finally did it?
 
@ita is there any simple way to get the tablecell from a tableview on the click?
 int originalRowIndex = dataen.indexOf(tableView.getSelectionModel().getSelectedItem());
                label.setText(rowMessages.get(originalRowIndex));
by using indexOf :P
 
12:36 PM
Do you need the TableCell data or its ref?
 
I need the Node
TableCell Node
because when I use popup.show() it takes a Node as a parameter. The node it gets, will define where it should show up.
 
Hi everyone!
 
Hi..
 
hello
 
@miniHessel You will get TableCell nodes
coz in one row there are multiple TableCell nodes
 
12:41 PM
ye, that's great
how ? :P
@uni ready for chess ?!?!?
 
tableview.getSelectionModel().getSelectedCells()
 
@miniHessel Sure, bring it!
 
chess.com?
 
That site is broken in so many ways. Let's use lichess.
 
but that doesn't return the TableCell object, does it ?
im online
or perhaps it returns a List<TableCell> ?
 
Talking about games... how many games have you buy on Steam with the new offers? xDD
 
@korima Not a gamer, I don't do video games. :)
 
It will return you ObservableList of TableViewSelectionModel
i guess
 
You'll see me enjoying in-browser javascript games, chess, minesweeper, sudokus and weird games like that, but I dislike Steam. It's suboptimal in so many ways.
 
But these offers are very tempting
 
fge
12:47 PM
Huh
 
Not when you consider how you'd place them in a corner after you beat them. Video games are obsolete more quickly.
 
fge
I've just learned what -XX:UseCompressedOops does
 
My $0.02.
@fge ??
 
@Unihedron it really depends on the game IMO.
it's somewhat like movies or books
 
Some movies are greater than others.
 
12:48 PM
some books are worth reading multiple times
 
Yep, I agree wholeheartedly, as one who likes reading books.
 
some aren't worth reading more than once, and some aren't worth reading at all
games are ... at the very least similar.
 
I think too. Each Christmas I play Zelda and Monkey Island games. xD
 
Yay zelda!
 
Always reminds me my childhood
 
12:51 PM
hello, sry, little offtop, but need quick answer: in IT higher entropy means more information or the opposite?
 
neither actually.
 
What does mean IT?
 
Information Technology
 
@Vogel612 what do you mean?
 
@mrpyo well in the "common" interpretation of information.
Entropy usually describes a state of unorder
as such it doesn't have more or less information than any other state
 
12:54 PM
My highschool is to basic for that concepts :S
 
more Entropy -> less order
more "information" allows for more entropy
and that is what encryption and the like are all about
the larger your key, the more possible states it has
and that in turn means it has more "Entropy"
 
Ugh, so much white!
 
@Unihedron oh, sorry...
 
well it can be also considered that less order means less patterns, patterns can be compressed, so the less patterns you have (the more disorder) the more bits you need to contain that information
i mean message not information
 
you can edit your last message with Arrow-Key Up. Just like this
 
12:58 PM
thx
 
ok I guess we shouldnt discuss it here anyway, it's java chat after all
 
what IT are you in here...
 
Or you could learn more about it before you ask..
 
it's actually just fine for this room...
 
12:59 PM
^
 
but I am not sure whether you and I are talking about the same IT..
 
it - information technology
In information theory, entropy is the average amount of information contained in each message received. Here, message stands for an event, sample or character drawn from a distribution or data stream. Entropy thus characterizes our uncertainty about our source of information. (Entropy is best understood as a measure of uncertainty rather than certainty as entropy is larger for more random sources.) The source is also characterized by the probability distribution of the samples drawn from it. The idea here is that the less likely an event is, the more information it provides when it occurs. For...
"amount of information" - so something that can be larger or less I think...
on the other hand it's wiki so not reliable
 
> Entropy thus characterizes our uncertainty about our source of information.
> The idea here is that the less likely an event is, the more information it provides when it occurs.
--> more entropy -> more information
at least when taking these two statements as premise, but EH
 
but previously you said its neither
I mean I got "more entropy -> more information" from this article too but is it trustworthy?
 
Now that I have remembered, the fact of lunch an app (like Twitter) from my app, is it considered bussiness logic? I have this files on models dir and I'm not really sure...
 
1:08 PM
it's wikipedia...
check their sources..
look into the edit-history..
 
Game of chess anyone?
 
I must go but I would like it
 
aww
 
@Unihedron aaand I'll lose..
but okay
 
:D
My internet is spiking all of a sudden..
 
1:23 PM
ready
 
@uni important phone call :/
 
lol
 
@ItachiUchiha javafx.scene.control.TablePosition cannot be cast to javafx.scene.control.TableCell
 
1:58 PM
Good morning, Java!
 
Morning, @Michael!
 
Hey @Uni!
 
05:00 - 14:0014:00 - 00:00

« first day (1496 days earlier)      last day (3428 days later) »