« first day (1541 days earlier)      last day (3399 days later) » 

fge
5:00 PM
So did I
 
Resizing the window works wonderfully
 
fge
Ohwell, that's a "minor" problem at the moment
 
but I do get scrolls when I resize the splitpane
 
fge
Never tried that
Ohwell, Linux specific bug, maybe
Nevermind, I need to work on my tree
And I need to personalize the cells too; great :(
I am veeery far from being done
 
<- OpenGL user enjoying the commentary
 
fge
5:04 PM
@Unihedro OpenGL doesn't have widgets :p
 
@fge Is that an issue?
 
fge
@ItachiUchiha well, I'd prefer if they didn't when there's no text in it
But right now I have a more serious issue at hand
Filling that tree!
 
The text are is a content in its own
 
fge
And when I click on a tree item I want info to appear in the area below
Weee
 
Isn't it better if you use a label for that?
 
fge
5:19 PM
@Gemtastic a label for what?
 
@fge for that
 
fge
@Gemtastic then I'd need to know how to make "label" TreeItems
Right now, not a clue
(hey, I have started this app less than 24 hours ago and I never did GUIs in my entire life before)
 
It's just as easy if not easier than applying it to the text area O.o
the text area is for input
 
fge
Well, we'll see to that when I get what I want done first
 
you just write
@FXML
private Label label

//code for pressing the treeview objects:
label.setText("Text in label");
 
fge
5:31 PM
Hmm, I wonder whether I should create fxml files for tree items
(one fxml file, that is)
 
@ItachiUchiha works when not using eclipse.
for whatever reason..
 
@Vogel612 Same error with eclipse?
 
yes
 
A bound value cannot be set ?
 
correct
Exception in thread "Java FX Application Thread"
 
5:34 PM
Strange.. That fix on new branch should have fixed the issue
Did you faced the same issue on maven earlier as well?
 
yes earlier
but not now
the fix works when called with maven
from CLI that is
when I have eclipse run the very same line, it borks
mvn clean compile package exec:java...
 
Did you clean the project?
 
Errr.... eclipse
I have recently started hating you
 
@Gemtastic hmm no... not yet
 
@Vogel612 When error appears in application, try cleaning it. That's the issue I have when working with FXML
 
5:43 PM
nope.
still blows up
 
going to sleep earlier tonight, seeya!
 
@Unihedro good boy. Night
 
'night
 
6:04 PM
Hi guys, how do you think, does Java Complete Reference guide by Schildt provide enough knowledge to pass an Oracle Java SE exams?
 
I have it but I never read it embarrassed
 
I just try to calculate amount of time that I need to learn language at level enough to pass an exam and get oracle certificate...
 
fge
@Mike why? Code talks
 
I fear that I need to read and understand at least a small library. xD.. Or I'm wrong and one book just may be enough
 
fge
No, a book will never be enough, tens of books will never be enough
You may know ten books by heart, that won't help you connect the dots
 
6:08 PM
Yes, sure code talks but certificate may play a good role if u try to get work permission
 
fge
And the only way to connect the dots is to code
 
You want to say that Java is that hard that one book can't cover the key aspects?
 
fge
The language in itself is not as easy as C
C is VERY easy
But "key aspects" are a pretty vague notion
You can learn the language in a matter of days
 
There is no limit to perfection but I guess there must be a fixed amount of "knowledge".
 
fge
That won't make you a programmer!
 
6:13 PM
@fge it isn't...
and I think java is easier than C.
 
fge
@Vogel612 yes it is; you don't even have 30 keywords
 
mostly because you don't have to mess with memory reservation and pointer arithmetics
 
fge
What is hard is programming in C
 
And Oracle Certificate is that hard that only Programmers can pass it?
 
fge
The language itself is a piece of cake
 
6:14 PM
@fge point taken
ohh messages are in the 20M now?
I didn't even realize...
 
fge
@Mike no idea, I don't have any Java programming certificate; I only have an Oracle RDBMS certificate
 
Certificates? Why don't you go the proper route, learn to code, do code, collaborate code and master code? There's no shortcut to moon. You may have a spacecraft, but people who can fly still gets wherever they want.
 
Something like this
 
You'll only find yourself wasting your own time when you go to a desk.
 
Unihedro, yes I will code and I know how practice is important, but certificate can proof a piece of my knowledge.
 
fge
6:17 PM
@Mike but Github projects show even more; as I said: code talks
 
... Which you have or not? That's my point. Code first.
 
@Mike The point is; we don't have the certificates because we don't need them. They are only for you.
 
The proof kicks in itself later.
 
fge
I have no diploma but a slew of projects, some of which are successful, even
 
Guys all of you are absolutely right, I just was about to imagine how hard is to get such a certificate, does it require 10 years of practice or one book will be just enough, that's what I mean
And as I said this certificate can be useful at embassy when u try to get work permission.
 
fge
6:18 PM
No idea; but again we all believe you are setting yourself a wrong goal
 
It depends on how good you are at learning, how much you commit and engage in development, the effort and coffee...
 
@Mike We don't know since we don't have them
 
Or need them
 
Ok I got it, thank you.. Can you please give me a short advice how should I start to work with github? I mean I know what is it in theory but I don't even know how to start work with it and use properly.
 
I prove my experience with solid experience.
 
6:20 PM
YouTube tutorials or there is something better?
 
Git, Gits or GIT may refer to: == Entertainment == G.I.T. on Broadway, a 1969 live television special Feathers in the Wind, (깃, pronounced and sometimes transliterated as Git), a 2005 South Korean film Ghost in the Shell, Japanese cyberpunk manga == Language == Git (pronoun), the second-person, dual, personal pronoun (nominative) in Old English Git (slang), British slang for a contemptible person Gitxsan language (ISO 639-3 code: git), a Tsimshianic language of northwestern British Columbia, Canada === Music === Git (album), by Skeletons & The Girl-Faced Boys G.I.T.: Get It Together, ...
 
And also, what uni said. My teacher got his in 3 months, but he knew another language before and only studied 100% of the time for those months.
 
wow...
 
fge
@Mike if you want work in Java, uh... I have plenty of tasks
 
@Mike First things first: Never rely on video tutorials unless they are from official sources.
 
fge
6:21 PM
Some of which are not for the faint of heart
 
"Crash course to Java and OOP" - eternal grave right there
 
It would be very nice to help you with it, but I'm not sure a person who just read about do-while, can be useful at anything...
 
fge
@Mike buy, and read, "Thinking in Java"
It's a pretty nice book
And then "Effective Java", and then JCIP
 
One moment let me check one book title I've a question about
 
fge
<-- goes back to coding
 
6:24 PM
Joshua Bloch - Effective Java
 
You may be interested to pick up a handful of reads to familiarize yourself with the entire "coding and learning productively" goal, which is ultimately what you're trying to achieve. Also, make sure you know how to use a computer first. If you don't, it's not too late to fix that.
 
Ah that's what you have just wrote, right?
 
Effective Java, Java Concurrency In Practice, two must-reads I recommend
 
Oh okay, thank you very much guys I will follow this route.
But about github, can you advice any tutorials or manuals?
 
Tutorials on using github?
 
6:26 PM
Yes.. shame on me
 
It runs git, that's pretty much all to worry.
I linked the Wikipedia post, though theres a manual.
 
Ah okay.. I will read it.
Thank you :)
 
Does it make sense to use git on local PC if I'm coding alone?
 
Of course.
 
6:29 PM
I thought it's for a small and large business
 
Nope.
 
Can you advice this service try.github.io/levels/1/challenges/1 ?
 
Type in the "terminal box" on the site. It's pretty interactive. You'll get the hang of it quickly.
 
So you use git at your local machine through console?
 
The terminal, yes. There are GUI clients for manipulating with git, but I stopped using them.
 
6:36 PM
Ok, I see.. I think I already know what I will try to install at next weekend... Thank you very much.. I note a books down too.
 
This conversation remains in the transcript forever.
 
How do you mean?
 
Ah, really?.. nice.
Are there any communities where people post their code and try to help each other to learn it better. I mean each one try to improve code of another just in education purposes?..
 
loudly coughs
 
6:41 PM
OMG thank you!
 
@Unihedro don't give him strange thoughts..
 
And... This chat room :)
@Vogel612 :| CG ftw
 
meh...
obtw, I hear that recently you had a High-Rep RQ over there?
 
But it's a bit indecently to waste your time for a noob codes review like I write at this time :))
 
6:42 PM
Loki went away?
@Mike you sure?
 
Meh
 
there is an extra tag...
 
I see.. Are there any friend system?
 
what do you mean by that?
 
No you cannot add people as friends
 
6:46 PM
Ok..
 
ohhhhh... well It's a SE site, so that's a given..
 
This is a Q&A site, not a social network
 
^^ that.
 
We're here to learn, not to push things personal
 
fge
WOOHOO
Complete parse tree!
 
6:49 PM
Ubuntu Linux?
 
yaay
 
cool.. xD
 
fge
Now I need to link a TreeItem's highlight event to displaying match details in the area below
 
Oh you finished it all in two days @fge?
 
fge
@Unihedro you call that finished? :p
 
6:51 PM
Is it your work or you are coding it in education purposes?
 
coup de grace
 
fge
"grâce"
 
@Mike fge works on grappa, an open source, incredible parser generator
 
I don't understand why is maven creating target/classes/main/resources/..
 
Among other projects, this GUI puts debugging and testing into a whole new era
 
fge
6:52 PM
@ItachiUchiha well, to copy resources
(provided there are any)
 
@fge but why main/resources ? Aren't they supposed to skip.
 
fge
@ItachiUchiha standard layout, don't ask me why
@ItachiUchiha also, there are test/resources
And why would you skip them?
 
@fge The standard is src/main/resources
 
You can change it in maven configs
 
fge
Yes, but that's the build tree you're looking at here
Not the source tree
 
6:54 PM
yes and the build tree should have the data contained inside main/resources not the main/resources as directory
 
fge
@ItachiUchiha wait, do you mean to say that there are no resources whereas there should have been?
 
src
     |
     main
           |
           resources
             |
           a.png
           b.png
^^ if i have something like this
it should create
target
      |
     classes
       |
       a.png
       b.png
where as what I get is
target
      |
     classes
       |
       main
            |
           resources
               |
              a.png
              b.png
^^ why this ????
 
fge
@ItachiUchiha because 1. you also have classes/test, 2. that's how maven does it
Oh, wait, you don't have tests yet?
Hmm?
readies the sledgehammer
@ItachiUchiha and anyway, that won't prevent the jars from being correctly generated
 
@fge well they don't but they give me error, when I try to run them X-(
coz of obvious reasons
 
fge
And the error is...?
 
7:01 PM
Well I am loading the css from the resource folder, so it gives me a NullPointerException for scene.getStylesheets().add(getClass().getResource("/css/home.css").toExternalFo‌​rm());
The error gets fixed if I use : scene.getStylesheets().add(getClass().getResource("/main/resources/css/home.css‌​").toExternalFo‌​rm());
 
fge
Eh? It's your way of running the stuff that is bizarre
 
^^ But, this is not the way maven is supposed to behave X-(
 
fge
Well, I don't do maven so I can't help further, but I'm pretty sure the problem is not with maven itself
Maven sucks, use gradle
 
lol
 
@fge what is bizarre?
 
7:04 PM
@ItachiUchiha using 'main/resources' in relative path
 
@Unihedro that does fix the issue, but that is not the way maven is suppose to behave
 
fge
OK, so, now, how do I change the "contents" of a TreeItem...
 
Depends on the type of TreeItem :)
 
fge
@ItachiUchiha what do you mean by "type"? Its type parameter?
 
or do you want to add children to it?
 
fge
7:11 PM
No, this is OK
Actually I meant changing appearances
 
Ahh, use css
 
fge
For the "contents" I guess this is a matter of changing the type parameter
 
I suck at css, that is why I asked @Gemtastic to help me
 
fge
Eh? Why not change the node to something more suitable?
(in fact I don't even know what the base node is)
 
lolz, I had this thing stuck in my pom.xml
because of which it was skipping everything
:P ;P
 
fge
7:13 PM
@ItachiUchiha what should I say, then
 
@fge I can help with general things in css :)
I lack the artistic touch ;)
 
Shh... I think the Javascript developers are spying on us!
rlemon and Benjamin are lurking
 
:O
 
:O
 
fge
@ItachiUchiha anyway, I believe I should first change the Nodes of the TreeItems
 
7:19 PM
That's not significant though. Carry on.
 
fge
I do believe I saw somewhere in ControlsFX a +/- expand widget, and I'd like to use that
Let them lurk; just code
 
maybe I summoned them with bad questions about JS?
 
fge
Get things done
And deal with nulls :p
 
Null<T> extends ReferenceQueue<T>
Huh that is a misleading type name
 
XD
 
hi
 
hello
 
have you idea about jsoup
 
@Gemtastic Did you get time to look at the style of Junior-Client?
 
@ItachiUchiha Yeah
I'm thinking up a design for it
 
7:37 PM
 
Funny but I have to leave a little [NSFW] or uni tag: img-9gag-ftw.9cache.com/photo/aVQyqBK_460s_v1.jpg
 
uni tag?
 
fge
About my screenshot earlier... Is there a widget somewhere which would allow + and - instead of arrows like I currently have, or can I do this with CSS? If yes, how?
Not that I'd write the CSS myself though
 
@ItachiUchiha Yes, it's not for Uni :P
 
@fge I want to fork your repo and help
@Gemtastic lolz
 
fge
7:45 PM
@ItachiUchiha feel free! But I guess this means I'll work on java7-fs-more by myself :p
(grrr, yet another project I need to continue, that one)
 
Well, he can look at it if he wants to, but it seems he's not appreciating of that humor.
 
fge
<-- should set himself a schedule
 
<-- Should find some time for java-fs-more
 
fs?
 
File System
@fge link for repo?
 
7:47 PM
Ah
 
7:58 PM
@fge why does it always download a gradle-2.2.1.zip when I import/build a new gradle project?
 
fge
@ItachiUchiha not a clue... It does not do that here (I use IDEA)
 
Could not find com.github.parboiled1:grappa:2.0.0-alpha.1-SNAPSHOT
push it to maven repo, I don't wanna manually install :P
 
fge
Ah, yes, you also need to clone grappa and install it in your local maven repo
Eh, not sure that's a good idea since I modify it pretty often
Also, no grappa --> no guava, and I use guava too in this app
Sorry...
 
Even guava is not there in mvn repo?
 
fge
Dependencies will be downloaded automatically
Or your IDE really sucks
 
8:11 PM
they have been downloaded
 
@ItachiUchiha ppfft
you're into baby enojis today are you
 
fge
Well, grappa 2 alpha is not there
I need to check a couple of things before I publish even an alpha version
(and I can't seem to be able to steer TreeItems the way I want :(
 
Can't even build the debugger zzz
Even after installing grappa >> running install on gradle
 
fge
8:34 PM
Yes, use ./gradlew install
That will install in your local maven repo
I never do that from the IDE, always from the command line
After that, ensure the dependencies are there and you're good to go
Uh, how do I plug an event on a TreeItem when it is highlighted?
 
highlighted?
Do you mean focused?
 
fge
I mean, when I click on it, so, yes, focused, I guess
 
isn't that.. selected?
 
fge
Well, OK, whatever the name
I can't find out how to plug an action on that :(
 
in Swing you might even inject your own SelectionModel
 
fge
8:47 PM
Ah, OK
item.getGraphic().onMouseClickedProperty()
 
9:05 PM
@fge mind a push?
 
fge
9:20 PM
@ItachiUchiha a PR you mean?
 
9:34 PM
@fge I need the treeview to make changes
 
fge
Oh
It's on branch topic/tree
 
 
1 hour later…
fge
10:38 PM
@ItachiUchiha and what changes have you planned exactly?
 
I am updating the image +/-
the images are getting loaded
but the space is very small :/
 
fge
11:23 PM
OK, uh, I don't understand TreeItem
 
F**k even a 10 x 10 is big for it
@Vogel612 der ?
 
11:47 PM
???
Bed... night
 

« first day (1541 days earlier)      last day (3399 days later) »