Info

Login

Channels

APIs

Credits

  • cheeser
  • ernimril
  • joed
  • kinabalu
  • lunk
  • ojacobson
  • r0bby
  • ThaDon
  • ricky_clarkson
  • topriddy

« 2019-01-09

2019-01-10

2019-01-11 »

Nick Message Date
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [12:01]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [12:12]
immibis [immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz] has joined ##java [12:16]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:22]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [12:23]
Byteflux [Byteflux!~byte@byteflux.net] has joined ##java [12:43]
iLoop [iLoop!~iLoop@unaffiliated/iloop] has joined ##java [12:47]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net] has joined ##java [12:48]
AMcBain [AMcBain!~Art@172-223-245-094.dhcp.chtrptr.net] has joined ##java [01:04]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [01:13]
fairuz [fairuz!~textual@unaffiliated/fairuz] has joined ##java [01:22]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:a18e:57a2:dadf:4972] has joined ##java [01:24]
fairuz [fairuz!~textual@unaffiliated/fairuz] has joined ##java [01:30]
palasso [palasso!~palasso@unaffiliated/palasso] has joined ##java [01:32]
kgrimes2 [kgrimes2!~kgrimes2@172.11.18.93] has joined ##java [01:36]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [01:38]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [01:43]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [01:47]
sbeex [sbeex!~sbeex@46.140.90.107] has joined ##java [01:49]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [01:50]
sbeex good morning [01:51]
bendem [bendem!~bendem@irc.bendem.be] has joined ##java [01:51]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [01:54]
srisri [srisri!~srisri@183.83.79.241] has joined ##java [01:54]
esro [esro!~esro@95.155.114.211] has joined ##java [01:54]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [01:57]
keepLearning512 [keepLearning512!~keepLearn@106.51.72.155] has joined ##java [02:00]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:01]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:04]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [02:05]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:08]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:12]
srisri [srisri!~srisri@183.83.79.241] has joined ##java [02:14]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [02:15]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:15]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:18]
Zee- [Zee-!~Zee-@94.189.43.76] has joined ##java [02:21]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:22]
bnyio [bnyio!~bnyio@alcatraz.open-xchange.com] has joined ##java [02:22]
Xiti` [Xiti`!~Xiti-@unaffiliated/xiti] has joined ##java [02:25]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:25]
led_dark_1 [led_dark_1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [02:26]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:30]
AlHafoudh [AlHafoudh!~AlHafoudh@echo.freevision.sk] has joined ##java [02:32]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:32]
Xiti [Xiti!~Xiti-@unaffiliated/xiti] has joined ##java [02:33]
srisri [srisri!~srisri@183.83.79.241] has joined ##java [02:35]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:36]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [02:36]
widp_ [widp_!~widp@webauth-51-224.uni-paderborn.de] has joined ##java [02:38]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:40]
acidjnk [acidjnk!~acid@i577BCAD6.versanet.de] has joined ##java [02:40]
nebulae [nebulae!~nebulae@2a02:587:a25:c400:c908:5de4:b213:4b33] has joined ##java [02:42]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:43]
Tichodroma [Tichodroma!~lutz@fsf/member/Tichodroma] has joined ##java [02:46]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:47]
Gr33ntea [Gr33ntea!~Gr33ntea@pool-108-5-230-2.nwrknj.fios.verizon.net] has joined ##java [02:48]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:50]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:53]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [02:57]
Kol [Kol!Kol@S0106bcd1656621da.vc.shawcable.net] has joined ##java [02:57]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [03:00]
fatdragon [fatdragon!~fatdragon@cpe-107-184-107-243.socal.res.rr.com] has joined ##java [03:01]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [03:04]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [03:08]
SchleimKeim [SchleimKeim!~mma@unaffiliated/schleimkeim] has joined ##java [03:10]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [03:11]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [03:14]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [03:14]
sauvin [sauvin!~sauvin@about/linux/staff/sauvin] has joined ##java [03:17]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:2584:1565:8cd0:8e4c] has joined ##java [03:18]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:1980:df26:646b:1caf] has joined ##java [03:23]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [03:29]
satifant [satifant!~sati@unaffiliated/satifant] has joined ##java [03:30]
mona_x [mona_x!~mona_x@82.99.53.134] has joined ##java [03:30]
Taylor [Taylor!~Taylor@unaffiliated/taylor] has joined ##java [03:31]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [03:38]
vdamewood [vdamewood!~vdamewood@unaffiliated/vdamewood] has joined ##java [03:43]
X230t [X230t!x13@gateway/shell/suchznc/x-imwadqaemanjdlar] has joined ##java [03:50]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [03:50]
Tobbi [Tobbi!~Tobbi@supertux/tobbi] has joined ##java [03:52]
nunllk [nunllk!edium@gateway/shell/suchznc/x-ptfwlimhpdjgbpfx] has joined ##java [03:52]
Drosan [Drosan!~dr0@gateway/shell/xshellz/x-otczbqiturzxghuk] has joined ##java [03:53]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [03:55]
paul1us [paul1us!~paul1us@212095005149.public.telering.at] has joined ##java [03:58]
wyre [wyre!wyre@gateway/shell/xshellz/x-rbbkbasvdpoucigz] has joined ##java [03:58]
deavmiHome [deavmiHome!~deavmi@165.0.49.2] has joined ##java [04:00]
paul1us hey all, I am currently trying to learn java and am struggling to find some problem sets for beginners to learn lambdas (to be begin with Function<T,R> and Predicate. [04:00]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined ##java [04:05]
fairuz [fairuz!~textual@unaffiliated/fairuz] has joined ##java [04:06]
odinsbane lambda [04:08]
odinsbane The Java 8 Lambda Expressions Tutorials are located at http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html [04:08]
shirafuno [shirafuno!~shirafuno@5.148.64.4] has joined ##java [04:09]
[twisti] lambdas are most powerful in connection with streams, it might make sense to learn both in parallel [04:14]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:1980:df26:646b:1caf] has joined ##java [04:17]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [04:21]
mbagari [mbagari!~manojbaga@2401:4900:2ee1:33f2:1980:df26:646b:1caf] has joined ##java [04:23]
paul1us [twisti], thank you :) I will start with streams next week :) [04:23]
BoatOfCar [BoatOfCar!b4b5a21e@gateway/web/cgi-irc/kiwiirc.com/ip.180.181.162.30] has joined ##java [04:44]
nikivi [nikivi!~nikivi@nikivi.powered.by.lunarbnc.net] has joined ##java [04:44]
blackntan [blackntan!~blackntan@unaffiliated/blackntan] has joined ##java [04:46]
pppingme [pppingme!~pppingme@unaffiliated/pppingme] has joined ##java [04:51]
led_dark_1 [led_dark_1!~Thunderbi@217.66.160.15] has joined ##java [05:01]
SuperTyp [SuperTyp!~SuperTyp@178.197.232.85] has joined ##java [05:02]
phredus [phredus!~phredus@unaffiliated/phredus] has joined ##java [05:07]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [05:12]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [05:13]
noodlepie [noodlepie!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [05:25]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:d144:fc2d:f5ee:495f] has joined ##java [05:29]
mop_ [mop_!~mop@213.86.105.146] has joined ##java [05:30]
srisri [srisri!~srisri@183.83.79.241] has joined ##java [05:31]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [05:31]
vdamewood [vdamewood!~vdamewood@unaffiliated/vdamewood] has joined ##java [05:33]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:d144:fc2d:f5ee:495f] has joined ##java [05:34]
mop_ hi...i have a (hopefully) simple problem (non java coder :S)...I want to use an object as a hashmap key...i realize that I need to override hashCode() and equals() (not yet sure why I need both)...I am obviously making an error here: https://repl.it/repls/ValuableHandmadeMegahertz why am I ending up with 2 entries in my hashmap? what am I missing? [05:35]
mop_ mop_'s title: "Repl.it - ValuableHandmadeMegahertz" [05:35]
yawkat youre not overriding equals(Object) [05:36]
yawkat equals [05:36]
yawkat See http://www.javaworld.com/article/2072762/java-app-dev/object-equality.html for an explanation (covers hashcode too) [05:36]
Tichodroma and if all your Wursts have the same hash code, you will not get very far [05:37]
yawkat eh, it's a fine hashcode function for testing [05:37]
keepLearning512 [keepLearning512!~keepLearn@106.51.72.155] has joined ##java [05:37]
mop_ yeah obviously just for testing :D ok so the problem is that I implemented equals(Wurst) and not equals(Object) ... that explains a lot ;) [05:38]
mop_ ty [05:38]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:d144:fc2d:f5ee:495f] has joined ##java [05:38]
Tichodroma mop_: When would you want to be two Wursts to be different? [05:38]
yawkat use @Override [05:38]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [05:38]
mop_ yawkat, ah yes! ty [05:39]
armyriad [armyriad!armyriad@gateway/vpn/privateinternetaccess/armyriad] has joined ##java [05:49]
quadsar [quadsar!~quadsar@unaffiliated/quadsar] has joined ##java [05:52]
tjt263 [tjt263!uid149471@gateway/web/irccloud.com/x-efbssuyqnymdviah] has joined ##java [05:52]
noodlepie [noodlepie!~Phillip@92.40.249.201.threembb.co.uk] has joined ##java [05:57]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [05:59]
fatdragon [fatdragon!~fatdragon@cpe-107-184-107-243.socal.res.rr.com] has joined ##java [06:04]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [06:04]
cyp3d [cyp3d!~n0b0dy@unaffiliated/cyp3d] has joined ##java [06:08]
MatthijsH [MatthijsH!~quassel@unaffiliated/matthijs] has joined ##java [06:13]
lightslategrey [lightslategrey!~lightslat@188.234.12.124] has joined ##java [06:17]
[twisti] does 'hasBoolean' violate bean standards badly, or do frameworks in general treat it the same as 'isBoolean' ? [06:18]
yawkat they generally dont [06:18]
[twisti] bleh [06:19]
t2mkn [t2mkn!~t2mkn@43.226.2.102] has joined ##java [06:19]
[twisti] i dont want to have to live with "isMetadata" when i want to ask whether my config HAS metadata [06:20]
[twisti] and isMetadataPresent is evil [06:20]
deebo Optional<Metadata> isPerhapsMetadata [06:20]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [06:20]
[twisti] mayBeMetaData [06:21]
yawkat well, then configure whatever framework you use to handle that property properly [06:22]
yawkat or call it getHasMetadata [06:22]
yawkat or isMetadataPresent [06:23]
deebo or just do what you want if you don't actually use any bean tooling? [06:24]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [06:28]
widp_ [widp_!~widp@webauth-49-111.uni-paderborn.de] has joined ##java [06:28]
mitch0 [mitch0!~mitch@85-238-71-172.pool.digikabel.hu] has joined ##java [06:29]
[twisti] but i do lots of bean tooling [06:30]
deavmiLaptop [deavmiLaptop!~deavmi@165.0.49.2] has joined ##java [06:31]
irinix [irinix!~irinix@unaffiliated/irinix] has joined ##java [06:32]
Ring0` [Ring0`!~ringo@unaffiliated/ring0/x-8667941] has joined ##java [06:35]
kgrimes2 [kgrimes2!~kgrimes2@172.11.18.93] has joined ##java [06:41]
acidjnk [acidjnk!~acid@i577BCAD6.versanet.de] has joined ##java [06:44]
phredus [phredus!~phredus@unaffiliated/phredus] has joined ##java [06:47]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [06:50]
codermato [codermato!~matejgazd@ip-155-064.wifi.tuke.sk] has joined ##java [06:56]
codermato hi guys, what is your prefered naming conventions for timeouts? I need a name for a timeout - time. I have timeoutInSeconds and timeoutInMilliseconds [06:57]
codermato what do you think ? [06:57]
yawkat both are fine [06:58]
Addax why not make it a Duration and just call it a timeout [06:59]
yawkat though to me the timeout already means the relative amount of time [06:59]
yawkat or that, if you want to go fancy :D [06:59]
Addax Duration timeout=Duration.of(1000, ChronoUnit.MILLIS); [07:01]
SchleimKeim [SchleimKeim!~mma@unaffiliated/schleimkeim] has joined ##java [07:06]
fanhako [fanhako!~fanhako@197.158.87.207] has joined ##java [07:06]
shirafuno [shirafuno!~shirafuno@5.148.64.4] has joined ##java [07:07]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:11]
echoSMILE [echoSMILE!~echoSMILE@unaffiliated/echosmile] has joined ##java [07:12]
sbeex stupid question but I can't get the source code of this class: http://paypal.github.io/SeLion/html/java-docs/1.1.0/dataproviders-apis/com/paypal/selion/platform/dataprovider/impl/DataProviderHelper.html it looks it is hosted on github but... how do you do guys ? [07:21]
yawkat https://github.com/paypal/SeLion/blob/develop/dataproviders/src/main/java/com/paypal/selion/platform/dataprovider/impl/DataProviderHelper.java [07:23]
yawkat yawkat's title: "SeLion/DataProviderHelper.java at develop paypal/SeLion GitHub" [07:23]
sbeex yawkat: thank you may I ask you how you did it ? [07:24]
sbeex search into the github search bar ? [07:24]
yawkat i opened the repo, pressed T and entered the class name [07:24]
waz yawkat++ [07:24]
waz yawkat has a karma level of 289, waz [07:24]
sbeex oh ok so you looked at repo called SeLion [07:24]
sbeex thank you (sorry xD) [07:25]
sbeex yawkat++ [07:25]
sbeex yawkat has a karma level of 290, sbeex [07:25]
yawkat two karma for 30s of work! [07:25]
deavmiLaptopHome [deavmiLaptopHome!~deavmi@165.0.49.2] has joined ##java [07:28]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [07:28]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:6427:d8ef:4357:3abd] has joined ##java [07:32]
deavmiLaptop [deavmiLaptop!~deavmi@165.0.49.2] has joined ##java [07:34]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:d144:fc2d:f5ee:495f] has joined ##java [07:37]
keepLearning512 [keepLearning512!~keepLearn@106.51.72.155] has joined ##java [07:40]
SerialSmile [SerialSmile!~SerialSmi@83.102.134.92] has joined ##java [07:40]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:5c69:8722:7f05:1bdb] has joined ##java [07:40]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [07:41]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:5c69:8722:7f05:1bdb] has joined ##java [07:44]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:5c69:8722:7f05:1bdb] has joined ##java [07:47]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:5c69:8722:7f05:1bdb] has joined ##java [07:51]
pmercado [pmercado!~pmercado@179.9.136.189] has joined ##java [07:52]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee1:33f2:5c69:8722:7f05:1bdb] has joined ##java [07:55]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [07:57]
Jenetrix [Jenetrix!~Jen@alpha.jenetrix.io] has joined ##java [07:58]
irrgit [irrgit!~ch33se@parajsa.chat] has joined ##java [07:58]
echoSMIL3 [echoSMIL3!~echoSMILE@unaffiliated/echosmile] has joined ##java [07:59]
tomscherl [tomscherl!~tom@c108-ads11.uibk.ac.at] has joined ##java [08:02]
gregf_ [gregf_!557336c9@gateway/web/freenode/ip.85.115.54.201] has joined ##java [08:04]
SuperTyp [SuperTyp!~SuperTyp@178.197.232.85] has joined ##java [08:06]
Nik05 [Nik05!~Nik05@unaffiliated/nik05] has joined ##java [08:11]
karab44 [karab44!~karab44@unaffiliated/karab44] has joined ##java [08:19]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [08:20]
[mt] [[mt]!~mt]@196.196.244.44] has joined ##java [08:22]
noodlepie [noodlepie!~Phillip@92.40.248.1.threembb.co.uk] has joined ##java [08:27]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [08:29]
adder [adder!~adder@gateway/tor-sasl/adder] has joined ##java [08:31]
troulouliou_div2 [troulouliou_div2!~troulouli@unaffiliated/troulouliou-div2/x-0271439] has joined ##java [08:33]
SchleimKeim [SchleimKeim!~mma@unaffiliated/schleimkeim] has joined ##java [08:33]
echoSMILE [echoSMILE!~echoSMILE@unaffiliated/echosmile] has joined ##java [08:42]
nbro [nbro!~nbro@2a02:aa13:3100:6000:847:c8d2:e13b:e37d] has joined ##java [08:48]
sb35 [sb35!~sb35@67.231.16.204] has joined ##java [08:48]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [08:48]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net] has joined ##java [08:50]
nbro [nbro!~nbro@2a02:aa13:3100:6000:847:c8d2:e13b:e37d] has joined ##java [08:51]
ableto [ableto!~cryptum@65.255.80.240] has joined ##java [08:57]
mitch0 yawkat++ [09:01]
mitch0 yawkat has a karma level of 291, mitch0 [09:01]
Essadon [Essadon!~Essadon@81-225-32-185-no249.tbcn.telia.com] has joined ##java [09:01]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:6427:d8ef:4357:3abd] has joined ##java [09:04]
troulouliou_div2 [troulouliou_div2!~troulouli@unaffiliated/troulouliou-div2/x-0271439] has joined ##java [09:04]
adder [adder!~adder@gateway/tor-sasl/adder] has joined ##java [09:21]
ericek111 [ericek111!~ericek111@109-230-55-69.dynamic.orange.sk] has joined ##java [09:24]
gischy [gischy!~gischy@unaffiliated/gischy] has joined ##java [09:25]
paulo_ [paulo_!~paisho@unaffiliated/paulo/x-9096421] has joined ##java [09:29]
paulo_ hello! [09:29]
paulo_ what is the modern response to "Java is slow." [09:29]
yawkat "it isnt" [09:30]
yawkat next [09:30]
yawkat Another satisfied customer. Next! [09:30]
mitch0 ) [09:31]
cheeser the modern response is "troll better and somewhere else" [09:32]
adder [adder!~adder@gateway/tor-sasl/adder] has joined ##java [09:32]
Addax paulo_: why do you ask? [09:32]
sbalmos [sbalmos!~sbalmos@cpe-174-97-35-162.cinci.res.rr.com] has joined ##java [09:32]
paulo_ i still hear it from time to time. they say it's because "java is interpreted" [09:33]
yawkat it's not [09:33]
Maldivia it isn't [09:33]
Addax it hasn't been "interpreted" for nearly two decades [09:33]
Maldivia well, technically not true, it's still interpreted sometimes :D [09:34]
Addax Maldivia: not enough to matter [09:34]
Addax but thank you for missing the point in such a way that it's misleading [09:34]
Maldivia well, actually java is never interpreted - bytecode sometimes is though [09:35]
Addax there's technically still an interpreter, yes, and you can always run in interpreted mode deliberately, and there are some conditions under which the interpreter is used for short periods, but for all real intents and purposes, java isn't interpreted, period, and so THAT as an argument for it being slow is irrelevant [09:35]
Addax or we could go full language lawyer, indeed. You're raising the bar there. [09:35]
Maldivia Addax: you know me -- I go there :D [09:36]
Addax Yes, and with all due respect, it gets stupid sometimes. I'm not immune to it myself, of course. [09:36]
cheeser bytecode is "interpreted." java source is not. [09:37]
freeone3000 we have decided that a chat client should take up 300mb of ram and include a full web browser and run in javascript, for a desktop program. 'x is slow' is an irrelevant statement. [09:37]
Maldivia freeone3000: don't worry... someone will make it worse, and it will still be acceptable [09:38]
Addax about Niklaus Wirth: "He also invents Wirth?s law which makes Moore?s law obsolete because software developers will write so bloated software that even mainframes cannot keep up. This will later be proven to be true with the invention of Electron.js and the abstractions built on top of it." [09:38]
bak1an [bak1an!~bak1an@host249.181-1-247.telecom.net.ar] has joined ##java [09:38]
Maldivia Addax: and yeah, in the domain where Java shines (long-running processes, like web services etc) the short time code is interpreted doesn't matter: true -- but that doesn't mean Java is a great language and the JVM is a great runtime platform for short command-line tools, where speed might be important (startup+execution time) [09:40]
Riviera [Riviera!Riviera@2a03:b0c0:1:d0::10:b001] has joined ##java [09:40]
Maldivia (doesn't mean it has stopped me from writing those tools in Java, but that's more out of laziness than anything) [09:41]
Addax honestly, I'm not sure startup time of such tools is all that relevant in most cases [09:41]
Addax It's fun to gripe about but... [09:41]
Maldivia consider if [ had a 0.5sec startup time -- someone would find a different tool in their shell scripts :D [09:43]
Addax "most cases" [09:43]
Addax It's easy to find exceptions [09:43]
ohcibi [ohcibi!~quassel@thisdone.de] has joined ##java [09:45]
tuskkk____ [tuskkk____!uid18470@gateway/web/irccloud.com/x-siiyuzuzmhnzibiy] has joined ##java [09:47]
widp_ [widp_!~widp@pptp-194-95-3-90.pptp.padnet.de] has joined ##java [09:47]
cheeser https://github.com/lkesteloot/java_launcher [09:48]
cheeser cheeser's title: "GitHub - lkesteloot/java_launcher: Helper script to treat Java programs as scripts." [09:48]
Addax interesting, different than just java Hello.java [09:49]
cheeser i'm just going to build out stuff using graal and git hooks to build native binaries for such things. [09:49]
cheeser then i can bounce from personal machine to work machine and have all my scripts and tools handy [09:50]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [09:50]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [09:50]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [09:51]
paulo_ why does the topic say "No applets, please."? [09:53]
paulo_ that seems on-topic [09:53]
Addax applets [09:53]
Addax Addax, applets is Check the topic, and read http://javachannel.org/no-applets/ In short, don't use them because soon nothing will exist to run them - even Oracle says so: https://blogs.oracle.com/java-platform-group/entry/further_updates_to_moving_to . If you must embed java in a web page, at least use the JNLP support in 6u10+. see http://bit.ly/NGy1NS [09:53]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [09:53]
Addax nobody uses them, they're not supported by the browsers any more, they're frustrating to support even when they're runnable since the browsers' implementations were inconsistent, etc [09:53]
paulo_ interesting [09:54]
Addax (and yes, I know, there are places that still rely on them, because those places are insane) [09:54]
Addax "Must be run on IE6" and crap like that [09:54]
SuperTyp [SuperTyp!~SuperTyp@178.197.232.85] has joined ##java [09:55]
paulo_ here's an applet i most recently used: https://www.falstad.com/circuit/ [09:55]
Addax don't care [09:55]
paulo_ wait [09:56]
yawkat thats not an applet [09:56]
paulo_ it turns out it was upgraded to javascript [09:56]
gurrkiin anyone know if class hot swap works with Spring's @Transactional ? [09:56]
paulo_ https://www.falstad.com/circuit-java/ [09:56]
paulo_ ^ that's the applet version [09:56]
paulo_ Addax: no need to be mean. I agree that those places are insane [09:57]
paulo_ even the only applet i used most recently converted to javascript [09:57]
yawkat if you have a browser that still runs applets you should really update that browser [09:57]
Addax mean? [09:57]
Addax When was I being mean? [09:58]
paulo_ "don't care" [09:58]
cheeser that's not mean. [09:58]
paulo_ okay then [09:58]
paulo_ maybe in my culture [09:58]
Addax in mine it's called "honesty" [09:59]
maryo [maryo!~Maryo@unaffiliated/maryo] has joined ##java [09:59]
Addax related to the ability to respect reasonable limits. "Nobody uses applets anymore" followed by "but I found someone that does!" is a violation of reasonable limits. [09:59]
acidjnk hello [10:01]
horatiohb [horatiohb!~horatiohb@167.99.100.70] has joined ##java [10:01]
paulo_ it was not supposed to be a counter argument. i just shared it out of interest [10:02]
Maldivia gurrkiin: by class hot swap, you mean the debugger change method-body kind of HotSwap? [10:04]
paulo_ it was supposed to be an example of "those places are insane" [10:04]
paulo_ but as it turns out, they use javascript now. hehe [10:04]
acidjnk Implementing a server specified with OpenAPI. It declares "basicAuth: type: http scheme: basic", so basically: HTTP BASIC auth. I think the best solution is to use a ServletFilter for auth, and implement the generated interface based on the yaml using openapi-generator. What do you think? [10:05]
fatdragon [fatdragon!~fatdragon@cpe-107-184-107-243.socal.res.rr.com] has joined ##java [10:07]
Maldivia cheeser: re the java_launcher -- what bothers me about it is that you cannot compile it as a regular java class [10:07]
rippa [rippa!~rippa@ppp-vpdn-37.1.85.157.yarnet.ru] has joined ##java [10:08]
Maldivia cheeser: because of the she-bang / #-comments [10:08]
cheeser yeah. [10:08]
cheeser also, dependencies can't be specfied afaict [10:08]
Maldivia you could: # lib:/home/lk/kiln/teamten/java/dist/teamten.jar [10:08]
cheeser is that how it's done? i thought that was just the magic sauce for the whole thing to work. [10:10]
Maldivia I don't know if it would support something like: # lib:https://central.maven.org/maven2/com/google/guava/guava/27.0.1-jre/guava-27.0.1-jre.jar [10:10]
cheeser i haven't dug too deeply just yet. [10:10]
cheeser exactly! :D [10:10]
cheeser there's a similar project for kotlin code that's a bit more robust which is how i'd do it if i went this route. [10:10]
Maldivia the https-lib would probably be a bit annoying, if it downloaded on every compile/run :D [10:11]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [10:11]
cheeser it should accept gradle style deps and just use the ~/.m2 cache like everything else. :) [10:12]
Maldivia cheeser: by now looks like it would be easier to just write your own thing to do it :D [10:13]
Maldivia shouldn't be that hard actually [10:13]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [10:13]
cheeser it wouldn't be [10:14]
cheeser but i'm not gonna do that. :D [10:14]
cheeser i'd rather do the graal/githooks bit and just automate it all. [10:14]
Maldivia Java9+ even easier, you just depend on the jdk.compiler module, and write it all in Java :D [10:15]
Maldivia ... or Kotlin [10:15]
mohsen_1 [mohsen_1!uid289573@gateway/web/irccloud.com/x-nghvyozyhrmhekge] has joined ##java [10:16]
Rapture [Rapture!~textual@50.204.232.30] has joined ##java [10:17]
sb35 [sb35!~sb35@185.153.179.35] has joined ##java [10:17]
gurrkiin Maldivia: jrebel specifically [10:18]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined ##java [10:18]
Maldivia gurrkiin: then yes [10:19]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [10:19]
yawkat tech support now :D [10:20]
mohsen_1 Hello. how can I get an ObjectMapper object from JsonParser in JsonDeserializer? [10:21]
mohsen_1 I need to specifically map an array of strings, and a map of String and Post [10:22]
Maldivia mohsen_1: create a new one? :D [10:22]
mohsen_1 Maldivia: a new what? [10:22]
yawkat mohsen_1: you can ask the context [10:22]
mohsen_1 let me post an example of the json [10:23]
metrixx_ [metrixx_!~metrixx@unaffiliated/metrixx] has joined ##java [10:23]
Maldivia mohsen_1: but yeah, the context should be what you need [10:23]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [10:24]
mohsen_1 json looks like: "{ "order": ["property_1", "property_2"], "posts": { "property_1": {...} , "property_2": {...}}} [10:24]
mohsen_1 I need to map "order" to String[], and "posts" to Map<String, Post> [10:25]
Maldivia and why not let jackson handle it as usual? [10:26]
Maldivia class Something { String[] order; Map<String, Post> posts; } . [10:26]
Maldivia then it should "just work" [10:27]
Maldivia (granted, I would probably use a List<String> instead of String[]) [10:28]
lucid-lullaby [lucid-lullaby!lucid-lull@gateway/vpn/privateinternetaccess/lucid-lullaby] has joined ##java [10:28]
mohsen_1 Maldivia: but a deserializer looks more decent [10:28]
mohsen_1 I don't need the order array anywhere else in the application [10:28]
mohsen_1 I just need to order the map to a list, what I actually need is a List<Post> [10:29]
[twisti] yeah since maps are already ordered [10:29]
[twisti] err, lists [10:29]
Maldivia mohsen_1: well, then ignore order? [10:29]
NeXTSUN [NeXTSUN!~textual@ool-68f621c2.dyn.optonline.net] has joined ##java [10:29]
Maldivia if you don't need the order [10:29]
[twisti] Maldivia: json lists are unordered, arent they ? [10:29]
Maldivia no [10:29]
Maldivia maps are unordered [10:30]
Maldivia lists are ordered [10:30]
mohsen_1 Maldivia: The map in the json is unordered, but I need the posts based on their order [10:30]
[twisti] he needs order to build his java object, but he doesnt need to keep it around [10:30]
mohsen_1 I want a List<Post> that is ordered, that's why I was thinking about the deserializer [10:31]
Maldivia so deserialize to a temp object and then for (String key: order) { orderedMap.put(key, posts.get(key)); } [10:31]
Maldivia so deserialize to a temp object and then for (String key: order) { postList.add(posts.get(key)); } [10:31]
Maldivia seems to me to be a much simpler solution than what you're trying to do [10:32]
freeone3000 that's a really interesting json structure [10:32]
shicks2525 [shicks2525!~shicks252@ool-4354603e.dyn.optonline.net] has joined ##java [10:32]
Tobbi [Tobbi!~Tobbi@supertux/tobbi] has joined ##java [10:33]
mohsen_1 freeone3000: Since the API that is returning this json is written in Go, the map in the json is unordered, since the order of maps in Go are non-deterministic [10:34]
Maldivia that's the nature of maps [10:34]
freeone3000 right, but like, a sane structure would be to just put the object in the list in the proper order. [10:34]
mohsen_1 freeone3000: you're right [10:35]
mohsen_1 But a Deserializer object, looks way cleaner to me [10:36]
Maldivia mohsen_1: but yeah, I see what you mean, could be considered cleaner [10:36]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [10:37]
mohsen_1 Maldivia: yeah, if I could access an ObjectMapper in the deserialize method of JsonDeserializer, i could easily map the order array to List<String>, and posts to Map<String, Post> [10:38]
mohsen_1 that would be nice [10:38]
Munnu [Munnu!~timo@91-158-153-244.elisa-laajakaista.fi] has joined ##java [10:39]
Maldivia mohsen_1: I would do something like: https://hastebin.com/xebahojopi.java [10:40]
mohsen_1 Maldivia: That definitely does the trick, thanks. [10:41]
yawkat [yawkat!~yawkat@159.69.41.126] has joined ##java [10:42]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [10:45]
SuperTyp [SuperTyp!~SuperTyp@178.197.232.85] has joined ##java [10:45]
sainathvd [sainathvd!~sainathvd@49.14.50.127] has joined ##java [10:53]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [10:57]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [11:02]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [11:08]
tang^ [tang^!~tang^@207.229.38.10] has joined ##java [11:11]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [11:15]
acidjnk [acidjnk!~acid@i577BCAD6.versanet.de] has joined ##java [11:25]
SuperTyp [SuperTyp!~SuperTyp@178.197.234.226] has joined ##java [11:27]
SuperTyp [SuperTyp!~SuperTyp@178.197.234.226] has joined ##java [11:33]
rajrajraj [rajrajraj!uid72176@gateway/web/irccloud.com/x-dskjjbenatlymmbt] has joined ##java [11:44]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [11:46]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [11:48]
esro [esro!~esro@95.155.114.211] has joined ##java [11:50]
gr33ntea [gr33ntea!~gr33ntea@rrcs-184-74-242-126.nyc.biz.rr.com] has joined ##java [11:51]
sainathvd [sainathvd!~sainathvd@49.14.50.127] has joined ##java [11:51]
vdamewood [vdamewood!~vdamewood@unaffiliated/vdamewood] has joined ##java [11:53]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [11:54]
gr33ntea Can someone tell me why flipping lines 18 and 19 causes an illegal state exception? https://paste.ofcode.org/MUGFLLDSRphpqdneiazQ6X [11:54]
funeral [funeral!~Funeral@169.89-10-117.nextgentel.com] has joined ##java [11:55]
logithack [logithack!logithack@gateway/shell/elitebnc/x-mftnynvbiwzxrvya] has joined ##java [11:56]
computeiro [computeiro!~computeir@189.15.117.107] has joined ##java [11:58]
cheeser because you're mutating the list before you're trying to remove the "current" element [11:59]
KlaFFess [KlaFFess!~KlaFF@unaffiliated/klaffess] has joined ##java [12:00]
t2mkn [t2mkn!~t2mkn@43.226.2.102] has joined ##java [12:02]
bak1an [bak1an!~bak1an@host249.181-1-247.telecom.net.ar] has joined ##java [12:03]
phredus [phredus!~phredus@unaffiliated/phredus] has joined ##java [12:04]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [12:05]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [12:09]
kgrimes2 [kgrimes2!~kgrimes2@137.79.195.243] has joined ##java [12:09]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [12:12]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:13]
Kol [Kol!Kol@S0106bcd1656621da.vc.shawcable.net] has joined ##java [12:20]
led_dark_1 [led_dark_1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [12:20]
SolarFlare [SolarFlare!~SamanthaB@unaffiliated/samanthabdawn] has joined ##java [12:22]
nbro !list [12:23]
keepLearning512 [keepLearning512!~keepLearn@106.51.72.155] has joined ##java [12:25]
Revan- [Revan-!~Revan@host-72-174-107-194.static.bresnan.net] has joined ##java [12:27]
SuperTyp_ [SuperTyp_!~SuperTyp@178.197.228.194] has joined ##java [12:28]
gr33ntea cheeser, Im not sure why that matters? By removing im still mutating it no? So why can I mutate and then add, but not mutate and then delete [12:31]
cheeser you're changing the indices of values with the add. [12:33]
cheeser potentially, at least [12:33]
cheeser so the iterator potentially points at different element than it used to [12:33]
yawkat the actual issue is that you cant add after remove [12:35]
yawkat because remove drops the reference to the list item [12:35]
yawkat you should use set instead [12:35]
gr33ntea sorry if this is a dumb question, but why does remove dropping the reference prevent me from adding something? [12:39]
yawkat because the docs say so [12:39]
gr33ntea I just checked the documentation, and it does say you cant call remove after calling add but i dont see why that is a limitation [12:39]
zopsi [zopsi!~zopsi@dir.ac] has joined ##java [12:40]
yawkat the idea is that once youve removed theres no real position to put the element at [12:40]
deavmiLaptopHome [deavmiLaptopHome!~deavmi@165.0.49.2] has joined ##java [12:41]
SuperTyp_ [SuperTyp_!~SuperTyp@178.197.228.194] has joined ##java [12:41]
cheeser the iterator points to element 13. you just added something. now element 13 in that back List is a different item. you just removed the wrong element. well done. [12:43]
SuperTyp_ [SuperTyp_!~SuperTyp@178.197.228.194] has joined ##java [12:43]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [12:45]
gr33ntea cheeser, I was more confused as to why it wasn't removing the wrong item, but i get it now. they implemented it in a way to prevent you from doing that [12:48]
zulutango [zulutango!~zulutango@static-n49-176-171-248.mas2.nsw.optusnet.com.au] has joined ##java [12:52]
gr33ntea cheeser, One more question if I set a list to private final, why am I still allowed to add elements to the list? How does that work? How does it modify the list without changing what list my variable is referencing? [12:52]
cheeser final [12:53]
cheeser cheeser, final is a Java keyword that denotes that its target cannot change. A final field/variable cannot be assigned more than once, a final method cannot be overridden in a subclass, and a final class cannot be subclassed. [12:53]
SuperTyp [SuperTyp!~SuperTyp@178.197.228.194] has joined ##java [12:53]
cheeser final is only tangentially related to immutability [12:53]
yawkat ehhhh [12:53]
yawkat it is arguably necessary for most immutability [12:54]
yawkat (but yea it isnt const) [12:54]
cheeser well, yes and no. [12:54]
cheeser a class can be immutable without final. [12:54]
cheeser just don't expose any mutators and you're all but there. [12:54]
yawkat no, thats not enough [12:55]
yawkat not for concurrent systems [12:55]
cheeser "all but" [12:55]
cheeser ) [12:55]
FreEm1nD [FreEm1nD!~fernando@170.239.233.90] has joined ##java [12:55]
FreEm1nD [FreEm1nD!~fernando@170.239.233.90] has joined ##java [12:55]
gr33ntea im not sure what you mean by its only tangentially related to immutability [12:56]
yawkat making a field final does not make its contents immutable [12:58]
gr33ntea well now thts confusing [12:59]
gr33ntea cause the definition the bot provides says the target can't change. which sounds a lot like immutable [01:00]
yawkat pbv [01:00]
yawkat Java only supports pass by value. However, non-primitive variables hold references to objects, not the objects themselves. You're passing the reference by value. For more information see: https://dzone.com/articles/java-pass-by-reference-or-pass-by-value and ask me about ~primitives if you don't know what those are. [01:00]
deavmi [deavmi!~deavmi@165.0.49.2] has joined ##java [01:00]
rwheadon [rwheadon!~rwheadon@50-199-108-17-static.hfc.comcastbusiness.net] has joined ##java [01:00]
gr33ntea i will be back, i have too many questions [01:01]
Aqo [Aqo!~Aqo@176.228.147.196] has joined ##java [01:01]
cheeser gr33ntea: the "target" in this case is the reference variable. [01:05]
cheeser String s = "foo"; [01:05]
cheeser s is not the String instance itself. it's a reference, a pointer basically, off in to the heap where the actual instance/object lives. [01:05]
cheeser final foo = new Foo(); [01:06]
cheeser foo can not be changed. [01:06]
cheeser foo = new Foo(); // compiler error [01:06]
cheeser foo.setSomething("i'm changing!"); // completely valid. [01:06]
Mimicize [Mimicize!~mime@unaffiliated/mimicize] has joined ##java [01:08]
adder [adder!~adder@gateway/tor-sasl/adder] has joined ##java [01:11]
mohsen_1 module.addDeserializer(List.class, new PostListDeserializer()); [01:11]
mohsen_1 Is it correct if PostListDeserializer extends JsonDeserializer<List<Post>> ? [01:12]
mohsen_1 I mean the List.class part [01:12]
moltencore [moltencore!~moltencor@95.88.186.201] has joined ##java [01:14]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [01:15]
yawkat you should use javatype [01:15]
mohsen_1 yawkat: So what type should I use there? [01:17]
yawkat the one for List<Post> probably [01:17]
mohsen_1 yawkat: okay what is the type for List<Post> :D? [01:17]
freeone3000 JavaType<List<Post>>() { } [01:18]
mohsen_1 freeone3000: can you explain more? [01:20]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [01:20]
mohsen_1 I don't get it [01:20]
freeone3000 It's an idiom used to provide generic type information at runtime, which is removed from types in most circumstances but not if you're subclassing them. [01:22]
freeone3000 There's also mapper.getTypeFactory().constructCollectionType(List.class, Post.class) [01:24]
mohsen_1 freeone3000: so what should I put in there? [01:26]
exonity01 [exonity01!5fde1da4@gateway/web/freenode/ip.95.222.29.164] has joined ##java [01:28]
freeone3000 That's what you put there. [01:29]
mohsen_1 freeone3000: It requires java.util.Class<List<Post>> [01:31]
mohsen_1 but that returns com.fasterxml.jackson.databind.type.CollectionType [01:32]
jwclough [jwclough!~jwclough@2601:602:9c00:9a0:102b:fc14:fb07:1b17] has joined ##java [01:32]
mohsen_1 I wonder what is that first parameter actually used for [01:32]
mohsen_1 the first parameter of module.addDeserializer(,) [01:34]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [01:43]
sbalmos [sbalmos!~sbalmos@cpe-174-97-35-162.cinci.res.rr.com] has joined ##java [01:47]
code_zombie [code_zombie!~code_zomb@2605:a601:aa1:da00:4943:4780:e89f:31c0] has joined ##java [01:48]
gr33ntea cheeser, Back! Okay so i knew about how only objects are passed by reference. So setting a list to final means you cannot change the reference. That much I knew. What I was asking is, how do they go about adding elements to a list. My assumption was that they copied all the elements in the list, created a new list with those elements and the new element that was just added. and then change the variable to reference the new list. [01:50]
gr33ntea However that can't be the case since final would prevent you from changing the reference, so how do they do it? [01:50]
wildlander [wildlander!~wildlande@unaffiliated/wildlander] has joined ##java [01:50]
cheeser no. references are passed by value. [01:50]
cheeser where would they be copying to/from? [01:51]
cheeser final List list = new ArrayList(); list.add(42); [01:51]
cheeser how many objects do you think are involved there? [01:51]
sameerynho [sameerynho!~lxsameer@unaffiliated/lxsameer] has joined ##java [01:52]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [01:53]
gr33ntea just the 1 array list no? What I assume that does is allocate a space in memory to store the list object. and then store the address to that list object into the list variable. [01:54]
acidjnk [acidjnk!~acid@i577BCAD6.versanet.de] has joined ##java [01:54]
jwclough parted the channel: [01:55]
lucid-lullaby [lucid-lullaby!lucid-lull@gateway/vpn/privateinternetaccess/lucid-lullaby] has joined ##java [01:57]
acidjnk hello [02:02]
acidjnk Working on HTTP BASIC auth for a REST service, based on OpenAPI with yaml. Is a plain old servlet Filter a good solution, or should I use ContainerRequestFilter? It seems the latter is MILDLY more convenient, and that's all? [02:03]
GraysonBriggs [GraysonBriggs!~GraysonBr@unaffiliated/graysonbriggs] has joined ##java [02:09]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [02:11]
blackntan [blackntan!~blackntan@unaffiliated/blackntan] has joined ##java [02:12]
logithack in a use case diagram, is it correct to draw a normal, non-dotted line between two use cases? [02:13]
yawkat maybe ask a uml channel [02:13]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [02:16]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [02:17]
Addax an ask yourself why you're doing uml [02:19]
logithack unfortunately, the ##uml channel doesnt seem to be incredibly populated [02:20]
Addax that's because you're the first person this year who's probably tried to use it [02:21]
nbro [nbro!~nbro@2a02:aa13:3100:6000:847:c8d2:e13b:e37d] has joined ##java [02:21]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [02:29]
realSnoo [realSnoo!~realSnoo@c-69-136-125-168.hsd1.az.comcast.net] has joined ##java [02:31]
maryo_ [maryo_!~Maryo@unaffiliated/maryo] has joined ##java [02:38]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [02:43]
deavmiLaptopHome [deavmiLaptopHome!~deavmi@165.0.49.2] has joined ##java [02:43]
tomaw [tomaw!tom@freenode/staff/tomaw] has joined ##java [02:44]
mitch0 [mitch0!~mitch@85-238-71-172.pool.digikabel.hu] has joined ##java [02:52]
freeone3000 acidjnk: If you're doing resources instead of filters, you need to use a ContainerRequestFilter. It's a slightly different abstraction, as ServletFilters filter for Servlets, but ContainerRequestFilters filter for generic spring-boot objects. [02:57]
freeone3000 now if your resource *is* a servlet... yeah, use whichever. [02:58]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [03:02]
Chepra [Chepra!~chepra@summer.c137.eu] has joined ##java [03:03]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [03:07]
widp_ [widp_!~widp@pptp-194-95-1-48.pptp.padnet.de] has joined ##java [03:09]
gelignite [gelignite!~gelignite@55d49a67.access.ecotel.net] has joined ##java [03:11]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [03:13]
esro [esro!~esro@95.155.114.211] has joined ##java [03:15]
immibis [immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz] has joined ##java [03:25]
comrad [comrad!~comrad@holarse/core/comrad] has joined ##java [03:26]
NeXTSUN [NeXTSUN!~textual@ool-68f621c2.dyn.optonline.net] has joined ##java [03:27]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [03:29]
echoSMILE [echoSMILE!~echoSMILE@unaffiliated/echosmile] has joined ##java [03:31]
Jantz [Jantz!~IceChat9@118-93-2-226.dsl.dyn.ihug.co.nz] has joined ##java [03:35]
ovalseven8 [ovalseven8!~ovalseven@unaffiliated/ovalseven8] has joined ##java [03:36]
ovalseven8 Beginner: Should I start with Maven or Gradle? [03:36]
Addax yes [03:37]
Addax I'd go maven, personally, but gradle is good and both are way better than nearly any alternative [03:37]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [03:43]
blackntan-airboo [blackntan-airboo!~blackntan@unaffiliated/blackntan] has joined ##java [03:43]
bn_work [bn_work!uid268505@gateway/web/irccloud.com/x-rjtyjipjrutfkpyr] has joined ##java [03:44]
comrad [comrad!~comrad@holarse/core/comrad] has joined ##java [03:47]
acidjnk thanks freeone3000 [03:47]
troulouliou_div2 [troulouliou_div2!~troulouli@unaffiliated/troulouliou-div2/x-0271439] has joined ##java [03:49]
comrad [comrad!~comrad@holarse/core/comrad] has joined ##java [03:53]
gizmore [gizmore!~kvirc@p5B3302A5.dip0.t-ipconnect.de] has joined ##java [03:54]
gizmore System.out.println("Please someone kick me for mentioning PrimeFaces" + "This is my way to say hi.... just ... wanted to see the usercount here"); [03:54]
gizmore good eve [03:54]
cheeser /kick gizmore for being a jack ass [03:55]
cheeser dammit! [03:55]
Addax gizmore: /list can help with that [03:56]
gizmore ;= [03:56]
gizmore nah... just wanted to peek here for no reason [03:56]
Addax so peek away [03:56]
cheeser yeah. we don't need you spamming just to scratch a silly itch [03:56]
gizmore it was just a good evening [03:57]
gizmore is RuneScape still working inside browsers? [03:57]
Addax no idea [03:58]
gizmore it is a shame that applets got a bad reputation [03:58]
gizmore applets were great [03:58]
Addax is it really [03:58]
cheeser topicsmite gizmore [03:58]
cheeser And the wrath of /TOPIC descended with terrible fury upon gizmore. And all the people marvelled, saying, Behold, we too should read the /TOPIC, lest we be stricken. And all the people read the /TOPIC, and went away edified. [03:58]
Addax okay, you're trolling, I'm out [03:58]
gizmore lol----- topic says "no applets please" :( [03:59]
cheeser that's so funny! [03:59]
snql [snql!~snql@unaffiliated/snql] has joined ##java [03:59]
currybullen [currybullen!~currybull@h-205-204.A251.priv.bahnhof.se] has joined ##java [04:01]
currybullen do most/all JVM implementations use JIT compilation today? [04:02]
yawkat yes [04:02]
Addax why? [04:03]
gizmore performance [04:03]
Addax gizmore: I know why they use it. I'm wondering why the question was asked. [04:04]
cheeser they've all had JITs for the better part of 20 years now. [04:04]
gizmore ruby will soon have JIT too [04:04]
yawkat jruby is jit [04:05]
cheeser jruby > cruby [04:05]
gizmore ruby is slow... but i like the syntax [04:09]
gizmore puts "I like ruby" if me.likes_ruby [04:09]
NeXTSUN [NeXTSUN!~textual@ool-68f621c2.dyn.optonline.net] has joined ##java [04:11]
deavmiLaptop [deavmiLaptop!~deavmi@165.0.49.2] has joined ##java [04:14]
rwheadon [rwheadon!~rwheadon@71-156-76-162.lightspeed.tukrga.sbcglobal.net] has joined ##java [04:15]
Hanii [Hanii!~Hanii@2a00:23c5:c587:a800:c916:1d2d:9e2a:3831] has joined ##java [04:20]
tjt263 [tjt263!uid149471@gateway/web/irccloud.com/x-jocqopyibwsyjffx] has joined ##java [04:21]
currybullen Addax: out of curiosity [04:23]
egp [egp!sid237851@gateway/web/irccloud.com/x-vqmmenlxxoupzjdz] has joined ##java [04:24]
realSnoo what is an applet [04:27]
Devastator applets [04:28]
Devastator Devastator, applets is Check the topic, and read http://javachannel.org/no-applets/ In short, don't use them because soon nothing will exist to run them - even Oracle says so: https://blogs.oracle.com/java-platform-group/entry/further_updates_to_moving_to . If you must embed java in a web page, at least use the JNLP support in 6u10+. see http://bit.ly/NGy1NS [04:28]
realSnoo is applet a webpage [04:29]
realSnoo a way to run java gui in webpage? [04:30]
tang^ used to be [04:30]
gizmore the big mistake was the permission concept..... you clicked "allow the app", and it could write and read everything.... instead of providing a safe env you gave all permissions away with a single click.... totally dumb [04:31]
cheeser yes. permissions were a terrible idea. [04:32]
ogradyd [ogradyd!~Thunderbi@2a02:8070:88bf:9df0::57a] has joined ##java [04:32]
cheeser oh. /s [04:32]
gizmore yeah... applets were great tho [04:32]
ernimril jnlp is also gone in java 11, so saying that one should use it is a bit odd. [04:32]
realSnoo does javascript have access to local files when run in a browser [04:32]
cheeser realSnoo: ask a javascript channel [04:32]
realSnoo or does browser sandbox it [04:32]
gizmore realSnoo: no. you cannot read arbitrary local files with javascript [04:33]
gizmore maybe with <input type="file"> and some hacks? [04:33]
cheeser ask #web. we're not gonna discuss it here. [04:33]
realSnoo ok [04:34]
cheeser or #javascript. [04:34]
egp In scala, there is a way to create a view bounds for a type signature (e.g. `implicit def toCloseable[T <: { def close(): Unit }](obj: T): AutoCloseable`) is there any way to do that directly in java? [04:39]
shakalaka [shakalaka!~shakalaka@ec2-52-52-27-0.us-west-1.compute.amazonaws.com] has joined ##java [04:46]
blacknta_ [blacknta_!~blackntan@unaffiliated/blackntan] has joined ##java [04:49]
Jigsy [Jigsy!~Jigsy@unaffiliated/jigsy] has joined ##java [04:53]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [04:56]
iam730 [iam730!~iam730@c-24-6-215-59.hsd1.ca.comcast.net] has joined ##java [05:05]
NeXTSUN [NeXTSUN!~textual@ool-68f621c2.dyn.optonline.net] has joined ##java [05:07]
games_ [games_!sid99242@gateway/web/irccloud.com/x-olzojyxehwrwwjfr] has joined ##java [05:10]
worstadmin [worstadmin!sid56056@gateway/web/irccloud.com/x-ihxozolnzmyfmbdl] has joined ##java [05:10]
parliament [parliament!sid146171@gateway/web/irccloud.com/x-xcoxohodhdjkxrln] has joined ##java [05:10]
JWatkins [JWatkins!quassel@unaffiliated/jwatkins] has joined ##java [05:11]
rsaanon [rsaanon!~rsaanon@136.56.140.148] has joined ##java [05:11]
blackntan-airboo [blackntan-airboo!~blackntan@unaffiliated/blackntan] has joined ##java [05:11]
rsaanon [rsaanon!~rsaanon@136.56.140.148] has joined ##java [05:13]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [05:13]
computeiro [computeiro!~computeir@201.48.95.59] has joined ##java [05:17]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [05:24]
CombatVet [CombatVet!~CombatVet@gateway/tor-sasl/combatvet] has joined ##java [05:24]
SJr Anyone have any recommendations for e-mail servers that are nice to use for development and tests. I was looking at greenmail and it's great for testing but not for devs. [05:24]
gizmore SJr: mailenabled is default in plesk... on linux i use postfix... maybe there is a sendmail for windows? [05:27]
cheeser tech support [05:27]
cheeser Hello, ##java is not a technical support channel for your Java apps or virtual machines; it's a development channel for enthusiasts to discuss programming with the Java language. Please ask the vendor of your software for support if you're having trouble with it. [05:27]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [05:27]
SJr It's not a tech support question? [05:27]
SJr I'm not asking about what to run in production, I'm asking what is nice to use with automated tests, or locally with gradle. [05:28]
cheeser "what email server can I use?" yes that's tech support. [05:28]
gizmore thats just a dev question [05:29]
SJr When developing Java apps that send e-mail what shortcuts to people take to simplify the workflow for development and testing? [05:30]
SJr Is that better cheeser? [05:30]
cheeser no [05:30]
SJr Well I guess I retract my question then. [05:33]
cheeser just setup a dummy account somewhere. it doesn't have to be complicated. [05:33]
SJr That seems less than ideal, not only is it slow, it depends on external components. [05:34]
cheeser yeah, well, email. [05:34]
SJr Greenmail is a Java test library with Junit rules, etc... [05:35]
gizmore in my php project i print mail to screen or log in debug [05:37]
gizmore it's an option to wrap mailer to log instead of send in development [05:38]
egp I was looking at some java code, what is `public static<_B >DigitalFileInformation.Builder<_B> copyOf(final DigitalFileInformation _other)` the `<_B> before the return type here for the generic type parameter? [05:38]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [05:39]
cheeser it's a generic method declaration. [05:40]
cheeser and, ew _B ? [05:40]
egp jaxb-generated code [05:42]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [05:43]
egp I'm still not exactly sure what the <_B> doing before the type/after the `static` is [05:44]
yawkat It's a generic method declaration [05:45]
yawkat Like he said [05:45]
yawkat generics [05:45]
yawkat For a tutorial on generics, please see http://docs.oracle.com/javase/tutorial/java/generics/index.html . Also, http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html is a great in-depth resource. [05:45]
egp ahh just looked funky compared to the scala syntax i've grown accustomed to [05:50]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [05:51]
DLSteve [DLSteve!~DLSteve@199.185.175.80] has joined ##java [05:55]
deavmi [deavmi!~deavmi@165.0.49.2] has joined ##java [06:00]
deavmiLaptopHome [deavmiLaptopHome!~deavmi@165.0.49.2] has joined ##java [06:00]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [06:12]
NeXTSUN [NeXTSUN!~textual@ool-68f621c2.dyn.optonline.net] has joined ##java [06:13]
patsToms [patsToms!~patsToms@tzt.lv] has joined ##java [06:16]
Tadas [Tadas!~Tadas@unaffiliated/hausas] has joined ##java [06:32]
RoriconKnight [RoriconKnight!~RoriconKn@101.128.68.230] has joined ##java [06:34]
FreEm1nD [FreEm1nD!~freemindm@201.21.60.41] has joined ##java [06:38]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [06:39]
vdamewood [vdamewood!~vdamewood@unaffiliated/vdamewood] has joined ##java [06:43]
Tadas [Tadas!~Tadas@unaffiliated/hausas] has joined ##java [06:46]
Tobbi__ [Tobbi__!~Tobbi@supertux/tobbi] has joined ##java [06:52]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [06:55]
rsaanon [rsaanon!~rsaanon@136.56.140.148] has joined ##java [06:58]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [06:58]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [07:06]
jcnmark6 [jcnmark6!~jcnmark6@static.242.118.9.176.clients.your-server.de] has joined ##java [07:06]
rkazak [rkazak!~rkazak@c-71-202-98-21.hsd1.ca.comcast.net] has joined ##java [07:16]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [07:21]
SJr best library for pop3 access for Java? Apache commons or Java mail or something else? [07:31]
RoriconKnight [RoriconKnight!~RoriconKn@101.128.68.230] has joined ##java [07:35]
rkazak [rkazak!~rkazak@c-71-202-98-21.hsd1.ca.comcast.net] has joined ##java [07:39]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [07:42]
kgrimes2 [kgrimes2!~kgrimes2@137.78.59.239] has joined ##java [07:49]
SJr Is there a built in poll utility for a lambda or anything (keep trying lambda until it returns for up to 1 second). [08:09]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [08:12]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:15]
karstensrage Thread has join with a timeout and FutureTask has get with a timeout [08:16]
manojbagari [manojbagari!~manojbaga@2401:4900:2ee9:6033:e031:71:fc65:be50] has joined ##java [08:24]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [08:25]
happyamos [happyamos!~happyamos@047-026-135-102.res.spectrum.com] has joined ##java [08:39]
happyamos can somebody please tell me what this means? I know that the (int) is casting a long to an int in this case, but the >>> I've never seen before: (int) (id ^ (id >>> 32)); [08:39]
bankai_ happyamos: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/opsummary.html [08:43]
bankai_ bankai_'s title: "Summary of Operators (The Java Tutorials > Learning the Java Language > Language Basics)" [08:43]
happyamos Bit and Shift operators. Sounds ugly. [08:43]
bankai_ yep [08:44]
cheeser it's not "ugly." it's just a bit (haha!) of math [08:46]
waz clever [08:49]
cheeser bows. [08:51]
LSD-Jester [LSD-Jester!~daniel@2601:47:100:3586:7938:1073:a0dd:b544] has joined ##java [08:55]
LSD-Jester parted the channel: [08:55]
rkazak [rkazak!~rkazak@c-71-202-98-21.hsd1.ca.comcast.net] has joined ##java [08:58]
theWhisper_ [theWhisper_!~quassel@unaffiliated/thewhisper/x-7482734] has joined ##java [09:02]
happyamos cheeser lol [09:08]
nbro_ [nbro_!~nbro@2a02:aa13:3100:6000:7d82:7811:6680:a026] has joined ##java [09:09]
eof [eof!~eof@static.170.252.47.78.clients.your-server.de] has joined ##java [09:28]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [09:33]
FakeHair [FakeHair!48008896@gateway/web/freenode/ip.72.0.136.150] has joined ##java [09:42]
FakeHair Hello! The webapp my company is working on recently started having issues where the user would be logged out if they had Developer Tools open in Chrome while trying to navigate the site. We're using Spring Boot 2 and think that might be the problem. Anyone hear of this problem before? I've been looking all over and haven't found anything. [09:44]
karstensrage can you reproduce it? [09:53]
karstensrage maybe the session gets erased? [09:54]
karstensrage what does this have to do with the java language though [09:54]
Jenetrix [Jenetrix!~Jen@alpha.jenetrix.io] has joined ##java [09:55]
t2mkn [t2mkn!~t2mkn@43.226.3.144] has joined ##java [09:58]
FakeHair parted the channel: [09:59]
dj_pi [dj_pi!~dj_pi@d4-50-214-166.col.wideopenwest.com] has joined ##java [10:03]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [10:21]
TimeTrap [TimeTrap!~TimeTrap@2601:44:c500:65f4:289b:19a0:4fb4:6f79] has joined ##java [10:33]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [10:34]
tassee [tassee!~tasse@55d4707e.access.ecotel.net] has joined ##java [10:37]
gemini2015 Has anyone used MVEL; I'm tyring to use it in a multi-threaded application, but my understanding is that it uses a synchronized static context map which could be really bad for my performance without implementing a cache. [10:37]
gemini2015 Can anyone confirm if this is true? [10:37]
surial gemini2015: you should either find that in the source or have a profiler report to prove that. Because going by 'some moron on a blog said something'.... [10:44]
surial Go with facts, not conjecture. [10:44]
sir_galahad_ad also "don't prematurely optimize" [10:45]
gemini2015 surial: Sorry, I meant to ask if it is true that MVEL only uses a synchronized static context map. [10:45]
gemini2015 I'm a premature optimizer [10:46]
gemini2015 My wife likes it though. [10:46]
sir_galahad_ad ... [10:46]
ilikecrunch [ilikecrunch!~ilikecrun@87.249.197.176] has joined ##java [10:48]
zurkeal [zurkeal!~zurkeal@97.102.173.106] has joined ##java [10:50]
zurkeal parted the channel: "WeeChat 1.9.1" [10:50]
zurkeal [zurkeal!~zurkeal@97.102.173.106] has joined ##java [10:58]
zurkeal parted the channel: "WeeChat 1.9.1" [10:59]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [11:11]
TimeTrap [TimeTrap!~TimeTrap@2601:44:c500:65f4:286f:9539:571e:153c] has joined ##java [11:17]
RoriconKnight [RoriconKnight!~RoriconKn@101.128.68.230] has joined ##java [11:20]
zurkeal [zurkeal!~zurkeal@97.102.173.106] has joined ##java [11:22]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net] has joined ##java [11:24]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [11:25]
Deaod [Deaod!~deaod@2a01:4f8:c0c:5352::2] has joined ##java [11:29]
CAPITANOOO [CAPITANOOO!~CAPITANOO@185.192.137.15] has joined ##java [11:31]
mr_lou [mr_lou!~misthalos@085083077157.dynamic.telenor.dk] has joined ##java [11:44]
srisri [srisri!~srisri@202.95.77.83] has joined ##java [11:52]