« first day (2712 days earlier)      last day (2224 days later) » 
00:00 - 15:0015:00 - 23:00

12:53 AM
expectorates
 
 
1 hour later…
1:59 AM
Since when is java upping its generation so frequently :o
 
@StanVanDerBend Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
2:12 AM
I remember when a new Java version was a big deal. Now it's like Chrome...hey look, we're up to version 60 now, no biggie. xD
 
 
1 hour later…
3:18 AM
morning room
 
4:00 AM
"Only a man who knows what it is like to be defeated can reach down to the bottom of his soul and come up with the extra ounce of power it takes to win when the match is even." -Mohamad Ali (source)
 
4:23 AM
Morning
 
5:22 AM
\0 morning to some evening to some
im working on chat application in java, server and client are both on my PC :P. The problem is i'm not able to end the ongoing conversation. Server Code: paste.ofcode.org/RNnsr8REUSgmARhWViAD5Q. Client Code: paste.ofcode.org/MYhRiGTxczrPw3CGk2HrEd
 
5:38 AM
morn
 
nvm my last message i solved it on my own. \0/
thanks anyway
 
Hah I was just about to reply
Was it your while loop condition?
 
5:53 AM
expectorates
 
wheezes
 
sleeps
 
6:11 AM
works
 
6:36 AM
I am so damn tired ._.
 
@geisterfurz007 Confucious say, man who runs in front of car is tired. Man who runs behind car is exhausted.
 
though in all seriousness, I'm tired too
 
XD
 
I hardly slept a wink
 
6:48 AM
Same :/
I got up early to buy easter candy for work. I'm eggshausted
 
Oh wow, easter candy, how eggciting!
 
Ciao Neil
 
Noooooo not another one >.>
Btw! I made a userscript for Tampermonkey that will add a button for stock comments in this room. Code and Installation
 
7:12 AM
@Kanth o/
stock comments?
as in comments regarding stocks?
 
@Neil lunarwatcher.github.io/javacomments These ones. Just two clicks away right in your chat window
 
Seems there are very few people nominated this time for moderator elections
@Neil Why don't you participate?
 
@Kanth Last year were 12, 2016 as well. 2015 were 19. This year 14.
 
I was not that active on SO for last couple of years. But in 2013,14 there were more than 20 nominations as far as I remember.
 
Oh true! 27 and 30 respectively!
Daaaamn..
 
7:25 AM
How are you checking that number?
 
I wasn't invited to vote
 
@Kanth stackoverflow.com/election/5 Changing the number :3
 
@eFox You don't have more than 150 rep
 
I'd like to invite @Gemtastic to vote :P
 
@Kanth Oh so there is a rep cap
@geisterfurz007 They already have
 
7:29 AM
Voted for moderators and stumbled into this room. Looks like a nice place, I'll just sit here in the corner like the standard nerd wallflower ok? :-)
 
@eFox (y)
@Rolf Sure! Get comfortable :)
 
@geisterfurz007 :D and I can find image in bigger way like this too i.stack.imgur.com/1zWzI.jpg?s=756&g=1 :P
Who is Gemtastic?
 
A RO
 
A room owner of this room who occasionally passes by
@Kanth ^^ Yeah it is an icon of a book series I read a while ago and I liked it as image :)
The good thing: The series was really good!
The bad thing: I already forgot what the name was :')
 
So am I and I am removed as an owner for that occasionally passing by ._.
I can see that :P
Otherwise you would have said that name initially itself.
@rekire where are ya? You should nominate yourself this time.
 
7:34 AM
@Kanth Last seen in chat 42d ago O-o
 
I don't need a second choice in the moderator election, do I?
 
Nope. You can just put one and it should count
 
@JennaSloan you need 3 choices
 
110
A: There's an election going on. What's happening and how does it work?

ben is uǝq backwardsWhat's happening? The community is electing diamond ♦ moderators; those individuals responsible for moderating the site the election is happening on. Moderators are elected by a four-phase process: Phase 0: Announcement and question collection Duration: 7 days An election is announced by a p...

> Any number of votes can be used.
You don't need 3 choices.
 
in the current phases they are 3 option
> Each community member gets 3 votes, 1st choice, 2nd choice and 3rd choice. Any number of these 3 votes can be used
well why would you not use your 2 other choices?
 
7:48 AM
@ColdFire because you don't like any of the other candidates?
 
fair enough then
 
No submit button, 0/10
It'd be nice if it actually told you when your votes are saved.
 
Zoe
Morning
 
\o
 
7:54 AM
\o
 
Today I switched my Desktop Enviroment to Cinnamon. :O
 
@cswl so it looks like a tree now?
 
It looks awesome.. everything is animated :O
 
Zoe
You know what that means, right?
More ram use
 
8:11 AM
But but.. everything looks shiny the.. blur effects.. shadows.. :(
 
Colors *-*
I can smell colors :o
 
8:27 AM
Do you like the taskbar on bottom or top?
 
Bottom. I hate it anywhere else because I am not used to it
 
Hi, Anyone here can help me with some issue regarding AES encryption
 
@AhmadAlkhatib Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
@geisterfurz007 Went to have lunch. 42 days is not even occasional? :P
 
Morn
 
8:40 AM
\o
 
o/
 
This time, I don't know at least one of those nominated candidates.
 
Yvette Colomb was candidate last years as well, at least 4 of them are Room Owners in SOBotics
 
Whom did you choose if I may ask
 
I won't disclose that :)
 
8:43 AM
Well, whom do you want me to choose? I think I can follow someone this time.
 
I won't tell you who you should choose. Read through their stuff and decide on your own ;)
 
Ah second attempt failed. Mission impossible.
Thought to break through your voting
 
Zoe
@cswl more ram use. Tl;dr: don't complain about not being able to have a ton of useless windows open becausw you don't have enough ram when a lot of it goes to animation
@ColdFire because you don't wanna vote for anyone else but one specific candidate?
 
@Zoe hmmm, could be. She seems to be good fit too. Will read through others' as well and decide.
 
I also sometimes run macOS on virtualbox :|
 
9:13 AM
@Zoe Gimme improvement suggestions for the Stock comments script pl0x
I put in a things that you can now see the message as preview on hover (as the links title)
 
I havent opened Windows 10 since months :|
 
Zoe
Let me just make and eat breakfast first @geis
 
Yeah sure! JUST EAT BREAKFAST AT 11:20 WHILE I BOIL IN COLLEGE FOR 3 HOURS ALREADY
TAKE YOUR TIME >.>
And enjoy your breakfast :)
 
Zoe
Lmao
Thanks
 
Enough time for breakfast.
Come back!
 
Zoe
9:39 AM
back
It took forever to cook, lol
 
@geisterfurz007 Zoe: I'll decide that myself!
 
Zoe
@geisterfurz007 well, add auto-update
it's not that hard, you need a version and some stuff like that
let me just update it
 
I forgot my notebooks at home today. I feel so empty
I can't doodle :(
What's up for you peeps?
 
Zoe
on line 7, replace java with * to protect against name changes (@geis)
@eFox just eating breakfast :D
 
@Zoe Aren't you in school? Easter break?
 
Zoe
9:53 AM
Easter break all week
 
Lucky you
I get friday and monday off
 
Zoe
Are you gonna stream then? :3
 
eFox.stream()
 
Zoe
eFox.stream().asVideo(AudioFormat.EMBEDDED).toTwitch():
 
.collect(Collectors.toList())
 
user9552093
10:07 AM
does any one know where th scala room is?
 
Zoe
10:34 AM
@geisterfurz007 sure, ask for improvement suggestions for the stock comment script and then leave. lol
 
10:54 AM
expectorates
 
11:45 AM
@Zoe I had a lecture where no laptop are allowed.
 
Zoe
@geisterfurz007 Mhm
 
I wrote 4 pages in that lecture and the lector is rather strict.
 
Zoe
lol, it's fine :D
Just gotta get some payback :p
 
I doubt you have money to pay for anything
 
Zoe
Check discord
 
11:53 AM
Because. Too young and stuff. Not funny? No? I'll delete it.
 
Zoe
lol
 
hi boys and girls
 
Oh hey Tim o/
What brought you here?
 
Zoe
Hey Tim!
 
I was in the neighbourhood
jk
I am looking for some generics nerds
 
11:59 AM
How nerdy?
 
Zoe
How generic?
 
just a tad nerdy is ok
in Android, 5 mins ago, by Tim Castelijns
in generics, although syntactically correct, does it make sense to write e.g. <T extends Response<R>, R>? Note R is introduced after it is used as type for Response
in Android, 2 mins ago, by Tim Castelijns
it looks odd that R is used before it is introduced
 
Zoe
Wouldn't the first use case of R also introduce it?
 
No because R is defined by the type of the Object used as second parameter if one wants to call it like that
At least that is how I would say it.
Not nerdy enough for that goes back to reading about userscripts
 
12:03 PM
one would call it type introduction
 
@TimCastelijns lookin for me?
depending on the compiler, some languages support it
 
Zoe
R is still a single generic type, it can be used before it's defined as long as it's defined at all.
 
in simple terms, they are boundaries
 
@TimCastelijns I feel summoned to this place for some reason
 
they are given a type when you call them
at that moment, both types are defined
then, you can easily check if they are within their bounds
 
12:07 PM
If you didn't care what R was, you'd use ?
 
R is the return type
here is the complete signature fun <T : Response<R>, R> Single<T>.processResponse(): Single<R>
 
what is T?
 
Another type parameter?
 
i see
 
do you need T necessarily? You could use "?" there
I tend to use ? whenever it isn't strictly necessary to know
 
12:08 PM
he needs T for the explicit R validity
but i dont think you need to define it as type argument
lemme check
 
kotlin doesn't have ? bois
 
@IsThisJavascript No it is not ;)
 
no, you can just use ? extends Response<R> and let that suffice
 
let me check the syntax
 
12:09 PM
.
 
I'm just here to express my sincere hatred of Intellij. Who thought it would be a great idea to make the most common hotkey of redoing (ctrl+y) to delete lines
I just lost a whole class
I'm going back to eclipse
 
@IsThisJavascript welcome back, sir!
 
@TimCastelijns kotlin has
its called *
 
This chat room is so much better than the php one
I get "welcome back" in here
 
12:10 PM
> php
ew
 
In the PHP one I get "why isnt he banned yet"
>:( it's my job to update php 4.x and 5.x to 7.1
 
* is not the same as ?. But looks like I can do fun <out : Response<R>, R> Single<out>.processResponse(): Single<R>
 
@TimCastelijns
fun <R> Single<out Response<R>>.processResponse(): Single<R>
{
	//...
}
try this
 
@IsThisJavascript My condolences.
 
Zoe
@IsThisJavascript yeah, the keybinding is retarded in IntelliJ
undo is CTRL+Shift+Z
 
12:12 PM
using out Response<R>, you do the same as T : Response<R> except, you dont define it as type argument
if you dont need T anywhere else, you should do this
except if it breaks other contracts
 
@Zoe it pleases me that someone else feels my pain
 
Zoe
you can set it manually though to CTRL+Y
 
@TimCastelijns why is * not the same as ?
 
Na I'm ditching it and going back to eclipse.
 
@Zoe that is why you can modify it
 
12:13 PM
The only thing I like about it is that you can ctrl+click the method
 
Again: My condolences.
You can do the same in eclipse as well
 
Zoe
@Wietlol still, having a non-standard keybinding in the first place is stupid. As. Fuck.
 
it is standard
they both are
 
I must run a pretty old eclipse version then
 
12:13 PM
Which one?
 
Im not at my home PC so I can't even test but yeah, uninstalling this intellicrap now
 
[ctrl]+[z] with either [ctrl]+[y] or [ctrl]+[shift]+[z]
 
I bet after updating you go back to IntelliJ :')
 
I'm considering just using notepad and cmd to compile tbh
 
@IsThisJavascript you dont understand what an IDE is
 
12:14 PM
@Zoe Hopefully auto-update should work now; wildcard is added for the room name (good suggestion!).
 
pls come back in 3 years, you have understood by then
 
Now I need a new suggestion so I can test the auto-update.
 
It was a joke
lol
 
Zoe
cool, I'll go check
 
@Wietlol stackoverflow.com/a/45521057/1843331 pretty much the same, but not completely
anyway that line works, thanks
 
12:19 PM
i dont think that is a generics thing
in Java, you dont have explicit nullability
which kotlin does have
 
that changes some of the concepts of the type system including the type parameters
 
makes sense
 
if Kotlin didnt have explicit nullability, they would be the same
 
the star projection in kotlin (*) was removed from the docs btw
 
12:20 PM
interesting
i do love * more though
 
in favor of out I assume. Trying to find some info
 
you can now have this: Map <*,*>
 
sounds like a pickup line lol...
`fun <R> Single<out Response<R>>`
"wanna have fun i'm single lets go out whats your response"
7
 
Zoe
12:23 PM
lmao
 
Ask her<out For<Dinner>>()
Ask him<out For<Dinner>>()
 
Zoe
@Neil <insert triggering here> :P
 
@Wietlol I could swear it wasn't in the docs 5 mins ago, but it is now
 
less interesting
pls remove your last message
 
@TimCastelijns The only do that to troll you.
 
12:28 PM
@hexicle the response is no thanks, going by the return type of Single<R>
 
isn't it always :/
 
Maybe<Couple<R>>
 
Zoe
@TimCastelijns But... there's no return type defined!
 
one actual scenario where Maybe makes sense over Optional
 
Hey guys! I want to create a Jbutton with a symbol to change the order of elements in my list. However, I don't know what symbol I would use to order the elements by ASC or DESC order
 
12:30 PM
@Zoe so when asking, you die?
 
Can anyone suggest a symbol to use?
 
an arrow
 
Zoe
@Wietlol no, when asking all you get is a Unit
 
one towards the inside, one towards the outside
 
one that represents ordering
 
12:31 PM
@Wietlol Up and down >.>
 
Okay I've got a symbol, how do i use the ascii code in JButton#setText ?
 
I think they support HTML so you could try &#asciiCode;
 
Would I be able to use \u<code>?
 
Oh that should work as well
 
Okay i'll give it a try
Works, cheers :)
 
12:58 PM
yo
 
Zoe
hey cf
 
sup?
where are other humans and ghost
 
Zoe
well, you got a monkey, a wolf and a bot (and a cold fire). Good enough? :p
 
Gone
 
Zoe
and a fox
 
1:04 PM
I should draw a fox on my stream today
 
1:20 PM
lol
 
1:57 PM
Okay.. so IntelliJ users... how to do run a single file with main method :|
 
Zoe
press the green arrow next to the class with the main method or the line of the main method itself
 
Where?
 
what if you make the class public?
 
Zoe
^
Who uses non-public classes for the main method anyways?
 
Ok makes no difference in my project
 
2:01 PM
@Zoe APIs
 
Also why doesnt IntelliJ highlight the Identifers differently
 
Zoe
@hellzone APIs rarely have a main method
 
APIs shouldn't have a main method
 
Why isnt this.length and length colored differently :|
Why only keywords are highlighted..
 
Zoe
Did you disable inspections?
 
2:05 PM
Nope.. just opened an Netbeans project
 
This is default in IntelliJ. It looks the same for me and I actually like it more than the vast variety of colors eclipse had when I left it.
 
Zoe
It is?
 
I think so. I cannot recall any other colors I have seen...
blue for numbers but that's it
Oh and purple for some other things like final vars in lambdas and attributes of classes.
 
Zoe
 
I got used to having different colors for Class names and variable names :|
What sorcery is that :O
Gib you configuration folder..
 
Zoe
2:09 PM
I just use default Darcula
 
Same
 
Me too.
 
Strange. I dont have Run this file or highlights :|
 
@cswl Is that file in your project?
 
Yeah.. it's in src/.. java/
 
2:13 PM
strange...
 
I like to make class names and type declarations very similar colors
they are all types afterall
 
I don't have Run in the gutter.. something's really wrong with my Intellij :|
 
It's true tho... Now that you mentioned it... Try to refresh your project root in the Project explorer
If that doesn't help, File -> Invalidate Caches / Restart
 
I'm using 2017.3 btw.. I guess I should update it to 2018
 
Zoe
2018.1 isn't out yet
 
2:19 PM
What if I updated and it solves my 2 problems... but introduces 4 new ones :|
 
Zoe
and what if you update and your computer decides to take over the planet?? Or it explodes? Or the install wipes the harddrive?
You worry too much
 
It just got released.. March 27 :|
 
Zoe
I stand corrected. IntelliJ 2018.1 is out
yeah, just saw it
 
Download complete.. :| do I update it or not?
 
Why not?
 
@cswl The colors don't mean anything in and of themselves. They are just there to make the code easier to read.
 
Proceeds to make rainbow syntax highlighting theme
How do I turn off the splash screen .. I hate splash screens
 
woooooot
at April 1st, we get a new colleague
a senior software architect
 
"nosplash" %f
 
Zoe
2:35 PM
the IntelliJ load dialog is so nice in 2018.1 :D
 
Okay.. updating to 2018.1 didnt solve any of my problems :|
 
@cswl it did, it solved them all
@Zoe also upgrading atm
:D
 
I can't run a file :|
 
ofc you cant "run" a file
files arent executable, they are memory
not instructions
 
I cant run a java source file with a main method
Is it because my projects dont have packages..
I never put my stuff in packages :|
 
2:45 PM
> files arent executable
@cswl this is completely nonsense
main methods outside of packages are perfectly fine
i can highly recommend you to stop doing it, but it will work for sure
 
He probably indicates the run option when right-clicking a java file in the IDE.
But not sure if trolling...
 
its cswl, he is the definition of trolling
 
Zoe
I've been waiting for 2018.1 for a while now
@Wietlol no, that'd be you
 
you see, C stands for "definition", S for "of", W for "trolling" and L for... uhm... an exclamation mark "!"
 
Theres option to run main in Kotlin files
Is the universe telling me to ditch Java and use Kotlin>
 
2:48 PM
@Zoe nah, im an ass now and then, but i can be very halpvul too
 
Umm.. why is Java taking 3.1GB
 
because its Jaba
 
Also my shiny new cinnamon desktop takes only 380MB ..
 
00:00 - 15:0015:00 - 23:00

« first day (2712 days earlier)      last day (2224 days later) »