« first day (3244 days earlier)      last day (1921 days later) » 
00:00 - 19:0019:00 - 20:00

00:00
Deliver yesterday, code today, think tomorrow. (source)
 
3 hours later…
03:15
Hi
@GurpreetKaur Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
Thanks OakBot
I am new in Java development . need some help with JSP. I want to clear browser cookies in jsp .
using this code
here is the full jsp page
https://pastebin.com/s8C9bPRA
its throwing exception of invalid jsp
markup
can someone help
03:32
1 message moved to friendly bin
please do not post unformatted code
have you checked that all your angle brackets match?
also, what is the exact exception that you are getting? Put it in your pastebin please
 
2 hours later…
05:27
Good morning :)
05:58
yo geis!
posted on September 09, 2019

Hey Tavo \o/
06:34
morno
hey Wonders!
hello.
how's things?
07:07
things are ambiguously ok
@Tavo I am physically intact
@JohannesKuhn A most recent bug was caused in our software when the code attached to the following comment was removed...
//documentation says it can be null if the object was detached ....
//hopefully it won't happen too often
07:42
pff, what does documentation know
documentation knows everything
it just tells you nothing
@wonderb0lt that's... good I guess?
Anyone here know how to delete a source file in Spring Integration when I have added a delay() in the sending of a message to an SFTP server?
You want to delete the file when the SFTP upload is completed?
Omg I realized that now that I am back at work, I got two keyboards again :o
07:59
omgasm
@Tavo 确实
Have you ever tried typing with your hands the other way around on your keyboard?
So you got your right hand trying to type what your left hand usually types and your left one does the stuff, your right one would do?
I just tried, I found I type with my pinkie :D
My left pinkie is only for shift and ctrl, I think
CAPS!
08:05
I hate React Native.
No joke, when going into this comparison project between Flutter and RN, I thought that RN would end up being the clear winner because I already have experience with it.
I wrote the Flutter version of the app within a single week while I am still fighting with RN
We're considering an Android/iPhone app, and for some reason we've chosen NativeScript
use flutter
I don't know what our architects smoke sometimes
Flip your architects' table and use flutter
@geisterfurz007 but muh dart!!! i can haz angular devs
I find that to be a moot argument but I'm not the one making the decision
08:09
I wrote that app within a single goddamn week never having seen dart before. That argument is rather flawed indeed.
dart is a fine language
flutter is a semi fine framework
JavaScript sucucks
that is why you favor flutter/dart
I on the other hand dont use JavaScript
hehehehe
@geisterfurz007 shrugs
imo they could make "it just works" their slogan
@geisterfurz007 you are the Jean Michel Jarre of IT
I find it important to have my entire system built in the same language
it has so many benefits
and I dont really see dart as my back end
08:16
googles Jean Michel Jarre
old school artist. Used to play the keyboards. Always had several
morn
morn
the new meta are built-on languages like typescript or kotlin
be hip. Use built-on languages
Oh ^^ idk, if they are placed properly, I find typing on both at the same time to be more comfortable
08:17
future meta: Wietlang!
to be seen
to be renamed first
That still isn't a thing because some developer stopped with LLVM IR
I realized "Wietlang" is not really a good name for a technology
Call it y337
08:18
Langlol?
LOLCAT
no, that's been taken, nevermind
@geisterfurz007 I gave the internal runner more priority because it is much easier to build and will allow me to create the fiddler
longcat is better
and it's loooooooong
verylongcat
cat++
08:19
or... smallcat
perhaps... intcat ?
bigintcat
shortcat?
int, long, loooooooooooooong
bytecat?
bitcat?
truecat?
catbytes
08:20
con-catbytes
Just call it a day
"a day"
"a day"
damn, beat me too it
hehehe
lolol
/cat
08:20
Yes, good job. That was the joke. 🍪 🍪 Here are your cookies :)
oh no
harassment
hey geis
hows it going ? long time no talk
I was about to ask for advice on how to focus on work. Then I realized that you are probably not the best to ask for that considering that you are here as well
I think I will call it "Programming Language"
as it will be the true programming language everyone will use
must make it easier to google
"What language are you using?"
- "Programming language"
"Yes"
- "Yes"
"What?"
08:23
reminds me of a comedian
yourself?
"I have shit to do."
"What will you do?"
"I have already told you."
@geisterfurz007 you re talking to me ?
no i was just checking for my old java friends since i havent been here for a while
hows work going ?
my vacation ended now im back at work since yesterday
@Hans1984 Pretty much everyone here because obviously they are chatting instead of working :)
i also have a thrombose in my left leg now and have to take medication every day and wear those socks...
08:28
I am also back since yesterday; had three weeks of before that.
those are the news
Oh noes! Das not good. Hope it gets better soon!
not good news
yeah thanks
Work is going the usual pace; got three screens now which is really nice!
3 nice
i have 2 at home for coding
but only one at work
but one is enough for IT-support
08:33
@Wietlol Every language has a word or seven like that.
Oh my god, he is everywhere!
Similarly, the word "like" can be placed almost anywhere in the sentence to alter its meaning or add flavor
Mr. Uchiha
Hebrew has the word "Yalla" which can be used for pretty much anything :D
08:37
@MadaraUchiha also, any word can be used to describe that you are drunk
yesterday, I was completely farmed
@Wietlol Dude, I'm totally keyboarded!
Yeah, I can see that working :D
it probably only works while you are still drunk
/shrug
¯\_(ツ)_/¯
@Wietlol He didn't speak about the pile of shit.
Does anyone give any shit about the Apple thing today?
@geisterfurz007 you mean the pile of shit?
08:40
that.
My app is one too, btw.
That shit doesn't work.
I know how you feel, I get that shit every time too
Oh shit, CF is here!
Hey CF!
hey cf
hey d0n.key
/8ball Did Michael take you from my chat ?
@Hans1984 Don't count on it
08:47
hmm
08:57
hey geiss and humans
Do you want to say that I am not a human? Please don't start this ghost and plane rubbish again.
aw, I almost grabbed the popcorn
grabs popcorn from wietlol
eats all of it
I HAVE IT
09:06
I will name my language "Popcorn"
why not
since theres already a language named after the german word for poo
and lin
@MadaraUchiha It's also in Arabic.
@Wietlol Ew.
hey Hans
09:44
/o
Oh noes, it's Druckles!
Ach Nase, it's der Hase!
Ah zut c'est la p***
10:12
In my Windows env variables, JAVA_HOME is different to the value I get from $ env | grep JAVA_HOME
Does anyone know how to set the value returned from $ env | grep JAVA_HOME
You can go and check your system variables. Under windows you have both User environment variables and system environment variables. Maybe both are set and env finds a different value than what you get in cmd?
Yes, windows is set correctly, but both env versions of PATH and JAVA_HOME are different
@TheCoder if path is separated by colons, then grep JAVA_HOME=([^:]+) should do the trick
or replace colon with semicolon or whatever
10:32
@TheCoder That's what I meant. I don't know the exact english wording for the dialog but you should be able to search for whatever "environment variable" would be in your language in the windows search bar.
You can see here that there are two sections: One for the user defined env variables (top) and the system wide ones (bottom)
Both sections have a path variable for example
So it could be that in your case JAVA_HOME is defined in both of those sections and you get one result in cmd and another one in bash for that reason because they read from those different sections.
What do you guys do with Java?
Hi guys
@Picco Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
i'm really crazy
I se dbeaver
and where I run my query it doesn't show the result damn
anyone can help me?
D-dog and now d-beaver?
10:37
dbeaver
damn so stupid application
@geisterfurz007 yes, there's a path var in both
Is there a JAVA_HOME in both as well?
And I guess the system one is the one thats being returned
Yes
But it's not the same as the one return in env
Both are not the ones returned in env?
(Ive upgraed to Java 11 but JAVA_HOME with env still says 8
Yes, different to env
10:39
Wait, so in that dialog you have checked both entries for JAVA_HOME and both point to Java 11?
No - only system vars has a JAVA_HOME variable set
Should I add one in the top dialogue also?
Did you restart the terminal since you changed the variable?
No, having one should be enough
Yes I did restart
Do you have a .bashrc or a similar file somewhere where that value might be set?
Ok, fixed it. Setting JAVA_HOME in user vars is now refeclting my java 11 installation
$ env | grep JAVA_HOME
JAVA_HOME=C:\Program Files\Java\openjdk11.0.4\
10:45
Hm, weird. It should not make a difference I think if you got it set in user variables or systemwide variables. Either way, good stuff \o/
I ran mvn clean install and my project built sucessfully
After adding
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>11</source>
                <target>11</target>
            </configuration>
        </plugin>
But I'm sceptical that it built as I expected jar incompatibility
Has anyone done an upgrade recently and spotted any gotchas
11:01
Same source code and you changed the source and target in maven to 11?
Why should stuff break?
I'm not sure Ive done it right
In my root pom.xml, I have                 <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${maven-compiler.version}</version>
                    <configuration>
                        <source>${java.version}</source>
                        <target>${java.version}</target>
                    </configuration>
                </plugin>
If maven didn't complain and your stuff still works, I don't see a reason it should have been wrong, to be honest.
How do I format that?
Ctrl+K when editing the message and then sending it
But when I write a Java 11 feature, the compiler complains it's not Java 11
When I use Intellij's suggestion, it puts thi in my module's POM.xml
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            <source>11</source>
            <target>11</target>
        </configuration>
    </plugin>
So I guess ${java.version} is still 8
11:06
oh a bird
too big to eat
:(
It is - fixed it
What happens if you take the first way you did it and removed the version tag?
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
    	<source>${java.version}</source>
        <target>${java.version}</target>
    </configuration>
</plugin>
Intelllij complains it's not 11 - and rightly so, I had it set to 8
Oh well then :D
I've updated it now and my issue is fixed
Yes - I didnt know it was set explicitly - presumed the POM read JAVA_HOME
Thid page seems to suggest there are many changes required medium.com/criciumadev/…
Mine builds without any
11:12
You mean the modularize thing?
Well, yes and jar changes
Is the Modularize thing mandatory or a best practice?
The latter as far as I know
When is a door not a door?
When it's a jar.
Jigsaw was introduced with Java 9 and since then I never understood it and never used it (not that I had a whole lot of projects > Java 8 but in those that were, I didn't use it).
In the top of that section you can see the advantages that it brings but if you don't need them immediately, you can just leave it for now and once you can/want to invest the time, you can still dive into that.
12:00
A strand of spider silk long enough to encircle Earth would weigh just over a pound. (source)
interesting
that really is quite impressive
I understand that gold can be thinned to some incredible extremes as well
spiders are more advanced than humans
thats what we can learn from this
gotta buy their tech
they're killing it
eventually they will overtake us
wrap us up in spider silk
for eternity
us dumb hooomans looking for aliens on other planets
meanwhile they are already with us !
/8ball are spiders superior to humans ?
12:05
@Hans1984 Yes
see !
They have 4 times the legs we have. Obviously they are superior
They also have 0 times the arms then.
they have 8 arms/legs
Then that's not 4 times but 2 times
12:12
they also can climb walls, sit on the ceiling upside down and then theres the silk part
how can anyone argue against them beeing superior ?
Can they make a banana milk shake though?
hmmm
Banana silk shake?
yum yum
12:29
hallo friends
@baileyhaldwin Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
hello friend
I'm not your friend, mate.
@baileyhaldwin hello friend
@geisterfurz007 lol that is my usual greeting
12:37
@geisterfurz007 thanks - yes I'll leave for now
You're welcome! Have a nice day ^^
18
Q: Will replacing a fake visa with a different fake visa cause me problems when applying for a legal study permit?

CharioI have a problem, 4 years ago my passport was stamped with a fake visa. I want to apply for a legal study permit now so my mother sought counsel from this immigration services agents and she took my passport as they said they could remove the fake permit. They removed it but left a huge glue prin...

you scared our friend away
:(
I was hoping for a bit more banter.
@Druckles I'm not your mate, pal.
12:43
@Neil I'm not your pal, brother.
@Druckles I'm not your brother, friend.
@Neil I'm not your friend, mate.
You lost, we had friend already.
Wate...
damnit!
12:45
22
Q: "Dammit" vs. "damnit"

Pieter van NiekerkWhat is the correct spelling, dammit or damnit? And what is the difference? Just writing this question brings up a red squiggly underneath damnit and the suggestions include dammit and damn it.

Dangnabit.
Dang it, Bobby!
hey guys i have a question
I'm trying to translate some Spring Boot code over to regular java
where i don't use as much Dependency injections
```
```@Value("${client.certificate.file}")
String certificateFile;

@Value("${client.certificate.password}")
String certificatePassword;

@Value("${client.connectTimeout}")
Integer connectionTimeout;

@Value("${client.responseTimeout}")
Integer responseTimeout; ```
That won't work here sorry :D
12:53
you can't ask stuff here?
`_´
You can put your code in there and press Ctrl+K prior to sending or use a paste site for anything > than 10 lines.
@Value("${client.certificate.file}")
String certificateFile;

@Value("${client.certificate.password}")
String certificatePassword;

@Value("${client.connectTimeout}")
Integer connectionTimeout;

@Value("${client.responseTimeout}")
Integer responseTimeout;
Sure you can! That's what chat is for ^^ The "Won't work here sorry" was regarding the formatting of the code :)
oh okay thanks
The values here are dependency injected from a .properties file
12:54
You can also remove messages by clicking on the left side (there will be a small arrow and choosing delete ;)
and refered to with the this keyword
..someMethod(this.certificateFile)...
i coulddo the same be just instanciating a hardcoded value, and not using the this keyword right?
String certificateFile = "some path to a file"
someMethod(certificateFile)
In theory yes. If that is all the configuration you got, you'd still have it in one file just in Java then.
But that is the point. If you use that configuration file in multiple java files by injecting those values, you would split your configuration in many parts.
The thing is that
There is also a difference if you hardcode strings which are then compiletime constants and can be read from the bytecode (which you don't want to happen with a password)
i need the code examples from an API made by the goverment
and the only exaple is made in Spring
and i use an internal system from my company
which uses somethin else (still java9
so you would suggest still reading the password in from a file of some sort?
12:58
So you want to drop Spring entirely?
Might not go well.
You might find it just comes back up again.
And instead fully move to your company's system?
@Druckles thats why you make sure it's dead when you drown it
@Hans1984 If you drop it in the water, it will probably just float. But less likely to bounce.
Yes i want to avoid spring
because we use a different custom framework
but we have to use this api
13:05
@Druckles I'll make sure it won't bounce..ever again
but float
anyway
haven't really worked with spring a lot
Maybe you can give it another try in 6 months :-)
Druckles, please
Then I got two suggestions: Check out and understand the code on how to use the API instead of breaking down the Spring project to get to the bits you can copy.
If that doesn't work, try to see if your company framework got those config options (reading from a file) as well. If nothing else helps (but I really suggest the first one if the API is either a jar or some Web-Request stuff you can figure out by looking and understanding the code instead of copying wild bits from it), hardcode the values.
 
4 hours later…
16:54
Hey guys, I'm having a Maven issue. I'm using a Stanford API that's available as a Maven dependency, with scope set to compile. Maven produces my JAR, but when I run it I get a NoClassDefNotFoundError. The JAR does not have any of the Stanford class files, so I think that the issue is that the dependencies aren't present in the JAR when running, hence the error.
Anyone know how to fix that? I've tried this: stackoverflow.com/questions/46510116/…
wait...it worked, sort of...it made two jars, one with the deps and one without. The one with the deps doesn't have a properly formatted MANIFEST.MF, even though I've specified which class is the main class...
The one without the deps, technically exploded deps, has the dependency JARs. It has a class-path attribute in it's MANIFEST.MF, surely then, with the class path being specified to include the dependency JARs, stuff should work?
Ah, I can just copy-paste the Maven Archiver config
Took a bit long to run maybe? Spat out some errors about SLF4J, which I guess a dependency uses? The stanford stuff is for NLP, so maybe it's just intensive.
17:10
iirc standford libraries are huge
like... huge huge
I guess the question now is why didn't the one with the class-path element in the MANIFEST.MF run? I don't know diddly squat about including dependencies in JARs. I did see a question and the OP says he knew you can't just slap dependency JARs into your JAR
Don't you need implementation as scope? Let me check that.
@Wietlol du -h on the exploded JAR is 507MB
Or was that gradle
ok, yah that should be correct
The unexpoded JAR is 367MB
@geisterfurz007 For which plugin?
17:14
more like 1GiB
well
oof
I've got lm_sensors installed, letting me see temps
My cores are at a minimum of 163, max 186 Farenheit
................
while compiling LMFAO
they've dropped by 20 - 40 F
damn
I guess something changed between 3.9.1 and 3.9.2
The models JAR is just English btw I think
I dont think it changed
<dependency>
	<groupId>edu.stanford.nlp</groupId>
	<artifactId>stanford-corenlp</artifactId>
	<version>${stanford-nlp.version}</version>
</dependency>
<dependency>
	<groupId>edu.stanford.nlp</groupId>
	<artifactId>stanford-corenlp</artifactId>
	<version>${stanford-nlp.version}</version>
	<classifier>models</classifier>
</dependency>
<dependency>
	<groupId>edu.stanford.nlp</groupId>
	<artifactId>stanford-corenlp</artifactId>
	<version>${stanford-nlp.version}</version>
	<classifier>models-english</classifier>
I think you are missing a vital part of your dependencies
Maven: You can find Stanford CoreNLP on Maven Central. The crucial thing to know is that CoreNLP needs its models to run (most parts beyond the tokenizer and sentence splitter) and so you need to specify both the code jar and the models jar in your pom.xml, as follows: (Note: Maven releases are usually made several days after a release on the website.)
This made it sound like I just needed the corenlp and models as deps
what's models-english-kbp?
hmm... I think the english deps are just an extension to the dictionary
> The English (KBP) models jar contains extra resources needed to run relation extraction and entity linking.
- https://stanfordnlp.github.io/CoreNLP/
@Ungeheuer Nah, I was confusing maven with gradle there. In gradle you got compile and implementation which act similar I think.
18:08
Hi, what library should I use for password hashing with argon2i or bcrypt?
00:00 - 19:0019:00 - 20:00

« first day (3244 days earlier)      last day (1921 days later) »