« first day (2441 days earlier)      last day (2504 days later) » 

12:13 AM
@Uni Name two reasons why doing a "quick" format in Windows is bad idea.
And no, "you're using Windows" is not a valid answer.
 
12:33 AM
momorn
 
@Michael "quick" formatting doesn't check the entire disk for bad sectors.
 
That's one. gives @Jenna a cookie
Morn @Tavo
 
12:50 AM
The other reason is that it does not actually touch any of the data on the disk, aside from the file system table which records the locations of the file on the disk.
So, someone with the right tools could theoretically recover the old data from the disk, even though you reformatted it.
 
1:50 AM
I got a box of jelly beans. yay!
 
 
2 hours later…
3:44 AM
@Tavo What sort of jelly beans come in a box?
 
colourful ones
 
I thought jelly beans were only packaged in plastic bags
 
the world of jelly beans is unfathomable
 
@Tavo *-*
Morn
 
yo
 
4:00 AM
"A man who has no imagination has no wings." -Mohamad Ali (source)
 
@JennaSloan not possible
 
4:13 AM
Looks like their Greece website has an error
Or at least it doesn't work on my device
 
Nah I am getting a subtile ERROR
 
just like that
 
They went through all the work of making an image that just says "ERROR".
 
Yeah... Why would one just have it printed anyways.
The font looks similar to the Windows 8+ one if I am not mistaken
 
4:36 AM
@Michael because it's windows and only retarded people use windows, 2. because any function on windows is inherently broken
 
Yey I am retarded \o/
That is a good thing, right?
 
5:08 AM
@geisterfurz007 yes, being retarded is a good thing. Only people around you suffer from it :P
 
Sounds good to me :>
 
5:23 AM
Is it possible to give parameters when calling a function like this (MyClass::myFunction) ?
 
5:38 AM
@geisterfurz007 you can if you then use myFunction.apply(parameters)
but to me, it doesn't make sense anymore to use the double colon operator
 
Yeah I found a few things ^^ Thanks :)
Why do you think that though?
 
Hi Guys
 
@prashu132 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 how does it help to keep your code cleaner?
hi @prashu
 
Hi @Tavo
 
5:51 AM
@geisterfurz007 the double colon is little more than syntactic sugar. If it becomes more messy, where's the sugar?
 
@Tavo One needs it for some things like ExecutorServices (at least that is what I used it for)
I never used it to make Callables though
 
not like you need it
 
What is the alternative?
 
ExecutorService has been there since Java7
double colon, since java8
 
@Tavo Oh I was not aware of that
/javadoc ExecutorService
 
5:53 AM
@geisterfurz007 java.util.concurrent.ExecutorService: An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks. @since 1.5 (1/12)
 
I found something strange while doing a remote debugging a java application. An argument 100 is passed to an int parameter of a method and then found the value to be 50 from inside the method
how could this be possible
 
oh, since java5. Lol, my bad
 
you divided by 2
 
nope
passed argument is 100
received value is 50
 
That is impressive...
 
5:55 AM
probably jvm might have divided it by 2
 
@prashu132 have you debugged it?
 
not me or the code for sure
i'm running application in remote debug mode only
 
try adding final to your method's parameter. That will prevent it from changing
 
it might need to change in a later stage
so cant add final
 
@Tavo How do I reference the method I want to have executed then?
 
5:58 AM
lambdas?
 
when i kept debug point in the method call statement, i found the argument value to be 100, then i moved inside the method in debug, even before it executes any line of code in that method, i checked the parameter value from within the method and i found it to be 50
 
@Tavo lambdas exist since Java8 as well or am I wrong there?
 
@prashu132 then either you are looking at the wrong parameter or you are overwriting the value somewhere
 
That would be () -> myFunction(something) then?
 
@geisterfurz007 true. The solution before was an anonymous inner class
 
6:00 AM
@Tavo ewwwww. Ok :)
 
caller method and called method are in same class and i confirmed if the method is correct or not, it is correct
yet value is different
 
ok, I need to get back to work. I have a meeting in two hours and I need to have some stuff working
laters guys
 
@Tavo Later and thanks :)
 
ok bro
 
nw
 
6:01 AM
have a nice day
 
/javadoc Random#nextInt
 
Which one do you mean? (type the number)
1. java.util.Random#nextInt()
2. java.util.Random#nextInt(int)
 
@geisterfurz007 int nextInt(int bound): Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. The general contract of nextInt is that one int value in the specified range is pseudorandomly generated and returned. All bound possible int values are produced with (approximately) equal ...
probability. The method nextInt(int bound) is implemented by class Random as if by: @since 1.2 (1/7)
 
6:41 AM
Hi Java!!
\o
 
o/
 
Oak !
/react happy
 
7:21 AM
Is it possible to display significant values (permanently, not on a tooltip) over a lineChart with javafx? (any guidance?)
Or, when a tooltip is shown, make it permanent (with click, or event) ?
 
Finding it a little difficult to understand JIT. what I have understood till now is There are certain portions in every program that repeat. Now without JIT, interpreter will convert these repeated portions everytime to execute them. When we use JIT compiler what it does is, it converts the portion that is repeated and stores it in the computer memory. Now my question is, does JIT converts bytecode into machine code or the code that is understood by the jvm?
Thank you!
 
7:48 AM
Hi @ItachiUchiha JavaFx Master :D
 
7:59 AM
@Julo0sS o/
 
@ItachiUchiha Never fixed the screenswitcher thing we used to look at. But went on other javaFx interesting stuff (mostly charts & printing). Now I'm still working on charts, and looking for a way to display (permanently) points (data) over them at significant positions.
 
cool
 
8:18 AM
morning
 
morn
 
8:35 AM
morning
 
morning
 
porning
hehe
horning
corning
 
catorning
 
Today's one of those days when being awake hurts >_<
Downs a red bull
 
Wow. Did the whole world didn't sleep well last night? I thought it was just me.
 
8:46 AM
why what happened ?? I slept well last night :D
 
I slept late and barely for 5 hours. Now, my head hurts.
 
I slept extra much last night, still dead
No headache though
 
fought mosquito this night...
 
Everyone with their own problems :P
 
@ItachiUchiha you know my traditional sleep is all about 5 hours
however sometimes I sleep for 3 hours
 
8:54 AM
wow what a luxury
I get about six hours of sleep every week
 
who won?@Julo0sS
 
@Hans1984 He's dead... I'm tired... idk if it's a victory...
At least, he had a good "last meal"...
 
i bet he died with a smile on his face
 
lol yeah probably :P
 
@ItachiUchiha same
lol
 
9:10 AM
Finding it a little difficult to understand JIT. what I have understood till now is There are certain portions in every program that repeat. Now without JIT, interpreter will convert these repeated portions everytime to execute them. When we use JIT compiler what it does is, it converts the portion that is repeated and stores it in the computer memory. Now my question is, does JIT converts bytecode into machine code or the code that is understood by the jvm?
Thank you!
 
The JIT compiler helps improve the performance of Java programs by compiling bytecodes into native machine code at run time.
not converts
it's not a convertor
if you re complicating the things you can download the project and see what comes inside
 
is it that interpreter converts and executes and the converted part is saved by the JIT?
but why is it called JIT compiler then
 
JVM make some profiling and save some data in an area called CodeCache
the JVM profiling using some datas like counters of the called method
and identify that as a hot method and then compile it in a level of optimisation
the converted part is saved ???
no
As I know No
and there is no why to save it
if the method called once why to save its part of convert ?
 
may be because it is a repeated portion of the program and if the converted part is saved interpreter is not required to convert it again, it will simply execute it
 
I dunno really if it save the converted part comes from the interpreter
I know it save the compiled one from the JIT in CodeCache,though.
 
9:27 AM
so does the JIT compiles everything or just the specific parts?
 
@jatin Just In Time
compilation happens when it needs to, and with information to make the best possible decisions
you should read up on it more, it's not difficult to understand
 
@Unihedron ok
 
it hurts when we talk with french people in english lol
the ==> ze
if you have "th" in the middle of the word itwill be "se"
r ==> I dunno how to write it
 
i heard way worse accents
:P
 
Ahem an indian here :D
 
9:33 AM
haha don't talk abput Indian
I have a daily meeting with them
person from TATA
 
it realy depend son the person
 
and I can catch 2 words in meeting
just Hello and Bye
yes ofcorse it depends
but the most
 
if he/she learned the language well it doesnt matter where he/shes from
 
just generally
 
i agree
french and english doenst add up well
thats why almost noone over there speaks english
 
9:36 AM
yes
 
also because english sucks
why speak english when you have better options
 
when we could be using hieroglyphics
and speaking Quechua
on other news, Throwback Thursday playlist sucks today
 
@Tavo wtf is that.
 
it's a pretty popular playlist in Spotify that brings hits from the past 20-30 years
 
oh. rip, I don't use spotify
is it auto generated like youtube mixes or is it actually curated by real people / internet DJs?
 
9:46 AM
curated
sometimes it's got a theme
 
10:13 AM
Morning
 
hey
new avatar nice
 
Thanks!
I need help with my Project...
Do I create a Queue in the Main Method?
 
 
1 hour later…
11:27 AM
@CrashBandicoot I don't understand your question... but this may help (?) code.runnable.com/Upx1sCHeVVEnAADX/…
 
 
2 hours later…
1:21 PM
Morning, Java!
 
hey@Michael
 
Hey @Hans
 
very tired
each day work I speak 3 different language with three diffrent prononciations
Arab/French/English
@Michael where is Oak ?
 
hes here
 
o/
 
1:34 PM
/8ball right ?
 
\o
@Hans1984 That's impossible
 
yep
 
haha
good thenk I didnt see him in ages
 
maybe he didnt like talking to you
he can be very picky
:P
 
yes
XD
 
1:51 PM
@Uni What's the difference between a sector and a cluster?
 
2:25 PM
@Michael I can think that your question is more diff than what I guess
 
One is bigger than the other.
 
Sector is the smallest measure unit in the hard disk and cluster is list of sector
 
Yep.
 
but I was thinking that your question is more complicated :p
and sorry for the question why do you ask always Uni :p
However, I would respond to the question of BBSID and SSID ::p
but was only for Uni thats why I did not answer
@Pseudohuman go out
 
Nah, you can answer. xD
 
2:31 PM
okay :)
 
@Tavo haven't talked to you in ages man, hope your new life/job/wife is all going good buddy! I'll have to WhatsApp you sometime, maybe when I'm up late one night and you're just waking up hahah
 
/afk lunch
 
@Michael Cya later
 
3:16 PM
leaving bye o/
 
3:33 PM
@Sayros ok, what's the difference between BBSID and SSID?
 
3:58 PM
@Unihedron but why you ask ? your response is correct, isn't ?
or you want to figure out that I have an answer or no ?
it's simple I can copy past an answer from internet if you don't beleive
 
@Sayros what I asked is not the original question, it is the one you suggested, which I'm genuinely curious of...
 
posted on June 29, 2017 by CommitStrip

 
@Sayro @Uni is smugly alluding to the fact that BBSID is not the name of any technology. xD
 
@Michael Welcome back!
 
it's typo lol
 
4:06 PM
forget it, it's not funny anymore
I'll be happy for michael to redirect all the questions to you, if you so desire @Sayros
 
no
I think you re getting nervous
thats not my desire
in the begenning I though if Michael ask you a question
 
@Unihedron Not possible. My directQuestionsTo variable is immutable.
 
I am not authorized to interrup or to answer
thats all
 
@Michael use reflection
 
/reflection
 
4:10 PM
Are you seriously considering to use reflection for your code? Just don't..
 
I wonder who made that command...
 
speaking of that, I think I read somewhere that you can use reflection in your code to block reflection usage
from exposing immutables
 
@OakBot lol
 
@ColdFire Type /help to see all my commands.
 
/info reflection
 
4:12 PM
Mar 25 at 20:59, by Unihedron
/learn reflection Are you seriously considering to use reflection for your code? Just don't..
it's me
 
/help
 
Commands=====================
/8ball     Simulates a magic 8-ball.
/about     Displays information about this bot.
/afk       Allows users to mark themselves as "away".
/cat       Displays a random cat picture. :3
/define    Displays word definitions from the dictionary.
/help      Displays this help message.
/http      Displays information about HTTP status codes and methods.
/javadoc   Displays class documentation from the Javadocs.
/learn     Teaches the bot a new command.
/react     Displays a reaction gif.
 
/jealousbot
 
I'm not jealous... Okay, maybe a little
 
lol
 
4:20 PM
@Unihedron Reflection-seption
@Unihedron Also, can you say "over-engineering..." xD
 
/learn reflectception Are you getting sick of people trying to work around your code with reflection? Use reflection to block reflection usage!
 
@Unihedron Saved.
 
/train
 
🚂🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃🚃‌​‌​🚃🚃🚃🚃🚃🚃🚃
 
 
3 hours later…
7:53 PM
Hi
So I've managed to get through a decent amount of my Project
The user is able to add Objects to the System
I'm just having problems storing them in the ArrayList...
Would anyone care to look over my code?
Fairly Simple
There's plenty of Aircraft methods, that implement from various interfaces
 
can't seem to implement phone authentication on android
 
But Within the Planes Class I have taken a user input and can't seem to store it in an ArrayList, so that I can search up inputted planes later on...
 
 
3 hours later…
11:24 PM
:(
 

« first day (2441 days earlier)      last day (2504 days later) »