« first day (2438 days earlier)      last day (2517 days later) » 

12:14 AM
You know a document is serious when it has section numbers like "9.5.4.2.5.3"
Looks like they ran out of styles for the headers
 
 
2 hours later…
2:07 AM
Does Java have a audio/video package?
 
2:22 AM
Apparently Oracle has a "Standard Extension" called Java Media Framework
 
2:55 AM
It's severely out of date
By more than 13 year
 
user7627726
3:30 AM
How do you compare Strings when using ANDROID for java?
 
user7627726
is it not ==?
 
user7627726
I understand when you use the JVM, you must use the equals() method, but I am fairly certain that when you used android, you have to use ==
 
4:00 AM
"Find a purpose in life so big it will challenge every capacity to be at your best." -David O. McKay (source)
 
 
2 hours later…
5:41 AM
Does a interpreter in general not translate but execute?
 
It still has to be translated but this will not be written into another file, but during runtime
 
so interpreter translates and executes where as compiles just translate
compiler*
 
Yeah. And the compiler puts the translated stuff into a file whereas the interpreter uses the translated stuff to execute things without putting it into a file. At least that is what the Wikipedia article sounds like
/wiki Interpreter_(computing)
 
wth Oak
 
Aright, @geisterfurz007 and @OakBot thanks alot
 
@jatin Type /help to see all my commands.
 
6:11 AM
Java, why do you not have a built-in AV IO API?
 
AV?
 
Audiovisual
 
Not exactly an essential I suppose
More fun making NIO
 
6:29 AM
Well how am I supposed to convert a video file from some outdated proprietary format to MP4?
 
convert-my-video.net :P
 
With a software that's got its own team of devs dedicated to just that :P
 
Well, I actually managed to find this: wiki.multimedia.cx/index.php?title=Actimagine_Video_Codec
@Gemtastic There isn't one
So I guess I have to do some binary magic or something.
 
6:47 AM
There's plenty of software that does that
just google
 
The thing is I kind of need it coded in Java, otherwise the rest of my code will break
 
@JennaSloan You have the format's specs, is it not a simple matter of writing a parser?
(It's not easy, but it is simple)
 
pffff
 
Writing parsers is boring
 
Yes, but if it's a specific format with no existing library...
 
7:03 AM
@JennaSloan go do it.
 
7:28 AM
o/
 
\o
 
Is someone other than me meddling with the new JDK 9 builds?
 
yourself in a parallel universe
 
@Unihedron Not even he is that bored.
 
7:29 AM
Hard to communicate with him :P
 
`clazz` is a common variable name to avoid hitting the `class` keyword.
Question: Do we have a question about the equivalents for the other keywords such as `private`, `package`, etc? Or is there a list somewhere outside SO?
 
@NicolasRaoul no, because "equivalents" don't exist.
@MadaraUchiha I do wonder when it will come out for real though. :P
 
8:29 AM
/javadoc CubicCurve
 
@geisterfurz007 javafx.scene.shape.CubicCurve: The CubiCurve class defines a cubic Bézier parametric curve segment in (x,y) coordinate space. Drawing a curve that intersects both the specified coordinates (startX, startY) and (endX, enfY), using the specified points (controlX1, controlY1) and (controlX2, controlY2) as Bézier control points. Example: @since JavaFX 2.0 ...
(1/3)
 
geisssssssssssss hey
 
Hey :)
 
whatsup
 
Working on work stuff and learning javafx shapes with Hem :P
 
8:33 AM
nice
 
9:25 AM
Hello
 
Hey Sayros ^^
 
In computer science chart is not a graph however in toiec exam chart is a graph lol
 
9:43 AM
toiec exam is wrong duh
 
haha
 
10:14 AM
I have an exception in my logs where I tried to save a value in a column that was too big for the column. org.hibernate.exception.DataException: could not execute statement. This exception doesn't tell me what I tried to do. It's too generic. Is it possible to get a more specific exception message?
 
10:58 AM
What should I use to store auth token LocalStorage or Cookies?
 
@HarshSarohi 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
 
11:15 AM
763
A: Local Storage vs Cookies

jpsimonsCookies and local storage serve different purposes. Cookies are primarily for reading server-side, local storage can only be read by the client-side. So the question is, in your app, who needs this data — the client or the server? If it's your client (your JavaScript), then by all means switch. ...

Google helps...
 
12:01 PM
Hi Java!
 
Hi @Julo0sS
 
Hi @geisterfurz007 What's up?
 
Partying one more lesson I passed :D
 
good job :)
 
Thanks ^^ I do not know the exact grade, but I know that I passed already with the grades I know about :P
 
1:03 PM
Morning, Java!
 
Hey @Beard
 
hi @Michael whats up
 
Not much, you?
 
stuck on something for a week almost
 
1:12 PM
Dang.
 
@BeardAspirant , aren't you incrementing ii twice each time you go in loop?
 
@Julo0sS no. Its incremented once only. beneath int TC=....
 
1:27 PM
yeah you're right, you have i & ii (confusing btw)
 
@Julo0sS best part is the one +ii+++ xD
 
yeah clearly
^^ x)
 
EOF is not getting checked using Scanner is my hypothesis. I can clear all test cases in udebug
 
What about the sc.nextLine, you call it at beginning to put it in a string, and call it in the try block.
 
have to call sc.nextLine after sc.nextInt
\n does not get scanned using sc.nextint
 
1:29 PM
try { str = sc.nextLine(); }
yeah I'm ok with this, but if you get through your try, you get the nextline. Then you get into your block (while) again, and call .nextLine() again to put it in "str", so you call .nextLine() twice
and the 2nd time, you don't use it in a try-catch
(not sure I'm clear about what I mean)
 
i was about to do "ii++" in next line but this looked better :D
never thought would be giving it for review
ok reg that
suppose i have
123455
1
0 5
15484

so sc.nextline = 123455
sc.nextint 1
nextline 0
next line 5
oh sorry
so sc.nextline = 123455
sc.nextint 1
nextint 0
nextint 5
now if i do nextline its \n
then nextline = 15484
its in try because the test case can end at 0 5
without \n char
 
did you try next() instead of nextLine()?
 
and i dnt need it above because already chking hasnextline
next would work
didnt try
let me submit with next
submitting
10324 - Zeros and Ones Time limit Java - 0.000 -
thinking of converting the whole code in cpp to submit now :|
 
2:10 PM
Well, I managed to solve it
 
using java scanner?
 
cn++;
System.out.println("Case " +cn+":");
wrong
cn should be initialized by 0
10324 - Zeros and Ones Time limit Java - 0.000 -
nope
Time Limit exceeded while submission
my code is correct
its just infinite loop I am having problem with
 
2:34 PM
@kiheru I need help setting up GIT how we had it before... Mostly user info... :)
 
Hello java people. I have just started learning java and have prepared a 2 page doc based on what i have learnt. Can anyone just read it and check whether it's correct? here's the dropbox link to the doc.. dropbox.com/s/q7ubzx7vzq39jhx/learn_java.docx?dl=0
Thank you!
 
@jatin seems correct to me
 
It does so to me yeah
 
Nice! Thank you @BeardAspirant and @geisterfurz007 :)
 
2:53 PM
anyone here has time to waste helping me in printing issues with javafx?
(better like this)
 
@UmadharM 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
 
3:22 PM
1 message moved to friendly bin
@UmadharM Please use a code snippet tool when posting source code.
 
@Julo0sS Printing?
 
yeahhh printing :P
related to my question on SO
i posted some more code there, to test if you want/can/'re curious
 
3:38 PM
@Michael, Sure, i will be using code snippet tool.
 
4:05 PM
@OakBot show yourself
 
@geisterfurz007 Type /help to see all my commands.
 
Thanks ^^
 
@PiotrPodraza 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
 
fge
4:39 PM
Moo
 
4:58 PM
Hi fge
 
@fge So that is how bears go nowadays, huh?
 
Bark
 
user7627726
5:15 PM
does anybody else feel like once they come to the chat, everyone else runs away?
 
@GoJavaAndCSharp No, I didn't run away! :D
 
here since 3 hours :p
 
user7627726
@Julo0sS Hey! I do have a friend!
 
@GoJavaAndCSharp …
 
/react excited
 
user7627726
/react sad
 
user7627726
/react angry
 
/react annoyed
 
5:19 PM
@JennaSloan Unknown human emotion. Please visit replygif.net/t for a list of emotions.
 
/react despair
 
user7627726
/cat
 
@JennaSloan humans are never annoyed
 
user7627726
5:21 PM
@OakBot is a legend
 
@GoJavaAndCSharp Type /help to see all my commands.
 
user7627726
/learn
 
@GoJavaAndCSharp Syntax: /learn NAME OUTPUT
 
user7627726
/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.
 
user7627726
5:22 PM
/recursive
 
~$recursive
 
/recursive
 
user7627726
 
user7627726
he's hot. literally
 
@GoJavaAndCSharp that's a he?
 
5:25 PM
Yeah did @Go just assume that poor fictional character's gender?!
 
user7627726
it's whatever you want it to be
 
user7627726
@ballBreaker I sure did
 
user7627726
you get to choose it's gender
 
Aren't those pony things all female?
 
user7627726
@Michael are you assuming their gender?!
 
5:26 PM
TRIGGERED
 
hides under desk
 
~$help
 
Available commands:
Builtin: asm, fibonacci, help, joinroom, learn, leaveroom, list, listcommands, rolldice, unlearn
Learned: coinflip, cointoss, echo, rand, recursive, tell
 
huh...
 
Psudohuman
lmao who's bot is that
It's spelled Pseudo
/shrug
 
5:29 PM
¯\_(ツ)_/¯
 
No clue. I saw him from time to time and now Oakie leaked the trigger >:]
 
@GoJavaAndCSharp It's clearly an attack helicopter
/urban helisexual
 
@ballBreaker helisexual: Someone who is sexually attracted to helicopters.
 
lmfao the example in that definition is the best
> Person A :"I sexually Identify as an Attack Helicopter ever since I was a boy I dreamed of soaring over the oilfields dropping hot sticky loads on disgusting foreigners. People say to me that a person being a helicopter is impossible and I'm fucking retarded but I don't care, I'm beautiful. I'm having a plastic surgeon install rotary blades, 30 mm cannons and AGM-114 Hellfire missiles on my body. From now on I want you guys to call me "Apache" and respect my right to kill from above and kill needlessly. If you can't accept me you're a heliphobe and need to check your vehicle privilege. Th
 
@ballBreaker Maybe "psudo" is some sort of portmanteau of "pseudo" and "sudo"
 
5:33 PM
@JennaSloan lol the definition of portmanteau is kind of hilarious
> 1.
a large trunk or suitcase, typically made of stiff leather and opening into two equal parts.
2.
a word blending the sounds and combining the meanings of two others, for example motel (from ‘motor’ and ‘hotel’) or brunch (from ‘breakfast’ and ‘lunch’).
 
user7627726
@OakBot How is that possibly a word? And how are you attracted to a helicopter?
 
you meant the first definition, right?
 
@GoJavaAndCSharp Type /help to see all my commands.
 
@GoJavaAndCSharp Hey man, don't be insensitive, that's a real gender
 
portmanteau is a portmanteau of port, man, and toe, though we don't know why...
 
5:35 PM
@JennaSloan Mind. Blown. xD
 
/react mind blown
 
/urban psudo
 
psudo (http://psudo.urbanup.com/2816838):
the first two letters of super and dope together,used as a way to say, "super dope"
 
lame
 
5:37 PM
I find animated gifs posted here really annoying. I can't close them, they just sit and fidget in front of me until I leave chat or enough comments appear
I suppose I could litter the
space with comments
and keep entering
carriage returns -- oh, thanks...
 
They eventually disappear
 
It just collapsed to a link.
 
Alternatively you could use this:
A SO chat plugin that @rlemon made
It lets you collapse anything anyone posts
(except text)
 
I'll keep it in mind.
 
@arcy OakBot hides them after 2 minutes.
 
5:47 PM
@Michael How does OakBot achieve it to hide in a room (not appearing on the right side)?
For example now he is not there
 
OakBot is a ghost
 
Yeah think so too
 
user7627726
@JennaSloan correction: A virus. He calls himself a harmless bot, but deep inside he's just hacking all of our computers as we chat
 
6:04 PM
@geisterfurz007 I'm guessing he leaves the room, but the program still analyzes the chat
Once there's a message notification for him he pops back in and f's s up
 
But I never saw the animation of leaving nor the one of entering the chat
He just disappears
 
You probably just didn't notice it
 
@OakBot
 
@geisterfurz007 Type /help to see all my commands.
 
Poof there
No animation
AAAAAAAAAAAAH
 
6:09 PM
hello :) how to set viewPager (Fragments) in a for loop?
hi geis, hi ball :)
 
heyo
 
:)
 
@geisterfurz007 He disappears from the list of chat room occupants after being inactive for some time.
 
May I ask how?
 
Apparently, this is what happens when you don't use web sockets.
 
6:17 PM
Huh so it is not on purpose?
 
I'm working on adding web socket support.
Nope
 
Ah! Good work then ;>
 
6:32 PM
Is a web socket different from what I just call "sockets"?
 
depends on what you call socket I guess
/javadoc WebSocket
 
@geisterfurz007 Sorry, I never heard of that class. :(
 
Well, it's a TCP construct, I believe, not specific to the world wide web
"WebSocket is an application protocol that provides full-duplex communications between two peers over the TCP protocol."
 
Yeah the class is even called Socket
but the package is called websocket
/javadoc Socket
 
So, yes, it's different evidently -- an app protocol, instead of just a TCP/IP Socket
 
6:33 PM
@geisterfurz007 java.net.Socket: This class implements client sockets (also called just "sockets"). A socket is an endpoint for communication between two machines. @since JDK1.0 (1/2)
 
So there is a socket, and a Java class Socket, and a protocol WebSocket (implemented by a java class called, big surprise, "WebSocket")
 
Bye!
 
7:04 PM
@arcy Web sockets is a web browser feature. It lets a website "push" data to the client.
 
The chat will actually use web sockets for some things (if your browser supports web sockets)
 
7:40 PM
You get all kinds of events. New messages, edited messages, deleted messages, when someone stars a post, etc
 
8:07 PM
Hey guys, anyone ever played around with libreoffice?
 
@user2417731 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
 

« first day (2438 days earlier)      last day (2517 days later) »