Info

Login

Channels

APIs

Credits

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

« 2019-03-26

2019-03-27

2019-03-28 »

Nick Message Date
AugustusCaesar24 [AugustusCaesar24!~AugustusC@99-190-112-116.lightspeed.irvnca.sbcglobal.net] has joined ##java [12:16]
AugustusCaesar24 parted the channel: [12:17]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [12:24]
Xiti [Xiti!~Xiti-@unaffiliated/xiti] has joined ##java [12:29]
immibis [immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz] has joined ##java [12:44]
acidjnk [acidjnk!~acid@mue-88-130-58-228.dsl.tropolys.de] has joined ##java [12:50]
Hanii [Hanii!~Hanii@2a00:23c5:c587:a800:d8c2:fe75:237c:753] has joined ##java [12:55]
xlxnnx [xlxnnx!~xlxnnx@66.171.34.67] has joined ##java [12:55]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [01:07]
sauvin [sauvin!sauvin@about/linux/staff/sauvin] has joined ##java [01:09]
CombatVet [CombatVet!~CombatVet@gateway/tor-sasl/combatvet] has joined ##java [01:36]
g00s_ [g00s_!~g00s@unaffiliated/g00s] has joined ##java [01:40]
untrck_ [untrck_!uid353408@gateway/web/irccloud.com/x-xdxgudzschnftkyb] has joined ##java [01:41]
Chuguniy [Chuguniy!~Chuguniy@80.232.218.96] has joined ##java [01:43]
wbrawner [wbrawner!~wbrawner@187.235.203.44] has joined ##java [01:46]
karab44 [karab44!~karab44@unaffiliated/karab44] has joined ##java [01:47]
led_dark_1 [led_dark_1!~Thunderbi@217.66.160.14] has joined ##java [01:51]
seven-eleven [seven-eleven!~seven-ele@unaffiliated/seven-eleven] has joined ##java [02:03]
v01d4lph4 [v01d4lph4!~v01d4lph4@203.122.14.66] has joined ##java [02:07]
wbrawner [wbrawner!~wbrawner@187.235.203.44] has joined ##java [02:11]
wbrawner [wbrawner!~wbrawner@187.235.203.44] has joined ##java [02:19]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [02:21]
t2mkn [t2mkn!~t2mkn@43.226.2.118] has joined ##java [02:36]
ogradyd [ogradyd!~Thunderbi@2a02:8070:88bf:9df0::88d] has joined ##java [02:38]
supernov1h [supernov1h!~supernova@120.136.5.196] has joined ##java [02:48]
aqd [aqd!~aqd@host-219-68-58-29.dynamic.kbtelecom.net] has joined ##java [02:49]
palasso [palasso!~palasso@unaffiliated/palasso] has joined ##java [02:50]
ket [ket!~jil@2607:f298:6:a016::c10:cabe] has joined ##java [02:51]
sbeex [sbeex!~sbeex@46.140.90.107] has joined ##java [02:52]
OnceMe [OnceMe!~OnceMe@unaffiliated/onceme] has joined ##java [02:55]
SmearedBeard [SmearedBeard!~SmearedBe@unaffiliated/smearedbeard] has joined ##java [02:56]
wbrawner [wbrawner!~wbrawner@187.235.203.44] has joined ##java [03:00]
CombatVet [CombatVet!~c4@gateway/tor-sasl/combatvet] has joined ##java [03:03]
waterCreature [waterCreature!~watercrea@203.125.138.178] has joined ##java [03:10]
waterCreature with cron scheduler, if the springboot app hit exception at some point, would it be able to do the next job it's supposed to do when cron schedule is up? [03:16]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [03:24]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [03:32]
kegster [kegster!~kegster@unaffiliated/kegster] has joined ##java [03:32]
kegster [kegster!~kegster@unaffiliated/kegster] has joined ##java [03:36]
sa02irc [sa02irc!~sa02irc@155-079-043-212.ip-addr.inexio.net] has joined ##java [03:42]
teralaser [teralaser!~teralaser@unaffiliated/teralaser] has joined ##java [03:43]
esro [esro!~esro@user119-167.otvarta.com.pl] has joined ##java [03:44]
Corbit [Corbit!~corbit@2001:a61:355b:8201:2949:f547:5ce0:76a9] has joined ##java [03:58]
nickel8448 [nickel8448!~rahul@45.56.154.157] has joined ##java [03:59]
supernov1h [supernov1h!~supernova@120.136.5.196] has joined ##java [04:02]
Ard1t [Ard1t!~ard1t@unaffiliated/ard1t] has joined ##java [04:07]
bnyio [bnyio!~bnyio@alcatraz.open-xchange.com] has joined ##java [04:22]
t2mkn [t2mkn!~t2mkn@43.226.2.118] has joined ##java [04:33]
AugustusCaesar24 [AugustusCaesar24!~AugustusC@99-190-112-116.lightspeed.irvnca.sbcglobal.net] has joined ##java [04:36]
AugustusCaesar24 parted the channel: [04:36]
supernov1h [supernov1h!~supernova@120.136.5.196] has joined ##java [04:52]
magz [magz!~magz@68-168-184-223.fttp.usinternet.com] has joined ##java [05:01]
aqd [aqd!~aqd@host-219-68-58-29.dynamic.kbtelecom.net] has joined ##java [05:09]
Avaray [Avaray!~Avaray@dynamic37-72-124-240.ostnet.pl] has joined ##java [05:10]
togo [togo!~togo@2a01:5c0:1a:c171:3ee7:9c4a:6828:3ea8] has joined ##java [05:12]
Cahaan [Cahaan!~Cahaan@static.88-198-39-148.clients.your-server.de] has joined ##java [05:16]
Maldivia waterCreature: it would be really shitty if it couldn't [05:16]
freakyy [freakyy!~uwe@baby.freakyonline.de] has joined ##java [05:21]
nokdoot [nokdoot!~nokdoot@211.205.207.39] has joined ##java [05:22]
User_ [User_!~learningc@mti-37-145.tm.net.my] has joined ##java [05:24]
User_ [User_!~learningc@mti-37-145.tm.net.my] has joined ##java [05:25]
Smeared_Beard [Smeared_Beard!~SmearedBe@unaffiliated/smearedbeard] has joined ##java [05:25]
kikudjiro [kikudjiro!~kikudjiro@78.158.215.166] has joined ##java [05:26]
User_ [User_!~learningc@mti-37-145.tm.net.my] has joined ##java [05:26]
User_ [User_!~learningc@mti-37-145.tm.net.my] has joined ##java [05:28]
lucid-lullaby [lucid-lullaby!~lucid-lul@66.115.169.237] has joined ##java [05:28]
User_ [User_!~learningc@mti-37-145.tm.net.my] has joined ##java [05:29]
forgottenone [forgottenone!~forgotten@176.88.100.149] has joined ##java [05:30]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:d478:4638:bd05:41d7] has joined ##java [05:31]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [05:32]
ravenousmoose_ [ravenousmoose_!~ravenousm@194.78.35.195] has joined ##java [05:36]
con3 [con3!~kvirc@ml.sun.ac.za] has joined ##java [05:37]
kegster [kegster!~kegster@unaffiliated/kegster] has joined ##java [05:40]
wbrawner [wbrawner!~wbrawner@187.235.203.44] has joined ##java [06:00]
led_dark_1 [led_dark_1!~Thunderbi@217.66.160.14] has joined ##java [06:06]
sa02irc [sa02irc!~sa02irc@155-079-043-212.ip-addr.inexio.net] has joined ##java [06:07]
forgottenone [forgottenone!~forgotten@176.88.100.149] has joined ##java [06:08]
Stummi Maven question: this page ( https://maven.apache.org/maven-ci-friendly.html ) implies that using a property for <version>, is supported (and encouraged) since 3.5.0, however when I do that get a warning that this feature is not supported and may be removed in future and then break my builds. So, what to do with that information? [06:14]
Stummi Stummi's title: "Maven Maven CI Friendly Versions" [06:14]
Stummi " 'version' contains an expression but should be a constant. @ com.company:application:${version}" [06:15]
acidjnk [acidjnk!~acid@mue-88-130-58-228.dsl.tropolys.de] has joined ##java [06:21]
zulutango [zulutango!~zulutango@static-n49-176-171-248.mas2.nsw.optusnet.com.au] has joined ##java [06:25]
tuskkk____ [tuskkk____!uid18470@gateway/web/irccloud.com/x-kjmkmrervwjgyrnw] has joined ##java [06:26]
extenuate [extenuate!uid96210@gateway/web/irccloud.com/x-nbpdaaazhmdrcjum] has joined ##java [06:27]
[twisti] Stummi: ${revision}, ${sha1} and ${changelist} are special values that act like essentially hard coding them [06:27]
[twisti] its not a generic property support [06:27]
[twisti] the page you linked even specifically says "A note about the used properties. You can only use those named ${revision}, ${sha1} and/or ${changelist} and not other named properties" [06:28]
Stummi ah, right, missed that. thanks [06:30]
megaTherion [megaTherion!~therion@unix.io] has joined ##java [06:32]
x6e69636f [x6e69636f!~nicolas@202.201.136.77.rev.sfr.net] has joined ##java [06:40]
x6e69636f hi guys, any Linux users ? Should I uninstall OpenJDK 10 before I install OpenJDK 11 ? [06:41]
Addax they can live alongside each other well. But there's no point to having 10 if you have 11. [06:42]
x6e69636f yes [06:43]
x6e69636f thanks Addax [06:43]
bohrbug_ [bohrbug_!~bohrbug@162-233-95-15.lightspeed.livnmi.sbcglobal.net] has joined ##java [06:43]
Maldivia (unless you need both explicitly) [06:44]
x6e69636f I should upgrade my knowledge ... any good resource to learn changes from Java7/8 to 11 ? [06:44]
Maldivia x6e69636f: language level, API level, JVM level, or? [06:45]
Maldivia MANY things has happened :D [06:45]
x6e69636f language level first, I know they added a lot of functionnal stuff [06:46]
Addax not in 11 [06:46]
Maldivia at a language level, modules were added in Java 9, and var keyword was added in 10/11 - that's about it on a language level [06:46]
Addax oh, compared to 8 [06:46]
Maldivia (switch expressions in 12 as a buggy preview feature) [06:47]
gregf_ [gregf_!557336c9@gateway/web/freenode/ip.85.115.54.201] has joined ##java [06:47]
x6e69636f ok [06:48]
x6e69636f and lambdas ? [06:48]
Maldivia was in 8 [06:48]
Maldivia and sorry, 'var' is not a keyword, it's a reserved type name [06:49]
x6e69636f ok I'm wold [06:49]
x6e69636f old* [06:49]
x6e69636f I mean, I'm late [06:49]
x6e69636f ok I found an article in French listing all new stuff since 7 [06:50]
kegster [kegster!~kegster@unaffiliated/kegster] has joined ##java [06:58]
Stummi x6e69636f, java takes it quite serious to be self contained. In the best case your "java installation" is just a) the extracted directory laying somewhere b) JAVA_HOME pointing to said directory c) making sure your scripts are picking up the correct java installation. Either by calling $JAVA_HOME/bin/java or symlinking the bins of the installation you want to use into your PATH [06:59]
Stummi (or adding $JAVA_HOME/bin) to your path [06:59]
Stummi (For my self I made a compromise by creating wrapper scripts at /usr/local/bin/java* which just calls their $JAVA_HOME/bin/java* counterparts [07:00]
Maldivia I have aliases in place to update JAVA_HOME to the correct paths (like jdk11), as well as aliases for calling them directly as well (like java11) -- and I know many other in my team has either scripts or aliases in place to do the same [07:02]
ravenousmoose_ [ravenousmoose_!~ravenousm@194.78.35.195] has joined ##java [07:02]
beStKodErEveR [beStKodErEveR!~dannyD@135.red-83-58-252.dynamicip.rima-tde.net] has joined ##java [07:10]
gelignite [gelignite!~gelignite@55d4d524.access.ecotel.net] has joined ##java [07:11]
shicks2525 [shicks2525!~shicks252@ool-4354603e.dyn.optonline.net] has joined ##java [07:13]
teralaser_ [teralaser_!~teralaser@unaffiliated/teralaser] has joined ##java [07:14]
bohrbug_ [bohrbug_!~bohrbug@162-233-95-15.lightspeed.livnmi.sbcglobal.net] has joined ##java [07:15]
karab44 [karab44!~karab44@unaffiliated/karab44] has joined ##java [07:16]
HC|Carl [HC|Carl!~anonymous@141.85-78-194.adsl-static.isp.belgacom.be] has joined ##java [07:23]
HC|Carl !xws-security [07:23]
surial xws-security [07:24]
surial surial, what does that even *mean*? [07:24]
surial HC|Carl: our repository of facts has no idea what that is. [07:24]
x6e69636f that's weird, on my Ubuntu laptop, "java --version" outputs "openjdk version "10.0.2" 2018-07-17" but I have no clue where it's located despite running "find / -name java-10*" [07:24]
surial I would be tempted to believe this means you made it up :P [07:24]
x6e69636f I do however have java-11 installed [07:24]
surial x6e69636f: probably because it'd be openjdk-10 or whatnot. [07:24]
x6e69636f and apt-get only knows this one [07:24]
surial x6e69636f: what does 'which java' print? I assume /usr/local/bin/java or /usr/bin/java [07:24]
cheeser tech support [07:25]
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. [07:25]
surial x6e69636f: the update-alternatives system that apt-based systems usually ship with is capable of adopting JDK installations beyond what apt offers. [07:25]
HC|Carl surial i did not :) it's a (very) old dependency (2008) which provides soap ws security abilities [07:25]
x6e69636f ok ok, sorry tech support javabot [07:25]
Addax x6e69636f: ubuntu 18.04 doesn't have java 11 even though the package says that's what it is. [07:25]
HC|Carl the question i have is what to replace it with [07:25]
x6e69636f ah ? [07:25]
Addax You'll have to upgrade to 18.10 or manually install java 11. [07:25]
surial HC|Carl: ooof, yeah that's been consigned to history. [07:26]
surial HC|Carl: as in, the entire notion of soap. [07:26]
henbruas [henbruas!~henbruas@unaffiliated/henbruas] has joined ##java [07:26]
Addax cleanliness be damned and all [07:26]
Maldivia wasn't it 18.04 that had openjdk11 in its repos, that was actaully a 10 ? [07:26]
Addax but yeah, soap is kinda funny [07:26]
surial HC|Carl: Perhaps the best way forward is to just name a few properties this thing has. Unless someone here knows what xws-security is? [07:26]
HC|Carl surial: i know [07:26]
Addax Maldivia: exactly what I just said :) [07:26]
Maldivia Addax: ah yeah, just had to reread D: [07:27]
Addax D [07:27]
x6e69636f Addax: ok thanks ... ! [07:27]
x6e69636f I'm 18.04 indeed [07:27]
Addax you're welcome, and the lesson, as always, is "avoid ubuntu" :) [07:28]
x6e69636f ahah, small troll [07:28]
x6e69636f what would you use instead ? [07:28]
Addax nah, I run ubuntu and a number of other distributions. I far, far, far prefer fedora [07:29]
x6e69636f ok I should give it a try someday [07:29]
Addax fedora, centos, debian, ubuntu <-- my preferences in general order, although the machine I'm IRCing from is indeed ubuntu 18.10 [07:29]
x6e69636f but as a non-sysadmin I find ubuntu quite easy to use and find docs easily so far [07:30]
x6e69636f ok [07:30]
Addax sure, sure. Which version of java is oenjdk11, again? [07:30]
HC|Carl no problem guys, i'll search further on the interwebz. which me luck; i'm about to enter the gates of hell [07:30]
x6e69636f Addax: what do you mean ? OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) [07:31]
Addax x6e69636f: I win. :) [07:31]
Addax ubuntu [07:31]
Addax Ubuntu, huh? See https://help.ubuntu.com/community/Java; try #ubuntu-java. Note that "ubuntu" is an ancient African word meaning "I can't configure Debian" - with an alternative meaning of "I'm not smart enough to run Fedora." (If you're trying to install: sudo apt install default-jdk) [07:31]
Addax hmm, that factoid's wrong [07:31]
x6e69636f haha [07:31]
Addax forget ubuntu [07:31]
Addax I forgot about ubuntu, Addax. [07:31]
v01d4lph4 [v01d4lph4!~v01d4lph4@203.122.14.66] has joined ##java [07:32]
Addax ubuntu is <reply>Ubuntu, eh? See https://help.ubuntu.com/community/Java; try #ubuntu-java. Note that "ubuntu" is an ancient African word meaning "I can't configure Debian", with an alternative meaning of "I'm not smart enough to have chosen Fedora." (If you're trying to get java 11: update to 18.10, or install java 11 manually.) [07:32]
Addax OK, Addax. [07:32]
Addax ubuntu [07:32]
Addax Ubuntu, eh? See https://help.ubuntu.com/community/Java; try #ubuntu-java. Note that "ubuntu" is an ancient African word meaning "I can't configure Debian", with an alternative meaning of "I'm not smart enough to have chosen Fedora." (If you're trying to get java 11: update to 18.10, or install java 11 manually.) [07:32]
kessius [kessius!bb079a96@gateway/web/freenode/ip.187.7.154.150] has joined ##java [07:34]
Yamakaja [Yamakaja!~yamakaja@vps.pub.yamakaja.me] has joined ##java [07:39]
C0r3 [C0r3!~vijaykuma@unaffiliated/c0r3] has joined ##java [07:50]
con3 [con3!~kvirc@ml.sun.ac.za] has joined ##java [07:52]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:56]
VegetarianFalcon [VegetarianFalcon!uid258908@gateway/web/irccloud.com/x-nvgjyczbfubnwaoj] has joined ##java [07:56]
USER_ [USER_!~lucid-lul@66.115.169.237] has joined ##java [07:58]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [07:58]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [08:00]
noodlepie [noodlepie!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [08:02]
forgottenone [forgottenone!~forgotten@176.88.100.149] has joined ##java [08:11]
ravenousmoose [ravenousmoose!~ravenousm@194.78.35.195] has joined ##java [08:13]
bolovanos [bolovanos!~bolovanos@ctrli.eu] has joined ##java [08:27]
Anthaas_ [Anthaas_!~Anthaas@unaffiliated/anthaas] has joined ##java [08:43]
dka_ [dka_!~code-is-a@master-sbg-01.kopaxgroup.com] has joined ##java [08:44]
dka_ hi [08:44]
Addax hi [08:44]
kessius ircs java, the spring-boot not send command "insert into ... " for postgresql , someone can help me --> https://drive.google.com/file/d/1evpWPvoDZZ8gPVHHbxMVTbXBYVNjQmkc/view?usp=sharing [08:44]
kessius kessius's title: "ircs (1) - Google Drive" [08:44]
Addax that drive link is a downloadable ... thing, no way I'm pulling something down when I don't know what it is [08:45]
surial kessius: please use a pastebin site like hastebin.com for this. [08:45]
dka_ In gradle, I am using that snippet https://github.com/nebula-plugins/gradle-aggregate-javadocs-plugin/issues/5#issuecomment-346320869 , I want to aggregate all javadoc but I need to exclude the main application package [08:47]
dka_ dka_'s title: "Add a bit of configurability for subproject selection Issue #5 nebula-plugins/gradle-aggregate-javadocs-plugin GitHub" [08:47]
dka_ How can I console.log(objects) within this task? I have no clue whats inside objects [08:47]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [08:48]
kessius surial, but pastbin much span [08:50]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [08:50]
surial kessius: okay, don't use the site, and find help at another channel instead. Nobody's holding a gun to your head. [08:51]
Addax pastebin [08:51]
Addax Please paste your code and any errors online. For runnable main-classes, try https://glot.io/new/java . For general code and errors, use for instance https://gist.github.com or https://www.hastebin.com [08:51]
kessius g, ok [08:52]
kessius kessius, what does that even *mean*? [08:52]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [08:57]
gemini2019 are you a bot [09:00]
gemini2019 are you an idiot? [09:00]
gemini2019 Touche. [09:00]
kessius javabot surial, the spring-boot not send command "insert into ... " for postgresql , someone can help me --> https://pastebin.com/hhtWsWkr [09:00]
Addax kessius: what does your debugger show you [09:02]
Stooge [Stooge!~stooge@unaffiliated/stooge] has joined ##java [09:04]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [09:04]
Stooge Hello, I am trying to extend the class log4j.Logger so I can override some of its methods to include user info for debug. https://pastebin.com/TtndFCLt [09:05]
Stooge However on line 7 I get runtime exception [09:05]
Stooge cannot cast Logger to my class. But my class extends logger so why not? [09:06]
pmercado [pmercado!~pmercado@190-22-243-101.baf.movistar.cl] has joined ##java [09:06]
kessius ircs Addax, someone can help me, because does not it show ??? insert into... bd [09:07]
Addax does it actually do the insert [09:09]
kessius people, i can use the joptionpanel for see , how one debugger [09:11]
Addax kessius: are you using an IDE like eclipse, netbeans, IDEA? [09:11]
kessius Addasx, yes eclipse [09:14]
Addax well, google how to set a breakpoint in your code, and how to use eclipse's debugger. It has a very good debugger built-in and free. [09:14]
Addax There is absolutely no reason you should use an optionpane or anything like that to debug in java. [09:14]
gemini2019 D/q [09:17]
surial Stooge: you seem to misunderstand how java works on a rather fundamental level. [09:18]
surial Stooge: The cast operation, as in: return (SOME_TYPE) someExpression; [09:18]
surial Stooge: is used for 2 utterly unrelated things. They have absolutely no overlap in meaning, it just looks the same. [09:18]
enoq [enoq!~enoq@2a02:8388:6a87:b080:3f30:9f7d:611e:7eef] has joined ##java [09:19]
surial Stooge: if SOME_TYPE is primitive (so, int, long, double, etc), then it converts the expression to the stated type if at all possible. Example: int x = (int) 3.5; // this converts 3.5 to 3. [09:19]
surial Stooge: but if SOME_TYPE is not primitive, then the cast operation is 'type assertion': _THE OPERATION DOES NOTHING_, other than assert that the expression is of the stated type. If your assertion is correct, nothing happens (other than that javac will stop complaining). If your assertion is incorrect, you get a ClassCastException. [09:19]
surial This operation cannot convert ANYTHING. [09:20]
surial You have an apache logger here, and evidently you believe that casting an instance of apache's Logger to your logger somehow converts it. Not how java wokrs. [09:20]
surial Stooge: your implementation must at least involve 'new Logger()', where Logger refers to your class (I'd name it something else if I were you, now you've made things rather confusing). [09:21]
acidjnk [acidjnk!~acid@mue-88-130-58-228.dsl.tropolys.de] has joined ##java [09:22]
Stooge surial thanks [09:23]
Addax Stooge: just out of interest, what was the message with the runtimeexception? [09:23]
Stooge Addax classcast exception? [09:24]
surial Addax: ClassCastException: Cannot cast <apachepkg>.Logger to <stooge's package>.Logger [09:24]
Addax nods [09:24]
surial yes, 'cast', because for some fucking reason that message is perpetuating the confusion stemming from the fact that 'cast' is a syntactic concept which does 2 things about as related to each other as guns and grandmas. [09:24]
surial I guess trying to fuck with the name 'ClassCastException' wouldn't be backwards compatible, but surely fixing the message ought to help. I'd file a bug report, but, oracle. [09:25]
Addax surial: did he say that in channel or did you derive it from the code? [09:25]
surial Addax: I jumped to the conclusion, based on the nature of the complaint, the code, and the in-my-own-words description of this error by Stooge: "cannot cast Logger to my class." [09:26]
surial But, good point. [09:26]
surial goes off, checking what JDK12 actually uses for a message on these kinds of errors. [09:26]
surial Exception in thread "main" java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap') [09:27]
surial kudos on the module stuff. But a few demerits on not getting rid of the ambiguity of the term 'cast', I guess. [09:27]
Addax Stooge: so... that message should have been making it clear that although your class is a log4j logger, a log4j logger is not your class [09:27]
Stooge Addax yes, if I wasn't retarded. :) [09:28]
Addax hey, i know the feeling [09:28]
Stooge I work for almost 8 years with java now. :P [09:28]
surial Addax: To defend the confusion here: The obvious (to me) explanation is: Stooge was under the (incorrect) impression that a 'class cast' operation will attempt to convert an instance to be of some other class type. You and I would immediately conclude that converting runtime objects from one type to another is a bewildering and probably impossible concept given how the java memory model works, but that takes some more advanced [09:28]
surial java knowledge to realize. [09:28]
Addax ... yeah, let's go with that [09:29]
surial Addax: Once you make the first mistake of thinking that class cast operations can convert objects, then that error message doesn't help you in the slightest and seems to be indicative of fundamental issues with the JDK. Hence why I'd advocate for an alternative message: "ClassCastException: Cast operation asserts that an an instance of type java.lang.String is a java.lang.Integer, but it is not. [09:30]
ovalseven8 [ovalseven8!~ovalseven@unaffiliated/ovalseven8] has joined ##java [09:30]
surial that should at least give you an off-chance to realize that you've misinterpreted what casts do. Ordinarily I'd say there is no defending fundamental misunderstanding with an error message, except, for primitives, cast operations really DO convert stuff, and the vast majority of tutorials out there both [A] start with that type conversion thing and then proceed to [B] conflate the notion of type assertions with type coercion [09:31]
surial later in the tutorial. It's not oracle's job to fix the world on this either, but they ARE the language shepherd of note, and a simple adjustment to the message should at least help alleviate the state of affairs a little. I guess I'd like to see oracle take their role as shepherd, and in particular how the community (including those damned tutorials that fucked this up) is part of the greater whole. [09:31]
surial i.e. surial shut the fuck up and file that bug report already. fine, fine. You've convinced me with your eloquent and pointed silence. [09:32]
ovalseven8 Question: I have this method in my 'Matrix' class. It should read in the matrix. It works, but only for one matrix. Meaning, if I do "m1.input()" it works, but it won't work if there's a second call like "m2.input()" afterwards. I do not get the chance to type in. Can someone help me? [09:32]
ovalseven8 https://dpaste.de/zqWj [09:32]
Addax ovalseven8: when you close the reader, System.in closes. [09:32]
ovalseven8 Addax, What's the workaround? [09:33]
surial ovalseven8: don't close the reader. [09:33]
Addax don't close the re... [09:33]
Addax dang it [09:33]
surial ovalseven8: this code is also a quant mix of relatively new-style java and extremely old style java. [09:33]
ovalseven8 surial, I do not close the reader explicitly [09:33]
surial ovalseven8: maybe address that? [09:33]
surial yeah, I'm not sure why Addax thought so either. possibly buffer.liens().forEach is doing it, but, I kinda doubt that. [09:34]
Addax ovalseven8: doesn't matter. [09:34]
DrowningElysium [DrowningElysium!uid190788@gateway/web/irccloud.com/x-zlojvjoovanemrbm] has joined ##java [09:34]
Addax When your method goes out of scope, the reader gets closed. [09:34]
surial Addax: does it? [09:34]
Addax it should, yes. [09:34]
surial Addax: buffer.lines.forEach terminates? [09:34]
Addax part of the cleanup for readers. [09:34]
Addax surial: he probably hits ^D [09:35]
surial what the fuck are you on about? I'm very confused. [09:35]
Addax surial: he said he makes a *second call* [09:35]
Addax so clearly it's terminating somewhere, somehow [09:35]
ovalseven8 Addax, Yeah, I hid ^D [09:35]
surial DOesn't ^D just close System.in entirely? [09:35]
Addax so that's what the fuck I'm going on about [09:35]
Addax his problem is: system.in is being closed [09:35]
Addax ^D is definitely a poor choice for him to use to indicate that a given matrix is done [09:36]
surial You clearly know something I don't. [09:36]
surial Addax: which bit is doing it? [09:36]
ovalseven8 Is there a alternative key to indicate I am done with input? [09:36]
Addax surial: That wasn't his question! ^D is doing it, though. [09:36]
surial Addax: Is it buffer.lines().forEach() somehow leading to the stream being closed, that triggering the buffer being closed, which would indeed fold down to Sys.in closing [09:36]
Addax ovalseven8: sure, any arbitrary input you can parse would work [09:36]
Addax mail uses . [09:36]
surial ah, okay, yup, I'm there again. [09:37]
ovalseven8 Addax, So does it mean ^D is my problem and the method itself is fine? [09:37]
Addax ovalseven8: no [09:37]
surial ovalseven8: well, yes, but no. [09:37]
surial ovalseven8: ^D is the problem. [09:37]
Addax because when and if your method terminates... you'll end up with the buffer being closed :) [09:37]
surial ovalseven8: the method is fine.. except ther eis no way to terminate it, which means your only way out is to close System.in (with ^D). [09:37]
surial ovalseven8: .. which is fine, unless you'd like to enter anything else, in which case it isn't, but right now, with this method, there's no way out of the hole. [09:37]
Addax pass in a scanner. Have an arbitrary "end of matrix" signal that doesn't result in the scanner being closed. [09:38]
surial ovalseven8: here's what I'd do: [09:38]
surial ovalseven8: [1] Use generics properly, it's List<Integer> list = ...., and you don't have to use integer.valueOf, just pass the int straight in. [09:38]
surial (That's just a nitpick but it bothers me). [09:38]
surial then the real solutoin: [2] forget buffer.lines() and all that. make a scanner: Scanner s = new Scanner(System.in); s.useDelimiter("\n"); [09:38]
surial now you can call .next() to pick up another line. [09:38]
surial so, just loop: [09:38]
surial while (true) { String[] stringsOfLine = scanner.next().split(" "); ... do the rest here ... } [09:39]
surial and now, if you read the input that indicates 'next!', then just break. [09:39]
surial for example: [09:39]
surial if (stringsOfLine.length == 1 && stringsOfLine[0].equalsIgnoreCase("DONE")) break; [09:39]
surial or, hell, instead of break, you can probably just straight up 'return;' if you prefer. [09:40]
viju [viju!~viju@193.148.16.228] has joined ##java [09:40]
ovalseven8 surial, Integer(string) is deprecated [09:41]
surial ovalseven8: no, just straight into the list. [09:41]
surial oh, cripes, sorry, I've confused myself, nevermind. [09:42]
surial But, if you're using scanner, you can call .nextInt() which immediately gives you an int. [09:42]
surial at which point: integersOfLine.add(scanner.nextInt()); replaces both lines 15 and 16. [09:42]
surial except.. fuck, sorry, I'm all over the place with this. Please disregard all my nitpicking about the Integer.valueOf stuff, leave it in. [09:43]
ravenousmoose [ravenousmoose!~ravenousm@194.78.35.195] has joined ##java [09:45]
rockyraccoonn [rockyraccoonn!~rockyraco@pool-74-98-214-203.pitbpa.fios.verizon.net] has joined ##java [09:53]
viju [viju!~viju@193.148.16.228] has joined ##java [09:54]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined ##java [09:58]
ovalseven8 [ovalseven8!~ovalseven@unaffiliated/ovalseven8] has joined ##java [09:58]
bluezone [bluezone!uid104970@gateway/web/irccloud.com/x-dwkkhxpbuirxglaf] has joined ##java [09:59]
Rapture [Rapture!~textual@50-204-232-30-static.hfc.comcastbusiness.net] has joined ##java [09:59]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [10:03]
kaniki [kaniki!~K4N1K1@196.112.79.159] has joined ##java [10:05]
kaniki hi [10:05]
esro [esro!~esro@user119-167.otvarta.com.pl] has joined ##java [10:05]
Addax hi [10:06]
Nik05 [Nik05!~Nik05@unaffiliated/nik05] has joined ##java [10:07]
kaniki how to do a @manytomany and add custom columns like date or ... [10:07]
kaniki and use the jparepository for the creted entity between the two [10:08]
Addax Create an intermediate object and do a OneToMany:intermediate:ManyToOne [10:09]
kaniki addax thanks for your answer I've tried it but I get problems, for example I have a table called user and other table called group the relation between them is manytomany so when I did the onetomany and onetomany and new entity called membre this entity has both primary keys (user, groupe) I added them to membre and I did user.members.add(membre) and groupe.members.add(membre) and when I save the [10:16]
kaniki userrepository.save(user) or with group I got problems [10:16]
Crash1hd [Crash1hd!~Crash1hd@unaffiliated/crash1hd] has joined ##java [10:18]
Addax show us [10:19]
Addax Paste the code (and any errors) in a pastebin where we can see it. See ~pastebin for options. Also see ~testcase for good examples as to how to help us help you quickly diagnose and solve problems. [10:19]
dka_ I am generating a javadoc, and want to expose it under /javadoc [10:19]
dka_ When I go on it, I have an error saying 404 , but I can see the javadoc layout [10:19]
dka_ how can I set the javadoc base path ? [10:19]
Pieter12345 [Pieter12345!~Pieter123@143.177.73.152] has joined ##java [10:21]
goldstar [goldstar!~adm@unaffiliated/goldstar] has joined ##java [10:23]
NYTimes [10:23]
NYTimes NYTimes, what does that even *mean*? [10:23]
dka_ https://i.stack.imgur.com/7v6Ib.png [10:24]
dka_ Building the javadoc work fine, I can see the index.html properly, but when I do try to host it under /javadoc online, then I get 404 everywhere, as in the screenshot. [10:24]
surial dka_: your webserver settings. [10:24]
surial dka_: as in, learn them. [10:24]
surial dka_: try loading /javadoc/index.html [10:24]
dka_ it is surial [10:24]
surial that'll work. So now tell your webbrowser to alias /javadoc to /javadoc/index.html. [10:25]
dka_ don't you see the layout ? [10:25]
surial dka_: and you expected us to figure out what you've messed up in your webserver settings based on that screenshot? [10:25]
surial dka_: rightclick on one of those 404s and check out the URL. [10:25]
dka_ surial, I have not messed up anything [10:25]
surial Then figure out which setting in your webserver you've fucked up to make that not work. [10:25]
surial yes you have. [10:25]
dka_ I am doing static exposal of my folder [10:25]
dka_ No i dont [10:25]
surial ... [10:25]
dka_ you are assuming wrong [10:25]
surial I run webservers with javadoc on them. [10:25]
surial you toss the output into a dir and serve it. works great. [10:25]
dka_ I run static webserver I do not configure anything [10:25]
surial doesn't work for you -> you fucked up a setting. [10:26]
surial one way or another we can't help you with no further input other than a ascreenshot with '404' on it. [10:26]
Addax alternately, you don't know what settings to use [10:26]
Addax point your webserver to the javadoc dir, done [10:26]
dka_ I am using serve, it is a local webserver that can be run using `serve`, the exposition of this folder is static, I just place the javadoc folder into it [10:26]
cheeser tech support [10:26]
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. [10:26]
dka_ I believe it is missing a <base href="http://mysite" /> or some build configuration for javadoc [10:26]
Addax if you don't know how to do that, well, copy your javadoc to a directory your webserver knows about. And if you don't know about THAT, well, figure out which webserver you're using and learn. [10:27]
dka_ I dont believe the server is causing issue here, not at all [10:27]
Addax okay. [10:27]
surial dka_: you don't need to add anything to the HTML such as bases. [10:27]
surial dka_: we do believe that. [10:27]
dka_ fair enough [10:27]
Addax surial: not me! I'm absolutely sure dka_ knows his own system at this point, and since he knows his own system, he should... be about fixing whatever's wrong [10:27]
dka_ So the javadoc can be drop on anypath on a well configured server and it should work? No configuration needed during the build ? [10:27]
Addax yep [10:28]
cheeser the magic of relative paths. [10:28]
cheeser now, as this is not a java question, please consult a forum for you webserver [10:28]
dka_ Well, it's hosted at http://localhost:5000/javadoc but it try to load http://192.168.0.50:5000/allclasses-frame and it fail [10:29]
cheeser eyes dka_ [10:29]
dka_ I thing this is due to the doc, not to the server, 100%, can we agree on that? [10:29]
Addax no [10:29]
Addax we can't [10:29]
Addax what happens when you go to localhost:5000 instead of 192.168.0.50 [10:29]
dka_ Well, how does ajax query is doing it on the website, and a vhost server configuration can change that? Except rerouting ? [10:30]
Addax okay, don't answer, it's all good [10:30]
dka_ same [10:30]
dka_ localhost = 192.168.0.50 in this configuration [10:30]
Addax no [10:30]
kicked dka_ (dka_) [10:30]
dka_ [dka_!~code-is-a@master-sbg-01.kopaxgroup.com] has joined ##java [10:30]
dka_ O [10:30]
Addax 192.168.0.50 and 127.0.0.1 are not the same. [10:30]
cheeser eyes Addax [10:30]
surial Can we all 100% agree on that kick? [10:30]
Addax dka_: this is a serve problem. It is not a java problem. [10:30]
dka_ I know, different iface, one loop back, one normal. I mean it is not the issue here too. It behave the same in this configuration [10:31]
surial dka_: javadoc produces a bunch of files. dump em in a dir, serve it as a webserver, works fine. That's where the java-relatedness of this question ends, and the 'serve'-related part of it starts. [10:31]
surial Maybe /join ##serve will help. [10:31]
surial dka_: and yes we are all 100% agreed on that [10:31]
Addax I'm not! I'm 101% agreed on that. [10:32]
surial dka_: for funsies, go to the dir, and just open file:// etc. even that will mostly work. Couple of search things will fail to due browser limits on SOP rules there. [10:34]
dka_ Replacing <frame src="overview-frame.html" name="packageListFrame" title="All Packages"> with <frame src="javadoc/overview-frame.html" name="packageListFrame" title="All Packages"> [10:35]
dka_ does the trick. I believe this can be done at build dime. [10:36]
cheeser dka_: enough already [10:36]
stryek [stryek!uid332574@gateway/web/irccloud.com/x-msrjkhfodmfqjyxv] has joined ##java [10:38]
Diablo-D3 somebody doesnt have their base set right? [10:41]
dka_ y [10:41]
Diablo-D3 dka_: also, stop being so damned offtopic [10:42]
kicked Diablo-D3 (Diablo-D3) [10:44]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [10:44]
cheeser Diablo-D3: you're not an op. stfu. [10:44]
dka_ true [10:45]
Diablo-D3 cheeser: you are, though. hint hint. [10:46]
kicked Diablo-D3 (Banned: this ban will expire after 3d) [10:46]
cheeser next [10:46]
cheeser Another satisfied customer. Next! [10:46]
dka_ 100% agree. Now can I see this superbe vhost configuration for exposing javadoc under any sub path without having to prepare a different build ? I am just curious how the view can fetch the resource that way. I 'd like to see it live [10:47]
NoirX [NoirX!~noirx@s55942149.adsl.online.nl] has joined ##java [10:51]
acidjnk [acidjnk!~acid@mue-88-130-58-228.dsl.tropolys.de] has joined ##java [10:51]
NoirX hi all [10:51]
ravenousmoose [ravenousmoose!~ravenousm@194.78.35.195] has joined ##java [10:52]
Addax hi [10:54]
wodencafe [wodencafe!~wodencafe@cpe-66-25-19-169.tx.res.rr.com] has joined ##java [10:57]
waz hey! [10:58]
yokel [yokel!~yokel@unaffiliated/contempt] has joined ##java [11:00]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [11:01]
tang^ [tang^!~tang^@207.229.38.10] has joined ##java [11:02]
realtime_ [realtime_!realtime@gateway/vpn/privateinternetaccess/realtime] has joined ##java [11:03]
rajrajraj [rajrajraj!uid72176@gateway/web/irccloud.com/x-zvduguflcwaytinx] has joined ##java [11:04]
Corbit [Corbit!~corbit@2001:a61:355b:8201:2949:f547:5ce0:76a9] has joined ##java [11:08]
lucid-lullaby [lucid-lullaby!~lucid-lul@66.115.169.237] has joined ##java [11:12]
kaniki parted the channel: "WeeChat 1.9.1" [11:23]
bolovanos_ [bolovanos_!~bolovanos@ctrli.eu] has joined ##java [11:23]
NoirX is there any resources online available for java 11 , oca study [11:24]
rippa [rippa!~rippa@ppp-vpdn-37.1.85.157.yarnet.ru] has joined ##java [11:25]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [11:26]
Addax ocap [11:31]
Addax Addax, what does that even *mean*? [11:31]
Addax oca [11:31]
Addax Addax, what does that even *mean*? [11:31]
upgrdman [upgrdman!~upgrdman@blender/artist/upgrdman] has joined ##java [11:31]
cheeser so 'oca' is literally meaningless! [11:32]
Addax oca is <reply>This is typically the "Oracle Certified Associate" - woo, it has meaning at last! - but it's effectively worthless unless you're actually trying to stuff your resume somehow. [11:32]
Addax OK, Addax. [11:32]
NoirX yes [11:33]
waz NoirX if I see OCA on a resume I'm unlikely to call that candidate in for an interview [11:35]
n35xdxb0_ [n35xdxb0_!~n35xdxb0@cpc130684-camd16-2-0-cust706.know.cable.virginm.net] has joined ##java [11:35]
NoirX waz that wont demotivate me to pass the exam, i appreciated though the pdfs of java i coud understand oop what i got stuck with while trying learning c++ [11:39]
Addax your persistence is admirable. Your ability to find things, as well as your skill at choosing meaningful goals, is not [11:39]
n35xdxb0_ [n35xdxb0_!~n35xdxb0@cpc130684-camd16-2-0-cust706.know.cable.virginm.net] has joined ##java [11:39]
tang^ it seems there are parts of the world that do still believe in certs... [11:41]
NoirX i am a java beginner and doing my best [11:41]
Maldivia tang^: ssl certs, sure [11:41]
tang^ heh [11:41]
sbeex [sbeex!~sbeex@46.140.90.107] has joined ##java [11:41]
tang^ NoirX: and the channel experts are saying that you're spending time going in the wrong direction... learn java, don't bother with the cert [11:42]
ron but it is true, there are parts of the world that still believe in certs. [11:42]
NoirX absolutly, u never get called for interview without required degrees and expercience which is more important [11:42]
Regon [Regon!~Regon@unaffiliated/regon] has joined ##java [11:42]
Maldivia look at the job listings for where you want to work... if they list certs there, then... [11:42]
NoirX ok [11:43]
Maldivia and degrees are not always a must either :D [11:43]
conan [conan!~conan@94.119.64.1] has joined ##java [11:43]
Maldivia if you know your shit and you can prove it, a degree means nothing [11:43]
sbeex [JPA] I have an entity which extends a @MappedSupperClass. This entity User extends BaseEntity need to override attribute id because the db column is not "id" but "user_id" and for strong reason we won't rename the db column. Is it possible with JPA/Hibernate to do that ? [11:43]
sbeex I managed to get it working at insert but when I query entities back it returns me an empty list :/ [11:44]
Maldivia sbeex: tried annotating the setter? @Column(name="user_id") public void setId(.... ? [11:45]
NoirX i missed chance with my linux sysadmin cert, coz of experienceless, i noticed java jobmarket here is very bussy so decided to try java [11:45]
bolovanos [bolovanos!~bolovanos@ctrli.eu] has joined ##java [11:46]
Maldivia wait, should be the getter [11:46]
sbeex Maldivia: even if I use attribute annotations ? [11:48]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [11:49]
sbeex ok tested -> still empty list >< [11:51]
Maldivia try adding @AttributeOverride(name="id", column = @Column(name="user_id")) on classlevel [11:52]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [11:54]
Maldivia sbeex: https://javaee.github.io/javaee-spec/javadocs/javax/persistence/AttributeOverride.html [11:56]
Maldivia Maldivia's title: "AttributeOverride (Java(TM) EE 8 Specification APIs)" [11:56]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [11:57]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:d478:4638:bd05:41d7] has joined ##java [11:58]
SmearedBeard [SmearedBeard!~SmearedBe@unaffiliated/smearedbeard] has joined ##java [12:00]
thief [thief!realtime@gateway/vpn/privateinternetaccess/realtime] has joined ##java [12:02]
alureon [alureon!~alureon@unaffiliated/proxa] has joined ##java [12:02]
xlxnnx [xlxnnx!~xlxnnx@66.171.34.67] has joined ##java [12:03]
thief [thief!realtime@gateway/vpn/privateinternetaccess/realtime] has joined ##java [12:05]
Raging_Hog [Raging_Hog!~heikki@82-181-38-176.bb.dnainternet.fi] has joined ##java [12:06]
sbeex Maldivia: yes that's what I did.. [12:12]
sbeex I used it with @Embedded sometimes ago it worked like a charm but at class level for mapped super class it seems it's another story [12:12]
Maldivia sbeex: example 1 on the javadoc seems to be basically what you want? [12:13]
sbeex yes well in fact in my case the mappedsuperclass declare a column id="ID" [12:14]
sbeex because for all our new entities we would like to have it called ID [12:14]
bolovanos [bolovanos!~bolovanos@ctrli.eu] has joined ##java [12:14]
sbeex i think this is maybe the cause of the probleme [12:14]
Maldivia well, this is exactly what this should be for... [12:15]
sbeex I agree with you :/ [12:15]
sbeex Ill check again line by line the example to get sure I'm fully compliant.. [12:16]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [12:16]
pmart [pmart!b945c762@gateway/web/cgi-irc/kiwiirc.com/ip.185.69.199.98] has joined ##java [12:17]
wodencafe_ [wodencafe_!~wodencafe@cpe-66-25-19-169.tx.res.rr.com] has joined ##java [12:21]
pmercado [pmercado!~pmercado@190-22-243-101.baf.movistar.cl] has joined ##java [12:25]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [12:27]
wodencafe [wodencafe!wodencafe@fine.mouses.xyz] has joined ##java [12:30]
wodencafe [wodencafe!wodencafe@fine.mouses.xyz] has joined ##java [12:39]
sbeex Maldivia: the only diff was the protected I had private but no change.. [12:39]
codebam [codebam!codebam@gateway/vpn/mullvad/codebam] has joined ##java [12:39]
orbyt_ [orbyt_!~orbyt@8.4.228.62] has joined ##java [12:40]
phoenixdeac [phoenixdeac!~phoenixde@rrcs-98-101-156-30.midsouth.biz.rr.com] has joined ##java [12:40]
sgt_chuckles [sgt_chuckles!~androirc@149.28.227.111] has joined ##java [12:45]
henbruas [henbruas!~henbruas@unaffiliated/henbruas] has joined ##java [12:46]
taxon [taxon!~taxon@p549B594A.dip0.t-ipconnect.de] has joined ##java [12:48]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:b56e:d7b6:e263:40e4] has joined ##java [12:48]
rohdef [rohdef!~rohdef@90.184.72.135.1.fullrate.ninja] has joined ##java [12:52]
orbyt_ [orbyt_!~orbyt@192.211.15.72] has joined ##java [12:53]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [12:54]
peaceguy [peaceguy!~yu68@unaffiliated/peaceguy] has joined ##java [12:56]
RedSoxFan07 [RedSoxFan07!~Thunderbi@137.103.109.45] has joined ##java [01:03]
LKoen [LKoen!~LKoen@lfbn-idf2-1-331-228.w82-123.abo.wanadoo.fr] has joined ##java [01:04]
karab44 [karab44!~karab44@unaffiliated/karab44] has joined ##java [01:30]
Regon [Regon!~Regon@unaffiliated/regon] has joined ##java [01:36]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [01:37]
esro [esro!~esro@user119-167.otvarta.com.pl] has joined ##java [01:42]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [01:52]
_noblegas [_noblegas!uid91066@gateway/web/irccloud.com/x-ucahubqnphqzvqxq] has joined ##java [01:53]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [01:55]
luxstudio90 [luxstudio90!~luxstudio@194.23-218-195.adsl.internet.lu] has joined ##java [02:00]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [02:05]
_ceb [_ceb!~CuriousEr@unaffiliated/curiousernestbri] has joined ##java [02:24]
_ceb parted the channel: "Leaving" [02:24]
conan [conan!~conan@62.60.61.246] has joined ##java [02:25]
sameerynho [sameerynho!~lxsameer@unaffiliated/lxsameer] has joined ##java [02:26]
ztychr [ztychr!~ztychr@unaffiliated/ztychr] has joined ##java [02:30]
LKoen [LKoen!~LKoen@lfbn-idf2-1-331-228.w82-123.abo.wanadoo.fr] has joined ##java [02:31]
Crash1hd [Crash1hd!~Crash1hd@unaffiliated/crash1hd] has joined ##java [02:32]
orbyt_ [orbyt_!~orbyt@192.211.15.72] has joined ##java [02:35]
borkr [borkr!~borkr@static130-244.mimer.net] has joined ##java [02:37]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [02:49]
conan_ [conan_!~conan@85.255.235.109] has joined ##java [02:53]
srisri [srisri!~srisri@204.14.239.18] has joined ##java [02:55]
gelignite [gelignite!~gelignite@55d4d524.access.ecotel.net] has joined ##java [02:56]
nickel8448 [nickel8448!~rahul@45.56.154.157] has joined ##java [02:57]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [03:07]
Corbit [Corbit!~corbit@2001:a61:355b:8201:70a7:99ef:d5e5:aaa] has joined ##java [03:07]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [03:12]
yawkat [yawkat!~yawkat@cats.coffee] has joined ##java [03:14]
Anthaas [Anthaas!~Anthaas@unaffiliated/anthaas] has joined ##java [03:15]
DaPinkOne I'm trying to turn an int into a 2 byte uint16(unsigned short), does java not have this? [03:18]
cheeser the only unsigned numeric type is char [03:18]
Oni-Sanba [Oni-Sanba!~user@public-gprs409560.centertel.pl] has joined ##java [03:22]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [03:24]
sa02irc [sa02irc!~sa02irc@155-079-043-212.ip-addr.inexio.net] has joined ##java [03:27]
paddyez [paddyez!~paddyez@wikipedia/paddyez] has joined ##java [03:27]
Xiti [Xiti!~Xiti-@unaffiliated/xiti] has joined ##java [03:29]
SolarFlare [SolarFlare!~SamanthaB@unaffiliated/samanthabdawn] has joined ##java [03:29]
taxon [taxon!~taxon@p549B594A.dip0.t-ipconnect.de] has joined ##java [03:29]
lucid-lullaby [lucid-lullaby!~lucid-lul@66.115.169.237] has joined ##java [03:33]
freeone3000 so, yes? [03:35]
immibis [immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz] has joined ##java [03:45]
ogradyd [ogradyd!~Thunderbi@2a02:8070:88bf:9df0::98e] has joined ##java [03:57]
bluezone DaPinkOne: there's only short but that's signed https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html [04:00]
bluezone bluezone's title: "Primitive Data Types (The Java Tutorials > Learning the Java Language > Language Basics)" [04:00]
nonconvergent [nonconvergent!c72f2503@gateway/web/freenode/ip.199.47.37.3] has joined ##java [04:03]
bluezone DaPinkOne: why do you need to do that ? [04:03]
nonconvergent Other than my patience and sanity, is there a cost to casting, both down and up? Particularly when a library returns a object as one its superclasses when you need its subclass's methods. [04:05]
cheeser having implemented wire level protocol support in java, it's not terrible, no. [04:05]
cheeser use an int, mask away the bits you don't want and you're fine [04:06]
cheeser you could even use a short and just ignore the sign in some cases. [04:06]
tomorrow1_ [tomorrow1_!~tomorrow_@219.red-2-139-5.dynamicip.rima-tde.net] has joined ##java [04:07]
ztychr [ztychr!~ztychr@unaffiliated/ztychr] has joined ##java [04:07]
nonconvergent The codebase I work on makes heavy use of casting and not a lot of explicit type casting. Roll of the dice how they'll actually handle the class cast exception. [04:07]
tomorrow1_ Hi, maybe it's me getting old, but the Spring framework looks like a lot of hype to me [04:08]
Addax tomorrow1_: great. Do you have a blog? [04:08]
nonconvergent Is hype good or bad? [04:08]
tomorrow1_ Especially the Spring Boot thingy [04:08]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [04:08]
tomorrow1_ Addax: no [04:08]
Addax tomorrow1_: well, hmm. Create one on medium? [04:08]
tomorrow1_ why? [04:08]
Addax Because that's where this kinda belongs unless you have a question [04:08]
Addax your legions of adoring fans are missing out on wisdom like "spring boot looks like a lot of hype to me" [04:09]
tomorrow1_ Well, actually my question is if anyone uses this stuff in production. [04:09]
Addax yes [04:09]
Addax they do [04:09]
Addax and quite a bit [04:09]
tomorrow1_ No need to be so passive agressive [04:09]
tomorrow1_ Do you work for Pivotal [04:09]
Addax no [04:09]
Addax Passive/aggressive? You asked a question, and I answered it. [04:10]
treefrob [treefrob!~treefrob@p57A96449.dip0.t-ipconnect.de] has joined ##java [04:10]
Hydroponx [Hydroponx!~Hydroponx@66-191-154-200.dhcp.mtgm.al.charter.com] has joined ##java [04:10]
treefrob [treefrob!~treefrob@p57A96449.dip0.t-ipconnect.de] has joined ##java [04:10]
Addax I work for an AI company that has about 70 siloed apps, with spring boot the de facto standard for those apps when they use java (which is often). [04:11]
bluezone tomorrow1_: you're in the wrong channel if you want to chat with civilized people [04:11]
Addax bluezone: no, he's in the wrong channel if he expects to be treated like a moron [04:11]
tomorrow1_ My issue with this stuff is that there's a lot of automagic [04:12]
bluezone you mean not treated like a moron? [04:12]
Addax If he really needs coddling, he needs to go to his blog [04:12]
Addax bluezone: No. if he expects to have kid gloves used, if he expects to be coddled, if he expects people to not take stupid statements for what they are... this isn't the channel for him [04:12]
Addax tomorrow1_: *shrug* yeah, spring's docs tend to be wildly inconsistent in quality [04:13]
ricky_clarkson void foo() { try { } catch (Exception e) { throw e; } } - why does this compile without foo() needing throws Exception? If this is new, what version of Java did it come in? [04:13]
bluezone Addax: what you are describing is the kind of logic people use here to justify acting in an uncivilized manner [04:14]
tomorrow1_ And when something goes wrong, the errors are not straight forward. [04:14]
Addax bluezone: it's also used to justify not wasting time on stupidity. [04:14]
tomorrow1_ Addax: what benefit does Spring Boot give you in your case? [04:14]
freeone3000 ricky_clarkson: You're allowed to catch unchecked exceptions and superclasses of unchecked exceptions to allow for overwide catches [04:14]
Addax tomorrow1_: heh. Spring aficianados would tell you that the exception handling is MORE straightforward. [04:14]
ricky_clarkson freeone3000: That's fine, but I'm rethrowing without needing to declare a throws clause. [04:15]
ricky_clarkson freeone3000: If I add throw new IOException() in that try block, compilation fails without a throws clause. [04:15]
Addax tomorrow1_: It's really easy to crank up a container with metrics and many default services. Once you know what to do, it's trivially easy to work within spring boot's constraints. Is that worth it? ... I dunno. [04:15]
ricky_clarkson freeone3000: It seems like good behavior, I was just unaware of it and wonder if it's new. [04:15]
bluezone I haven't done anything with spring in a very long time. From what i've heard though, spring boot is just a faster way to get setup and it's your responsibility to customize it to your needs as time goes by [04:16]
Addax bluezone: indeed. It does a lot of stuff people were doing by convention, and it also embeds a servlet engine depending on which flavor of boot you use. [04:17]
Addax (... for example.) [04:17]
Addax In development, spring boot makes testing things a lot easier than vanilla spring, too. [04:17]
bluezone no need to setup tomcat? I'm in :) [04:18]
Addax also see: dropwizard, quarkus, vert.x [04:18]
tomorrow1_ So far, I see the embedded tomcat and the default metrics as an advantage [04:18]
Addax tomorrow1_: plus the tribal knowledge of spring is very deep and wide [04:18]
whaley QUARKUS [04:18]
tomorrow1_ But I think the dependency injection stuff is actually not that great [04:19]
tomorrow1_ The cognitive load increases [04:19]
deavmiHome [deavmiHome!~deavmi@165.0.49.2] has joined ##java [04:19]
Addax dependency injection *increases* cognitive load? hm [04:20]
ricky_clarkson When it doesn't work, yes. [04:20]
Addax I'd think the opposite [04:20]
tomorrow1_ Addax: yes, because it's not explicit [04:20]
Addax but... it kinda is [04:20]
freeone3000 It's not. IDEA has a Guice dependency graph visualizer, but it's not clear where something comes from or what makes it, which is the point of DI, but is also the downfall, as normal traces don't apply [04:22]
Addax hasn't had that problem very often, dunno why [04:22]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:79ce:f399:9480:8f58] has joined ##java [04:24]
bluezone I was always using xml files back in the day for DI lol [04:24]
tomorrow1_ You could argue that if you inject something, you only need to care about the interface, but it's not straightforward to figure out the implementation that's injected [04:24]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [04:26]
tomorrow1_ Also, I've seen a lot of coworkers spending a lot of time dealing with spring-related configuration problems. It reminds me of when I had to deal with weblogic issues. [04:27]
cheeser yes. software can be complex. [04:27]
bluezone just switch to ABAP and all your problems will be solved [04:28]
ricky_clarkson I prefer constructor injection, but I know that the last time I used that there was a temptation to create some Context object rather than have n constructor parameters and have to pass them around. [04:28]
ricky_clarkson That Context object eventually starts to look like a Map<Class<?>, Provider<?>>, which is.. basically.. Guice. [04:28]
tomorrow1_ So my intention was to survey this channel if you guys used this stuff regularly, because I know some of you are pros [04:29]
ricky_clarkson I think if you can resist the urge to make a Context then constructor injection is better, as you can tell what's really needed. But day-to-day I use Guice. [04:29]
tomorrow1_ Here it's a bit of a bubble and lots of noobs, myself included [04:29]
tomorrow1_ So it's hard to see the forest for the trees [04:30]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [04:31]
tomorrow1_ I'm worried that if we use a lot of spring, there might be a problem with technical debt down the line [04:31]
SmearedBeard [SmearedBeard!~SmearedBe@unaffiliated/smearedbeard] has joined ##java [04:32]
tomorrow1_ Like all those folks that jumped to make webapps with Angular.js [04:32]
tomorrow1_ I wisely stayed behind with my vanilla javascript [04:32]
ricky_clarkson I haven't used Spring much, but it doesn't seem to be going away, and even less if you can stick to annotations like @Inject so it's compatible with other DI tools. [04:33]
Addax tomorrow1_: at this point, technical debt to spring is pretty much a ground floor [04:33]
cheeser if you write code, you'll have tech debt [04:33]
cheeser welcome to programming [04:33]
ricky_clarkson If you have Spring-specific config files then yeah, you may have issues. [04:33]
Addax cheeser ++ [04:33]
Addax cheeser has a karma level of 1,486, Addax [04:33]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [04:37]
sbalmos1 [sbalmos1!~sbalmos@cpe-98-30-198-117.columbus.res.rr.com] has joined ##java [04:44]
Essadon [Essadon!~Essadon@81-225-32-185-no249.tbcn.telia.com] has joined ##java [04:46]
nevada1 [nevada1!~Nevada@2a02:2f08:4307:2800:3cc6:f813:6eb4:31d5] has joined ##java [04:56]
nevada1 Are there any Java libraries that allow things like automatically sending keycodes? (e.g. have a window of a game open and make it press W a few times) [04:57]
cheeser robot [04:57]
cheeser cheeser, what does that even *mean*? [04:57]
cheeser javadoc java.awt.Robot [04:57]
cheeser cheeser: http://bit.ly/2YrjW2e [JDK: java.awt.Robot] [04:57]
cheeser but seriously, stop cheating. :) [04:57]
nevada1 Hahaha. [04:57]
nevada1 Thanks. [04:57]
paddyez [paddyez!~paddyez@wikipedia/paddyez] has joined ##java [05:01]
nevada1 Here I thought Java wouldn't be of help. I thought I'd need to either use C# or C++ with WinApi for that kind of stuff. [05:02]
nevada1 It warms my heart. [05:02]
cheeser hopefully it won't help :D [05:02]
Addax eh, depends on which game really :) [05:05]
nevada1 Actually the only goal I had in mind was to make it run WoW and automatically login with my credentials just for the sake of it. [05:07]
nevada1 Automating a simple task. [05:07]
yawkat how to get banned 101 [05:09]
nevada1 It's on a private server, no harm done. [05:09]
bluezone vanilla ? [05:19]
nevada1 It's just some all-GM server. [05:19]
bluezone oh [05:20]
nevada1 "Cheating" wouldn't bring me anything I don't already have, I'm just looking for automation. [05:20]
bluezone game cheating is fun way to learn about computers, like memory editing in cheat engine [05:21]
tassee [tassee!~tasse@81.17.30.4] has joined ##java [05:21]
bluezone shows you all the assembly code and such, the more sophisticated parts are difficult [05:21]
tomorrow1_ [tomorrow1_!~tomorrow_@219.red-2-139-5.dynamicip.rima-tde.net] has joined ##java [05:33]
freeone3000 winapi would make it a ton easier. [05:34]
Galactus [Galactus!~Galactus@unaffiliated/galactus] has joined ##java [05:42]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [05:48]
ztychr [ztychr!~ztychr@unaffiliated/ztychr] has joined ##java [05:49]
nolfie [nolfie!~nolfie@83.68.246.10] has joined ##java [05:50]
dez [dez!uid92154@fedora/deSouza] has joined ##java [06:03]
grim001 [grim001!~grim001@ip70-189-228-129.lv.lv.cox.net] has joined ##java [06:05]
iam730 [iam730!~iam730@c-24-6-215-59.hsd1.ca.comcast.net] has joined ##java [06:12]
cfoch [cfoch!uid153227@gateway/web/irccloud.com/x-qxnxrrhukjznretj] has joined ##java [06:12]
codebam [codebam!codebam@gateway/vpn/mullvad/codebam] has joined ##java [06:15]
tomorrow1_ [tomorrow1_!~tomorrow_@219.red-2-139-5.dynamicip.rima-tde.net] has joined ##java [06:21]
ricky_clarkson cheeser: nevada1: Would Robot let you send keystrokes to a non-Java app? My guess is no. [06:30]
DaPinkOne is it possible to hardcore an array without assigning it a variable name; for use as an function argument, for example [06:30]
DaPinkOne *hardcode [06:31]
ricky_clarkson array literal [06:31]
ricky_clarkson ricky_clarkson, what does that even *mean*? [06:31]
ricky_clarkson nfi [06:31]
ricky_clarkson new String[]{"array", "literal"} [06:31]
nevada1 ricky_clarkson, of course, it does so indiscriminately of the type of program. I just run the program with a Runtime object and then use a Robot object with keyPress() after a certain delay. I've successfully logged in like that. It doesn't send the key to a particular app, just the one in focus. [06:33]
ricky_clarkson Nice. [06:33]
DaPinkOne ricky_clarkson: thanks, that does appear to have worked. [06:35]
[rg] [[rg]!~ricardo@67-204-254-48.eastlink.ca] has joined ##java [06:40]
nevada1 It would be neat if I could send it keys without being in focus, but that's probably beyond the scope of Robot. [06:41]
goldstar [goldstar!~adm@unaffiliated/goldstar] has joined ##java [06:44]
tomorrow1_ It's impossible to do trunk-based development with Java since you can have only one version of a dependency in your classloader [06:46]
bankai_ [bankai_!~bankai@unaffiliated/bankai/x-6544441] has joined ##java [06:53]
freeone3000 ricky_clarkson: It synthesizes platform events, literally mouse movements and keystrokes. [06:56]
ogradyd [ogradyd!~Thunderbi@2a02:8070:88bf:9df0::98e] has joined ##java [06:57]
Remavas [Remavas!~Remavas@unaffiliated/remavas] has joined ##java [06:58]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [06:58]
deavmiHome [deavmiHome!~deavmi@165.0.49.2] has joined ##java [07:00]
SJr Anyone have any thoughts or tips on debugging how an JPA query gets converted from JPQL to SQL. In particular I have a problem where a DELETE <ent> WHERE <ent>.x = foo <ent>.y.z = bar gets converted to DELETE <ent>, y FROM <ent>. INNER JOIN y , which fails because it's trying to delete entries in table y as well. [07:01]
RoriconKnight [RoriconKnight!~RoriconKn@114.4.213.176] has joined ##java [07:02]
troydm [troydm!~troydm@unaffiliated/troydm] has joined ##java [07:03]
chibby0ne [chibby0ne!~chibby0ne@2001:a61:171a:5f01:f2d5:bfff:fe7b:ee45] has joined ##java [07:04]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:79ce:f399:9480:8f58] has joined ##java [07:05]
peaceguy screen bash [07:06]
peaceguy sorry [07:06]
Comstock [Comstock!Comstock@gateway/vpn/privateinternetaccess/comstock] has joined ##java [07:11]
chibby0ne parted the channel: "Leaving" [07:12]
Squarism what is the long term plan for java switch statements. Will there be sum types and true pattern matching in the future? [07:18]
rajrajraj [rajrajraj!uid72176@gateway/web/irccloud.com/x-mpgbspkljvawacyi] has joined ##java [07:19]
LKoen [LKoen!~LKoen@2a01cb0407597a005832fa7e47d5befb.ipv6.abo.wanadoo.fr] has joined ##java [07:20]
tomorrow1_ [tomorrow1_!~tomorrow_@219.red-2-139-5.dynamicip.rima-tde.net] has joined ##java [07:21]
[rg] whats this? [07:22]
[rg] Squarism: what are sum types? [07:22]
Squarism A type that has mulitple named constructors [07:23]
Squarism one simple is : Either a b = Left a | Right b [07:24]
[rg] yeah i dont see switch changing [07:24]
[rg] was modeled after c++ switch [07:24]
Squarism Left | Right are the constructors [07:24]
[rg] that hasnt changed either [07:25]
Squarism ...and Either is the type [07:25]
[rg] parted the channel: [07:28]
fizzie Presumably they wouldn't have done up JEP 325 "switch expressions" as a full-fledged preview feature if there was no chance of making switch diverge from its C++ roots. [07:31]
SJr Squarism what is the difference between a sum type and just general pattern matching semantics. That example is I assume derived from Scala, but you can do almost all of it in Java now, the only thing is the pattern matching part which is just a getClass() match and an extractor. [07:40]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [07:41]
pioto [pioto!~pioto@unaffiliated/pioto] has joined ##java [07:43]
Squarism im not an expert on this but in those languages that ive tried that had sum types, pattern matching gets very clean/clear. Once you tried it its clear its a killer feature. So, i thought that because of the popularity of kotlin dataclasses and that, that maybe oracle have a grander future plan [07:47]
Raku [Raku!raku@2601:2c7:4300:1b00:230:48ff:fe32:d99f] has joined ##java [07:47]
Crash1hd [Crash1hd!~Crash1hd@unaffiliated/crash1hd] has joined ##java [07:48]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [07:56]
kupi [kupi!uid212005@gateway/web/irccloud.com/x-bfkpyyekonaefefn] has joined ##java [07:59]
srisri [srisri!~srisri@204.14.239.82] has joined ##java [08:19]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [08:33]
Crash1hd [Crash1hd!~Crash1hd@unaffiliated/crash1hd] has joined ##java [08:34]
cheeser ricky_clarkson: i doubt it, tbh [08:45]
learningc [learningc!~learningc@mti-37-145.tm.net.my] has joined ##java [08:50]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [08:59]
dj_pi [dj_pi!~dj_pi@d4-50-214-166.col.wideopenwest.com] has joined ##java [09:00]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:09]
theWhisper_ [theWhisper_!~quassel@unaffiliated/thewhisper/x-7482734] has joined ##java [09:26]
theWhisper_ hello [09:26]
theWhisper_ so i am trying to run a game but i have no clue what is the java used to design it or how to build it. yes i am very new to java [09:26]
arcsin [arcsin!~alureon@unaffiliated/proxa] has joined ##java [09:26]
theWhisper_ https://github.com/BennyQBD/Wolfenstein3DClone [09:27]
theWhisper_ theWhisper_'s title: "GitHub - BennyQBD/Wolfenstein3DClone: thebennybox Wolfenstein 3D clone from the tutorial" [09:27]
theWhisper_ yeah that one [09:27]
theWhisper_ how i build this? [09:27]
PowaBanga [PowaBanga!~PowaBanga@unaffiliated/powabanga] has joined ##java [09:27]
ron whoever wrote that project didn't exactly make it easy to run. [09:28]
ron or build. [09:28]
theWhisper_ hmm [09:28]
theWhisper_ so there is no way around? [09:28]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:79ce:f399:9480:8f58] has joined ##java [09:28]
theWhisper_ he has youtuibeseries explaining all the steps involved [09:28]
theWhisper_ but i supposed i was going to see the end result with at least a readme [09:29]
theWhisper_ ? [09:36]
theWhisper_ channel is too quiet [09:36]
theWhisper_ an7yoen here? [09:43]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [09:46]
theWhisper_ jeez for being the most used programming languague irc very quiet [09:46]
forgottenone [forgottenone!~forgotten@176.88.100.149] has joined ##java [09:47]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [09:50]
con3 [con3!~kvirc@ml.sun.ac.za] has joined ##java [09:59]
VegetarianFalcon [VegetarianFalcon!uid258908@gateway/web/irccloud.com/x-yviozzdqbzukqjnu] has joined ##java [10:02]
liefer [liefer!~liefer@3e6b4c17.rev.stofanet.dk] has joined ##java [10:03]
d10n-work [d10n-work!uid37161@gateway/web/irccloud.com/x-gtednsqugvvtbajw] has joined ##java [10:07]
jamiemagee [jamiemagee!~jamie.mag@customer-212-237-97-203.ip4.gigabit.dk] has joined ##java [10:10]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-oxnxcypatttidvvd] has joined ##java [10:11]
Fairy [Fairy!~Fairy@unaffiliated/fairy] has joined ##java [10:12]
katiex7 [katiex7!~katiex7@ip72-196-214-135.dc.dc.cox.net] has joined ##java [10:18]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:79ce:f399:9480:8f58] has joined ##java [10:28]
sgt_chuckles [sgt_chuckles!~adempus@ool-182e7441.dyn.optonline.net] has joined ##java [10:34]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [10:35]
t2mkn [t2mkn!~t2mkn@43.226.2.118] has joined ##java [10:36]
sgt_chuckles I'm trying to parse some XLM data using XmlPullParserFactory, but my app keeps crashing whenever it reaches an XML tag with a an embedded url [10:36]
sgt_chuckles are there any good XML parsing libraries I can use in Android? [10:37]
codebam [codebam!codebam@gateway/vpn/mullvad/codebam] has joined ##java [10:40]
cheeser try #android-dev [10:41]
cheeser xml parsers [10:41]
cheeser Working with XML? Consider ~jackson, ~xstream, or ~jaxb to read and write XML. Avoid SAX (org.xml.sax) and DOM (org.w3c.dom); StAX is okay (https://docs.oracle.com/javase/tutorial/jaxp/stax/index.html ), but these days most use jackson. [10:41]
cheeser those are the java answers. if they don't work on android, your question doesn't belong here. [10:41]
runlevel7_ [runlevel7_!~runlevel7@unaffiliated/runlevel7] has joined ##java [10:49]
Crash1hd [Crash1hd!~Crash1hd@unaffiliated/crash1hd] has joined ##java [10:58]
srisri [srisri!~srisri@c-98-207-200-202.hsd1.ca.comcast.net] has joined ##java [11:02]
[rg] [[rg]!~ricardo@67-204-254-48.eastlink.ca] has joined ##java [11:05]
[rg] is it bad to use the swing timer if not doing swing stuff? [11:07]
xlxnnx [xlxnnx!~xlxnnx@50-252-30-222-static.hfc.comcastbusiness.net] has joined ##java [11:08]
USER_ [USER_!~lucid-lul@66.115.169.237] has joined ##java [11:09]
cheeser quartz [11:10]
cheeser cheeser, quartz is An open source job scheduling system. Jobs can be defined as standard Java components or EJBs. You can find more info at http://www.quartz-scheduler.org/ or see http://is.gd/nHz9 for a core java solution. [11:10]
cheeser but "it depends" [11:10]
cheeser javadoc java.util.Timer [11:10]
cheeser cheeser: http://bit.ly/2Ys5NSl [JDK: java.util.Timer] [11:10]
goldstar [goldstar!~adm@unaffiliated/goldstar] has joined ##java [11:10]
[rg] ok, using awt for a game and not sure if I should go with swing timer or just use the util.Timer [11:11]
Crash1hd [Crash1hd!~Crash1hd@unaffiliated/crash1hd] has joined ##java [11:15]
RedSoxFan07 [RedSoxFan07!~Thunderbi@137.103.109.45] has joined ##java [11:25]
pioto [pioto!~pioto@unaffiliated/pioto] has joined ##java [11:33]
DaPinkOne i'm trying to send my eclipse project to github via team->share project, but it dies with an error "Internal error occurred. [11:39]
DaPinkOne Illegal char <:> at index 44: /home/dap/git/YourSweeper-Java-Project-/.git: [11:39]
DaPinkOne that project is long gone, months ago, and on a different system. any ideas how i could figure out exactly what's going on here? [11:40]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [11:42]
cheeser try #eclipse [11:43]
DaPinkOne will do [11:44]
[rg] parted the channel: [11:46]
tassee [tassee!~tasse@55d4969c.access.ecotel.net] has joined ##java [11:58]