« first day (1571 days earlier)      last day (3594 days later) » 
00:00 - 16:0016:00 - 22:00

fge
fge
16:02
Well, next is java.nio.file, heh
Nicely said @uni
16:38
Can I change a Idea project to maven project?
Probably.
You know, if you create pom.xml and make it work.
yesterday, by Feeds
^ four stars... I should be proud for that :p
fge
fge
16:57
yawn
are you bored?
Is anyone not busy?
I am refactoring my old project
17:20
why is Idea not able to load a css :X
@eckig heya
Welcome to Java Room :)
@fge ping
17:35
@ItachiUchiha It does?
It even loaded a SCSS last time I had to use it.
well I am not sure what is wrong with my maven config
getStylesheets().add(getClass().getResource("/com/ita/style/sliderbar.css").toE‌​xternalForm());
doesn't work
getClass().getResource("/com/ita/style/sliderbar.css").toE‌​xternalForm() <--- throws a null pointer execption
I know there is nothing wrong with this statement
lolz, idea creates a dir with name com.ita.style instead of creating sub-directories
@ItachiUchiha Hi, and thanks for the welcome :-)
Nice answer on fge's question :)
double thumbs up
I am honored
Well, you deserve it
17:43
As I said to @fge yesterday: I was just curious and did some research
Could you use my answer regarding the -fx-shape attribute? Still not flagged as correct ;-)
haha
well I haven't got some time recently to really look into it
:D, always getting the same answer
Once, I am done with it, i will mark it
@eckig who else gave you the same answer? or is it always me? ;)
New SO users tend to never come back once they got their answers, senior users are too busy
I remember fge giving a similar answer
> senior users are too busy
^^ who is senior?
I am the new guy in the block
@fge is pretty old though
17:46
everyone with more than 500 rep, something in that range
Senior in regards to how SO works and how they use it
In that case, you will age pretty quick in here :P
:D
How long have you been working with JavaFX?
fge
fge
17:47
Pong
Hi @fge
@fge issue resolved
Like two years, I would say, @ItachiUchiha
fge
fge
What issue?
Owww, nice!
8 mins ago, by ItachiUchiha
lolz, idea creates a dir with name com.ita.style instead of creating sub-directories
^^ this one
Switching IDE is a pain
17:49
yep, i once tried switching and failed horribly
@eckig Same here, but this time I am trying real hard
:D
So you are going for IntelliJ? May I ask why?^^
Well, just trying something new. Plus, I am bored with eclipse using more resources of my machine than it should.
@eckig so do you work on Javafx on your day job?
Yes, I am one of the lucky chosen ones
fge
fge
<-- still learning JavaFX...
18:03
:'(
fge got a offer
I am still waiting
@ItachiUchiha An offer for what?
For working as a javafx dev
fge
fge
Yeah, go figure
@ItachiUchiha Oooh! :D
@ItachiUchiha congrats?
18:05
Not me, congrats fge..
Ah, then i may redirect that to @fge ^^
fge
fge
I didn't say I'd take the offer though... Sent a mail back and haven't got an answer yet
Still planning on the next video I'll upload...
still waiting for the TDD session to be scheduled again
@fge If you are planning to record videos, take session and record them :P
fge
fge
Hmm, not sure
Could be a possibility
Anyway, I've already uploaded two
> In an ORM, the R matters more than the O; here is a proof!
@fge why does the graph exceed the area where it is plotted?
fge
fge
18:15
Because I can't find a way to make it take the whole graph, heh :p
Honestly I don't how how to do it
But I don't really mind
I guess you can bind the height of the axis of the graph with the XYChart.Data
I am not sure though, I will have to try a few options, but it will work
fge
fge
That's what I do
But the Bezier curves go higher than that
And if I try and autoscale the ordinate tick marks are not integral
I like my graphs like I like my women; curvy
(sorry, couldn't help it)
18:31
Babe, are you a sin cos I find you tan-gerous
bad puns are bad
:D
what is tangerous? :S
I know tan & dangerous :P
@ItachiUchiha it's both
lol-pol
just to put tan in there. emergency pun :P
You must be nine divided by three because you leave my modulus at zero.
I could use these to make nerdy V-day card
18:39
http://www.commitstrip.com/en/2015/02/10/the-truth-about-code-reviews/
CommitStrip - Blog relating the daily life of web agencies developers
The truth about code reviews
CommitStrip
1423593410
19:36
hi
any intresting thing happend in this room?
Tutorials
they were quite interesting
We have a weekly video tutorial held in this room
but, they are happening daily
19:42
heya
hello
Hows everyone doing this evening?
or morning.
or night
any tutorial about nio?
yeah
we have a couple of them
19:55
where can i find them?
fge
fge
Uhm, depends on what you mean by nio
New IO or Non-Blocking IO
@fge he is all yours :P
fge
fge
Then no, the tutorials were not about this
They were about java.nio.file which is much more interesting
20:03
java.nio.* is the package
fge
fge
async I/O is overhyped and more often than not worse in performance than "traditional", thread based I/O
oh ok
fge
fge
java.nio.file is the opposite: underused and much better than the old API
and what about the nio webservers?
fge
fge
Well, they're still no match for nginx :p
20:06
in java?
isn't ngix in c?
fge
fge
nginx is written in C
Actually I have never used a pure Java web server at the front in production
fge
fge
They just don't scale as well as the "big names" (ie Apache and nginx)
...
c can be faster than java
and there are things that always going to be faster in c
fge
fge
Well, that is basically what I said
Its big advantage is also that it can access syscalls which Java cannot
20:10
actually java can use applications
fge
fge
sendfile(2) under Linux for instance (strange that even Java 8 doesn't use it)
there is a class for it
sendfile(2)?
anyway nio Selector vs ServerSocket?
@fge something you will definitely like sketchtoy.com
fge
fge
Uh
With my "talents" in drawing?
hehe
If you are bad at something, be happy! Because you have a lot of scope of improvement
20:28
who can draw?
fge
fge
There is a difference between "bad" and "hopeless"
<-- hopeless at anything artistic
Anyway, there is code I need to write
(sorry, haven't even started the videos for java.nio.file...)
you make tutorials?
what was the hardest code you've ever done?
fge
fge
Uhm, err
I'd say largetext and json-schema-validator
The first because it's really tricky, and the second because it's a large codebase already
@fge json-schema-validator? :o
fge
fge
Yes
20:34
Since when does json have a schema?
largetext?
fge
fge
@SecondRikudo since quite a few years already
I am the author of two of the IETF drafts
(out of three)
Noice
TIL
fge
fge
@KriszDev map big (up to Integer.MAX_VALUE chars) text files to CharSequences
(without having the fully loaded file in memory, of course)
wow thats 2GB
fge
fge
20:36
2^31 - 1 to be precise
And 2^31 - 1 characters
yea thats true
fge
fge
Which means the source file can be even larger
why java didn't have unsigned types?
fge
fge
Worst case: a UTF-32 encoded file of 2^31 - 1 chars --> 2^34 - 4 bytes
the longest java code that i've ever seen was 300KB
fge
fge
20:37
Meh, good question
That is already WAYYY too big
UTF-16 is a java string thats big
who is using UTF-32?
fge
fge
I don't know but it is defined
Actually PowerShell defaults to writing text in UTF-16LE
fge
fge
Little Endian
oh ok
how long have you been a java programmer?
20:40
java has one unsigned integer type: char. I do miss the rest (and whoever decided that byte is signed too, should be shot)
fge
fge
Professionally, I have never been
fge
fge
I am looking to be one, though
@kiheru honestly, I don't see the difference
It's still 8 bits
As to the one who decided this, uhm, James Gosling?
@fge the difference is annoying once you need to manipulate those bits. The operations are done on int, so the highest bit can be accidentally set. That would not be a problem with unsigned byte
bye guys
20:45
like when combining color components to an int
fge
fge
@kiheru uh, well, I usually use ByteBuffers for such low level stuff
So it has never really been a problem
yeah, that's usually good practise
the problem is harder to avoid with bitwise operators
I presume byte is signed for symmetry with most of the integer types - and then char was added because bit manipulation is annoying with the signed shorts.
I have a Java library that uses log4j for logging. The code that calls it also uses log4j. Does the library logging get rolled up into the logging for the calling application?
Does that even make sense?
21:01
I don't know what you mean with that question
I am writing a library. I am also writing an application that uses that library. I would like the application and the library to use the same output file for their logs
Is that possible?
it depends on the configuration you use for log4j. I think using common output is the usual case
Ok. So if I write a second, different application that uses the library, can the second application also have its logs and the library's logs in the same place?
I can't reconfigure the library's log4j configuration to point to a different place everytime i write a new application that uses the library
The configuration is done at run time. You can have per application configurations. It does not need any changes to the library
Ah ok. So I would not have separate log4j configs for the library and the application?
Just one configuration for the application that is used by both?
21:17
No need for that, since you want to have them in the same file anyway
yes
ok thanks!
learning how to use log4j has been more difficult than i expected
it's so complicated
00:00 - 16:0016:00 - 22:00

« first day (1571 days earlier)      last day (3594 days later) »