« first day (2881 days earlier)      last day (2074 days later) » 

12:00 AM
"Regardless of how you feel inside, always try to look like a winner. Even if you are behind, a sustained look of control and confidence can give you a mental edge that results in victory." -Arthur Ashe (source)
 
 
4 hours later…
4:05 AM
 
4:36 AM
@Dax I don't think there is.
 
Why would you need a friend list on stackoverflow anyways?
 
To have your personal assistant?
 
Zoe
Morn
 
user8622974
Morn
 
morn
 
 
2 hours later…
6:22 AM
Hi, Can anybody help me in this SO question I asked 2 days ago.
https://stackoverflow.com/questions/52253164/threadpoolexecutor-with-corepoolsize-0-should-not-execute-tasks-until-task-queue
 
@Steve 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
 
6:33 AM
@Steve Why don't you put a bounty on it if it's so urgent?
 
@JennaSloan It will be eligible for it in few hours
 
6:59 AM
slams head on desk
This laptop is so insanely slow...
 
morn
 
user8622974
morn
 
morn
 
Hey :)
 
@JudeNiroshan I never liven in Hamburg, sorry, only worked in the Düsseldorf office
 
7:05 AM
java.exe calmly eating 60% CPU.
motaa..... So we meet again
 
7:22 AM
@geisterfurz007 morn :P
what IDE would one recommend to do python
except intellij :P
 
PyCharm if you have a Jetbrains license, I guess
If not, eclipse is always a bad answer :)
 
ye we do have licenses but I am working from home :D
 
Sounds like a personal problem :P You can just work from work and bang! License :D
errrrrrrr
How do I do remote deployment to a wildfly server? I want to configure that in intelliJ but I have no clue about the staging section...
The server is not local, I don't have any directory mounted and I don't know about any ftp stuff in wildfly
Do I have to ask our server dude how to access the file system of the server or something like that?
 
noon
 
@geisterfurz007 I have no clue at all
 
7:38 AM
grumbles
Server dude is on vacation, I forgot.
So no remote deployment for me -.-
I didn't want to work efficiently anyway :)
Best lyrics video evah youtube.com/watch?v=zlpVHSLuHZM
 
2
Q: Startup a remote WildFly Server, and deploying to it

HarrietI would like to setup another machine as a deployment machine for my web project. Currently my setup is that I have WildFly on my own machine, and I start it up via eclipse (Keplar). I have an existing wildFly Server setup, that I just copied, and made changes to connect to a remote machine. I h...

 
Eclipse ._.
 
It also doesn't have an answer!
 
Even wörs!
 
@motaa Jetbrains licenses arn't bound to a singe computer
 
7:44 AM
Maybe they have a license server
 
morn-o friend-os
 
hey wonderb0lt :)
 
Dax
Hi, I am a biginner in jva and java 8, could someone tell me how I can get the X printed? paste.ofcode.org/hnLUVpa3Q9LN4tYdv6GMkC
 
Zoe
Morno @wonderb0lt
 
'ello lovely people
 
7:49 AM
You have to use a terminal operation. flatMap will not be executed unless you use one. Instead of using flatmap there (as you don't use the result anyway it seems) you can use forEach instead.
 
@Zoe Hey there, how are you doing?
 
Hey Gimby and Zoe :)
wonderb0lt do you have experience with wildfly remote deployment and stuff?
 
Zoe
@wonderb0lt meh. How're you?
 
Dax
@geisterfurz007 thank you, I try it :-)
 
@Zoe Same. Very tired from getting up early to get my new passport
 
7:55 AM
Gradle falls asleep. Nice.
> Executing task "war"...
You are not executing anything piece of rubbish
Ranting strikes once again. I got me .war.
 
8:18 AM
@geisterfurz007 deployment to a remote machine is something you generally do infrequently, so it is not very common to do such a thing from an IDE but rather it is setup to do it from a build server in a deployment pipeline. Then behind the scenes that can do a stupid SFTP to a deployment directory as the most simple solution. You can do a shell script to do that without a build server, if you have credentials of course.
 
Zoe
@wonderb0lt aw
 
@Zoe But our new passports look really cool
 
hahahahahahaha build server xD Good one :') I am happy that we got a gitlab server!
Yeah I guess that is correct but the remote server is the only way I see to get to test with the iPhone and android without pluging USB cables from here to there, disconnecting the tether if I want to research something (because for some reason when tethered, I cannot access the internet anymore), etc.
 
I like the modern look
 
You look rather girly on that one.
 
8:22 AM
:)
 
So I hoped I could set that stuff up in the IDE so I don't have the hassle of deploying by hand. But if I need credentials for that even if I had a build server, I need to wait for a coworker who is responsible for our wildfly to ask him about that. Thanks @Gimby :)
 
Zoe
@geisterfurz007 XD
 
Is there anyone having knowledge in NLP?
I am happy though that at least the thingy works on the remote server and I can login and stuff.
 
Zoe
Your sentence is weird xd
 
NO u.
\(-_\)
I should work...
 
8:25 AM
There is no one having knowledge in NLP.
Not on the entire earth
 
Zoe
Yep ;p
 
memes are to grammar as BMW's are to traffic rules
 
Zoe
@wonderb0lt did you mean MLP?
 
*Googles pancakes*
*Zoe jumps in front of the screen*
DID YOU MEAN WAFFLES?!
2
 
Zoe
XD
@geisterfurz007 I'd probably jump out of the screen though
 
8:38 AM
I think something is missing there.
A pencil icon, I'd say.
 
Zoe
@geisterfurz007 Did you mean me? :>
 
Aye.
Good, good!
 
Zoe
Let the sound flow through you
 
Dax
@geisterfurz007 NOw my code is like paste.ofcode.org/W2jZFpw5WE67JkjG4HgBbB if my input is : 35 30 15 13 when my X is 30 and y 15 I like to get 30/15 as a result I tried reduce, but I cannot get it work
 
Gnarf, pings.
 
@wonderb0lt
 
@geisterfurz00
 
askfjahsdkfakcrnaädkljaölsdfjqa
 
die doppelnull
 
8:48 AM
Ey!
Mean :c
 
Dax
9:04 AM
Hello! could someone please give me some tips, I expect to get ( 30/15 ) 2 as a result here paste.ofcode.org/tXc7XGrbTYrDi8GnJnZQDX but I just get 15
 
9:23 AM
@Dax Without any input data, helping you is impossible. Even then, have you tried debugging?
 
Offtopic question: For some reason firefox shows me possibly intended search queries above previously visited websites in the url bar. How can I flip that?
 
Plz help me with this question
https://stackoverflow.com/questions/52253164/threadpoolexecutor-with-corepoolsize-0-should-not-execute-tasks-until-task-queue
 
You already posted that 3 hours ago. Not a lot has changed since then, I think.
 
Dax
@wonderb0lt the input is : 35 30 15 13 (sorry I forgot to mention this)
 
@Dax you might want to isolate your issue
copy your code over to a different method and replace stuff with their values
for example, up to pattern.splitAsStream(line).map(Integer::valueOf).sorted(Comparator.reverseOrde‌​r()).collect(Collectors.toList()) you can replace it with the actual number list you expect to have at that point
 
9:34 AM
I couldn't find one for Java and I am too lazy to modify it.
 
Zoe
XD
 
Checklist for Steve:
 
Zoe
I haven't used debugging mode properly x3
 
Note: Don't take me or anything I do seriously unless I move your messages or kick you.
 
Zoe
Wait...
Does that mean...
That message isn't serious?
 
9:37 AM
BED TIME PARADOX!
 
@geisterfurz007 that is... awfully accurate
 
I felt so too when reading that, yeah :D
 
@geisterfurz007 you know you will get into trouble with that right?
 
Probably yeah. Fortunately that message wasn't serious.
 
@Dax try to rewrite it without streams.
 
Zoe
9:40 AM
But that would mean you are serious, which means the message is serious, which means it isn't serious, and which makes your messages serious, which meakes that serious, which makes it not serious, whi... ERR: Uncaught exception in thread 'parsing': com.zoebot.parsing.nlp.exceptions.FailedToHandleParadoxException. Restarting thread...
 
Oh no Zoe crashed in the nlp module
Is there anyone having knowledge in NLP?
 
Zoe
[ [ZoeBot] ] hard reboot complete. Starting at revision 674c100: "Patched paradox handling"
@wonderb0lt 42
 
This sentence is false.
 
Zoe
9:45 AM
@JennaSloan Incorrect. Your sentence is a String
:>
 
Cannot cast java.lang.String to java.lang.Boolean
 
USM
What exactly is lamda? in Java 8
in simple words
 
A shorter syntax for defining anonymous classes which implement single-method interfaces
 
@Nicktar heheh. okay :) But they have decided to select someone else. No luck for me :(
 
@Zoe It's actually a statement indicating that indicates that said statement is a lie
 
USM
9:51 AM
@wonderb0lt that is the only use case of that?
 
That only use case is quite big.
 
USM
i am not digging into it now.. for interview , i just have to say soething
with an example
 
Zoe
@JennaSloan I know, lol
 
@USM Let me dig up something from an old swing project, hang on.
 
USM
9:54 AM
Ill just repeat wonderbolt statement :P
 
@USM I hope you know what all these words mean, otherwise you make a really bad impression
 
Zoe
Oof
 
USM
i know anonymous classes and single-method interfaces(functional interfaces) individulally
 
USM
will check back at home. here in my company it is blocked
 
9:58 AM
Oof!
That's good. In that case it essentially boils down to what wonderb0lt said. With the lambda, you can implement an interface that only has one method without having to write all the boilerplate around it with new AnonymousClass() {...}
 
Hi friends..
How to send "confirmation SMS" to the users in a java based web app, what do i have to use for that?
 
java perhaps?
an sms library?
code?
 
You won't believe it!
 
an actual java based web app?
 
There is an SO question for that: stackoverflow.com/q/19373988/6707985
 
10:01 AM
@geisterfurz007 no no no no, that is step 2
 
first identify the problem
 
I have been 0 productive today...
I gotta close this thing here. Later o/
 
then look for SO if there are relative problems
 
@Wietlol Thanks
So twillio is the sms library?
 
10:03 AM
iDunno
 
I have a doubt about JMS, it says that JMS is used to send messages between multiple clients.
What kind of "messages" are that?
 
USM
anything
 
I couldn't understand it
Does JMS play any role if you send SMS to the clients?
 
What gives?! It is I!
 
10:06 AM
Yes
 
Android app is recompiling zzZzzZ
 
@USM it doesn't mention JMS anywhere
I want to know what is JMS used for
 
USM
Yeah because ur asking for SMS
 
Yes, I know about sending SMS now
but what does JMS's "message" mean
 
USM
6 mins ago, by geisterfurz007
There is an SO question for that: https://stackoverflow.com/q/19373988/6707985
it could be anything. ex. XML
 
10:09 AM
okay, n what are "message queues"
does JMS create them?
 
Zoe
Read the docs
 
USM
i guess queues are related to MQ,... i dunno ask experts
 
I read but couldn't understand the connection between "message queue", "JMS" and sending an "SMS/email"
 
USM
30
Q: What is Java Message Service (JMS) for?

DanielI am currently evaluating JMS and I don't get what I could use it for. Currently, I believe this would be a Usecase: I want to create a SalesInvoice PDF and print it when an SalesOrder leaves the Warehouse, so during the Delivery transaction I could send a transactional print request which just...

 
Zoe
;/shrug
 
USM
10:11 AM
Better write question on main site.. it will help others too..
 
Zoe
Not if it gets closed :*
 
i see the implementation of sending SMS according to the SO post u have given above.
But how do u send SMSs to the message queue
I dont find any post about it on internet
so im confused about it
 
USM
Why SMS ?
SMS as in mobile messges?
 
yes
 
USM
10:14 AM
u want to send SMS to message queue?
 
is there any relation between message queue and SMS?
as i know message queue has multiple messages pending
they are sent one by one
But message queue has different implementation, SMS code has different.
how do u connect both?
@USM Yes, if it makes sense
 
10:27 AM
Argh my react native toolbox works perfectly fine until I use logcat to check what my app is doing. Then it just crashes :3 Well not directly crashes but becomes unresponsive
 
JMS is absolutely unrelated to SMS.
 
@Gimby how are the messages queues when u send?
*queued
 
A queue is managed by software dedicated to that task. OpenMQ, RabbitMQ, HornetQ...
 
Okay, so just create the queue using OpenMQ,
the SMSs u send will be automatically queued?
or do u have to choose destination as "queue"
?
 
JMS is still completely unrelated to SMS.
 
USM
10:36 AM
^
i guess ur totally confused with SMS and JMS
 
now i understood.
but m i correct if i say the SMSs are sent to the message queue?
 
No, because JMS is still completely unrelated to SMS.
 
alright
then what will be queued in the message-queues?
 
JMS messages
 
alright!
when u send bulk SMSs using any sms gateway, they don't need to be queued?
 
10:53 AM
pokes @Zoe Do something.
 
Dax
Heh everybody, Is there anybody who can help me with this piece of code? paste.ofcode.org/385nXnw4eKHcEKJXAaNcpe9 the input is a file which contains 35 30 15 13 , how can I get 30/15 or 30 and 15 as a result? I appreciate a concerete solution, I am a biginner in java and java 8
 
System.out.println(30/15)
What do you really want to do?
 
@Dax I already gave you a tip to progress. Imperative code with loops is easier to get your head around
 
Dax
@geisterfurz007 goal is to find the only two numbers in each row where one evenly divides the other
 
You can still go back to streams when you have figured out how your algo should work
 
11:01 AM
First make it work, then make it pretty.
 
I would agree, yeah.
 
Dax
@wonderb0lt my intention is to understand how Lambda and stream , etc works, I do not want to use just core java
 
@Gimby Ok chances are that one might get flagged.... Just like with kids :o
@Dax You can still do that if you know that your concept works.
 
@geisterfurz007 flagged?
 
Dax
11:03 AM
I have been working on thi slike 12 hours, it drives me creazy
 
@Gimby Hm, yeah my comment about kids. Not your message, that is totally fine :)
@Dax In that case I have a way better suggestion than using loops.
 
Damn, I missed that one
 
Take a break.
 
And maybe start with a simpler assignment
 
Dax
or someone just help me to chage the code in a way it works and I learned something
:) sometimes life just get easier
 
11:06 AM
He he, I wish you good luck waiting for that to happen :)
That is exactly the kind of comment that turns everyone around you into an old teacher with a wagging finger.
 
Dax
what is the purpose of this room ?
 
> Java programming language, yummy food, and cats
 
and idle banter
 
And bashing weiltol
 
anyone here working on java spring ??
 
11:08 AM
@MoshiurRahman 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
 
@MoshiurRahman well I use it, I don't work ON Spring.
 
i am currently working spring framework @gi
 
morn
 
user8622974
morn
 
morn
 
11:10 AM
@gi
 
GiGi, I like that name
 
@Gimby sorry for type mistake
 
@Gimby That just qualified you for being called GiGi here forever :P
 
I don't mind
 
@Gimby haha
 
11:11 AM
Your choice, GiGi :)
 
What are you talking about
what is GiGi's choice
 
You'll get tired of that soon enough, the CaPiTaL switch is mildly infuriating.
 
gigi
:)
 
Gigity.
 
/twss
 
@MoshiurRahman besides condemning me to an even weirder username than I already have, did you have a question about Spring?
 
@Gimby i have no question now. I am just tried to find out who is working on spring
 
What do you mean by that exactly? Do you mean if there are people here who contribute code to the Spring project?
 
Zoe
@geisterfurz007 like what?
 
no no. I didn't mean that.
I am developing web application using spring. so i just try to find these people , who are also developing webs using spring
 
11:20 AM
Well, there is a whole Stack Overflow full of them :)
 
Oh. i see :)
 
posted on September 12, 2018

archive - contact - sexy exciting merchandise - search - about ← previousSeptember 12th, 2018nextSeptember 12th, 2018: RIDDLE WEEK concludes here! What last three days, but also lasts a week? The answer: RIDDLE WEEK– Ryan

 
I think , Java is a cool language.
I am working on this from last 2.5 years.
But still now , It seems , i have lot of things to learn from java
 
to learn from java?
tell me more
 
I mean java skills
 
11:28 AM
I haven't stopped learning the past 15-20 years.
 
wow :o . I am only 21 years :|
 
yeah yeah, I regularly feel very old hanging around this room.
 
USM
@Gimby Do you think Java will vanish ?
 
@Gimby I feel your (back) pain
 
@USM Eventually, yes. But it has been standing strong since the mid 90's, it is quite resilient.
 
11:32 AM
Wedging Spring into a Non-Spring monolith is harder than I thought
 
@MoshiurRahman get outta here grandpa
 
USM
@Gimby I think it will go on for another 20 Years
 
That would be a good estimate I think.
 
USM
Ill retire after that, :P
 
But then it will stick around for another 10 years where "old Java devs" make big bank supporting legacy systems that everyone is afraid to switch off or replace.
 
11:35 AM
20 years from now, we won't even have computers anymore.
 
@unknown why ? :|
 
Not in their current form maybe, but some form of a computer will always be ruling our daily lives.
 
Because the north korean global government (NKGG) will pull the plug
of all electronic devices
in order to establish a natural connection between people, they'll say.
 
@Zoe Dunno. Get creative. Stuff isn't working and I everything is horrible ._.
@Gimby awwww, don't worry. We still like you :D
 
@Gimby I stopped learning things about Java a few years ago
I know everything of Java
 
11:37 AM
Yeah you are the greatest Weiltol. You happy now?
 
JAva is German for Java and yes
 
there is one exception, where I learned something about Java
 
@Wietlol of course you do, you're amazing
 
Hello all
 
throw new NoException
 
11:38 AM
iirc, I wrote something like "til something about java"
here in the chat (or another chat)
 
Hello :)
 
but search cant find it
@geisterfurz007 I am not a Weiltol
 
Strange... Your name says exactly that.
W-E-L-I-T-O-L
Lietwol
 
Going to start developping an Android app, native code Android studio. I want to maintain the general lines of MVVM, but I only know how to do this with WPF C#
So I am wondering, is this a good example on MVVM at Android?
 
USM
Wheat Lol is inventor of Java and Regular Expression
 
I am sorry, but I fail to see the Java in your question. You might want to check the room description :)
 
Android native == Java
 
You misspelled "And no, Android is NOT Java (does not use the Java VM, runtime environment and base SDKs differ, etc)."
 
Jun 26 at 9:53, by Wietlol
on a side note... WOOOT TIL something about Jaba
 
Well alright then
 
11:42 AM
stupid chat search, give me results when I accurately ask for a message
 
I'll take my question elsewhere
 
You can argue semantics all day, but at the end of the day the goal is to pick the right target audience for questions to have a good chance of some semblance of a useful answer ;)
 
Bye all
 
in fact, that thing I learned back then is actually what we discussed yesterday with class
tomorrow, I'm gonna teach some fellow students some real shit
@USM I didnt invent Java, I just wrote it
dont be silly
 
Bye android guy
 
11:43 AM
Bye :)
:)
Spent 1 hour to get the streetlookup to work on the mobile side and now the webservice returns 500.
Yes.
And Youtube autoplay just started playing "Bleach".
 
Well then, it is answering.
 
now that I read my conclusion again... this is quite advanced stuff
 
Yes Wietlol, you are the greatest. The almighty, allknowing Wietlol. throws cookie Goooooooood Wietlol. Good job :)
 
@geisterfurz007 you wrote the name correctly three times. Shame. Shame. Shame.
 
NOM NOM NOM NOM NOM
@Gimby gimme some respect!
dont you dare disrespect a Majestic Green Lion
 
11:54 AM
I don't dare to disrespect any lion
 
unless it's green
but green lions don't even exist, so your statement is still true.
 

« first day (2881 days earlier)      last day (2074 days later) »