Info

Login

Channels

APIs

Credits

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

« 2021-05-04

2021-05-05

2021-05-06 »

Nick Message Date
LionBar_ [LionBar_!~l@gateway/tor-sasl/lionbar] has joined ##java [12:04]
mindCrime_ [mindCrime_!~prhodes@cpe-98-27-55-10.nc.res.rr.com] has joined ##java [12:06]
ScrambledRK [ScrambledRK!~RK@84-115-208-87.cable.dynamic.surfer.at] has joined ##java [12:29]
Jantz [Jantz!~IceChat95@118-93-31-67.dsl.dyn.ihug.co.nz] has joined ##java [12:52]
w0x12ef [w0x12ef!~textual@111.63.14.116] has joined ##java [01:25]
recursiveNode [recursiveNode!~recursive@ip-86-49-255-227.net.upcbroadband.cz] has joined ##java [01:27]
recursiveNode [recursiveNode!~recursive@ip-86-49-255-227.net.upcbroadband.cz] has joined ##java [01:49]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:14f:3bfc:c525:2600] has joined ##java [01:52]
EgonX [EgonX!~Egon@2601:2c6:47f:87a8:f4c9:c28:e774:7829] has joined ##java [02:09]
georgios [georgios!~george@unaffiliated/anaphaxeton] has joined ##java [02:25]
georgios [georgios!~george@unaffiliated/anaphaxeton] has joined ##java [02:37]
exonity01 [exonity01!uid364582@gateway/web/irccloud.com/x-pjfsyjckzzrgnmqo] has joined ##java [02:46]
DasBrain [DasBrain!~DasBrain@unaffiliated/dasbrain] has joined ##java [02:48]
gambl0re [gambl0re!~gambl0re@unaffiliated/gambl0re] has joined ##java [02:50]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [03:23]
runlevel7 [runlevel7!runlevel7@gateway/vpn/privateinternetaccess/runlevel7] has joined ##java [03:25]
FabioP [FabioP!c378570d@host-195-120-87-13.business.telecomitalia.it] has joined ##java [03:52]
enoq [enoq!~textual@194-208-146-143.lampert.tv] has joined ##java [03:55]
DunceCotus [DunceCotus!01986949@1.152.105.73] has joined ##java [04:01]
plitter [plitter!~plitter@78.31.86.243] has joined ##java [04:06]
hendursaga [hendursaga!~weechat@gateway/tor-sasl/hendursaga] has joined ##java [04:12]
georgios [georgios!~george@unaffiliated/anaphaxeton] has joined ##java [04:18]
Rashad [Rashad!d58b29f7@213.139.41.247] has joined ##java [04:20]
Rashad parted the channel: [04:21]
v01d4lph4 [v01d4lph4!~v01d4lph4@122.160.65.250] has joined ##java [04:41]
v01d4lph4 [v01d4lph4!~v01d4lph4@122.160.65.250] has joined ##java [04:45]
v01d4lph4 [v01d4lph4!~v01d4lph4@122.160.65.250] has joined ##java [04:45]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [04:59]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [05:05]
acidjnk_new2 [acidjnk_new2!~acidjnk@p200300d0c72b9574a5163a3f5f418180.dip0.t-ipconnect.de] has joined ##java [05:05]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [05:08]
enoq [enoq!~textual@194-208-146-143.lampert.tv] has joined ##java [05:17]
recursiveNode Hey, do you have any example of a Java 9+ project that uses module-info.java and contains multiple modules? Should there be a multi-module pom.xml used as well? [05:32]
Maldivia recursiveNode: generally, yes [05:35]
Maldivia recursiveNode: https://www.baeldung.com/maven-multi-module-project-java-jpms -- example [05:35]
Maldivia Maldivia's title: "Multi-Module Maven Application with Java Modules | Baeldung" [05:35]
recursiveNode Maldivia https://github.com/java9-modularity/examples/tree/master/chapter3/easytext-threemodules/src/easytext.analysis should this example use not only the JDK9+ module-description.java, but also a multi-module pom.xml? Will it work? [05:36]
recursiveNode recursiveNode's title: "examples/chapter3/easytext-threemodules/src/easytext.analysis at master java9-modularity/examples GitHub" [05:36]
Maldivia recursiveNode: well, the linked thing is not a maven project, so -- remember, your module-info file is for runtime and compile time; maven is a build tool, meaning it only cares about compile time [05:38]
recursiveNode Maldivia THANKS A LOT!!! [05:39]
recursiveNode I'll use the example you've provided. [05:39]
NeoCron [NeoCron!~neocron_@p200300c4cf2c1e00cc3b2173118be340.dip0.t-ipconnect.de] has joined ##java [05:42]
recursiveNode Maldivia would you know if it's OK to implement behavior inside domain entities? Like, if I have an entity DebitCard is it OK to implement a few methods that work with DebitCard directly inside that entity? Or do I have to always create a separate Service and keep anemic entities (= with no methods apart from get/set)? [05:42]
Maldivia really depends on how pedantic the rest of the team is :D [05:43]
recursiveNode Maldivia like for DebitCard, a behavior I'd want to implement is "validateNumber()", for example [05:44]
recursiveNode Maldivia like for DebitCard, a behavior I'd want to implement is "validateNumbers()", for example [05:44]
Maldivia recursiveNode: well, that sounds like something you would use bean validation for [05:44]
Maldivia bean validation [05:44]
Maldivia Bean Validation is a Java specification which allows you to specify constraints on your bean properties and validate those, such as @NotNull, @Size, @Min. See http://beanvalidation.org for the spec or http://hibernate.org/validator/ for the reference implementation. [05:44]
recursiveNode Maldivia validateNumbers will need to iterate through each digit and make a checksum. At the end, it will test the checksum for validity. There is no bean validator for that yet, butI can code one. [05:45]
recursiveNode Maldivia thx for suggesting a hibernate validator [05:45]
Maldivia I'm aware of how mod10 algorithm works :D [05:46]
Maldivia but yeah, you would use a custom validator for it [05:46]
recursiveNode hahah, you know it already :) [05:46]
Maldivia recursiveNode: https://docs.jboss.org/hibernate/validator/5.1/api/org/hibernate/validator/constraints/CreditCardNumber.html :D [05:48]
Maldivia Maldivia's title: "CreditCardNumber (Hibernate Validator 5.1.3.Final)" [05:48]
Maldivia recursiveNode: so hibernate validator has a validator for mod10 :D [05:48]
v01d4lph4 [v01d4lph4!~v01d4lph4@122.160.65.250] has joined ##java [05:49]
v01d4lph4 [v01d4lph4!~v01d4lph4@122.160.65.250] has joined ##java [05:49]
recursiveNode wow, I had no idea. Thx a lot. Indeed, they have it. [05:49]
mexen [mexen!uid495612@gateway/web/irccloud.com/x-nyotpzzwbhsvmata] has joined ##java [05:50]
jesster1234 [jesster1234!~jessica@static.172.234.251.148.clients.your-server.de] has joined ##java [06:09]
whaley [whaley!~whaley@cpe-24-88-70-100.sc.res.rr.com] has joined ##java [06:16]
LKoen [LKoen!~LKoen@140.170.9.109.rev.sfr.net] has joined ##java [06:20]
jesster1234 [jesster1234!~jessica@static.172.234.251.148.clients.your-server.de] has joined ##java [06:32]
DTZUZU [DTZUZU!~DTZUZO@205.ip-149-56-132.net] has joined ##java [06:49]
mfro [mfro!~mfro@unaffiliated/mfro] has joined ##java [06:58]
DasBrain [DasBrain!~DasBrain@unaffiliated/dasbrain] has joined ##java [07:07]
Jantz [Jantz!~IceChat95@2407:7000:8d04:100:d1cf:e777:4591:cd33] has joined ##java [07:09]
MrFlibble [MrFlibble!Rimmer@94.14.182.161] has joined ##java [07:10]
computeiro [computeiro!~Wender@189.37.69.222] has joined ##java [07:12]
ScrambledRK [ScrambledRK!~RK@84-115-208-87.cable.dynamic.surfer.at] has joined ##java [07:14]
Peste_Bubonica [Peste_Bubonica!~Peste_Bub@unaffiliated/peste-bubonica/x-4612396] has joined ##java [07:16]
wender [wender!~Wender@179.104.254.7] has joined ##java [07:16]
ADG1089 [ADG1089!~aditya@122.163.193.183] has joined ##java [07:19]
computeiro [computeiro!~Wender@189.37.69.222] has joined ##java [07:19]
jesster1234 [jesster1234!~jessica@static.172.234.251.148.clients.your-server.de] has joined ##java [07:19]
ADG1089 [ADG1089!~aditya@122.163.193.183] has joined ##java [07:35]
MrBech_ [MrBech_!~HrBech@152.115.67.90] has joined ##java [07:35]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [07:44]
darkstardevx [darkstardevx!~darkstard@c-24-21-53-33.hsd1.or.comcast.net] has joined ##java [07:56]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [07:59]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [08:02]
DunceCotus [DunceCotus!01986fbd@1.152.111.189] has joined ##java [08:05]
stryek [stryek!uid332574@gateway/web/irccloud.com/x-expooldsqragwjex] has joined ##java [08:08]
dreamreal morning [08:12]
dreamreal Maldivia: yo [08:13]
Suchorski [Suchorski!~regex@unaffiliated/suchorski] has joined ##java [08:14]
ruurd [ruurd!~ruurd@2a02:a460:19a:1:cd9a:4f76:4651:2347] has joined ##java [08:15]
DunceCotus30 [DunceCotus30!01986fbd@1.152.111.189] has joined ##java [08:19]
olle [olle!~olle@p5dfc42dc.dip0.t-ipconnect.de] has joined ##java [08:20]
olle parted the channel: [08:20]
Shell [Shell!~shell@unaffiliated/shell] has joined ##java [08:33]
olle [olle!~olle@p5dfc42dc.dip0.t-ipconnect.de] has joined ##java [08:34]
olle Which data belongs to which behaviour, normally? [08:34]
Bombe olle, yes. [08:34]
olle ^^ [08:35]
_lucifer olle, your question does not make sense. [08:36]
Bombe I thought I made that clear! [08:36]
zikani03 [zikani03!~zikani03@41.75.123.113] has joined ##java [08:37]
olle At which point do you move behaviour to a separate class? E.g. point.draw(surface) ---> pointdrawer.draw(point, surface) [08:38]
mbooth At some point [08:39]
olle mmmm [08:39]
GnarlyBob [GnarlyBob!~chris@unaffiliated/gnarlybob] has joined ##java [08:41]
hussam [hussam!~hussam@unaffiliated/hussam] has joined ##java [08:47]
Bombe Yeah, there's not really a hard rule for that, and personal preference is also important. [08:50]
olle Sad [08:50]
Bombe Yes and no. :) [08:50]
olle No science D: [08:50]
wedr [wedr!~tom_mai78@pool-108-20-128-8.bstnma.fios.verizon.net] has joined ##java [08:53]
georgios [georgios!~george@unaffiliated/anaphaxeton] has joined ##java [08:53]
olle Team quality guideline will be short. "Personal preference." :d [08:54]
sbalmos Team quality guideline will be "what the senior/architect/lead decides" [08:58]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [08:59]
dreamreal sbalmos wins that one, although hopefully the senior/architect/lead factors in what the team thinks [09:00]
dreamreal but there's no hard and fast "oh yeah, this is THE RULE" [09:00]
Maldivia dreamreal: yo [09:00]
dreamreal Maldivia: pm? [09:00]
Maldivia sure [09:00]
dreamreal thanks. [09:01]
whaley [whaley!~whaley@cpe-24-88-70-100.sc.res.rr.com] has joined ##java [09:02]
olle lead dev should based his/her arguments on science, optimally [09:02]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [09:03]
ScrambledRK ah man, I could immediately jump into another rage hearing "factors in what the team thinks", good lord are "we" bad at this. Its one god given commandment after the other in my "team". Everybody fighting for themselves and blaming each other. I like the domain I am working in and its really interesting (technically) but everything human related is a train wreck. :( [09:04]
mbooth olle: Your question is too vague and there's too much context missing to give you answer, it's a combination of architect, project, and situation dependent factors. [09:04]
olle ScrambledRK: Being a dev is like playing in an orchestra :) [09:04]
olle Where everyone is the conductor... ;) [09:05]
dreamreal ScrambledRK: that sounds like your leadership isn't good at what they do [09:05]
ScrambledRK hahaha :D [09:05]
dreamreal my team is pretty good at that: we discuss, everyone gets to plant a tentpole, the team lead says "oh wait who's the lead here" and makes the decision and everybody does that [09:05]
dreamreal everyone gets heard but the fact is we all have to row in the same direction [09:06]
Jantz_ [Jantz_!~IceChat95@2407:7000:8d04:100:9526:99b3:4933:24b6] has joined ##java [09:06]
ScrambledRK Jeha the leadership is pretty much non existent. Its just a distant third party that dictates how we are supposed to work and the rest is just chaos and underlying anger [09:06]
dreamreal see, that's the problem, not the humans :) [09:07]
ScrambledRK Nobody feels responsible to pick up that missing leader role or feels qualified to do so; and if they try, it starts hailing sticks and stones from the sky :( [09:07]
dreamreal them someone needs to tell "the sky" what the problem is and take over anyway [09:08]
ScrambledRK Jeha I agree, but it gets to the point where people whisper jumping ship :[ [09:08]
mbooth So let them? [09:08]
dreamreal a dev team is like a ... trireme, or a sweep craft - everyone has to row in the same direction, although the analogy breaks down a LITTLE because not everyone has to have the same pace [09:09]
mbooth TBH, more people should jump ship more often, but very few are willing to admit there is no loyalty in business [09:09]
dreamreal but in general everyone HAS to be working for the same goal, and that means NOT doing your own damn thing to the detriment of the team [09:10]
dreamreal basecamp ++ [09:10]
dreamreal basecamp has a karma level of 1, dreamreal [09:10]
dreamreal They'll pay for it but kudos to them for putting a stake in the ground [09:10]
mbooth mmm steak [09:11]
olle What about this one: A class should have state OR (effectful) dependencies, but not both. [09:11]
dreamreal As soon as a company's main mission is to be woke, that company's carrying a disease. be woke all you like; mostly, be kind instead, would be my advice, but whatever. But the *company* has a different mission. [09:11]
dreamreal olle: What is all of this for? This sounds broken [09:12]
ScrambledRK Hmmm, well for now its a rather miserable atmosphere but lets see. Thank you guys though, appreciate it! [09:12]
fstd_ [fstd_!~fstd@unaffiliated/fisted] has joined ##java [09:12]
dreamreal ScrambledRK: I'd find natural leaders and encourage them to strengthen that role, and I'd ALSO tell upper management this is a problem and to support $LEADER_TYPE_PERSON [09:13]
dreamreal oh, the boats are called shells, not sweep craft (I KNEW I was making up the latter term but didn't know the former, was a best guess) [09:13]
mbooth olle: Who are these rules for? School children? [09:14]
sbalmos dreamreal: I'm decidedly not woke. I like being asleep. Sleep = good. [09:16]
ScrambledRK Its more or less a turf war though. There are actual gangs hating on each other. With separate distinct chat-rooms, dissing the other groups. I am rather new and a bit in between, but I think I'm no longer perceived as new or neutral. Its such a drag. [09:16]
ScrambledRK And the crazy thing is, these are not young people. They are all well above 40, acting like children :S [09:16]
cheeser none of this is on topic here. [09:17]
sbalmos dammit, the architect/lead/senior has spoken [09:17]
ScrambledRK true, and can't be solved here :( [09:17]
sbalmos digs up his tentpole [09:17]
sbalmos dreamreal: sorry digging up the tentpole just dropped the tent on you [09:17]
mbooth What an ... intents ... conversation [09:19]
hussam [hussam!~hussam@unaffiliated/hussam] has joined ##java [09:19]
aquahaze [aquahaze!~aquahaze@gateway/tor-sasl/aquahaze] has joined ##java [09:20]
olle mbooth: school children what? [09:20]
olle dreamreal: working on quality guide for the team [09:20]
mbooth olle: I mean, who needs such micromanagement that you need to define what is allowed to go in a class? [09:21]
mbooth Is it children? [09:21]
olle mbooth: obviously not [09:21]
olle but big legacy project [09:21]
mbooth olle: But you don't want your engineers to solve problems in the way they think is best? [09:22]
mbooth Or... [09:22]
olle Maybe if at least half of them had a degree... [09:22]
mbooth Fuck off, I know plenty of great engineers without degrees, that's just being elitist [09:23]
olle Recently started to read about design patterm rot and grime, pretty instructive. [09:24]
olle And also related to mixing stuff that are not semantically related. [09:25]
olle mbooth: Well, I assume those are not juniors, still. :) [09:27]
chris64 [chris64!~chris@unaffiliated/chris64] has joined ##java [09:28]
Anticom [Anticom!~Anticom@87.190.49.75] has joined ##java [09:30]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [09:33]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [09:40]
dmlloyd I don't have a degree [09:44]
ofir [ofir!~ofir@pc-sivan12.cs.tau.ac.il] has joined ##java [09:46]
ofir hi, does anyone know a common way to add 3rd party packages to Java? [09:46]
cheeser maven [09:46]
Diablo-D3 thats an ambiguous question [09:47]
ofir I want to add com.google.protobuf to my Android app [09:47]
mbooth ofir: As normal maven/gradle deps, usually [09:47]
ofir in Android Studio :) [09:47]
yawkat android [09:47]
yawkat Android is Google's OS based on Linux and a non-Java-bytecode Virtual Machine. See http://developer.android.com/ . Start in #android-dev if you have Android development questions - and if you use Android's API or you're running it on Android, you have an Android development question. [09:47]
ofir if I were to build it outside the IDE, I would use "maven install protobuf" or something like that? [09:48]
mbooth maven [09:48]
mbooth ofir, Maven is a software management tool that can compile, test, package, and deploy your project, with plugins for everything you can think of. See http://maven.apache.org and https://books.sonatype.com/mvnref-book/reference/index.html ; also see ~build tools for more options. [09:48]
cheeser well, you're on android so you're using gradle mostly likely [09:48]
Diablo-D3 ofir: you sound like you're from other languages; no, java doesn't have the braindead concept known as a "package manager", in the sense of what cpan, npm, etc are [09:48]
mbooth gradle [09:48]
mbooth ofir, Gradle is a build tool written in Groovy and provides a Groovy or Kotlin DSL that enables you to perform dependency management and imperative build scripting. See https://gradle.org for more; also see ~build tools for more options. [09:48]
ofir Diablo-D3: I am coming from other languages, mostly Python and C/C++ [09:49]
ofir where I would use "pip/conda" and apt/apt-get (respectively) to satisfy dependencies [09:50]
ofir sorry if I'm being noob here guys, I'm really just starting to get my hands dirty [09:50]
Diablo-D3 pip is another one of those broken package managers [09:50]
mbooth ofir: Well, start by reading the maven and/or gradle links above [09:51]
ofir I will thanks [09:51]
Diablo-D3 apt-get is the right way, in a sense, because its separates the concerns of package management as a part of distribution and software development [09:51]
ofir but generally speaking, Gradle is the GNU Make equivalent for orchestrating the build? [09:51]
ofir or it does other/additional things? [09:51]
cheeser so much more [09:51]
Diablo-D3 maven and gradle are make-like, just less screwy. [09:52]
mbooth ofir: As the factoid mentions above, it also does, amongst other things, dep management -- it's a project lifecycle tool really [09:52]
ofir compile, test, package and deploy [09:52]
ofir doesn't say anything about satisfying 3rd party dependencies, so each to his own here? [09:53]
ofir i.e. if you have a dependency on a 3rd party you need to obtain/build the .jar and add the (class)path to the Gradle build recipe? [09:53]
mbooth ofir: No, add the coordinates for the dep and gradle will fetch it for you [09:54]
mbooth Hence "dep management" [09:54]
sbalmos dependencies are recursive [09:54]
ofir mbooth: gotcha thanks! [09:55]
mbooth ofir: Just read the docs ;-) [09:55]
mbooth I'm not going to type it all here for you [09:55]
ofir sure thing, just wanted to get the general idea in my head =D [09:55]
ofir and I will find the specifics by myself [09:55]
ofir thanks for the help guys [09:55]
sbalmos woo, someone who actually will do the work for themselves. A rarity. :o [09:56]
sbalmos we may actually let you stay around for longer than 5 minutes. ;) [09:56]
Jantz [Jantz!~IceChat95@2407:7000:8d04:100:24d4:7857:20be:b93d] has joined ##java [09:57]
ofir lol [09:57]
ofir [ofir!~ofir@pc-sivan12.cs.tau.ac.il] has joined ##java [10:01]
ofir bsod, damn [10:01]
SirMangler [SirMangler!~SirMangle@host31-50-223-133.range31-50.btcentralplus.com] has joined ##java [10:02]
SirMangler [SirMangler!~SirMangle@host31-50-223-133.range31-50.btcentralplus.com] has joined ##java [10:03]
superhanz2 [superhanz2!~superhanz@cpc91192-cmbg18-2-0-cust37.5-4.cable.virginm.net] has joined ##java [10:10]
dpl [dpl!~dpl@77-121-78-163.chn.volia.net] has joined ##java [10:25]
ScrambledRK [ScrambledRK!~RK@84-115-208-87.cable.dynamic.surfer.at] has joined ##java [10:26]
ofir I needed just one line: implementation "com.google.protobuf:protobuf-java:3.6.1" [10:32]
ofir and apparently it is very important where you put it, there's a build.gradle for the Project and one for the Module: app [10:33]
mbooth ? [10:33]
ofir the internet is flooded with: compile "com.google.protobuf:...." [10:34]
ofir but IDEA doesn't like compile, apparently a missing plugin or something like that [10:34]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-kxfslznamczviegw] has joined ##java [10:35]
ofir considering that this is widely used internally within Google, and both Android and protobuf is owned by Google I'm very surprised that there is no blog post / GitHub repo with at least one example. [10:35]
mbooth ofir: Why? Adding a dep to a gradle project is not specific to the dep you are adding.... [10:37]
ADG1089 [ADG1089!~aditya@122.163.193.183] has joined ##java [10:37]
ofir because the devil is in the details and a working sample is very helpful to get started if you're new to this [10:38]
mbooth I can't imagine there are *no* intro to gradle blog posts [10:39]
ofir just one simple example, if you have: buildscript { dependencies { implementation <something> } } } [10:41]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [10:41]
ofir this is not equivalent to dependencies { } in the app gradle build file, although the comment says that the former is "common to all sub-projects/modules [10:41]
ofir but anyhow it's probably just me whining and being lazy, in theory one should rtfm [10:42]
ofir sometimes in practices one also has to deliver =D [10:43]
mbooth ofir: You're a programmer? You should know that reading is 50% of the job. Scratching your head is the other 50%. And actually writing code is the final 10%. Add another 5% for time figuring out how many % adds up to 100. [10:45]
ofir yeah you're right [10:45]
ofir and writing tests and debugging... [10:46]
ofir this is a side project for school, I have no intentions whatsoever in becoming an Android app / Java developer, just doing the bare minimum to get sh*t done [10:46]
[twisti] theres no time for that, we need to ship that feature yesterday, we can add tests and debugging when theres not so much to do [10:46]
mbooth [twisti]: <narrator> There's never not so much to do </narrator> [10:47]
[twisti] ;) [10:47]
Sgeo [Sgeo!~Sgeo@ool-18b9875e.dyn.optonline.net] has joined ##java [10:47]
maxwilliamson [maxwilliamson!~maxwillia@gateway/tor-sasl/maxwilliamson] has joined ##java [10:48]
irrgit [irrgit!~ch33se@192.241.175.183] has joined ##java [10:51]
ofir cheeser: the "so much more" is amazing [10:51]
ofir the fact that I had to add just one line and it'd obtain/fetch the deps is brilliant [10:51]
Diablo-D3 welcome to the promised land [10:52]
ofir =) [10:52]
binarycreations [binarycreations!~rad@44.236.115.87.dyn.plus.net] has joined ##java [11:18]
ron ofir: you are gold [11:22]
ofir I am? [11:22]
ron ???? [11:23]
dmlloyd this is a long shot I suppose, but has anyone seen a problem with OpenJDK 11 (adopt) on Mac where Process.info() throws RuntimeException("Input/output error")? [11:30]
dmlloyd for now I'm working around it but.. ugh [11:32]
tnR [tnR!tnr@we.will.rock.you.bnc4you.xyz] has joined ##java [11:35]
dqx [dqx!~dqx@unaffiliated/dqx] has joined ##java [11:37]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [11:45]
MrFlibble [MrFlibble!Rimmer@94.14.182.161] has joined ##java [11:48]
EgonX [EgonX!~Egon@2601:2c6:47f:87a8:f4c9:c28:e774:7829] has joined ##java [11:50]
hnOsmium0001 [hnOsmium0001!uid453710@gateway/web/irccloud.com/x-yhdbnweaiwigkejm] has joined ##java [11:54]
georgios [georgios!~george@unaffiliated/anaphaxeton] has joined ##java [11:57]
ge0rgios [ge0rgios!~george@unaffiliated/anaphaxeton] has joined ##java [11:59]
Maldivia dmlloyd: what annoys me about that, is that it doesn't saw anything about it being able to throw that [12:10]
dmlloyd yeah. it's literally `RuntimeException` [12:11]
dmlloyd that's about as nonspecific as you can possibly get [12:11]
dmlloyd it turns out that there are at least half a dozen `RuntimeException` that can be thrown from that method on mac [12:12]
dmlloyd but I was unable to find where, in the source, that particular one could be thrown from [12:13]
Maldivia it literally says "Input/output error" ? [12:15]
mbooth Maldivia: Love a vague error message. Who doesn't enjoy stabbing about the dark? [12:17]
Maldivia throw new Exception("Exception!") [12:18]
mbooth Gives me PTSD of Oracle error messages.... "Cause: Self-evident. Solution: Obvious" [12:18]
mindCrime_ [mindCrime_!~prhodes@cpe-98-27-55-10.nc.res.rr.com] has joined ##java [12:19]
StyXman [StyXman!~mdione@grulic/root/StyXman] has joined ##java [12:21]
Rinku [Rinku!uid498544@gateway/web/irccloud.com/x-dpsxovyqybntoydd] has joined ##java [12:22]
StyXman I have a bunch of java processes running on openjdk 11. they all have a random port open, but testing with jconsole it seems it's no JMX, which is OK, as we supposedly configured them so JMX is on a fixed port. question is: what could it be or, better, how can I find out what are they? [12:23]
mbooth StyXman: How did you determine it has random ports open? [12:23]
StyXman netstat -tpln [12:25]
hussam [hussam!~hussam@unaffiliated/hussam] has joined ##java [12:26]
StyXman the rest are not in the output: https://dpaste.org/tBaj [12:26]
StyXman StyXman's title: "dpaste/tBaj (Plain Code)" [12:26]
Nightwing52 [Nightwing52!~Thunderbi@67.7.15.187] has joined ##java [12:26]
Maldivia dmlloyd: re Input/output error -- that's the output of getLastErrorString :D [12:26]
_lucifer StyXman: running `jps` may help [12:27]
dmlloyd so useful! [12:27]
StyXman _lucifer: ack [12:27]
StyXman _lucifer: sorry, I destroyed the cluster, so it's going to take me 15m to bring it up again. what's that supposed to give me? [12:28]
StyXman I want to know why those ports are open and/or what's listening there [12:29]
Maldivia StyXman: well, you might have code that opens it :D [12:29]
mbooth StyXman: Are they webapps? Webapps do a lot of listening ;-) [12:30]
StyXman yes, I understand, I wonder what else in openjdk-11 can be opening it if it's not JMX [12:30]
Maldivia StyXman: debug port [12:30]
StyXman we recently migrated to 11 and probably we missed a new feature [12:30]
Maldivia StyXman: did you try curl http://localhost:port/ ? [12:30]
StyXman mbooth: yes, but not on random ports [12:30]
StyXman Maldivia: yes, even with telnet [12:30]
_lucifer https://www.irccloud.com/pastebin/vsnqcvIm/ [12:30]
Jantz_ [Jantz_!~IceChat95@118-93-31-67.dsl.dyn.ihug.co.nz] has joined ##java [12:30]
StyXman _lucifer: and data node is? [12:31]
StyXman (yes, it looks promising!) [12:31]
_lucifer datanode is run by yarn. [12:31]
_lucifer its from a hadoop yarn cluster [12:31]
StyXman ok, but it's a class name? [12:31]
Maldivia jps reports the main class by default, as far as I remember [12:32]
StyXman hmm [12:32]
StyXman would not help us much, we know what is each process [12:32]
StyXman we just don't know why 'suddenly' tehy have an extra random port [12:33]
StyXman and it's not JMX, which we fixed to specific ports [12:33]
gelignite [gelignite!~gelignite@55d4c039.access.ecotel.net] has joined ##java [12:54]
zikani03 parted the channel: [01:02]
hussam [hussam!~hussam@unaffiliated/hussam] has joined ##java [01:03]
junktext__ [junktext__!junktext@fsf/member/junktext] has joined ##java [01:05]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [01:08]
hendursaga [hendursaga!~weechat@gateway/tor-sasl/hendursaga] has joined ##java [01:11]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [01:11]
FabioP [FabioP!c378570d@host-195-120-87-13.business.telecomitalia.it] has joined ##java [01:26]
masuberu [masuberu!b2c5e53d@178.197.229.61] has joined ##java [01:29]
xuxx [xuxx!~samir@109.41.176.95.rev.sfr.net] has joined ##java [01:39]
xuxx hello [01:39]
xuxx I want to install the java card development kit on linux [01:39]
xuxx Isn't that possible ? [01:39]
cheeser tech support [01:39]
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. [01:39]
hussam [hussam!~hussam@unaffiliated/hussam] has joined ##java [01:39]
xuxx cheeser: where should I go then ? [01:40]
cheeser the web site? [01:40]
xuxx cheeser: I already read the info [01:43]
xuxx if i'm asking it's because i'm stuck [01:43]
cheeser i get that. but we don't do that here. [01:43]
xuxx k [01:43]
DoofusCanadensis java card? is that still around? [01:44]
ruurd [ruurd!~ruurd@2a02:a460:19a:1:cd8d:d451:d57e:4170] has joined ##java [01:44]
dreamreal not really [01:45]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [01:45]
DoofusCanadensis eww, it talks about applets [01:45]
sbalmos not even ringing a bell [01:45]
xuxx DoofusCanadensis: yes [01:46]
Spawns_Carpeting [Spawns_Carpeting!~pi@50-110-90-200.clbg.wv.frontiernet.net] has joined ##java [01:47]
DoofusCanadensis I will go wash my mouth out with soap for uttering that word [01:47]
juuandyy [juuandyy!~juuandyy@90.106.228.121] has joined ##java [01:49]
sbalmos please don't utter the word SOAP again either [01:51]
dreamreal SOAP SOAP SOAP [01:51]
sbalmos dreamreal: Wash your mouth out with cREST [01:52]
flying_sausages [flying_sausages!~flying_sa@83.149.106.219] has joined ##java [01:56]
DoofusCanadensis snrk [01:56]
hussam [hussam!~hussam@unaffiliated/hussam] has joined ##java [01:58]
Betal [Betal!~Betal@unaffiliated/betal] has joined ##java [02:03]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:802:a06a:e5b8:bc38] has joined ##java [02:07]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [02:09]
xuxx [xuxx!~jouts@109.41.176.95.rev.sfr.net] has joined ##java [02:10]
xuxx cheeser: can I ask about maven or not too ? [02:10]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [02:12]
ricky_clarkson xuxx: Generally, yes, as it pertains to Java development. If you're asking where to download it or how to edit your PATH to include it or something, you may be below the bar for this channel [02:12]
ricky_clarkson https://images.app.goo.gl/yj9F8bifFiiNV4JCA [02:13]
xuxx ricky_clarkson: I'm asking so tell me if that's ok [02:16]
mbooth ask [02:16]
mbooth xuxx, The Ask To Ask protocol wastes more bandwidth than any version of the Ask protocol, so just ask your question. [02:16]
xuxx I have a pom.xml with a <file>${env.JC_CLASSIC_HOME}/lib/api_classic.jar</fil>. When I do `mvn initialize`, it tells me that the file doesn't exist. But I have the right env variable and it's the right path [02:17]
xuxx Any idea on how to find the problem ? [02:18]
ge0rgios [ge0rgios!~george@unaffiliated/anaphaxeton] has joined ##java [02:24]
dreamreal What's the context of that? Is that a systempath for a dependency? [02:25]
xuxx dreamreal: yes it's for a dependency [02:25]
dudderino [dudderino!~dudderino@gateway/tor-sasl/dudderino] has joined ##java [02:31]
computeiro [computeiro!~Wender@189.37.69.222] has joined ##java [02:33]
xuxx So I used the hardcoded path and it works but not withe ${env.} [02:34]
xuxx Unlucky [02:34]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [02:38]
code_zombie [code_zombie!~code_zomb@2605:a601:af8c:5000:7d70:11e4:c8d7:5c4f] has joined ##java [02:40]
noobiewan [noobiewan!~noobiewan@bras-base-mtrlpq2320w-grc-22-70-52-4-74.dsl.bell.ca] has joined ##java [02:52]
noobiewan hey friends, let's say I have this expressiong myObject.getObject2().getObject3(), is there a way or library that would allow me to use a path to access a nested object? For instance mapper.path(myObject, 'object2.object3') ? [02:54]
[twisti] noobiewan: possibly, but ive not come across one, because that usually isnt something you should be wanting in the first place [02:58]
[twisti] if you explain why you want it maybe we can provide better help [02:59]
noobiewan I found this, I think that's what I want https://www.tutorialspoint.com/java_beanutils/standard_javabeans_nested_property_access.htm [03:00]
dreamreal ognl [03:00]
dreamreal Object Graph Navigation Library is an expression language that can navigate an object graph (go figure). See https://commons.apache.org/proper/commons-ognl/ . Think of similarity to dot-prop in other languages, except better. [03:00]
dreamreal el [03:00]
dreamreal dreamreal, what does that even *mean*? [03:00]
dreamreal yes, there are plenty of object graph traversal libs [03:00]
dreamreal ognl is a little passe, I forget the name of the current "right one" [03:00]
noobiewan thanks I will take a look [03:01]
cheeser mvel! [03:02]
dreamreal mvel [03:02]
dreamreal dreamreal, mvel is MVEL is a powerful expression language for Java-based applications. It provides a plethora of features and is suited for everything from the smallest property binding and extraction, to full blown scripts. http://mvel.codehaus.org/ [03:02]
LionBar_ [LionBar_!~l@gateway/tor-sasl/lionbar] has joined ##java [03:04]
sbalmos graphql! [03:05]
sbalmos oh wait... [03:05]
[twisti] dreamreal: dead link [03:06]
[twisti] wait, codehaus ? wasnt that shut down completely ? [03:06]
dreamreal someone fix it [03:06]
sbalmos fix codehaus? [03:06]
sbalmos uhm [03:06]
[twisti] no, mvel is MVEL is a powerful expression language for Java-based applications. It provides a plethora of features and is suited for everything from the smallest property binding and extraction, to full blown scripts. http://mvel.documentnode.com/ [03:07]
[twisti] OK, [twisti]. [03:07]
dreamreal hands [twisti] <reply> [03:08]
[twisti] no, mvel is <reply>MVEL is a powerful expression language for Java-based applications. It provides a plethora of features and is suited for everything from the smallest property binding and extraction, to full blown scripts. http://mvel.documentnode.com/ [03:08]
[twisti] OK, [twisti]. [03:08]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [03:08]
[twisti] i was just htinking of that [03:08]
[twisti] their github seems pretty ... unprofessional, i guess ? lackluster, even [03:08]
Diablo-D3 mvel [03:08]
Diablo-D3 MVEL is a powerful expression language for Java-based applications. It provides a plethora of features and is suited for everything from the smallest property binding and extraction, to full blown scripts. http://mvel.documentnode.com/ [03:08]
[twisti] i would not trust a repo that looked like this https://github.com/mvel/mvel [03:09]
[twisti] [twisti]'s title: "GitHub - mvel/mvel: MVEL (MVFLEX Expression Language)" [03:09]
Diablo-D3 there is a decided lack of readme [03:09]
dreamreal most of the expression languages (spring el, etc) can do it [03:10]
dreamreal mvel and ognl are kinda old school [03:10]
Diablo-D3 who even names these things [03:10]
combatvet_ [combatvet_!~c4@gateway/tor-sasl/combatvet] has joined ##java [03:14]
sbalmos You prefer Spring Cloud UgghaUgghaWonky 0.1 ? [03:21]
tang^ [tang^!~tang^@2604:3d09:47c:f970:a57e:b472:df2c:8c53] has joined ##java [03:23]
nautilor [nautilor!~nautilor@host-87-12-251-78.business.telecomitalia.it] has joined ##java [03:25]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [03:34]
Peste_Bubonica [Peste_Bubonica!~Peste_Bub@unaffiliated/peste-bubonica/x-4612396] has joined ##java [03:37]
dpl [dpl!~dpl@77-121-78-163.chn.volia.net] has joined ##java [03:43]
junktext__ [junktext__!junktext@fsf/member/junktext] has joined ##java [04:04]
ge0rgios [ge0rgios!~george@unaffiliated/anaphaxeton] has joined ##java [04:07]
EveryOS [EveryOS!uid454739@gateway/web/irccloud.com/x-gocbairvwrhguzaj] has joined ##java [04:07]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [04:16]
Haxxa [Haxxa!~Haxxa@122-199-4-253.ip4.superloop.com] has joined ##java [04:20]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [04:40]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [04:40]
yelhamer [yelhamer!~yelhamer@41.103.234.186] has joined ##java [04:45]
acidjnk_new2 [acidjnk_new2!~acidjnk@p200300d0c72b9513e05ff4b2b19e02c9.dip0.t-ipconnect.de] has joined ##java [04:46]
dev4449 [dev4449!a4d7f637@164.215.246.55] has joined ##java [04:46]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [04:47]
dev4449 [dev4449!a4d7f637@164.215.246.55] has joined ##java [04:50]
FabioP [FabioP!c378570d@host-195-120-87-13.business.telecomitalia.it] has joined ##java [04:55]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [04:56]
ge0rgios [ge0rgios!~george@unaffiliated/anaphaxeton] has joined ##java [04:59]
Phyro [Phyro!~Phiro@55d42cf0.access.ecotel.net] has joined ##java [05:11]
dev4449 [dev4449!a4d7f637@164.215.246.55] has joined ##java [05:30]
yelhamer_ [yelhamer_!~yelhamer@41.103.234.186] has joined ##java [05:47]
yelhamer [yelhamer!~yelhamer@41.103.234.186] has joined ##java [05:51]
kirua [kirua!~Username@unaffiliated/kirua] has joined ##java [06:02]
kirua hi [06:02]
Jantz [Jantz!~IceChat95@118-93-31-67.dsl.dyn.ihug.co.nz] has joined ##java [06:04]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [06:05]
LKoen [LKoen!~LKoen@140.170.9.109.rev.sfr.net] has joined ##java [06:39]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [06:43]
luxemboye [luxemboye!~luxemboye@gateway/tor-sasl/luxemboye] has joined ##java [06:44]
ADG1089 [ADG1089!~aditya@122.163.193.183] has joined ##java [06:52]
Kristine86 [Kristine86!4a45dc0c@gateway/web/cgi-irc/kiwiirc.com/ip.74.69.220.12] has joined ##java [06:56]
cheeser irony++ [06:57]
cheeser irony has a karma level of 120, cheeser [06:57]
AmVarPG [AmVarPG!~amvarpg@pool-100-36-155-137.washdc.fios.verizon.net] has joined ##java [07:07]
markong [markong!~markong@37.120.141.114] has joined ##java [07:08]
luxemboye [luxemboye!~luxemboye@gateway/tor-sasl/luxemboye] has joined ##java [07:25]
luxemboye [luxemboye!~luxemboye@gateway/tor-sasl/luxemboye] has joined ##java [07:34]
dqx [dqx!~dqx@unaffiliated/dqx] has joined ##java [07:34]
luxemboye [luxemboye!~luxemboye@gateway/tor-sasl/luxemboye] has joined ##java [07:36]
ranran8888 [ranran8888!6d40b154@gateway/web/cgi-irc/kiwiirc.com/ip.109.64.177.84] has joined ##java [07:42]
bolt [bolt!~r00t@unaffiliated/bolt] has joined ##java [07:49]
kicked luxemboye (Banned: please fix your connection. you're bouncing in and out. this ban will expire after 2h) [08:01]
bolt [bolt!~r00t@unaffiliated/bolt] has joined ##java [08:07]
Jantz_ [Jantz_!~IceChat95@2407:7000:8d04:100:1837:38f0:308b:7c13] has joined ##java [08:15]
MrFlibble parted the channel: [08:31]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [08:33]
Dev0n [Dev0n!~Dev0n@unaffiliated/dev0n] has joined ##java [08:35]
TimeTrap [TimeTrap!~TimeTrap@2601:44:c280:def:e977:44b9:baad:a0d1] has joined ##java [08:37]
lolmac [lolmac!sid171216@gateway/web/irccloud.com/x-pmkagfcsycujpuet] has joined ##java [08:42]
darkstardevx [darkstardevx!~darkstard@2601:1c2:300:c8a0::b865] has joined ##java [08:58]
ADG1089 [ADG1089!~aditya@122.163.193.183] has joined ##java [09:02]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [09:06]
EgonX [EgonX!~Egon@2601:2c6:47f:87a8:f4c9:c28:e774:7829] has joined ##java [09:08]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:802:a06a:e5b8:bc38] has joined ##java [09:14]
fstd_ [fstd_!~fstd@unaffiliated/fisted] has joined ##java [09:15]
DTZUZU_ [DTZUZU_!~DTZUZO@205.ip-149-56-132.net] has joined ##java [09:15]
cwaydt3 [cwaydt3!~cwaydt@static.65.159.90.157.clients.your-server.de] has joined ##java [09:15]
p[a]ddy [p[a]ddy!~Patrick-E@wikipedia/paddyez] has joined ##java [09:15]
ADG1089_ [ADG1089_!~aditya@122.163.193.183] has joined ##java [09:17]
deadbeat [deadbeat!~quassel@ipb21b465d.dynamic.kabel-deutschland.de] has joined ##java [09:18]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [09:18]
TimeTrap [TimeTrap!~TimeTrap@c-68-82-53-117.hsd1.pa.comcast.net] has joined ##java [09:27]
db [db!uid18678@gateway/web/irccloud.com/x-lhmrznsmeuiucsfh] has joined ##java [09:30]
Tabmow [Tabmow!~tabmow@freenode/staff-emeritus/tabmow] has joined ##java [09:38]
xeeder_ [xeeder_!~quassel@ns338505.ip-37-187-120.eu] has joined ##java [09:47]
m1dnight1 [m1dnight1!~m1dnight@188.ip-51-91-158.eu] has joined ##java [09:50]
dob1 [dob1!~dob1@unaffiliated/dob1] has joined ##java [09:54]
Cyp_ [Cyp_!~Cyp_@213.237.80.237] has joined ##java [09:54]
joev_ [joev_!~joev@pool-108-34-251-123.prvdri.fios.verizon.net] has joined ##java [09:54]
realies [realies!~realies@unaffiliated/realies] has joined ##java [09:54]
Bebef [Bebef!sbreit@phobos.bebef.de] has joined ##java [09:54]
mzajc [mzajc!~mzajc@unaffiliated/mzajc] has joined ##java [09:54]
dave_uy [dave_uy!~david@108.61.193.26] has joined ##java [09:54]
shailangsa [shailangsa!~shailangs@host217-35-224-169.range217-35.btcentralplus.com] has joined ##java [09:54]
Cahaan [Cahaan!~Cahaan@55.166-245-81.adsl-dyn.isp.belgacom.be] has joined ##java [09:54]
Inu [Inu!~Inu@unaffiliated/inu] has joined ##java [09:54]
pioto_ [pioto_!~pioto@unaffiliated/pioto] has joined ##java [09:54]
pieguy128_ [pieguy128_!~pieguy128@bas1-quebec14-67-70-101-46.dsl.bell.ca] has joined ##java [09:54]
loc [loc!~loc@unaffiliated/loc] has joined ##java [09:54]
markmarkmark [markmarkmark!~mark@167.99.235.46] has joined ##java [09:54]
bttf [bttf!~bttf@138.68.16.63] has joined ##java [09:54]
wrmsr [wrmsr!~ubuntu@ec2-54-193-61-240.us-west-1.compute.amazonaws.com] has joined ##java [09:54]
davlefou [davlefou!~davlefou@unaffiliated/davlefou] has joined ##java [09:54]
Devastator_ [Devastator_!~devas@unaffiliated/devastator] has joined ##java [09:54]
Cyp_ [Cyp_!~Cyp_@213.237.80.237] has joined ##java [09:54]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [09:54]
tabakhase [tabakhase!tabakhase@unaffiliated/tabakhase] has joined ##java [10:02]
runlevel7__ [runlevel7__!runlevel7@gateway/vpn/privateinternetaccess/runlevel7] has joined ##java [10:11]
MarkB2 [MarkB2!~Frigid_Cr@2601:192:4800:85f0:d805:552d:7e5a:8ad7] has joined ##java [10:15]
shailangsa [shailangsa!~shailangs@host217-35-224-169.range217-35.btcentralplus.com] has joined ##java [10:16]
MarkB2 I need a hint. I ..think.. it's a Java networking problem.. but an ignorance on my part. [more] [10:18]
Byteflux [Byteflux!~byte@byteflux.net] has joined ##java [10:18]
MarkB2 I have two computers. Computer 1 is a conventional home computer wired to a Comcast router. I've arranged for Computer A to be "known" to the net via NoIP. [10:19]
MarkB2 Computer 2 is connected through the same router but VPN'ed to a work network. It works; I can access files there. [10:20]
MarkB2 There's a C program running on Computer 1 that binds to a port on the machine. upnpc was used to set up a port forwarding in the Comcast router. That program seems to work okay. [10:21]
MarkB2 Computer 2 has Java installed and I'm using the Eclipse IDE. [10:22]
ranran8888 [ranran8888!6d40b154@gateway/web/cgi-irc/kiwiirc.com/ip.109.64.177.84] has joined ##java [10:22]
MarkB2 I can start Computer 2, a short Java program to look up an IP address, open address + port number, and try to make the connection. [10:23]
MarkB2 Computer 2 can ping Computer 1 using the No-IP name of Computer 1. [10:23]
MarkB2 Computer 2 (the Java program) tries to open the connection and errors out with "Connection refused." [10:24]
haijuno [haijuno!~haijuno@2600:1700:3db0:2540:9592:eaf1:c6e9:a434] has joined ##java [10:25]
MarkB2 Computer 1's program can be single-stepped and everything runs. The bind() completes, there's a listen(), and then it drops into a while-loop using select() to handle connection attempts. [10:27]
MarkB2 I can start the Java program on Computer 2. Have single-stepped it to where it looks up the WAN-side address of Computer 1 and it comes up with some weird 10.x.y.z address. All I can think of is the VPN system is mapping the DNS-assigned name to something else... but since I can ping Computer 1 from Computer 2 I figure the mapping is just confusing the issue somewhere and that packets are really arriving at Computer 1. [10:30]
MarkB2 Java has Socket(ip, port). Is the second argument supposed to have its bytes swapped? [10:32]
Tabstar [Tabstar!~tabmow@freenode/staff-emeritus/tabmow] has joined ##java [10:33]
ranran888864 [ranran888864!6d40b154@gateway/web/cgi-irc/kiwiirc.com/ip.109.64.177.84] has joined ##java [10:37]
Hanii [Hanii!~Hanii@2a00:23c5:c587:6d00:9913:ae12:2963:290] has joined ##java [10:38]
Jantz [Jantz!~IceChat95@2407:7000:8d04:100:9547:b136:6ca4:53c] has joined ##java [10:39]
paddyez [paddyez!~Patrick-E@wikipedia/paddyez] has joined ##java [10:44]
db no. the port is a simple integer. [10:52]
db this is almost certainly a networking issue [10:52]
db I suggest you trace that connection attempt and see where it goes [10:53]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [10:54]
junktext__ [junktext__!junktext@fsf/member/junktext] has joined ##java [11:00]
LionBar_ [LionBar_!~l@gateway/tor-sasl/lionbar] has joined ##java [11:12]
MarkB2 db: Hello. Apologies.. am trying to trace the network issue now. I've gotta be doing something so obviously wrong that I'm not seeing it. [11:14]
MarkB2 I'm about ready to fire up a second laptop, put it on my the local LAN, and see if it'll connect. [11:14]
cheeser run all the apps on one laptop and carry on with your dev work. [11:15]
MarkB2 I'm eventually going to get started on a thing called "HLA" which has to be one of the messiest simulation frameworks I've ever looked at. [11:15]
MarkB2 It's got "federates", "federations", all kinds of wild stuff. IEEE 1516 (I think). [11:16]
MarkB2 The idea behind my current messing around is to have TWO IDE's up and running so that I can get control of a distributed simulation (the HLA) thing. [11:17]
MarkB2 At work I have both a desktop and the laptop (the one I have at hand). I must be making the same mistake there that I am here... for I can't get the two machines to TCP-connect to each other. [11:18]
MarkB2 In that case, though, I'm using TCP addresses, not DNS names. [11:19]
MarkB2 I just started the "listener" side of this against TCP port 57344. Then launched Firefox and gave it 127.0.0.1:57344 and it refused to connect. [11:20]
MarkB2 It's gotta be something downright dumb. [11:20]
luxemboye [luxemboye!~luxemboye@gateway/tor-sasl/luxemboye] has joined ##java [11:25]
MarkB2 Aha. I've just created a connection from a virtual world (Second Life) to Computer 1 using the DNS-name for Computer 1 . So that works. [11:26]
ranran8888 [ranran8888!6d40b154@gateway/web/cgi-irc/kiwiirc.com/ip.109.64.177.84] has joined ##java [11:33]
ChaiTRex [ChaiTRex!~ChaiTRex@gateway/tor-sasl/chaitrex] has joined ##java [11:40]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:802:a06a:e5b8:bc38] has joined ##java [11:44]
LionBar_ [LionBar_!~l@gateway/tor-sasl/lionbar] has joined ##java [11:52]
Harlin [Harlin!~Harlin@c-24-128-8-53.hsd1.co.comcast.net] has joined ##java [11:56]
Spawns_Carpeting [Spawns_Carpeting!~pi@50-110-90-200.clbg.wv.frontiernet.net] has joined ##java [11:56]
ScrambledRK [ScrambledRK!~RK@84-115-208-87.cable.dynamic.surfer.at] has joined ##java [11:57]