« first day (2587 days earlier)      last day (2347 days later) » 

2:14 AM
morn
 
2:27 AM
Firefox is being extremely slow and using greater than 3000 MB of memory
My computer has turned into a toaster.
 
Is it really that bad?
All the Chrome processes on my computer are taking up about 1500MB. Have 11 tabs open.
 
I have five tabs open, and only one of them is slow
 
3:26 AM
wheezes
 
 
1 hour later…
4:38 AM
is Google celebrating foods in your regions as well?
the other day it was Phad Thai, and today it's Kimchi
 
5:00 AM
"We are each gifted in a unique and important way. It is our privilege and our adventure to discover our own special light" -Mary Dunbar (source)
 
Zoe
5:53 AM
Morning o/
 
hey @Zoe
 
Zoe
Hey Tavo
 
how's it going?
 
Zoe
6:28 AM
Really tired, it's basically monday for me today. What about you?
 
I'm bored to death. I went to sign my new contract this morning (turns out my benefits are much better that what I thought they would be) and I have done a bit of work today, but I didn't have much to do
also, I'm alone in the office, which is pretty cool. I am blasting music through my speakers :D
 
Zoe
6:48 AM
Lol, nice
 
7:08 AM
it feels like the clock is ticking backwards though
 
yo
 
hey, what's up?
 
hey i am good
wbu?
 
I'm in between. On one side, I've signed the contract with my new company today. On the other hand, I can't wait to leave this shithole
I still have two and half weeks
so I'm counting the days
 
7:23 AM
oh notice period days sucks
 
I know
mostly because I don't get along well with the management here
so I'm doing stupid task after stupid task
 
Good morning o/
 
hey @geis
 
Even greater benefits sounds pretty good :D
 
salary is higher, position is higher, benefits are better
:D
 
7:36 AM
Woah *-*
 
sniffles
 
yup. But in exchange for that, I have to serve the rest of my time here
 
huh?
I assume this is a reference I don't get... Not entirely sure but I have a feeling :D
 
yeah, I'm on notice period at my current company
I'm not joining the new one until December
 
Ah screw it I misread something :D I read "there" instead of "here" ._.
 
7:46 AM
lol
well, I'll have to serve plenty of time there as well I guess :P
the funny thing is, being a VP, I don't have a probation period anymore. That was pretty strange
 
VP as in vice president?
 
yup
 
it's just a stupid level here to say you are one level above senior
 
Congrats, good Sir!
 
7:54 AM
means bugger all
thanks though :P
 
@Tavo wow awesome
 
apparently here in APac, there are three main levels: one is between graduate and mid-level, another one is senior, and the next one is VP, which is anything like tech lead, team lead, group lead....
 
congrats tavo
 
outside of Apac and the big banks, it means nothing. It's also very annoying, as name cards don't state people's job, just people's rank. I've been in meetings where everyone was VP, so I didn't know what they did or whether they were technical or not
@ColdFire thanks!
 
Hello Everyone, how u guy's doing today.
 
7:58 AM
hi
 
what's up tavo.
 
not much. Getting through the afternoon. Y'self?
 
lunch time at office.
what you're daily job is like as a java developer.
 
coding mostly. And shooing away micromanaging managers
 
coding on web or desktop?
 
8:08 AM
coding apis
no web. That's my next job
well, not really
but almost
 
what is pre req for developing apis in java,,? i am not really a java developer, but i want to dive into java , i mostly do , javascript and php.
 
core java
that's pretty much all you need
 
any EE stuff you learn is useful, but not critical
 
what kind of apis u mostly build or work on,, REST ,, SOAP ,,SOA
 
8:20 AM
my future job will be mostly rest. But not all apis are web-oriented
 
Ahn okay.
 
in fact, the apis the I develop here are just a collection of methods that return java objects
although, for some reason, the whole product are just two monolithic products
 
@Tavo can u provide me some resources for learning apis and building them with java.
 
eeehhh not really. I'm sure there are plenty of tutorials online, but I wouldn't recommend one
 
where u have learned?
 
8:23 AM
at uni and at work
mostly at work
 
~(°-°~)
 
but I'm always reading articles, releases, going to meetups and conferences...
 
oh nice which uni you're graduated from.
@geisterfurz007 Zombie :D ??
 
@BaranSaeed Yup ^^
 
hahaha good one :P
@Tavo sorry .
 
Zoe
8:36 AM
@Tavo the good thing about that is it'll become morning again, and then night :P so you can sleep the same night again ;)
 
But imagine going to bed awake and getting up tired...
 
ohh.
 
@geisterfurz007 you mean like it happens pretty much every night? :P
 
Wait a second... xD
 
lmao tavo
 
Zoe
8:48 AM
Lol
 
9:39 AM
Oh no, Firefox is using about 4000 MB of memory!
 
Wait what?
-2
A: Building a multidimensional array in vb.net

dssdasdget the illegal immigrants out. We need a wall.

 
yeah i shocked too @JennaSloan
 
@DeepikaMasilamani 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
 
9:44 AM
\o
 
Need some help
 
@geisterfurz007 people have a lot of spare time
I do as well, but I waste it in a complete different fashion
 
Oh, Firefox is downloading an update in the background and is hogging all of my computer's resources in the process.
 
@Tavo Yes unfortunately in some cases...
@DeepikaMasilamani Please give the people on the main site a few days before posting your question here. This is not meant to be a shortcut for your questions ;)
 
9:50 AM
I just wonder if it was a troll or someone that really thinks that way...
1 message moved to Trash can
 
@Tavo Dunno... But it just got deleted thankfully :D
 
yeah, but makes one wonder
ok, it's time to head home chaps
waves hand
 
Zoe
Cya Tavo
 
niters!
 
Niters :)
 
9:58 AM
good night @tavo
 
 
2 hours later…
11:41 AM
@DeepikaMasilamani shoot
 
Hi @Zoe what's up
 
Zoe
hey
 
hello
 
how's your day .
 
it was fine thanks wbu?
 
11:47 AM
@PeterHaddad same here thanks,
@PeterHaddad @Zoe have you both worked on any big data projects?
 
Zoe
Worked on multiple projects at least, not sure if they're big or not
 
wheezes
 
Zoe
coughs
 
:P ok let me ask it this way ,, have you worked on any data visualization project , or with these types of tools.
 
Zoe
Nope
 
11:56 AM
Ahn Okay. :)
o/
 
\o
 
you work at a startup @Zoe
 
Zoe
next to school, yeah
 
you are 16?
 
Zoe
12:03 PM
yeah
 
impressive.
 
Zoe
^^
 
@ItachiUchiha I am getting OOME : Java heap space error in my Java project
Before getting this error I have also received com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure when trying to connect to a remote database
I have deployed my project in tomcat7 web server and I am trying to connect with a remote MySQL5.1 database
Connection to the database is not a failure all the time. This happens once a week. So, IP and credentials of the database are not wrong
And since this is not happening all the time, I think it is not a memory leak problem. But I have no idea why Communications link failure exception is thrown
@ItachiUchiha How can i know the root cause for this issue?
 
Zoe
12:20 PM
Finally out of class
pokes @geisterfurz007
 
@DeepikaMasilamani This might be because of connectivity issues
@DeepikaMasilamani For memory leak issues a profiler might come handy
 
@ItachiUchiha You mean database server would have been down?
 
No, the link between your system and the remote database
 
@ItachiUchiha network problem when trying to connect to the remote database?
 
12:25 PM
And I suspect that OOME occurs because of this Communications link failure exception
@ItachiUchiha But I am facing this issue in production environment. So probability for a network problem is less
 
@DeepikaMasilamani That is hard to guess, you would need to take a heap dump and analyse it
 
@ItachiUchiha Okay, will do it
@ItachiUchiha For OOME, I can analyse heap dump. What about Communications link failure exception? How can I debug it?
 
@ItachiUchiha yo ita
 
@DeepikaMasilamani One bird at a time ;)
Yo!
 
yo whatsup?
 
12:42 PM
@ItachiUchiha Sure :) Thanks for your suggestion!
 
12:54 PM
@ItachiUchiha And one more thing, which profiler would you suggest me to analyse memory leaks? I have to use it in the production environment and it would be good if it is available at free of cost ;)
 
@DeepikaMasilamani Just use VisualVM. It comes bundled with the JDK.
 
@ItachiUchiha Thanks a lot!
 
 
1 hour later…
Zoe
2:05 PM
coughs
 
wheezes
 
kicks
 
Zoe
sneezes
 
punches
 
Zoe
beats
 
2:20 PM
sleeps
 
2:32 PM
thrashes
 
@ColdFire returned from a week's holiday
 
nice
 
3:11 PM
hello to all :)
@Zoe do you have time to explain how zoom code really works ? :)
 
Zoe
ZOom is fairly basic
Are you familiar with the percent to decimal number system? (e.g. 100% = 1.0, 101% = 1.01, etc)
If you're not, this is going to be a bit harder
 
Is there a way to execute .java files by only entering one command into the command line interface?
 
Zoe
java someFile.java
I think
Or was that Python?
Yup
where someFile.java is the main class
 
@Zoe so what should i learn first? pls give a term to above so i can find information abt it.
or maybe u can suggest any website
 
Zoe
The decimal percentage system is basic maths
decimalValue = percentage / 100
Scale of any object runs by the decimal value so that's why it's useful to know it
0.5 = 50% of the size, 1.5 = 150% of the size
If you have a rectangle with the dimensions x by y, multiplying the dimensions by a the value scales it
 
3:28 PM
@Zoe you mean I don't have to do it with javac, jar, and then java -jar?
 
Zoe
Looking aside the file not found problem, no:
 
so what would be next to learn as it comes to zoom?
 
Zoe
how you implement it into a given api
 
decimal percentage -> how to implement it into api ...
 
Zoe
in Android you'd use a Matrix on a layout
 
3:37 PM
hmmm
quite hard to grasp it :)
 
user8622974
There's a lot to think about, yeah
 
user8622974
whoops, wrong window
 
Zoe
Bot debug next to a live chat in the same browser is a terrible idea xD
 
Is using environment variables the "right thing to do" to store sensitive data such as database password in spring boot? I'm using environment variables, and accessing them in application.yml as such -> ${xyz}
 
can u say a bit more on this 'Matrix'? @Zoe
 
4:09 PM
sniffles
 
5:00 PM
Only 10% of energy in a light bulb is used to create light. Ninety percent of a light bulb's energy creates heat. Compact fluorescent light bulbs (CFLs), on the other hand, use about 80% less electricity than conventional bulbs and last up to 12 times as long. (source)
 
5:35 PM
Eclipse works fine for me when I try to read an xml-properties file. However, the generated jar file does not work. Everyone on stackoverflow gave the same solutions and many say it does not work for them, does anyone know why this (from stackoverflow) does not work from a jar but works in Eclipse: Properties properties = new Properties();
Thread currentThread = Thread.currentThread();
ClassLoader contextClassLoader = currentThread.getContextClassLoader();
InputStream propertiesStream = contextClassLoader.getResourceAsStream("app.properties");
 
Zoe
use FileInputStream instead
if it isn't added to the classpath, you can't use the classloader
 
Ok, let me try FileInputeStream. If that does not work, how do I add "it" to the classPath?
 
Zoe
drop the properties file in a resource folder
 
Yes, the properties files is in the resources folder
 
6:06 PM
Nah, FileInputStream did not work. If a file is in the resources folder, how do I use getResourcesAsStream() to read it, WHEN I HAVE A JAR?
 
7:03 PM
@Phil There is no getResourcesAsStream() method.
 
7:35 PM
Anybody else have a holiday tomorrow?
Is Thanksgiving just a USA thing?
 
Pretty sure.
 
7:52 PM
@Zoe got a question abt zoom. can't find our private room
 
8:15 PM
Why is the expression : 0.3==0.1+0.1+0.1 evaluated to false in java ?
don't the relational operators have lower precedence than addition ?
 
@Michael Got it, still, how do you read a file when the code is in a jar. I have tried what was posted in stackoverflow many times, but nothing works.
 
wheezes
 
You use FileInputSteam, passing in the path to the file.
 
0.1+0.1+0.1 will be some like 0.30000000000000004 instead of 0.3 as you expect
 
@Kyrya 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 hours later…
10:20 PM
@ky
@Kyrya: could you clarify why it is so ?
 
 
2 hours later…

« first day (2587 days earlier)      last day (2347 days later) »