Info

Login

Channels

APIs

Credits

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

« 2021-02-21

2021-02-22

2021-02-23 »

Nick Message Date
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [12:02]
yokel [yokel!~yokel@unaffiliated/contempt] has joined ##java [12:04]
Kristine86 [Kristine86!4a45dc0c@gateway/web/cgi-irc/kiwiirc.com/ip.74.69.220.12] has joined ##java [12:07]
hypc [hypc!~Thunderbi@113.233.211.69] has joined ##java [12:27]
ScrambledRK [ScrambledRK!~RK@80-110-107-100.cgn.dynamic.surfer.at] has joined ##java [12:41]
gambl0re [gambl0re!~rickyjw@unaffiliated/gambl0re] has joined ##java [12:53]
Xgc [Xgc!~Jon@98.1.126.42] has joined ##java [12:59]
istlf [istlf!istlf@gateway/vpn/mullvad/istlf] has joined ##java [01:32]
KidBeta [KidBeta!~Kidbeta@hpavc/kidbeta] has joined ##java [01:37]
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [01:45]
mexen_office [mexen_office!~mexen@165.56.185.144] has joined ##java [01:54]
average [average!uid473595@gateway/web/irccloud.com/x-jpwdoiumlhsnnhkn] has joined ##java [01:59]
ludocode [ludocode!~quassel@23-233-62-100.cpe.pppoe.ca] has joined ##java [02:16]
oakridge [oakridge!~oakridge@ec2-13-251-15-242.ap-southeast-1.compute.amazonaws.com] has joined ##java [02:22]
mizi [mizi!~mizi@p200300ecf715a6006943bae37d984647.dip0.t-ipconnect.de] has joined ##java [02:24]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined ##java [02:29]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [02:35]
rzjian [rzjian!~l@14.215.218.170] has joined ##java [02:37]
immibis [immibis!~immibis@62.156.144.218] has joined ##java [02:37]
immibis [immibis!~immibis@62.156.144.218] has joined ##java [02:38]
black_ant [black_ant!~antilope@unaffiliated/black-ant/x-1505394] has joined ##java [02:46]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [02:56]
rwheadon [rwheadon!~rwheadon@71-156-76-162.lightspeed.tukrga.sbcglobal.net] has joined ##java [03:03]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [03:24]
plitter If you have a an int, and you do BigDecimal.valueOf(int).divide(BigDecimal.valueOf(100L)), that would always lead to 2 decimal digits. There isn't some edge case that I'm missing right? [03:29]
Maldivia 100/100 ? [03:30]
plitter .... ok fine, are there edgecases that lead to more than 2 digits? [03:31]
Anticom [Anticom!~Anticom@87.190.49.75] has joined ##java [03:31]
Maldivia you are dividing by 100... of course not [03:32]
lithium [lithium!~lithium@unaffiliated/lithium] has joined ##java [03:35]
deebo /100 just increases the scale by two from 0 of integer scale [03:42]
ge0rgios [ge0rgios!~george@unaffiliated/anaphaxeton] has joined ##java [03:44]
LKoen [LKoen!~LKoen@252.248.88.92.rev.sfr.net] has joined ##java [03:53]
acidjnk_new [acidjnk_new!~acidjnk@p200300d0c739095610730469cbb40c42.dip0.t-ipconnect.de] has joined ##java [03:59]
sliekas99 [sliekas99!~mantas@88.223.160.11] has joined ##java [04:17]
dec0d3r [dec0d3r!~dec0d3r@2001:8003:4808:9000:5f63:4185:4213:fdf7] has joined ##java [04:21]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [04:24]
Orlando^ [Orlando^!~kenny@178.74.16.236] has joined ##java [04:28]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [04:40]
codecutter [codecutter!~anon@host86-187-163-209.range86-187.btcentralplus.com] has joined ##java [04:45]
codecutter have i missed anything? java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=:5005 -jar myjar.jar [04:46]
codecutter zsh: no matches found: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=:5005 [04:46]
Maldivia codecutter: did you actually write java, or do you have some unquoted ; on your line? seems like your shell is the one complaining [04:47]
bolovanos_ [bolovanos_!~bolovanos@unaffiliated/bolovanos] has joined ##java [04:49]
codecutter yeah, thats what i get when I run it the above args [04:49]
codecutter with the* [04:49]
codecutter no matches found... [04:49]
Maldivia as said, it's your shell that's complaning, not a java issue [04:49]
mbooth codecutter: And when you run "java -version" what happens? [04:50]
codecutter thats find (first thing i did) [04:50]
codecutter fine* [04:50]
codecutter java version "15" 2020-09-15 [04:50]
codecutter Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing) [04:50]
codecutter Java(TM) SE Runtime Environment (build 15+36-1562) [04:50]
Maldivia codecutter: is the above your FULL command line? [04:52]
codecutter yes [04:53]
plitter what is the "* +" at the beginning of the last line. what is that called? http://ix.io/2QkE [04:55]
Maldivia codecutter: and you are running it directly from a logged in console? [04:55]
Maldivia plitter: multiply [04:55]
codecutter local machine [04:55]
codecutter yes [04:55]
Maldivia plitter: and unary plus [04:56]
Maldivia plitter: similar to how you can write -100 -- you can also write +100, even though it's not needed [04:56]
mbooth codecutter: And when you run just "java -agentlib"? [04:56]
Maldivia it still smells of there being a & or ; on the line, or you running it via ssh or something [04:57]
plitter Maldivia: ok, thanks [04:58]
codecutter mbooth same [04:58]
mbooth codecutter: Same what? zsh complain? [04:58]
codecutter Unrecognized option: -agentlib [04:58]
codecutter Error: Could not create the Java Virtual Machine. [04:58]
codecutter Error: A fatal exception has occurred. Program will exit. [04:58]
codecutter slight diff response [04:59]
codecutter slightly* [04:59]
codecutter hmm [04:59]
Maldivia yeah, this is because now it's a JVM error, not a shell error [04:59]
mbooth codecutter: So that works correctly then. There's something fishy with your initial command, re-type it again (i.e. don't resuse the command from your shells history) [04:59]
codecutter i'm copying it driectly from here https://www.baeldung.com/intellij-remote-debugging [05:00]
codecutter codecutter's title: "Remote Debugging with IntelliJ IDEA | Baeldung" [05:00]
Maldivia codecutter: add quotes around your args -- your shell is fucking you up [05:00]
Maldivia codecutter: learn to use your shell [05:00]
codecutter ah [05:01]
Maldivia codecutter: it's a zsh "feature" [05:02]
codecutter pretty shitty feature to be honest! [05:02]
Maldivia unsetopt nomatch [05:02]
mbooth Maldivia: It's the ghost. As in the "Ghost in Zee Shell" [05:02]
Maldivia consider putting that in your .zshrc [05:02]
mbooth Consider an exorcism [05:03]
codecutter parted the channel: "Textual IRC Client: www.textualapp.com" [05:05]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [05:08]
Shell mbooth: :| [05:12]
mbooth Shell: Consider exorcising your daemons! (Not to be confused with exercising your demons ;-) [05:14]
Raging_Hog [Raging_Hog!~heikki@82-181-38-176.bb.dnainternet.fi] has joined ##java [05:15]
gelignite [gelignite!~gelignite@55d4873b.access.ecotel.net] has joined ##java [05:16]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [05:22]
awmv [awmv!uid282297@gateway/web/irccloud.com/x-zrnxpfyhkgxakfah] has joined ##java [05:24]
awmv Is this Laptop sufficient for developing? https://www.digitec.ch/en/s1/product/hp-elitebook-850-g7-177f2ea-1560-4k-intel-core-i7-10710u-32gb-1000gb-notebook-13494346?tagIds=614 [05:26]
Maldivia Yes [05:26]
Maldivia next [05:26]
Maldivia Another satisfied customer. Next! [05:26]
Rashad [Rashad!~textual@86.108.23.224] has joined ##java [05:33]
Rashad Hello. In Java, USAPresident or UsaPresident? [05:33]
awmv Thank you for your service [05:34]
yawkat naming [05:34]
yawkat conventions is "ThisIsAClassName, thisIsAVariableOrMethodName, THIS_IS_A_CONSTANT_NAME, here.is.a.packagename". To camelcase an acronym, do DvdPlayer, not DVDPlayer. Also see https://google.github.io/styleguide/javaguide.html and https://github.com/google/google-java-format [05:34]
mbooth Rashad: Usually, UsaPresident, but IMO it's more important to be consistent. [05:34]
yawkat Imo* [05:35]
Maldivia yawkat: IYO... not IMO [05:36]
mbooth yawkat: Touché [05:36]
bolovanos [bolovanos!~bolovanos@unaffiliated/bolovanos] has joined ##java [05:45]
ge0rgios [ge0rgios!~george@unaffiliated/anaphaxeton] has joined ##java [05:52]
forgottenone [forgottenone!~forgotten@176.42.18.230] has joined ##java [05:59]
forester [forester!~forester@188.170.87.189] has joined ##java [06:01]
forester parted the channel: [06:01]
dob1 [dob1!~dob1@unaffiliated/dob1] has joined ##java [06:07]
ChaiTRex [ChaiTRex!~ChaiTRex@gateway/tor-sasl/chaitrex] has joined ##java [06:07]
freeone3000 [freeone3000!~freeone30@Syncleus/dev/freeone3000] has joined ##java [06:07]
tolarz [tolarz!bfa39a78db@nat/friedrich-alexander/x-ptijxhglztgpkeic] has joined ##java [06:10]
tolarz I got a variable v of type Foo, but I know that actually v is of type Bar (inheriting Foo) [06:10]
tolarz Bar declares a method 'start' [06:10]
tolarz How can I call start on v? [06:10]
Maldivia cast it [06:11]
Maldivia cast [06:11]
Maldivia Maldivia, casting is a way of changing the type of a reference (it NEVER changes an object), or a way of converting between different primitive types. '(Type) expression' casts the result of expression to Type. [06:11]
tolarz I don't have access to Bar [06:11]
Maldivia reflection [06:11]
Maldivia Maldivia, reflection is a set of APIs that allow programs to interrogate classes for field and method information. See http://download.oracle.com/javase/tutorial/reflect/index.html [06:11]
Maldivia tolarz: well, if you don't have access to Bar, then that should be a hint that you probably shoudln't have access to start() either [06:11]
tolarz ik, the design is broken [06:12]
Maldivia is Bar on your control [06:12]
Maldivia under your control? [06:12]
tolarz so "v.getClass.getMethod()" throws MethodNotFound [06:12]
tolarz yes, Bar is under my control [06:12]
Maldivia well, [06:12]
Maldivia add a Startable interface to it or something that you also have access to in the other place, cast to Startable and call start [06:13]
Maldivia tolarz: https://www.ideone.com/yKssQO [06:18]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [06:28]
AcTiVaTe [AcTiVaTe!~activate@host-4b6u8h.tnz1.zeelandnet.nl] has joined ##java [06:30]
led1 [led1!~Thunderbi@217.66.160.14] has joined ##java [06:35]
MrFlibble [MrFlibble!Rimmer@94.14.182.161] has joined ##java [06:36]
tolarz hm [06:41]
tolarz somewhat related: [06:41]
tolarz oh nvm [06:41]
tolarz How can I get a static field of a Java Class[_]? [06:46]
tolarz cls.getField("MODULE$").get(obj) expects this obj parameter I don't know what to pass to [06:46]
zalt___ [zalt___!~devp@unaffiliated/lambda443] has joined ##java [06:46]
tolarz ah just null? [06:47]
Maldivia tolarz: why would you? [06:47]
tolarz i am interfacing scala and java [06:48]
Maldivia ahh yes, for statuc fields and methods, target object is null [06:48]
Maldivia tolarz: also, do remember that getField/getMethod ONLY looks at public members, and in the hierarchy aswell [06:49]
trcc [trcc!~trcc@2-104-60-169-cable.dk.customer.tdc.net] has joined ##java [06:54]
trcc Anyone familiar with good supported numerical ode packages? apache commons math is not so good for stiff-problems. I came across https://github.com/fons/JavaOdeInt which seems good, but lacking in support. [06:57]
trcc trcc's title: "GitHub - fons/JavaOdeInt: JavaOdeInt : Java Interface to Fortran ODE sources (odepack,quadlib,etc.)" [06:57]
humanface [humanface!5400973d@5400973D.dsl.pool.telekom.hu] has joined ##java [06:58]
bolovanos__ [bolovanos__!~bolovanos@unaffiliated/bolovanos] has joined ##java [07:00]
hotcoffee \bl [07:05]
MrFlibble [MrFlibble!Rimmer@94.14.182.161] has joined ##java [07:10]
Nnavd [Nnavd!~Nnavd@ec2-34-220-224-214.us-west-2.compute.amazonaws.com] has joined ##java [07:12]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [07:12]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [07:16]
EveryOS [EveryOS!uid454739@gateway/web/irccloud.com/x-dpycqyvvudokpsfz] has joined ##java [07:20]
tolarz parted the channel: "WeeChat 2.3" [07:23]
greenbottle [greenbottle!~mrsk@175.65.54.77.rev.vodafone.pt] has joined ##java [07:45]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [07:48]
LKoen_ [LKoen_!~LKoen@252.248.88.92.rev.sfr.net] has joined ##java [07:52]
trly [trly!~trly@75.76.197.107] has joined ##java [07:54]
EveryOS [EveryOS!uid454739@gateway/web/irccloud.com/x-oalgneupnjfjgxxg] has joined ##java [07:54]
dreamreal morning [07:59]
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [08:00]
zikani03 [zikani03!~zikani03@41.75.123.113] has joined ##java [08:04]
pepa [pepa!~pepa@109.134.105.212] has joined ##java [08:05]
pepa need assistance with this error please pastebin.com/W0paTsEf [08:06]
sdwrage [sdwrage!~textual@67.219.156.18] has joined ##java [08:06]
Maldivia pepa: is userRoles a ManyToMany? [08:11]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [08:12]
pepa Maldivia: onetomany [08:12]
pepa one user has many userRoles [08:14]
Maldivia did you join it in your criteria ? [08:15]
pepa the criteria is of class UserListPaginatedGridCriteria.... which has a pagination object of type PaginatedGridCriteria...which has a Filter object.... which has a list of Filter..... [08:20]
pepa one of the properties of that filter is the one I need to use for the filtering [08:21]
infinite_loop [infinite_loop!~rkeim@160-2-131-3.cpe.sparklight.net] has joined ##java [08:21]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [08:27]
aqd [aqd!~aqd@84.20.147.33] has joined ##java [08:31]
pepa need assistance with this error please pastebin.com/W0paTsEf [08:37]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [08:41]
dmlloyd [dmlloyd!uid331705@redhat/jboss/dmlloyd] has joined ##java [08:42]
dreamreal wina [08:45]
dreamreal pepa, Why is no one answering? 1) They don't know. 2) They don't care. 3) They're too busy. Constantly repeating your question won't help. If someone knows, maybe they'll answer. In the meantime, you should consult your search engine of choice. [08:45]
awmv [awmv!uid282297@gateway/web/irccloud.com/x-kyrisxnzucnrgacj] has joined ##java [08:47]
awmv [awmv!uid282297@gateway/web/irccloud.com/x-sbgmawnwaanhdqqd] has joined ##java [08:48]
bolovanos_ [bolovanos_!~bolovanos@unaffiliated/bolovanos] has joined ##java [08:49]
deavmi [deavmi!~tbk@2a04:5b81:2010::33] has joined ##java [08:51]
wedr [wedr!~tom_mai78@pool-108-20-128-8.bstnma.fios.verizon.net] has joined ##java [08:52]
gambl0re [gambl0re!~rickyjw@unaffiliated/gambl0re] has joined ##java [08:55]
SwiftMatt [SwiftMatt!~Objective@162.251.232.73] has joined ##java [08:58]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [09:14]
Cahaan [Cahaan!~Cahaan@55.166-245-81.adsl-dyn.isp.belgacom.be] has joined ##java [09:19]
seschwar [seschwar!~seschwar@unaffiliated/seschwar] has joined ##java [09:30]
mizi [mizi!~mizi@p200300ecf715a6006943bae37d984647.dip0.t-ipconnect.de] has joined ##java [09:32]
zikani03 [zikani03!~zikani03@41.75.123.113] has joined ##java [09:38]
Cahaan [Cahaan!~Cahaan@55.166-245-81.adsl-dyn.isp.belgacom.be] has joined ##java [09:39]
Cahaan_ [Cahaan_!~Cahaan@55.166-245-81.adsl-dyn.isp.belgacom.be] has joined ##java [09:40]
Sgeo [Sgeo!~Sgeo@ool-18b98aa4.dyn.optonline.net] has joined ##java [09:50]
Cahaan [Cahaan!~Cahaan@55.166-245-81.adsl-dyn.isp.belgacom.be] has joined ##java [09:52]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-obkjpkspijblnyqm] has joined ##java [09:54]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [10:01]
Cahaan_ [Cahaan_!~Cahaan@185.40.61.236] has joined ##java [10:05]
Peste_Bubonica [Peste_Bubonica!~Peste_Bub@unaffiliated/peste-bubonica/x-4612396] has joined ##java [10:30]
perrier-jouet [perrier-jouet!~perrier-j@modemcable012.251-130-66.mc.videotron.ca] has joined ##java [10:33]
Maldivia wait what... [mind blown emoji] https://download.java.net/java/early_access/jdk17/docs/api/java.base/java/util/HexFormat.html -- Java will finally get a class for formatting and parsing strings of hex digits! [10:39]
Maldivia Maldivia's title: "HexFormat (Java SE 17 & JDK 17 [build 10])" [10:39]
cheeser BLOAT! [10:40]
Smigwell [Smigwell!6057f801@96-87-248-1-static.hfc.comcastbusiness.net] has joined ##java [10:45]
pepa [pepa!~pepa@109.134.105.212] has joined ##java [10:49]
pepa can someone give me a hint on this error? pastebin.com/1VKksgJc [10:49]
cheeser looks like you have a null in there. [10:51]
pepa it's not null [10:51]
Cahaan [Cahaan!~Cahaan@55.166-245-81.adsl-dyn.isp.belgacom.be] has joined ##java [10:51]
Maldivia pepa: I already asked you if you are remmebering to join your userRoles in your query, because if you don't, it will be null [10:52]
cheeser oh, i guess, whatever that is just added null in that path for no reason then. my mistake. [10:52]
Maldivia but you didn't answer the question [10:52]
dreamreal well, something thinks it is [10:52]
pepa Maldivia: the join is done in the entity.... that is done.... anywhere else I might have to do the join? [10:53]
Maldivia pepa: are you doing the join in your criteria query, if not, you get null [10:53]
pepa I think this method listUsersByCriteria is actually building the query [10:55]
hnOsmium0001 [hnOsmium0001!uid453710@gateway/web/irccloud.com/x-egwwbykbvjogeigc] has joined ##java [10:55]
Maldivia well, then fix that method [10:55]
pepa but the line 12 is actually throwing the exception [10:55]
cheeser so fix *that* code [10:56]
pepa how [10:57]
pepa I know I have to fix the code [10:57]
cheeser i would expect that criteria busted like Maldivia has been saying. [10:58]
cheeser i'm not a JPA guy though so [10:58]
cheeser ¯\_(?)_/¯ [10:58]
dreamreal criteria queries involve lots of black magic; you're better off avoiding them, usually, unless you really know what you're doing. I'd ask yawkat for help with them, in ##java, but that assumes yawkat is around and you're willing to be nice to him in the process. [10:59]
pepa black magic and for that I need the kat? is it a black kat? [11:02]
dreamreal or you could do that and piss away people wanting to help you [11:02]
dreamreal shrugs [11:02]
pepa -D just joking [11:03]
cheeser less "joking" more thinking [11:03]
pepa uufff [11:03]
sdwrage [sdwrage!~textual@64.247.64.173] has joined ##java [11:04]
sdwrage [sdwrage!~textual@64.247.64.173] has joined ##java [11:11]
pepa it never really finishes building the query [11:12]
pepa it gets the exception in the middle [11:12]
pepa I guess it sees the user as null [11:12]
pepa but when I debug it, it shows a user [11:13]
Maldivia wonders if he should repeat himself for the 3rd time [11:13]
mbooth increases Maldivia's volume [11:13]
pepa yeah I know "fix the code" [11:13]
pepa "fix the error" [11:13]
Perform [Perform!perform@gateway/shell/xshellz/x-jsahcnsvgxflyjvp] has joined ##java [11:15]
mlt_ [mlt_!~mlt-@unaffiliated/mlt-] has joined ##java [11:16]
retroguy8000 [retroguy8000!~retroguy8@2804:14d:7683:80b3:8ca5:1ca4:98e2:3d3d] has joined ##java [11:17]
Maldivia Uhh, this seems interesting [11:20]
Maldivia jep 8261007 [11:20]
Maldivia 'JEP draft: Frozen Arrays (Preview)' can be found at http://openjdk.java.net/jeps/8261007 [11:20]
dreamreal pepa: you do realize maldivia asked you a question that has an answer [11:21]
dreamreal but you didn't answer it [11:21]
dreamreal maybe you don [11:21]
dreamreal maybe you don't, maybe you SHOULD realize it [11:21]
dreamreal but hey, you do you [11:21]
pepa which question, maybe my internet got cut [11:21]
dreamreal Maldivia | pepa: I already asked you if you are remmebering to join your userRoles in your query, because if you don't, it will be null [11:22]
dreamreal logs [11:22]
dreamreal pepa, channel logs can be found at http://javabot.evanchooly.com/ (Select the channel from the list on the left-hand side.) [11:22]
pepa yeah but that's a very vague comment [11:22]
pepa he's not saying how I could do that [11:22]
dreamreal he's asking a que... [11:23]
_lucifer ? [11:23]
retroguy8000 [retroguy8000!~retroguy8@2804:14d:7683:80b3:8ca5:1ca4:98e2:3d3d] has joined ##java [11:23]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [11:27]
mizi [mizi!~mizi@p200300ecf715a6006943bae37d984647.dip0.t-ipconnect.de] has joined ##java [11:29]
pepa parted the channel: [11:34]
DTZUZU_ [DTZUZU_!~DTZUZU@207.81.119.43] has joined ##java [11:37]
DTZUZU__ [DTZUZU__!~DTZUZU@205.ip-149-56-132.net] has joined ##java [11:38]
istlf [istlf!istlf@gateway/vpn/mullvad/istlf] has joined ##java [11:58]
mitch0 [mitch0!~mitch@178-164-190-1.pool.digikabel.hu] has joined ##java [12:11]
SirMangler [SirMangler!~SirMangle@host31-50-223-149.range31-50.btcentralplus.com] has joined ##java [12:14]
GnarlyBob [GnarlyBob!~chris@unaffiliated/gnarlybob] has joined ##java [12:14]
Nightwing52 [Nightwing52!~Thunderbi@67.7.4.167] has joined ##java [12:24]
droid3 [droid3!2f0ea8d8@047-014-168-216.res.spectrum.com] has joined ##java [12:30]
SirMangler [SirMangler!~SirMangle@host31-50-223-149.range31-50.btcentralplus.com] has joined ##java [12:41]
juuandyy [juuandyy!~juuandyy@90.106.228.121] has joined ##java [12:43]
SirMangler [SirMangler!~SirMangle@host31-50-223-149.range31-50.btcentralplus.com] has joined ##java [12:46]
droid3 [droid3!2f0ea8d8@047-014-168-216.res.spectrum.com] has joined ##java [12:56]
eedgit [eedgit!~textual@90.241.197.205] has joined ##java [12:59]
gambl0re [gambl0re!~rickyjw@unaffiliated/gambl0re] has joined ##java [01:02]
mizi [mizi!~mizi@p200300ecf715a6006943bae37d984647.dip0.t-ipconnect.de] has joined ##java [01:03]
richbridger [richbridger!~richbridg@089144194174.atnat0003.highway.a1.net] has joined ##java [01:08]
istlf [istlf!istlf@gateway/vpn/mullvad/istlf] has joined ##java [01:14]
istlf_ [istlf_!istlf@gateway/vpn/mullvad/istlf] has joined ##java [01:18]
tbcr parted the channel: [01:18]
tbcr [tbcr!~tbcr@75.183.195.9] has joined ##java [01:19]
nicoz- [nicoz-!~nicoz@unaffiliated/nicoz] has joined ##java [01:20]
gelignite [gelignite!~gelignite@55d4873b.access.ecotel.net] has joined ##java [01:22]
long4mud [long4mud!~u0_a254@rrcs-75-87-43-226.sw.biz.rr.com] has joined ##java [01:24]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [01:29]
juuandyy [juuandyy!~juuandyy@90.106.228.121] has joined ##java [01:29]
mizi [mizi!~mizi@p200300ecf715a6006943bae37d984647.dip0.t-ipconnect.de] has joined ##java [01:30]
dorne [dorne!d89a34d7@216.154.52.215] has joined ##java [01:32]
sdwrage [sdwrage!~textual@67.219.156.18] has joined ##java [01:38]
long4mud [long4mud!~u0_a254@rrcs-75-87-43-226.sw.biz.rr.com] has joined ##java [01:41]
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [01:46]
bolovanos__ [bolovanos__!~bolovanos@unaffiliated/bolovanos] has joined ##java [01:49]
grnman_ [grnman_!~grnman_@157.245.86.191] has joined ##java [01:55]
svm_invictvs [svm_invictvs!~svm_invic@unaffiliated/svminvictvs/x-938456] has joined ##java [02:01]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [02:03]
LionBar [LionBar!~l@gateway/tor-sasl/lionbar] has joined ##java [02:03]
svm_invictvs Okay, this is a bizarre one ... I get a ClassCastException in my code ... which doesn't make any sense ... [02:04]
svm_invictvs https://gist.github.com/ptwohig/2a88108540eb17dd1ad4080b150e09f7 [02:04]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [02:06]
svm_invictvs Would screwing up my hashCode/Equals in InstanceHostInfo cause that? [02:07]
cheeser does your stack trance end in hashCode/equals? [02:07]
svm_invictvs No [02:08]
cheeser then probably not [02:08]
svm_invictvs parted the channel: "Leaving" [02:08]
svm_invictvs [svm_invictvs!~svm_invic@unaffiliated/svminvictvs/x-938456] has joined ##java [02:08]
svm_invictvs cheeser, It's deep in the streams API [02:09]
svm_invictvs cheeser, It's in one of my predicates above. [02:09]
svm_invictvs cheeser, Rather, it doesn't make it to my code. Somehow it's trying to pass a string to a predicate and that causes the issue. I think. [02:13]
svm_invictvs I dunno [02:13]
svm_invictvs ReferencePIpeline.filter [02:13]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [02:13]
yawkat the error cannot happen in the stdlib, because the stdlib does not reference InstanceHostInfo [02:14]
yawkat show the full stack trace [02:14]
yawkat (it could happen in the lambda) [02:14]
svm_invictvs It's not happening in the lambda. It' shappening as the stdlib calls the lambda. [02:17]
yawkat show the full stack trace [02:17]
Fiji [Fiji!94091824@unaffiliated/fiji] has joined ##java [02:18]
Hallcyon [Hallcyon!~Hallcyon@116-255-6-3.ip4.superloop.com] has joined ##java [02:18]
svm_invictvs yawkat, One sec. I will. But I have it caught red-handed on a breakpoint. I dont' want to lose that lol [02:19]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [02:25]
mizi [mizi!~mizi@p200300ecf715a6006943bae37d984647.dip0.t-ipconnect.de] has joined ##java [02:30]
istlf [istlf!istlf@gateway/vpn/mullvad/istlf] has joined ##java [02:32]
Nahra [Nahra!~Nahra@unaffiliated/nahra] has joined ##java [02:36]
Joel devooops guy here. search terms I'm using aren't hitting. java app running in tomcat, is it possible to performance profile a running app? I would love a great article or two to read, or good search terms I can use to educate myself some more [02:38]
Perform parted the channel: [02:38]
_lucifer jfr [02:39]
_lucifer Java Flight Recorder (JFR) is a tool for collecting diagnostic and profiling data about a running Java application: https://docs.oracle.com/javacomponents/jmc-5-4/jfr-runtime-guide/toc.htm [02:39]
Joel _lucifer thanks! [02:39]
tang^ I got a bunch of nice hits from "tomcat profile performance" [02:39]
ernimril Joel, just starting jvisualvm can also give some insights, but be careful about actually profiling with it, it can affect performance a lot [02:40]
Joel tang^ thanks, will try that as well. [02:40]
Joel ernimril yes, I've always had a keen sense profiling will have a big hit. The JFR looks like it won't, but it sounds like it's also a for pay thing. [02:40]
ernimril Joel, what problems are you looking for? cpu usage? memory usage? network load? ...? [02:40]
tang^ Joel: jfr used to be for pay [02:41]
_lucifer its still for pay for use in production iirc [02:41]
Joel ernimril just trying to get a handle where an app is spending most of it's time, so I can better tune systems to support. [02:42]
Joel if I can pick out inefficient bits of code, and suggest improvements, that would be great too. [02:42]
ernimril Joel, unless you are a great developer that knows a lot about the applications that is quite unlikely. Most normal developers can not profile and figure out what is happening. Normally you need to know the data structures and algorithms in question to actually be able to interpret the results [02:44]
ernimril Joel, now, I fully support you, we need more devops that knows stuff, but try to keep it realistic :-) [02:44]
svm_invictvs yawkat, Well shit. It was a combination of generics abuse and bad conversions in my DI Container. A Set<InstanceHostInfo> was actually populated as a Set<String> [02:45]
cheeser svm_invictvs: i figured as such [02:45]
Mrbuck [Mrbuck!~Mrbuck@gateway/tor-sasl/mrbuck] has joined ##java [02:46]
Joel ernimril I once knocked 4 hours off a 12 hour run time of a ruby app, run through jruby, by changing checking if a hash key was 1, to just checking if the hash key was existed. csv file, done for every cell, on a 1TB file. [02:47]
Mrbuck Hi I saw some professor dislike jetbrains idea and at the same time even in oracle page they mentioned eclipse,netbeans even some bluej but not jetbrans idea why? Where as idea is famous within IRC and other place [02:47]
Joel I think I'll be fine. [02:47]
cheeser Mrbuck: not really a question for here. [02:48]
Mrbuck cheeser: any other place where I can discuss this? i want to know if java communitythink any problems/bad practises using idea..I forgot and lost the video of that profesoor ehere he mentioned something [02:51]
svm_invictvs cheeser, Yeah, it was just a really convoluted set of steps to find it lol. [02:51]
freeone3000 [freeone3000!~freeone30@Syncleus/dev/freeone3000] has joined ##java [02:51]
yawkat Mrbuck: nothing wrong with using idea... but it's really not an interesting discussion [02:52]
Mrbuck ok [02:52]
dreamreal Mrbuck: probably because IDEA was a commercial product for a while [02:52]
dreamreal now it has a community/free edition so the objections are stupid [02:52]
Mrbuck dreamreal: ok [02:52]
dreamreal "how dare they want to make money from a kickass product" is typical [02:53]
Mrbuck dreamreal: I searched and found that professor says with inteelij that there are some extra annotations that added which is not the code beng developed but type of methodsor parameters in functions and so on" he claims good programmer doesn't need them. I am new to java and Ide so I ask it here [03:03]
ShekharReddy [ShekharReddy!uid132367@gateway/web/irccloud.com/x-ukhexquehmtqgsca] has joined ##java [03:03]
dreamreal the prof is practicing onanism [03:03]
AmVarPG [AmVarPG!~amvarpg@pool-100-36-155-137.washdc.fios.verizon.net] has joined ##java [03:05]
cheeser again, not here. [03:06]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [03:08]
dreamreal practicing onanism here would be gross [03:10]
Mrbuck parted the channel: "WeeChat 1.9.1" [03:18]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [03:20]
istlf [istlf!istlf@gateway/vpn/mullvad/istlf] has joined ##java [03:28]
AmVarPG [AmVarPG!~amvarpg@pool-100-36-155-137.washdc.fios.verizon.net] has joined ##java [03:35]
acidjnk_new [acidjnk_new!~acidjnk@p200300d0c7390990100579feb774bab7.dip0.t-ipconnect.de] has joined ##java [03:37]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [04:00]
nkz [nkz!~nkz@31.223.129.100] has joined ##java [04:31]
Maldivia [Maldivia!~maldivia@nyx.duckpond.dk] has joined ##java [04:52]
Smigwell [Smigwell!~Smigwell@ec2-52-207-160-196.compute-1.amazonaws.com] has joined ##java [04:53]
Smigwell parted the channel: [04:53]
Smigwell [Smigwell!~Smigwell@ec2-52-207-160-196.compute-1.amazonaws.com] has joined ##java [04:53]
Smigwell parted the channel: [04:56]
svm_invictvs dreamreal, We don't like intellij now? [04:57]
Diablo-D3 boo! [05:03]
adder parted the channel: "Leaving" [05:08]
skao [skao!~skao@unaffiliated/skao] has joined ##java [05:13]
ron- [ron-!~ron@unaffiliated/ron] has joined ##java [05:16]
LifeOnMars [LifeOnMars!~Boo@140.82.44.94] has joined ##java [05:18]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [05:23]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-tytajkaqktamnirt] has joined ##java [05:27]
humanface [humanface!5400973d@5400973D.dsl.pool.telekom.hu] has joined ##java [05:32]
moldorcoder7 [moldorcoder7!~moldorcod@206.166.251.59] has joined ##java [05:49]
bolovanos_ [bolovanos_!~bolovanos@unaffiliated/bolovanos] has joined ##java [05:49]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [07:19]
ricky_clarkson [ricky_clarkson!~rjclarkso@unaffiliated/rickyclarkson/x-000000001] has joined ##java [07:23]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [07:33]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [07:36]
grantsmith [grantsmith!~grantsmit@unaffiliated/grantsmith] has joined ##java [07:47]
mlt` [mlt`!~mlt-@unaffiliated/mlt-] has joined ##java [08:14]
db [db!uid18678@gateway/web/irccloud.com/x-idfuydocsafemlav] has joined ##java [08:20]
Maldivia https://twitter.com/chriskalmar/status/1363759778858729482?s=19 [08:27]
Maldivia Maldivia's title: "Chris Kalmar ? TypeScript on Twitter: "Serious productivity boost for reading code on GitHub. 1??. Go to any repo you are interested in on GitHub. 2??. Replace "github" with "github1s" (one + s) in the browser address bar. 3??. Enjoy ..." [08:27]
Maldivia this is very cool [08:27]
Maldivia example: https://github1s.com/openjdk/jdk [08:29]
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [09:04]
DataComputist [DataComputist!~lumeng@50.43.26.251] has joined ##java [09:05]
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [09:07]
cheeser Maldivia++ [09:16]
cheeser maldivia has a karma level of 318, cheeser [09:16]
DataComputist [DataComputist!~lumeng@50.43.26.251] has joined ##java [09:21]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [09:25]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [09:43]
Quick_Wango [Quick_Wango!~quickwang@static-ip-62-113-199-104-inaddr.cubyte.org] has joined ##java [09:55]
Quick_Wango [Quick_Wango!~quickwang@static-ip-62-113-199-104-inaddr.cubyte.org] has joined ##java [09:59]
newpy [newpy!~newpy@2602:ffc6:200:ce::1c3c] has joined ##java [10:14]
newpy I am using "%-20d" to format strings for each row, but positive numbers to be shifted one space to the right (so the numbers line up and negative signs stick out a bit) [10:16]
newpy is this doable? (obviously don't want to write a whole function, this is just a slight ocd tick) [10:17]
db uhm. how about %-21d ? [10:18]
db no wait let me try this ;) [10:19]
dec0d3r [dec0d3r!~dec0d3r@2001:8003:4808:9000:5f63:4185:4213:fdf7] has joined ##java [10:20]
db newpy: I think what you're looking for is just %20d . [10:21]
db that would right-alight the numbers [10:21]
newpy db, oh that's right haha [10:21]
db the - left-aligns them, it's not about the sign [10:21]
db ok [10:21]
newpy yes I knew - left aligns, just didn't consider I could just right align [10:21]
db ok [10:21]
newpy I thought that would create a "jagged" border on the left, but all the #'s are the same length [10:22]
gambl0re [gambl0re!~rickyjw@unaffiliated/gambl0re] has joined ##java [10:37]
newpy can anyone tell me why the first println shows but the second one doesn't? https://paste.ee/p/v23bf [10:43]
newpy newpy's title: "Paste.ee - View paste v23bf" [10:43]
newpy hmm, actually when I put that pastee in onlinegdb the second line does print, must be something afterwards messing with it [10:45]
upgrdman [upgrdman!~upgrdman@blender/artist/upgrdman] has joined ##java [10:50]
karstensrage [karstensrage!~karstensr@unaffiliated/karstensrage] has joined ##java [10:55]
karstensrage parted the channel: "Leaving" [10:58]
karstensrage [karstensrage!~karstensr@unaffiliated/karstensrage] has joined ##java [10:59]
darkstardev13 [darkstardev13!~darkstard@c-24-21-53-33.hsd1.or.comcast.net] has joined ##java [11:05]
LionBar [LionBar!~l@gateway/tor-sasl/lionbar] has joined ##java [11:08]
forgottenone [forgottenone!~forgotten@176.42.18.230] has joined ##java [11:48]