« first day (2410 days earlier)      last day (2545 days later) » 

1:08 AM
Is there a way to call a super class method from within main
 
@Gorgon_Union What do you mean?
 
@JennaSloan I'm trying access a method in parent class in the "Run" / Main without having to use an instance of any child class.
I remember there being way, but I forgot. It's something like changing it to a protected or static method.
 
1:54 AM
Nevermind, I was able to figure it out.
 
I think I've figured out how to use a CookieHandler
You just do CookieHandler.setDefault(new java.net.CookieManager()); and subsequent HttpURLConnections will magically use it.
 
2:09 AM
@Jenna Apache's HTTP library is nice. I feel like you should avoid using the java.net stuff for anything non-trivial.
 
2:22 AM
External libraries are overrated
 
 
2 hours later…
4:00 AM
"It is not the mountain we conquer, but ourselves." -Edmund Hillary (source)
 
4:44 AM
 
5:23 AM
@geisterfurz007 Have you started taking flying classes?
 
6:21 AM
looks like he took one and it didn't go well :P
 
morning
 
@Tavo lol
 
@Tavo lol :D
there were times I started to dislike JS but now getting in Node.js changes all that :D
 
6:52 AM
@motaa I'm like 99% that what you dislike about JavaScript is the DOM API
Which is shite.
JavaScript itself is a solid, expressive language (with admissible flaws)
 
@MadaraUchiha I totally agree with you... the DOM API is crap :D
but hey we got jQuery :D
 
I think the problem with jQuery (which isn't really a problem with jQuery per-se, but more with the community) is that nearly all of the jQuery code you see out there is just that, jQuery code.
You see a 2000 line main() function written with jQuery
No structure whatsoever, no thought goes into the program design
At least Java forces you to write things in classes
When Java code looks bad, you wanna kill someone
6
When JavaScript code looks bad, you wanna kill yourself.
3
 
absolutely!
require() isn't just node specific?
because I seriously like this require() stuff
and I am thinking about using node.js for my indoor navigation stuff
this require() stuff sugerates some sort of classing ;)
 
7:26 AM
FUCK SO! I wrote a whole paragraph and it was consumed by the hungry chat engine?!
@ItachiUchiha No I did not :( On one hand I want to surprise my parents with it and on the other I need a signature of them because I am still underaged. And in addition to that I will have to take theory lessons first and I would miss 4 due to beeing on vacation. So I will start when I am 18 which is mid-september. However I will take a testflight to see if it is that what I hope it is
 
@geisterfurz007 thumbs up
 
7:51 AM
-2
Q: select all fields of rows and group them based on one column

faraaThe table in database has column a,b,c .each two rows in database have same values in column c . I want to get and store these pairs for the next operations. I am using hibernate (But not criteria interface). What is the best solution? Person Entity: +--------------+----+-------+---+ | person O...

 
@faraa 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
 
8:26 AM
/splash
 
@motaa require() is given to you by libraries
 
Mostly, webpack (or the less modern alternative, browserify)
 
he tells a different perspective to life, which is so true.
 
8:28 AM
But yes, it can be available in the browser with those libraries.
Most modern JS devs develop this way.
 
9:17 AM
@ItachiUchiha Massive! Not only a great voice but a great attitude as well
This was one more point that ensures me to do my pilot license :)
 
@geisterfurz007 I can relate to most of what he is saying in the video :)
 
And the funny thing is: I can 100% follow him. Last week I was simply breaking out of my routine (getting up, college, computer, sleep) by taking a bike ride with a friend through the city and it was amazing! The day got way longer! And tomorrow we are heading out to the airfield. Partially to work for college and partially to simply watch and dream
I contaminated him with the idea to fly xD I talked over that so much that he now thinks about doing it himself once he is done with studying and is working safely :D
And currently? I have my routine as above. And at first I though, having a routine is something great and I still think it is but only for smaller tasks one is then able to accomplish faster. But that to have a new task, a new aim
Thanks for sharing @ItachiUchiha
 
@geisterfurz007 :)
 
And what does college teach? You have to work in routines -.-
 
9:59 AM
@geisterfurz007 Colleges just makes you ready to do the same thing for the rest of your life ;)
 
 
2 hours later…
11:38 AM
@geisterfurz007 great
@geisterfurz007 lol
 
@ItachiUchiha After listening to that guy I do not want to live after a routine...
After that I actually wondered, if there is a real routine in the life of a pilot/co-pilot... I do not hope so :D
But I think the routine of working as a pilot is a more exciting one than the one of a programmer. At least in my mind...
 
who knows it could be better or worse
 
@geisterfurz007 Depends
Most commercial flights are handled 90+% by the auto pilot
 
@MadaraUchiha doesnt it require a pilot to be present at all times tho?
 
@ColdFire Yes
But you're about as helpful as the potted plant most of the time
Just monitoring the numbers and making sure they're acceptable
Pilots only take over for communications, landing/taking off in less modern airports (where the apparatus can't do it automatically), and in cases of problems.
 
11:54 AM
yeah
 
Hi Java!
 
@MadaraUchiha Indeed the auto-pilot handles the stuff. You are still required as you said to communicate and set values. In addition to that you have to feed the auto-pilot with values. It is like saying that your computer does most of the work which is true, but you still have to operate it :D
 
@geisterfurz007 Yes, but unlike programming there's no problem solving (unless, of course, something bad happens) involved
You enter the destination and some values according to the manual/your training, and you keep an eye on them and adjust when you need to
You aren't given an abstract problem that you need to solve in some fashion, and you need to teach the plane how to fly or some such
(That's not to say by any means that the job they do is not important, mind you, just that it's different from programming, and not necessarily more exciting)
 
12:13 PM
^ I agree
 
@MadaraUchiha Well you constantly have to keep an eye out. I think that one can probably generalize it down to similarities, but yes programming is way different than flying. But my imagination of programming is well... sitting in a room and hammering on a keyboard whereas beeing a co-pilot is visiting places, the need of beeing on the lookout for possible threads etc. . And that is in my mind way more exciting than programming. I will see how things turn out in the future but my hope
for a life outside of an office is existent
 
@geisterfurz007 It's not much different (and even easier in many ways) from driving a car
 
great geisssssss
 
@MadaraUchiha That sounds like you are experienced?
 
@geisterfurz007 Hello World level, but yes.
 
12:16 PM
@geisterfurz007 well military?
 
@ColdFire Yup
 
thought so
nice man your country is full of soldiers
everywhere
 
I was airforce, not a pilot myself, on the ground crew, but I got into a bonus flight as a navigator once
But I do know what all the little knobs and levers do
At least on an F15
Worth noting that fighter jets are completely different beasts from commercial ones
Most don't have an autopilot, for starters.
 
yeah
 
Jes
Hi java
Good morning
i am trying to add 5 minutes to string timestamp
sdf.format(new Date(Long.parseLong("20170518010336") + 5 * 60 * 1000));
getting this 26090306084705
wrong value
 
12:33 PM
I can understand the excitement of visiting new places and driving a vehicle in air. But, IMO, these are momentary happiness, reason being:

* In case of commercial flights, you don't really get a lot of time for sight seeing (although I am not sure)
* Something which you can do all the time gets boring eventually, and so will flying at one point of time.
 
@MadaraUchiha Anyways I will try it out. And yes one might not have the most of freetime to visit the places, but even once or twice would be worth it :D
 
@geisterfurz007 geisssssss what you doing btw?
 
If in all the time I am able to experience something like that... It will be worth it...
 
looks awesome
 
@geisterfurz007 So go and take a flight course
 
12:40 PM
@ColdFire sitting in the college with other hoomans and doing stuff
@MadaraUchiha September is the start ;)
 
@ColdFire In theory I'm working
@geisterfurz007 \o/
 
Until then it is only dreaming :/
 
@MadaraUchiha what about in practical?
 
In practice, I'm sitting in a Java chatroom talking to strangers about flying.
 
@geisterfurz007 \o/
 
12:41 PM
:D
 
haha
 
What's cat + cat cubed, cubed?
 
brainfuck
 
12:42 PM
fuckfuck
 
@geisterfurz007 \o/
 
@MadaraUchiha cute
 
@MadaraUchiha Cuteness overloaded.. meow
 
fge
1:23 PM
@MadaraUchiha which one is dead?
 
@fge Neither, you're observing both.
 
fge
Yeah, true, their wave function have collapsed -- lucky them :p
Physics joke aside, that's quite a photo here
 
Hey @fge
 
hey
 
1:51 PM
Happy Memorial Day, Java!
 
2:01 PM
ello
 
Hi I'm new to Java, well programming in general and I have no idea how to use MouseMotionListener
 
@Martin 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
 
can someone help me out?
 
@Michael \o/
Aye @ballBreaker :D
Sry for pings :D
 
2:06 PM
Hey @gei
Hey @crab @Madara
Forget quantum physics. Scientists need to find out why cats like boxes so much. xD
 
hey
 
Hey @Cold
 
2:23 PM
How do we close the connection pool when we undeploy the war file from tomcat?
 
@driftking9987 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
 
Sure thing @OakBot
 
@driftking9987 Type /help to see all my commands.
 
@geisterfurz007 aye buddy
pings don't bother me, no worries ^^
 
2:24 PM
Is there any function which is called when we undeploy the app from tomcat?
 
Android or Java?
 
none
 
all wrong.... yes would have been the correct answer...
 
huh
 
2:27 PM
Am using HikariCP connection and when I undeploy the application, the connections which are being created by the application, remains open evven when I undeploy it. It doesn't even close the connections when i stop the application,
 
Hi, good morning. Someone here speak Spanish? :c I need help
 
@user2930137 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
 
Anyone here familiar with EJB 2.0 in websphere?
 
@NullPointer 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
 
SBM
Hello
Good evening folks
hmm
 
2:36 PM
Not a fan dub, this is the actual English version
 
3:08 PM
@ndm13 this doesn't compile due to error. Could you check it?
 
3:58 PM
@MadaraUchiha I haven't seen Ghost Series but was I supposed to laugh?
 
lol
 
4:33 PM
@nbro
 
posted on May 29, 2017 by CommitStrip

 
I do understand what you are saying and actually understand now aswell what you said a few months back about JS :)
So I will definitely look way deeper into JS. Would you recommend any library that I could use to create 2.5d maps like f.ex. google does when you use 2 parallel fingers on googlemaps? I could put those vectors in any format I like :D
 
JQUERY
 
@motaa Perhaps d3
 
I was thinking about D3 aswell
 
4:48 PM
not enough jquery :/
 
it is based on jquery :D
 
well not entirely but works like it :D
 
ever used this webgl?
 
4:49 PM
Never did web
except for a training at my company
 
I have done quite a lot of d3
but I think that it won't visualize my stuff I want to do fluently enoughg :D
@geisterfurz007 you have to take a look at node.js... it is freacking awsome!!! No kidding
but I love Java more :D
 
Well yeah I only do Java :D No Javascript/PHP or anything
However this will soon be needed for a private project I think
Gotta write some code on a website that will connect to a database to do stuff. Probably even have to take care of multiple tries to access the database at once
 
nice gei
 
yeah
I will see how that goes
 
@geisterfurz007 hope by the time i come to germany you would be rich
so that we can enjoy \o/
 
4:57 PM
lol
 
or atleast free
 
well what I know so far @geisterfurz007 is that node.js is what you should go for when you need to do a lot of concurrent stuff
 
hey ita cat
 
node.js vs apache php :D
 
4:58 PM
@motaa AFAIK, there is no concurrency in NodeJS. It is a single threaded platform. All it does is callback.
 
@ItachiUchiha yes but still when like 10k calls come in at the same nanosec?
I thought that node is threading since you will have a listener up all the time
but @MadaraUchiha might enlighten us :D
anyways what struck me was the follwing
 
You can fork processes and communicate between them
 
I take my time if I need it :D @ColdFire The private project has no time limit and I do not even get paid for it (eventhough I will probably ask if once it is done I get some payment... I spend a lot of time working on that once it will be in the state the guy described...)
 
There are talks of threads in Node 9, but that's still in the horizon.
 
@motaa Thanks for the hint :) Guess I will go for Javascript then :) Soooooo much to learn...
 
5:01 PM
@motaa NodeJS's assumption is that the major bottleneck in most web apps today is the IO
And so IO can be done concurrently behind the scenes with the help of the event loop.
It's still a single thread though.
 
1) Total request: 1,000,000; concurrency level: 20,000:
node.js:
Time taken for tests: 1043.076 seconds
Complete requests: 1000000
Failed requests: 25227
APACHE:
Time taken for tests: 3570.753 seconds
Complete requests: 1000000
Failed requests: 2617614
look at the fail requests of apache :D
 
Apache starts a worker thread per request
It's not surprising that 20k concurrent requests are enough t o completely DoS it
 
ye
 
@geisterfurz007 oh that is nice
 
but since I want to do a realtime project I guess node.js is the way to go
and realtime with like 1000 users concurrently
 
5:04 PM
@motaa why no Java?
 
because I am doing indoor navigation without a dedicated app @ItachiUchiha
well I am using an app... the browser! :D
and what I am doing now is training my algorithm to characterize rescure plans for further indoor mapcreation
what I mean by rescue plans are those hangouts that show people a map of the interior to get to the nearest exit in case of an emergency
these are DIN normed and the goal right now is to extract rooms and floors by just taking a picture of them :D
 
 
1 hour later…
6:12 PM
hi gays
 
@Michel 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
 
@Michel o/
 
I have a problem with JPQL that I can not display the good result of the request
This request (JPQL) does not display all the CheckLists of the "CheckLists" class and the checkLists that are answered (found in the "ResponsesCheckLists" class).
I want to display all the checklists of the "Checklists" class that are answered (found in ResponseChecklists) and checklists that have not yet answered (are in the "CheckLists" class)
Possible to help me @ItachiUchiha :)
hello
 
6:31 PM
@Michel I am not very good with JPQL so I would refrain to answer
 
I also am not very good with JPQL,
thank you
@ItachiUchiha
 
@ItachiUchiha Yo!
 
7:23 PM
Someone exists here
 
7:37 PM
@nbro o/
 
8:22 PM
@ItachiUchiha Is there a solution?
plz :(
?
 
@Michel
 
@RafaelGuillen 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
 
Use join left instead inner join
 
8:41 PM
@RafaelGuillen OK I will test
@RafaelGuillen I modified as you said but I still have the same result, this request displays only the checklists existing in the class "ResponsesCheckLists"
but I also want to list the checklists that exist in the "CheckLists" class,
How can I change? thank you
 
8:58 PM
I think the jpql query should look like:
''''''
 
@RafaelGuillen Your query displays this problem
Caused by: java.lang.IllegalStateException: No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode
+-[IDENT] IdentNode: 'c' {originalText=c}
I do not understand why it shows this problem?
This is the table in the Checklists class :img15.hostingpics.net/pics/4807256301.png
This is the table in the ResponsesCheckLists class : img15.hostingpics.net/pics/4476206602.png
 
9:44 PM
you're here @RafaelGuillen ?
 
Is it bad to do catch(Exception e){throw new Error(e);} ?
 

« first day (2410 days earlier)      last day (2545 days later) »