Info

Login

Channels

APIs

Credits

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

« 2020-02-21

2020-02-22

2020-02-23 »

Nick Message Date
hussam [hussam!uid193284@gateway/web/irccloud.com/x-dgidcqkhbmftknmg] has joined ##java [12:04]
scpketer [scpketer!~scpketer@pppoe-185-145-58-222.prtcom.ru] has joined ##java [12:23]
ryjen [ryjen!~irc@138.197.175.130] has joined ##java [12:25]
masuberu hi, has anyone tried using vscode to develop java applications? [12:27]
masuberu I am looking for feedback in order to see if it is worth to give it a go [12:28]
masuberu I also have seen in the eclipse website they announce another IDE similar to vscode called theia [12:28]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [12:29]
cheeser you should try it. everyone has their own opinions anyway. you might like it. you might not. there's only one way to find out. [12:30]
feannag [feannag!~feannag@2409:4042:2814:e3aa:1569:a8d5:9031:41ca] has joined ##java [12:30]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [12:45]
tasse [tasse!~tasse@55d42c55.access.ecotel.net] has joined ##java [12:55]
blackandblue [blackandblue!~batdownh@gateway/tor-sasl/blackandblue] has joined ##java [12:58]
bobek [bobek!~bobek@unaffiliated/bobek] has joined ##java [12:58]
Munnu [Munnu!~timo@91-158-130-71.elisa-laajakaista.fi] has joined ##java [01:03]
jaziz [jaziz!~jaziz@unaffiliated/jaziz] has joined ##java [01:07]
mihalyr [mihalyr!~mihalyr@gateway/tor-sasl/mihalyr] has joined ##java [01:19]
jaziz [jaziz!~jaziz@unaffiliated/jaziz] has joined ##java [01:19]
sbalmos [sbalmos!~sbalmos@cpe-98-30-198-117.columbus.res.rr.com] has joined ##java [01:20]
pi0 which data structures book do you rec for java [01:24]
duckpuppy [duckpuppy!~duckpuppy@50.96.64.24] has joined ##java [01:27]
jaziz1 [jaziz1!~jaziz@unaffiliated/jaziz] has joined ##java [01:39]
jaziz [jaziz!~jaziz@unaffiliated/jaziz] has joined ##java [01:44]
sizeof_void34 [sizeof_void34!~sizeof_vo@ppp91-79-80-110.pppoe.mtu-net.ru] has joined ##java [01:52]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [02:04]
mizi [mizi!~mizi@p200300ECF3C60F007DED1AEF32A79E8B.dip0.t-ipconnect.de] has joined ##java [02:11]
feannag [feannag!~feannag@2409:4042:2814:e3aa:1569:a8d5:9031:41ca] has joined ##java [02:11]
shicks2525 [shicks2525!~shicks252@2600:1700:2428:20b0:ec48:1893:f91e:88d7] has joined ##java [02:14]
Katana [Katana!~hentai@unaffiliated/katana] has joined ##java [02:16]
Havenfield [Havenfield!~Arsio@152.32.104.240] has joined ##java [02:17]
Silmarilion [Silmarilion!~Silmarili@87.116.179.234] has joined ##java [02:24]
jimender2 [jimender2!uid320657@gateway/web/irccloud.com/x-ksjmgkzawyoumzyq] has joined ##java [02:30]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [02:32]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [02:35]
KidBeta [KidBeta!~Kidbeta@hpavc/kidbeta] has joined ##java [02:36]
oxum [oxum!~oxum@122.167.175.228] has joined ##java [02:43]
Tolstoy- [Tolstoy-!~keith@75-164-197-107.ptld.qwest.net] has joined ##java [02:51]
blackandblue [blackandblue!~batdownh@gateway/tor-sasl/blackandblue] has joined ##java [03:24]
Silmarilion [Silmarilion!~Silmarili@87.116.179.234] has joined ##java [03:30]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [03:32]
deavmi [deavmi!~quassel@165.255.253.162] has joined ##java [03:33]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [03:47]
bobek [bobek!~bobek@unaffiliated/bobek] has joined ##java [03:50]
tasse [tasse!~tasse@55d47166.access.ecotel.net] has joined ##java [03:57]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [04:05]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [04:07]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [04:13]
hooper [hooper!~hooper@75.164.3.93.rev.sfr.net] has joined ##java [04:16]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [04:20]
gelignite [gelignite!~gelignite@55d4e227.access.ecotel.net] has joined ##java [04:22]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [04:26]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [04:26]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [04:35]
Tolstoy parted the channel: "Textual IRC Client: www.textualapp.com" [04:50]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [05:07]
mizi [mizi!~mizi@p200300ECF3C60F007DED1AEF32A79E8B.dip0.t-ipconnect.de] has joined ##java [05:09]
AcTiVaTe [AcTiVaTe!~activate@host-3at28h.tnz1.zeelandnet.nl] has joined ##java [05:13]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [05:14]
deavmi [deavmi!~quassel@165.255.253.162] has joined ##java [05:17]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [05:24]
sizeof_void34 [sizeof_void34!~sizeof_vo@ppp91-79-80-110.pppoe.mtu-net.ru] has joined ##java [05:25]
paws_ [paws_!uid89121@gateway/web/irccloud.com/x-ongymprhcxzhdhxv] has joined ##java [05:30]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [05:41]
scpketer [scpketer!~scpketer@pppoe-185-145-58-222.prtcom.ru] has joined ##java [05:46]
rippa [rippa!~rippa@ppp-vpdn-37.1.85.157.yarnet.ru] has joined ##java [05:49]
db [db!uid18678@gateway/web/irccloud.com/x-ettgogmzhkxqvxgs] has joined ##java [05:50]
cpplearner [cpplearner!~nobody@ec2-18-182-239-10.ap-northeast-1.compute.amazonaws.com] has joined ##java [05:53]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [05:59]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [06:04]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [06:08]
mizi [mizi!~mizi@p200300ECF3C60F007DED1AEF32A79E8B.dip0.t-ipconnect.de] has joined ##java [06:08]
Silmarilion [Silmarilion!~Silmarili@87.116.179.234] has joined ##java [06:12]
georgios [georgios!~tablet@unaffiliated/anaphaxeton] has joined ##java [06:16]
ipe [ipe!~ipe@82-203-153-99.bb.dnainternet.fi] has joined ##java [06:22]
kslt1 [kslt1!~karl.sier@c-107-2-222-110.hsd1.co.comcast.net] has joined ##java [06:22]
somazero [somazero!~somazero@2600:8805:100:90:8eb5:ae00:a922:873f] has joined ##java [06:26]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [06:29]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [06:33]
somazero [somazero!~somazero@2600:8805:100:90:8eb5:ae00:a922:873f] has joined ##java [06:42]
gelignite [gelignite!~gelignite@55d4e227.access.ecotel.net] has joined ##java [06:44]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [06:47]
perrier-jouet [perrier-jouet!~perrier-j@modemcable012.251-130-66.mc.videotron.ca] has joined ##java [06:53]
Iolo [Iolo!~iolo@dsl-tkubng22-50de93-232.dhcp.inet.fi] has joined ##java [06:54]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [06:57]
ertiportline [ertiportline!~ertiportl@unaffiliated/ertiportline] has joined ##java [07:00]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:10]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [07:11]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:15]
fandbot [fandbot!~fandbot@2a02:c7f:ac53:4e00:756c:dfd9:fec6:7ea9] has joined ##java [07:19]
kicked fandbot (Banned: probably a bot. no bots allowed. this ban will expire after 90d) [07:19]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:20]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [07:21]
darkstardevx [darkstardevx!~darkstard@c-24-21-53-33.hsd1.or.comcast.net] has joined ##java [07:24]
dreamreal morning [07:24]
piem [piem!~piem@nalca.piem.org] has joined ##java [07:26]
raven__ [raven__!darkstarde@gateway/vpn/privateinternetaccess/darkstardevx] has joined ##java [07:27]
piem howdy! i'm trying to find a workaround to https://bugs.openjdk.java.net/browse/JDK-8216331 where files were created with java 1.6, and i'm trying to open them with 1.8. clues anyone? [07:29]
piem piem's title: "[JDK-8216331] StreamCorruptedException when deserializaing 2nd instance of unknown class - Java Bug System" [07:29]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:30]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [07:32]
dreamreal piem: how much control do you have over the source? [07:32]
peaceguy [peaceguy!~peaceguy@unaffiliated/peaceguy] has joined ##java [07:34]
piem dreamreal: a lot, but that exception occurs in the jre itself, when calling ObjectInputStream.readObject. triggered with 11.0.6 on linux and 1.8.0_241 on osx [07:39]
dreamreal yes. But the point is to avoid java serialization if you can, not "fix the bug with java serialization." [07:40]
dreamreal It's like "my car with a blown engine now has a flat tire," even if the tire's fixed the car's still crap [07:40]
piem dreamreal: right. well, serialization and deserialization appears to work with later versions, so it's not my primary concern. the issue is that old files can not be read anymore. [07:41]
dreamreal yeah, that would be an issue. :( I don't know how to work around the problem, unfortunately. [07:41]
piem dreamreal: i thought of installing an older version to deserialize them, and reserialize them with a more recent version. [07:42]
piem a bit of a pita though, and that solution only works with files shipped along the app, not for files created by users with previous version of the app [07:43]
galex-713_ [galex-713_!~quassel@portable.galex-713.eu] has joined ##java [07:43]
AcTiVaTe [AcTiVaTe!~activate@host-3at28h.tnz1.zeelandnet.nl] has joined ##java [07:48]
visualshock [visualshock!~visualsho@67.51-175-121.customer.lyse.net] has joined ##java [07:50]
tristianc [tristianc!~tristianc@pool-72-83-128-193.washdc.fios.verizon.net] has joined ##java [07:55]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [08:01]
fandbot [fandbot!~fandbot@2001:420:c0c0:1001::39] has joined ##java [08:04]
kicked fandbot (Banned: probably a bot. no bots allowed. this ban will expire after 90d) [08:04]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [08:06]
fdem [fdem!~fdem@212.252.82.65] has joined ##java [08:06]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [08:17]
iamregistered [iamregistered!5bb6e9fb@91.182.233.251] has joined ##java [08:20]
mohammad-ghasemi [mohammad-ghasemi!~mohammad@public-nat-13.vpngate.v4.open.ad.jp] has joined ##java [08:21]
P1RATEZ [P1RATEZ!piratez@unaffiliated/p1ratez] has joined ##java [08:22]
mniip [mniip!mniip@freenode/staff/mniip] has joined ##java [08:24]
mohammad-ghasemi Hello, how can I add junit 4.12 dependences to all new projects automatically. Currently I go to project structure>modules>dependances> and add the jar files there each time. I don't want to use maven. [08:27]
mohammad-ghasemi I use intellij [08:27]
sonOfRa Use gradle [08:28]
mohammad-ghasemi sonOfRa gradle neither [08:30]
sonOfRa Use ant then, and ivy. [08:30]
sonOfRa There's simply no reason not to use a build too. [08:30]
sonOfRa tool* [08:30]
dreamreal and switch to either maven or gradle, because using ant without a historical reason to do so is dumb. [08:31]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [08:32]
mohammad-ghasemi sonOfRa, maven takes a few seconds to figure out the dependences. I think I should cure my obsession. lol [08:33]
dreamreal yes, you're clearly not an idiot, why act like one [08:33]
mohammad-ghasemi dreamreal, right. thank you [08:34]
scpketer [scpketer!~scpketer@pppoe-185-145-58-222.prtcom.ru] has joined ##java [08:34]
scpketer [scpketer!~scpketer@pppoe-185-145-58-222.prtcom.ru] has joined ##java [08:43]
led_dark_1 [led_dark_1!~Thunderbi@217.66.160.14] has joined ##java [08:46]
royal_screwup21 [royal_screwup21!89de72f8@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.248] has joined ##java [08:50]
TimeTrap [TimeTrap!~TimeTrap@2601:44:c280:def:6918:5131:37d1:3971] has joined ##java [08:51]
tristianc [tristianc!~tristianc@pool-72-83-128-193.washdc.fios.verizon.net] has joined ##java [08:57]
galex-713 [galex-713!~quassel@portable.galex-713.eu] has joined ##java [09:02]
ipe [ipe!~ipe@82-203-153-99.bb.dnainternet.fi] has joined ##java [09:07]
perrier-jouet [perrier-jouet!~perrier-j@modemcable012.251-130-66.mc.videotron.ca] has joined ##java [09:07]
sponge337 [sponge337!~sponge337@unaffiliated/sponge337] has joined ##java [09:15]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [09:16]
masuberu [masuberu!3cf0582f@60-240-88-47.tpgi.com.au] has joined ##java [09:33]
masuberu hi, I am trying to get moxy to work... anyone knows how to get a json property based on property path (I don't want to map the json into an object but just need to get single property value)? [09:34]
dreamreal json-path? [09:37]
masuberu yes [09:38]
dreamreal jsonpath [09:39]
dreamreal dreamreal, what does that even *mean*? [09:39]
dreamreal json-path [09:40]
dreamreal dreamreal, what does that even *mean*? [09:40]
dreamreal gah, we have nothing on this, google does though [09:40]
scpketer wat [09:40]
dreamreal https://github.com/json-path/JsonPath [09:41]
dreamreal dreamreal's title: "GitHub - json-path/JsonPath: Java JsonPath implementation" [09:41]
dreamreal for example [09:41]
masuberu uh... but this has nothing to do with moxy [09:42]
AcTiVaTe [AcTiVaTe!~activate@host-3at28h.tnz1.zeelandnet.nl] has joined ##java [09:46]
bobek [bobek!~bobek@unaffiliated/bobek] has joined ##java [09:59]
Bou [Bou!uid274843@gateway/web/irccloud.com/x-jfpnnqrvzanemrxj] has joined ##java [10:04]
runlevel7_ [runlevel7_!~runlevel7@unaffiliated/runlevel7] has joined ##java [10:05]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [10:09]
VVD36291 [VVD36291!~VVD@109-252-91-66.nat.spd-mgts.ru] has joined ##java [10:13]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [10:15]
Pijamujanabanana [Pijamujanabanana!~ertiportl@unaffiliated/ertiportline] has joined ##java [10:16]
ideaPlus [ideaPlus!~ideaPlus@161.117.84.216] has joined ##java [10:17]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [10:28]
ricky_clarkson piem: You could start supporting a different format, and provide an online tool for users to convert their old files, built using an older version. [10:33]
ricky_clarkson e.g., JSON, protobuf [10:34]
Gargoyle [Gargoyle!~gargoyle@pdpc/supporter/bronze/gargoyle] has joined ##java [10:38]
dreamreal masuberu: this is true [10:44]
kslt1 [kslt1!~karl.sier@c-107-2-222-110.hsd1.co.comcast.net] has joined ##java [10:48]
georgios [georgios!~tablet@unaffiliated/anaphaxeton] has joined ##java [10:54]
kspalaiologos2 [kspalaiologos2!~kspalaiol@176.221.122.71] has joined ##java [10:54]
scpketer510 [scpketer510!~scpketer@pppoe-185-145-58-222.prtcom.ru] has joined ##java [10:54]
hussam [hussam!uid193284@gateway/web/irccloud.com/x-yejxcizjmtmazneq] has joined ##java [11:06]
iamregistered [iamregistered!5bb6e9fb@91.182.233.251] has joined ##java [11:12]
millido [millido!~millido@46.249.249.240] has joined ##java [11:17]
emmanuelux [emmanuelux!~emmanuelu@lfbn-idf1-1-2266-230.w92-151.abo.wanadoo.fr] has joined ##java [11:22]
Pijamujanabanana [Pijamujanabanana!~ertiportl@unaffiliated/ertiportline] has joined ##java [11:26]
millido [millido!~millido@46.249.249.240] has joined ##java [11:26]
millido [millido!~millido@46.249.249.240] has joined ##java [11:27]
chrissy_0 [chrissy_0!~chrissy_0@55d4eea9.access.ecotel.net] has joined ##java [11:27]
EgonX [EgonX!~Egon@2601:2c6:47f:98f4:41f5:1976:2c20:e6e2] has joined ##java [11:30]
EgonX [EgonX!~Egon@2601:2c6:47f:98f4:41f5:1976:2c20:e6e2] has joined ##java [11:30]
royal_screwup21 [royal_screwup21!89de72f8@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.248] has joined ##java [11:54]
linarcx [linarcx!~linarcx@151.241.236.244] has joined ##java [11:54]
sizeof_void34 [sizeof_void34!~sizeof_vo@ppp91-79-80-110.pppoe.mtu-net.ru] has joined ##java [11:54]
ZDisorder [ZDisorder!~shiranpur@unaffiliated/shiranpuri] has joined ##java [11:54]
CookieM [CookieM!~tomek@afch227.neoplus.adsl.tpnet.pl] has joined ##java [11:55]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [12:03]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [12:05]
white_shadow [white_shadow!~white_sha@unaffiliated/whiteshadow/x-9072] has joined ##java [12:07]
juuandyy [juuandyy!~juuandyy@90.166.144.29] has joined ##java [12:12]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [12:13]
xbyte1024 [xbyte1024!~xbyte1024@178-42-246.dynamic.cyta.gr] has joined ##java [12:25]
mohammad-ghasemi [mohammad-ghasemi!~mohammad@5.239.167.17] has joined ##java [12:30]
NoirX [NoirX!~Ahmed@s55942149.adsl.online.nl] has joined ##java [12:32]
NoirX hi [12:32]
fstd_ [fstd_!~fstd@unaffiliated/fisted] has joined ##java [12:44]
davidv7_ [davidv7_!~davidv7@BSN-142-52-242.dynamic.siol.net] has joined ##java [12:52]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [01:02]
juuandyy [juuandyy!~juuandyy@90.166.144.29] has joined ##java [01:03]
Katana [Katana!~hentai@unaffiliated/katana] has joined ##java [01:06]
enriooooooo [enriooooooo!~nanoz@unaffiliated/nanoz] has joined ##java [01:08]
enriooooooo is there a way to change http client of jax-ws? [01:08]
enriooooooo we planning to use different client not the default [01:09]
enriooooooo http ktor client [01:09]
Atlenohen [Atlenohen!~Walter@cpe-86-58-34-176.static.triera.net] has joined ##java [01:11]
yawkat jax-ws is a standard. you may be able to swap out the client in whatever implementation you use [01:13]
yawkat (but probably not) [01:14]
enriooooooo how do you swap? yawkat [01:20]
Prath [Prath!~Prathames@2405:204:15:64e:d2ed:6a37:8dcf:c723] has joined ##java [01:21]
enriooooooo after wsimport , having default service call [01:21]
wedr_ [wedr_!~tom_mai78@pool-72-74-130-175.bstnma.fios.verizon.net] has joined ##java [01:23]
guacjack hey all, i just came across https://www.jetbrains.com/academy/. What a great site! Really been enjoying this site for brushing up my Java skills [01:28]
guacjack guacjack's title: "JetBrains Academy: Get Ready To Become A Professional" [01:28]
guacjack They have a button in the programming tasks to open directly within IntelliJ and complete the task there. [01:28]
enriooooooo cool guacjack [01:31]
white_shadow [white_shadow!~white_sha@unaffiliated/whiteshadow/x-9072] has joined ##java [01:31]
enriooooooo thanks for sharing. [01:31]
Prath [Prath!~Prathames@8.45.42.69] has joined ##java [01:33]
Prath [Prath!~Prathames@2405:204:15:64e:d2ed:6a37:8dcf:c723] has joined ##java [01:37]
royal_screwup21 [royal_screwup21!89de72f8@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.248] has joined ##java [01:37]
Dotz0cat [Dotz0cat!~Dotz0cat@h217.211.213.151.dynamic.ip.windstream.net] has joined ##java [01:37]
Prath [Prath!~Prathames@49.38.27.212] has joined ##java [01:46]
galex-713 [galex-713!~quassel@portable.galex-713.eu] has joined ##java [01:46]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [01:46]
immibis [immibis!~immibis@ip5f5bf694.dynamic.kabel-deutschland.de] has joined ##java [01:49]
blackandblue [blackandblue!~batdownh@gateway/tor-sasl/blackandblue] has joined ##java [01:49]
CombatVet [CombatVet!~c4@gateway/tor-sasl/combatvet] has joined ##java [02:05]
Prath [Prath!~Prathames@2405:204:15:64e:8ff1:a695:6fb9:e26] has joined ##java [02:05]
Silmarilion [Silmarilion!~Silmarili@87.116.179.234] has joined ##java [02:08]
pinusc [pinusc!~weechat@227.ip-54-37-204.eu] has joined ##java [02:11]
Prath [Prath!~Prathames@2405:204:15:64e:8ff1:a695:6fb9:e26] has joined ##java [02:12]
georgios [georgios!~tablet@unaffiliated/anaphaxeton] has joined ##java [02:15]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [02:21]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [02:26]
LtHummus [LtHummus!~lthummus@75-172-121-5.tukw.qwest.net] has joined ##java [02:30]
wedr_ [wedr_!~tom_mai78@pool-72-74-130-175.bstnma.fios.verizon.net] has joined ##java [02:37]
nun parted the channel: "WeeChat 2.7" [03:00]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [03:09]
gelignite [gelignite!~gelignite@55d4e227.access.ecotel.net] has joined ##java [03:10]
LunarJetman [LunarJetman!LunarJetma@176.25.69.69] has joined ##java [03:11]
Katana [Katana!~hentai@unaffiliated/katana] has joined ##java [03:15]
sauvin [sauvin!sauvin@about/linux/staff/sauvin] has joined ##java [03:23]
Katana [Katana!~hentai@unaffiliated/katana] has joined ##java [03:32]
Citral90 [Citral90!~elihu@ip-84-118-125-199.unity-media.net] has joined ##java [03:36]
AgentVenom [AgentVenom!~textual@c-73-10-78-60.hsd1.nj.comcast.net] has joined ##java [03:52]
Jonopoly [Jonopoly!~Jonopoly@unaffiliated/jonopoly] has joined ##java [03:53]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [03:54]
ryandv [ryandv!~ryandv@2607:fea8:5a0:62e6:6dbd:39c1:6f64:e92d] has joined ##java [04:02]
royal_screwup21 [royal_screwup21!89de72f8@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.248] has joined ##java [04:05]
Hanii [Hanii!~Hanii@host86-190-38-147.range86-190.btcentralplus.com] has joined ##java [04:09]
Deeewayne [Deeewayne!~dwayne@2605:a601:a803:7800:ffaf:2fa4:84dc:10e4] has joined ##java [04:11]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [04:13]
llorllale [llorllale!~llorllale@CPEac202e24ff83-CMac202e24ff80.cpe.net.fido.ca] has joined ##java [04:13]
Cahaan_ [Cahaan_!~Cahaan@109.129.6.33] has joined ##java [04:17]
Sepultura [Sepultura!~pi@unaffiliated/sepultura] has joined ##java [04:45]
Sepultura Hallo [04:45]
Sepultura I have a problem [04:45]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [04:46]
Sepultura I have installed a Java Library but my Java Compiler can't find the library [04:46]
Sepultura how can I register the library so my imports can be found [04:46]
Sepultura ? [04:46]
georgios [georgios!~tablet@unaffiliated/anaphaxeton] has joined ##java [04:48]
whaley [whaley!~whaley@99-96-74-127.lightspeed.gnvlsc.sbcglobal.net] has joined ##java [04:51]
whaley [whaley!~whaley@99-96-74-127.lightspeed.gnvlsc.sbcglobal.net] has joined ##java [04:53]
sb35 [sb35!~sb35@23.111.78.46] has joined ##java [04:55]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [04:58]
nun [nun!~nun@178.115.236.156.static.drei.at] has joined ##java [05:00]
smurfendrek123 [smurfendrek123!~smurfendr@94-226-230-252.access.telenet.be] has joined ##java [05:02]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-iwydhqmuotxodput] has joined ##java [05:07]
jayjo [jayjo!~jayjo@unaffiliated/jayjo] has joined ##java [05:13]
jayjo I'm having trouble getting a smart card on my machine to be recognized when using a web service, https://www.openscdp.org/ocf/faq.html an OCF Web client run with `java -jar ocf-cc-jar -v`. I have checked for card readers on my machine with java -jar ocf-cc.jar -l, and it doesn't list any. But using a slew of other tools it works ok (sc-hsm-tool, pkcs11-tool, pcsc_scan, etc). That site links to [05:17]
jayjo https://ludovicrousseau.blogspot.com/2013/03/oracle-javaxsmartcardio-failures.html saying that libpcsclite might be installed in the wrong location. How can I check that? I'm not getting any output from the java -jar command other than the initial start logging [05:17]
mizi [mizi!~mizi@p200300ECF3C60F007DED1AEF32A79E8B.dip0.t-ipconnect.de] has joined ##java [05:18]
hsh [hsh!uid286227@gateway/web/irccloud.com/x-angjmmljpanyouoh] has joined ##java [05:28]
jayjo it does seem that java was unable to find the correct lib. It works if I run it with java -Dsun.security.smartcardio.library=/usr/lib/x86_64-linux-gnu/libpcsclite.so.1 ... is there a way to make that permanent? [05:30]
Abbadonnet [Abbadonnet!~Abbadonne@static.12.108.63.178.clients.your-server.de] has joined ##java [05:30]
jaziz [jaziz!~jaziz@unaffiliated/jaziz] has joined ##java [05:33]
guacjack Am i right in saying that an exception will bubble all the way up to the main if not caught and handled and therefore would terminate the program? [05:34]
ChaiTRex guacjack: I think that it will end the thread it occurs in. [05:36]
Fiji [Fiji!~Fiji@unaffiliated/fiji] has joined ##java [05:36]
Fiji pastebin [05:37]
Fiji Please paste your code and any errors online. For runnable main-classes, try https://ideone.com/ . For general code and errors, use for instance https://gist.github.com [05:37]
royal_screwup21 [royal_screwup21!89de72f8@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.248] has joined ##java [05:45]
dreamreal jayjo: no [05:51]
grumble [grumble!~grumble@freenode/staff/grumble] has joined ##java [06:00]
royal_screwup21 [royal_screwup21!89de72f8@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.248] has joined ##java [06:01]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [06:09]
somazero [somazero!~somazero@2600:8805:100:90:8eb5:ae00:a922:873f] has joined ##java [06:12]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [06:13]
viraltaco_ [viraltaco_!~taco@unaffiliated/d-b/x-8688605] has joined ##java [06:16]
surial jayjo: no. Generally you don't run java apps with 'java -lots of params here' as an end user; some packaging exists (i.e. an installer), or if you must, you write a script. [06:34]
surial jayjo: you can set those properties in your main. [06:35]
surial guacjack: that is oversimplified. [06:35]
guacjack surial in just a plain java app? [06:35]
surial guacjack: it bubbles up all the way to the top of the thread's stack. At the top of the primary thread started by the VM, yes, main is there, but you can make other threads. [06:35]
surial guacjack: plain java apps can have multiple threads. [06:36]
guacjack ah yes, but in just a one threaded app [06:36]
surial still oversimplified. [06:36]
surial guacjack: At that point, if it bubbles out of the top-of-stack, the thread is shut down, and the defined uncaught exception handler is invoked to deal with the problem. The default one will print what you see when you write 'public static void main(String[] args) {throw new RuntimeException(); }' and run it: type, message, trace, cause. [06:36]
surial guacjack: this does not end the VM either. [06:37]
guacjack ah nice good to know thanks [06:37]
guacjack thanks for writing that all out :) [06:37]
surial guacjack: however, if all threads that do not have the 'daemon flag' set are all finished, the VM just exits. You don't normally rely on this to end VMs, but that's _WHY_ throwing an exception from main ends the VM. [06:37]
surial not because the default exception handler shuts down the VM. You can test this: Create a thread. start a thread. throw an exception from main. YOu'll find your app still runs. [06:37]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [06:39]
surial guacjack: some further fun experimentation to try: Thread.currentThread().setDaemon(true) will near instantly end a VM (try it), unless of course other threads have been started. Also try messing with the default ex handler: Thread.currentThread().setDefaultUncaughtExceptionHandler((t, ex) -> System.out.println("An uncaught exception has occured and now I run. Huh.")); [06:40]
guacjack surial thanks for that i will check it out [06:41]
surial guacjack: oh, also good to know, main is allowed to declare 'throws Exceptoin' just fine. [06:41]
guacjack I was just wondering what would happen if i didnt catch an exception which was thrown :D [06:42]
guacjack thanks for explaining that [06:42]
guacjack I never even thought of threads to be honest :) [06:42]
surial if you want your app to end and the exception to be printed, the right way is, that. Not try { yourCode(); } catch (Exception e) {System.err.println("Aborting due to exception"); e.printStackTrace(); System.exit(0); } or whatever. That's a boatload of code that you .. just do not need to write. [06:42]
surial basic rule: If you catch an exception, deal with it. printing it is not 'dealing' with it :P [06:43]
tjnycum [tjnycum!~tjnycum@unaffiliated/tjnycum] has joined ##java [06:45]
tjnycum Will the java binary check for and accept switches that are inside quoted strings? example: https://pastebin.com/tUavBQFd I know generally I'd expect this to be a problem, but it's Apache Spark that's wrapping my extra java args in quotes so I'm thinking they probably just know something about the java binary in particular that I don't. :-p But it's relevant to some troubleshooting I'm doing, so I'd like to confirm whether those switche [06:54]
tjnycum s would actually be taking effect. [06:54]
surial tjnycum: I think you misunderstand how bash works. You're running this in bash, yeah? Those quotes? _BASH_ takes em away. [06:54]
surial java doesn't get to see them even if it wanted to. [06:54]
surial tjnycum: if somehow java were to see those quotes, java wouldn't start; invalid command option. [06:55]
surial so, if it doesn't crash out with that error, it sees them. [06:55]
tjnycum That's snipped from some console output. I don't know whether that command is passed through bash or directly to exec() [06:56]
surial Right. Well, _something_ takes those quotes away, or java will error on start. [06:57]
tjnycum good to hear. thanks. [06:57]
wildlander [wildlander!~wildlande@unaffiliated/wildlander] has joined ##java [07:11]
galex-713 [galex-713!~quassel@portable.galex-713.eu] has joined ##java [07:21]
Dotz0cat [Dotz0cat!~Dotz0cat@h26.69.29.71.dynamic.ip.windstream.net] has joined ##java [07:29]
ZOrder [ZOrder!~shiranpur@unaffiliated/shiranpuri] has joined ##java [07:30]
asasasas [asasasas!~asasasas@45.77.53.139] has joined ##java [07:35]
AgentVenom [AgentVenom!~textual@c-73-10-78-60.hsd1.nj.comcast.net] has joined ##java [07:42]
Fiji [Fiji!~Fiji@unaffiliated/fiji] has joined ##java [07:44]
_homme__ [_homme__!~emmanuelu@194.127.172.95] has joined ##java [07:49]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [08:05]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [08:22]
ComputerTech [ComputerTech!~Lloyd@188.31.47.30.threembb.co.uk] has joined ##java [08:33]
galex-713 [galex-713!~quassel@portable.galex-713.eu] has joined ##java [08:35]
ComputerTech Hey [08:37]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [08:45]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [08:47]
ComputerTech parted the channel: "Leaving" [08:48]
deavmi [deavmi!~quassel@165.255.253.162] has joined ##java [08:52]
Anthaas [Anthaas!~Anthaas@unaffiliated/anthaas] has joined ##java [08:53]
tomboy64 [tomboy64!~tomboy64@gateway/tor-sasl/tomboy64] has joined ##java [09:02]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [09:10]
sabocat [sabocat!~Tomas@c-24-17-109-70.hsd1.wa.comcast.net] has joined ##java [09:18]
sabocat I'm building an app with SpringBoot. Is it wise to create a special class to represent the DB view of a domain object (e.g., class Person, and class PersonDBObject)? [09:20]
masuberu [masuberu!3cf0582f@60-240-88-47.tpgi.com.au] has joined ##java [09:21]
masuberu hi, I dont have experience with big maven projects and I would like to test jersey github examples to understand how jersey works. I tried git clone the whole project and then `mvn install` from the root but it fails [09:23]
TimeTrap sabocat: you want to create domain objects that get populated by values in the db using repository pattern, so usually you don't want to create a separate db object [09:24]
sabocat TimeTrap, I see. I'm asking because it seems like my domain models are getting polluted with things that have to do with the repo, rather than what that object represents (e.g., the last time it was updated, or a foreign key, etc.) [09:25]
TimeTrap can't you leave those properties out of your domain object? [09:26]
sabocat Where would I put them instead? [09:28]
linext [linext!~linext@pool-74-105-137-39.nwrknj.fios.verizon.net] has joined ##java [09:29]
TimeTrap Leave them in the domain object if you need, them otherwise just don't map them. [09:31]
wrongt [wrongt!~wrongt@unaffiliated/wrongt] has joined ##java [09:31]
sabocat What I mean is, if my domain object is, say, NewspaperHeadline, it would seem wrong to include fields that relate to how that object is stored in the DB (like lastTimeHeadlineDataUpdated). That seems more like it's related to the DB's _view_ of the object, rather than what that object is supposed to represent. [09:35]
surial sabocat: That is indeed one way of thinking. But that way pretty soon leads to 'wait, I don't want a java version of the DB table at all'. [09:36]
TheLaw [TheLaw!~TheLaw@172.83.7.230] has joined ##java [09:37]
sabocat surial, I'm not sure what you mean. Could you elaborate please? [09:37]
surial sabocat: SELECT * FROM newspaperHeadlines; is.. just a resultset. Why does the 'structure' that is returned by that query deserve having an object that maps it, written before you even need it, but, say, SELECT h.titl, h.posted < NOW() AS hasBeenPrinted, a.name AS author FROM newspaperHeadlines h INNER JOIN writers a ON h.author = a.unid WHERE h.unid = 1;... [09:38]
surial does not? [09:38]
surial why isn't there a class that represents just 'String title; boolean hasBeenPrinted; String author;' but there is one that represents every field (even the unid) of newspaperheadline? [09:38]
surial and if you bounce into inserts, for starters there are views with ON INSERT clauses, and also there are autogen fields. Such as, usually, unid. If we're talking about a class def which represents exactly the data that is relevant for an INSERT INTO tableName (tableCol1, tableCol2) VALUES (? this stuff here ?); ? then that doesn't match the table either. unid isn't in this one, at the very least, either. [09:40]
surial sabocat: eventually this line of thinking leads to a choice. SQL, or not SQL? Are you just trying to write SQL from java and thinking about how to make the API 'nice'? Or are you going to forget that SQL is a thing entirely, and try to come up with a database for java objects, with java APIs, where 'right, and it is backed by an SQL-based DB engine and some java library is translating your java-based queries into SQL to make [09:42]
surial this work'? The former is JDBI/JOOQ. The latter is JPA/Hibernate. Which one do you really want? Neither one actually ends up having a need for a class that includes that unid, really. [09:42]
Fiji not entirely sure what your point is surial, but i am curious :) [09:44]
gelignite_ [gelignite_!~gelignite@55d4a955.access.ecotel.net] has joined ##java [09:44]
surial Fiji: I just wrote quite some text to try to explain it. I'm.. gonna need some details as to which parts are confusing before I literally type up an entire essay. [09:45]
sabocat Yeah, it's going to take me a minute to work that out. [09:45]
Fiji yeah give me a sec [09:45]
Fiji i just woke up ill parse it [09:45]
surial Fiji: here's the crucial question: _IF_ the db table structure does not match the way your object actually works java-side (for example, the db structure has unid and the 'lastTimeHeadlineDataUpdated' as mentioned by sabocat), .... why... do you need a java class that precisely represents the db structure? [09:46]
Fiji oh ok [09:46]
Fiji yeah there's no need at all, i agree [09:46]
Fiji your java objects should be java objects, database tables should be database tables [09:46]
surial JPA/Hibernate is the most popular choice to interact from java code to DBs. It.. disagrees with that idea. [09:47]
Fiji ah ok now i understand [09:47]
Fiji yeah i don't like ORM actually [09:47]
surial Personally I use JPA/Hibernate almost never, strongly preferring the 'its SQL, SQL fundamentally isn't OO like this' models that JDBI/JOOQ set up for you. [09:47]
sabocat surial, yeah, I'm using Hibernate. This is my first such project. [09:47]
Fiji i would not use hibernate [09:47]
surial sabocat: the best way to think about hibernate is: It's not a database. It's not SQL. [09:47]
sabocat Fiji, too late. [09:47]
Fiji P [09:48]
surial It's a library that persists objects into some opaque storage mechanism with unknown and weird performance characteristics. Objects are stored on the basis of a structure as defined by your class files, and hibernate has an API for you to do lookups. This API is far less flexible than full blown SQL is. [09:48]
Fiji i think mybatis is better or something like that [09:49]
sabocat I'm building my first Spring app. Thus Hibernate. [09:49]
surial Once you understand that is what hibernate does, you will have no issues with it. Once you start conflating hibernate with SQL (often in terms of: I know exactly the SQL with inner joins, views, having clauses and windowing functions that I want here, how do I make hibernate generate this?) ? you're just not doing it right. [09:49]
white_shadow [white_shadow!~white_sha@unaffiliated/whiteshadow/x-9072] has joined ##java [09:49]
Technodrome [Technodrome!~textual@unaffiliated/technodrome] has joined ##java [09:49]
Fiji yeah it's fine for your first app sabocat [09:49]
Fiji i wouldn't worry about it until you have performance problems or something [09:50]
surial it's lose-lose; hibernate is no longer useful to you here, it's in fact a drag. slowing you down and making your code harder to follow, for basically no gain. Which is why you shouln't even go there, and if you think for this project or for your style and familiarity you really DO want to go there.. don't use hibernate at all. JDBI/JOOQ is there. [09:50]
surial sabocat: I don't think spring enforces hibernate. [09:50]
Diablo-D3 wait, are we getting on the hibernate sucks hype train? [09:50]
Diablo-D3 choo choo motherfucker [09:50]
surial Fiji: mybatis, like hibernate, is a JPA impl as far as I remember. [09:50]
Fiji it doesn't, but if you're a newbie to spring i could see how you would think that [09:50]
surial Diablo-D3: hibernate doesn't suck. It's a fine object persistence framework. [09:50]
Fiji if you use the JPA stuff yeah, otherwise you can just use it as a generic tool to get data from the db, basically a thin wrapper [09:51]
Fiji around your jdbc connection [09:51]
Diablo-D3 surial: it made me consider committing murder. I would have had a religion in my name by the time I was done if I had ever cracked. [09:51]
surial Diablo-D3: but 'hibernate as a way to do SQL from java'? Oh yeah. sucks. choo choo and all that. hibernate's marketing could do a better job, I guess, but I doesn't flat out say it is THE way to do SQL from java, so I'm not sure we should say 'it sucks'. If we do, I might as well say the fork in my kitchen drawer sucks, because I tried catching a fish with it, and christ it was bad at it. [09:51]
surial Fiji: JDBI is designed for that, mybatis is not. Judging books by their covers (and life is short, and you can't read the entire library, so you gotta do that, just, keep an open mind when you do), jdbi is a better fit for this. [09:52]
Fiji that's fair [09:52]
surial the problem is, if hibernate is that fork, then 80% of the population of the planet thinks if you need to catch a fish, get a fork. [09:53]
Diablo-D3 surial: so can I at least say hibernate 80% sucks? [09:53]
surial only if you agree that most of the world are idiots. [09:53]
Fiji to be fair every lemming with an internet connection that writes a blog about the easiness of hibernate on medium or dev.to is contributing to the spreading the idea that hibernate is the fork they should be using [09:54]
Fiji i bet you didn't think you'd open this can of worms sabocat :) [09:54]
surial Fiji: yes, hence my point about 80% of the world thinking, to catch a fish, get a fork :) [09:54]
Fiji P [09:54]
surial let's hope their IRC browser has a long scroll history, huh? :) - welcome to ##java, sabocat :) [09:54]
sabocat Fiji, lol, yeah tbh I went back to my IDE about 5 mins ago... :D [09:54]
Fiji D [09:55]
sabocat Entertaining though. [09:55]
Fiji do you guys use java at work? we're stuck at java8. i wish we'd use at least java11 or something [09:55]
sabocat Fiji, just graduated. No work yet :) [09:56]
Fiji congrats! [09:56]
sabocat Thanks! [09:56]
surial Fiji: I'm on 11 for compiling, but fuck no to the jigsaw stuff, and not on the horizon either. [09:56]
Fiji ah i see [09:56]
surial Fiji: a lot of shit broke from 8 to 9. I completely get sticking with 8. [09:56]
Fiji yeah that's true [09:56]
Fiji the module system and all that :X [09:56]
surial sabocat: \O/ [09:57]
Fiji sabocat, did you graduate from a university in the US? [09:57]
sabocat Fiji, yeah, Western Governors Univ. It's an online school that's funded and backed by the gvt. [09:57]
Fiji ah ok cool [09:57]
linext [linext!~linext@pool-74-105-137-39.nwrknj.fios.verizon.net] has joined ##java [10:05]
runlevel7 [runlevel7!~runlevel7@unaffiliated/runlevel7] has joined ##java [10:11]
Cahaan [Cahaan!~Cahaan@109.129.6.33] has joined ##java [10:15]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:4107:2ab3:741a:7064] has joined ##java [10:40]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:4107:2ab3:741a:7064] has joined ##java [10:42]
tjnycum parted the channel: [10:43]
javango [javango!~javango@188.113.176.117] has joined ##java [10:54]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [10:58]