Info

Login

Channels

APIs

Credits

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

« 2019-01-11

2019-01-12

2019-01-13 »

Nick Message Date
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [12:07]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:09]
rkazak [rkazak!~rkazak@c-71-202-98-21.hsd1.ca.comcast.net] has joined ##java [12:19]
Gr33ntea [Gr33ntea!~Gr33ntea@pool-108-5-230-2.nwrknj.fios.verizon.net] has joined ##java [12:20]
Gr33ntea Hi could someone explain to me when I should use Abstract classes over Interfaces? I'm seeing conflicting things online. So I'm beyond confused. [12:21]
SJr Before Java 8, Abstract classes were very common to provide base types for Interfaces. [12:23]
mr_lou [mr_lou!~misthalos@085083077157.dynamic.telenor.dk] has joined ##java [12:23]
SJr If you wanted to implement say the List interface, you could use the abstract class AbstractList, it would simplify the implementation. For instance, instead of having to implement size() and isEmpty() the abstract class could implement isEmpty() by calling size(), and it would save you the call. [12:24]
SJr It would save you writing your own method and simplify the implementation. Same with a lot of overloaded methods. [12:24]
SJr Java 8 provides for default methods, which let you specify default implementations at the interface level instead so the need for an abstract parent type is _somewhat_ lessened. [12:25]
SJr There are some things you can't do with interfaces, for instance if you are implementing the decorator pattern, you would almost certainly have an abstract decorator type, because you can't (well shouldn't) use an interface for it. [12:26]
SJr I guess what I would say is that abstract classes are used to provide things for implementations, and interfaces are to provide things to callers, if that makes sense. [12:27]
metrixx [metrixx!~metrixx@unaffiliated/metrixx] has joined ##java [12:30]
Gr33ntea I'm looking up the decorator pattern thing, but i think I get what you're saying for the most part. Thank you for the explanation! [12:31]
SJr The decorator pattern is my favorite pattern. [12:32]
SJr But yeah in terms of a rule of thumb, I think I can say that outside of the abstract class itself, the only time you should see it referenced is in children that are extending it. Clients shouldn't reference the abstract class normally, and should use the interface. [12:33]
SJr There are probably exceptions of classes that have no interfaces only an abstract class, but those would be rare and kind of annoying. [12:34]
SJr Another pattern to look at is the Template method pattern, as it is all about abstract classes. [12:34]
Gr33ntea The decorator design pattern seems like a patch to a problem caused by OOP. Sometimes I really wonder about OOP. [12:39]
SJr What problem? [12:40]
SJr The decorator pattern is liquid awesomeness. [12:40]
Gr33ntea So I might have the wrong impression here but, it seems to boil down in the following manner. If you have a class that wants the features of 2 separate classes then you are a bit out of luck. And the decorator seems to fix that by allowing you to dynamically change what an object can do. [12:42]
Gr33ntea It seems it would just be better to have structs, and then write methods that are usable by structs [12:42]
Gr33ntea im still reading though, so I may be misguided. [12:43]
SJr I think the thing maybe that you don't see is that it allows you to do it dynamically. [12:44]
Xgc [Xgc!~Jon@98.1.126.42] has joined ##java [12:44]
SJr In one system I built, I had about 30-40 different decorators of an interface that did all sorts of sexy transforms. [12:44]
SJr They compose very nicely and allow independence. [12:44]
Gr33ntea Hm, okay I think I will understand a bit better afraid reading all this. [12:45]
SJr I'm not a strong C/C++ person, but I think if you mean just have a C struct with function pointers, you are still stuck to the fixed state that you have in the struct to manipulate. A decorator allows you to add state. [12:45]
SJr I'd recommend reading either Head First Design Patterns, or the Gang of Four book. [12:46]
Gr33ntea Could you give me an example of when you'd want to dynamically add a state instead of just having it from the get go [12:46]
SJr So the program I wrote, basically had an interface with two methods, double executeCommand(String cmd); and void executeCommandAsync(String cmd, Consumer<Double> callback); [12:50]
SJr This was for a machine learning project where we want to measure program runtime to optimize the configuration. [12:51]
SJr So the methods basically execute the command which takes the configuration in it, and then returns the runtime. [12:51]
SJr The executeCommandAsync() basically returns immediately and calls the callback with the result when it has the answer. [12:52]
SJr Now this interface was implemented by a few different implementations, including running a command locally, running over SSH, running via a cluster, etc.... [12:53]
SJr Some callers wanted different semantics however on executeCommandAsync(), in particular they wanted the ability to cap the number of calls to executeCommandAsync() that could be done concurrently. [12:54]
SJr Essentially making it a bounded queue, instead of an unbounded one. [12:54]
SJr So there was a decorator that had a counter in it and after the limit was hit, it blocked subsequent calls until a callback was fired. [12:54]
SJr So instead of polluting the interface with more methods, or forcing every implementation to implement this queueing behaviour a decorator was able to do it. [12:56]
Gr33ntea but since only tht 1 implementer wanted it, couldn't he just have added it to only his implementation of the interface? [12:57]
SJr The person who wanted this was based on the client, not on the implementation. [12:58]
Gr33ntea tht way every1 doesn't have to implement it [12:58]
Gr33ntea oh hmmm [12:58]
SJr It's a client requirement, they don't want that many requests to be sent out, but they don't want to waste the time to manage it. [12:58]
SJr Instead of making the caller or the callee do something, the decorator pattern lets you spare both of them. [12:59]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [01:00]
Gr33ntea eh I don't think im still fully sold on it [01:01]
Gr33ntea but tht may be just due to my lack of experience [01:02]
SJr Well I must go to bed, but I'd recommend reading the books. [01:02]
SJr They will rock your world. [01:03]
Gr33ntea sleep well [01:03]
boshhead [boshhead!~quassel@unaffiliated/boshhead] has joined ##java [01:04]
t2mkn [t2mkn!~t2mkn@43.226.3.144] has joined ##java [01:20]
mindCrime [mindCrime!~mindCrime@cpe-98-27-61-219.nc.res.rr.com] has joined ##java [01:27]
palasso [palasso!~palasso@unaffiliated/palasso] has joined ##java [01:43]
t2mkn [t2mkn!~t2mkn@43.226.3.144] has joined ##java [02:04]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [02:16]
zulutango [zulutango!~zulutango@static-n49-176-171-248.mas2.nsw.optusnet.com.au] has joined ##java [02:27]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [02:29]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [02:45]
rippa [rippa!~rippa@ppp-vpdn-37.1.85.157.yarnet.ru] has joined ##java [02:53]
keepLearning512 [keepLearning512!~keepLearn@49.207.50.88] has joined ##java [02:55]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [03:01]
led_dark_1 [led_dark_1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [03:06]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [03:09]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [03:11]
karab44 [karab44!~karab44@unaffiliated/karab44] has joined ##java [03:15]
sigtrm [sigtrm!quassel@quassel.woboq.de] has joined ##java [03:17]
sauvin [sauvin!~sauvin@about/linux/staff/sauvin] has joined ##java [03:19]
ra4king I need help with my JavaFX program on Java 11 [03:20]
ra4king I have a simple JAR, but even after installing both Java 11 and JavaFX, it still doesn't run, complaining about not finding the JavaFX Application [03:20]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [03:31]
keepLearning512 [keepLearning512!~keepLearn@49.207.50.88] has joined ##java [03:36]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [03:39]
comrad [comrad!~comrad@holarse/core/comrad] has joined ##java [03:40]
maryo [maryo!~Maryo@unaffiliated/maryo] has joined ##java [03:48]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [03:51]
funeral [funeral!~Funeral@169.89-10-117.nextgentel.com] has joined ##java [03:57]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [04:00]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [04:05]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [04:06]
echoSMILE [echoSMILE!~echoSMILE@unaffiliated/echosmile] has joined ##java [04:15]
_BIGSHOT_ [_BIGSHOT_!~big__@unaffiliated/niceguy00] has joined ##java [04:16]
_BIGSHOT_ why is this column's cell not getting updated? https://www.hastebin.com/edicasonis.cs [04:20]
fotato Have you stepped through it in a debugger? [04:21]
fotato Also... did you post c# in a java channel? [04:22]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [04:22]
yawkat no, thats java [04:22]
_BIGSHOT_ it is javaf [04:22]
fotato Ah. The extension was throwing me off. [04:22]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [04:23]
_BIGSHOT_ fotato, i want to change color fo symbolColumn based on "rowResult()" values [04:23]
irdr [irdr!irdr@137.204.76.34.bc.googleusercontent.com] has joined ##java [04:24]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [04:26]
_BIGSHOT_ yawkat, dawg can you tell why this simple cell updating code is not working? [04:27]
yawkat no, because youre an asshole [04:27]
_BIGSHOT_ anyone? [04:28]
_BIGSHOT_ la la la de dum dum [04:29]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [04:30]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [04:33]
_BIGSHOT_ anyone alive? [04:38]
esro [esro!~esro@95.155.114.211] has joined ##java [04:42]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [04:43]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [04:47]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [04:48]
iam730 [iam730!~iam730@104.143.92.66] has joined ##java [04:53]
gischy [gischy!~gischy@unaffiliated/gischy] has joined ##java [04:53]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [04:54]
Anthaas [Anthaas!~Anthaas@unaffiliated/anthaas] has joined ##java [04:54]
Munnu [Munnu!~timo@91-158-153-244.elisa-laajakaista.fi] has joined ##java [04:56]
funeral [funeral!~Funeral@37.120.149.43] has joined ##java [05:00]
realtime_ [realtime_!realtime@gateway/vpn/privateinternetaccess/realtime] has joined ##java [05:05]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:06]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [05:07]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [05:08]
thief [thief!realtime@gateway/vpn/privateinternetaccess/realtime] has joined ##java [05:09]
Ard1t [Ard1t!~ard1t@unaffiliated/ard1t] has joined ##java [05:10]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:12]
_BIGSHOT_ why is code not reaching on line "39"? https://www.hastebin.com/agitupahin.cs [05:14]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:17]
qwedfg [qwedfg!~adam@194.177.28.158] has joined ##java [05:24]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [05:28]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:29]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [05:30]
fatdragon [fatdragon!~fatdragon@cpe-107-184-107-243.socal.res.rr.com] has joined ##java [05:32]
Tobbi [Tobbi!~Tobbi@supertux/tobbi] has joined ##java [05:33]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:35]
thief [thief!realtime@gateway/vpn/privateinternetaccess/realtime] has joined ##java [05:36]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:41]
trebuh [trebuh!~trebuh@unaffiliated/trebuh] has joined ##java [05:50]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [05:50]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [05:57]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:03]
qwedfg [qwedfg!~adam@194.177.28.158] has joined ##java [06:07]
Essadon [Essadon!~Essadon@81-225-32-185-no249.tbcn.telia.com] has joined ##java [06:08]
Essadon [Essadon!~Essadon@81-225-32-185-no249.tbcn.telia.com] has joined ##java [06:08]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:09]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [06:10]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:d34:46e3:be7f:ad5d] has joined ##java [06:12]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:14]
maryo [maryo!~Maryo@unaffiliated/maryo] has joined ##java [06:21]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [06:22]
lightslategrey [lightslategrey!~lightslat@188.234.12.124] has joined ##java [06:25]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:25]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:31]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [06:31]
nbro [nbro!~nbro@2a02:aa13:3100:6000:94c9:6907:5786:c09] has joined ##java [06:33]
bobek_ _BIGSHOT_, put a break point on line 38 [06:34]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:36]
enoq [enoq!~enoq@2a02:8388:6a87:b080:649f:9456:c1b1:28e4] has joined ##java [06:37]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:41]
t2mkn [t2mkn!~t2mkn@43.226.2.116] has joined ##java [06:42]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:46]
_BIGSHOT_ bobek_, why is r.size() staying 0 always? [06:51]
_BIGSHOT_ private static List<MyRow> r = new ArrayList<>(); <-- this is how i've declared r [06:51]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [06:52]
_BIGSHOT_ what should the declaration of r be so that JavaFX's arraylist gives size? [06:52]
_BIGSHOT_ r arraylist gets filled when a button is pressed! [06:52]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [06:52]
Addax show us [06:55]
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. [06:55]
_BIGSHOT_ OK i've got two threads reloadWeeklySym.restart(); [06:57]
_BIGSHOT_ reloadMonthlySym.restart(); i want to run a piece of code only after both the threads have "succeeded"! how to do that? [06:57]
_BIGSHOT_ reloadWeeklySym.setOnSucceeded(e -> {..}); <-- i can do this but i want both the threads to have Succeeded! [06:57]
_BIGSHOT_ only then execute "common" piece of code [06:58]
Addax have one wait on the other, use an executor service to watch for their status [06:58]
Addax (the executor service is a better idea) [06:58]
_BIGSHOT_ Addax, can you give an example on how to use ExecutorService to execute two threads "reloadWeeklySym.restart() && reloadMonthlySym.restart()" and then execute a common piece of code [07:00]
_BIGSHOT_ execute common code only if above two threads have succeeded [07:01]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:02]
Addax List<Future<Boolean>> results=new ArrayList<>(); Executor e=newFixedThreadPool(2); results.add(e.submit( { reloadWeeklySym.restart(); })); results.add(e.submit( { reloadMonthlySym.restart(); })); e.shutdown(); shutDownExecutor(e); if(results.size()==2) { /* both finished successfully */ } [07:04]
Addax shutDownExecutor(e) is a fairly involved bit of code, look up ExecutorService' api docs [07:05]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [07:06]
_BIGSHOT_ Addax, can i do this ;;; reloadWeeklySym.setOnSucceeded(e -> {reloadMonthly.setOnSucceeded(m -> {//common code})); [07:07]
Addax chain the calls? sure, why not. I don't know your API. [07:07]
_BIGSHOT_ k [07:07]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:07]
echoSMILE [echoSMILE!~echoSMILE@unaffiliated/echosmile] has joined ##java [07:08]
nivU0r hi, it is posible to bypass the auth credentials in this repo ? https://github.com/springframeworkguru/springbootwebapp.git for use the classes in other repo [07:08]
nivU0r nivU0r's title: "GitHub - springframeworkguru/springbootwebapp: Spring Boot Web Application" [07:08]
Addax bypass the auth credentials ... in what manner [07:09]
Addax the repo's open, it requires no auth [07:09]
nbro [nbro!~nbro@2a02:aa13:3100:6000:1d0e:3566:2315:e4ab] has joined ##java [07:09]
nivU0r using just the classes in other proyct, coz when i use this one it require authentication somewhere [07:09]
Addax show me an example of the class you want to use in another project [07:10]
nivU0r Addax i could share by query if you want [07:10]
Addax no thank you [07:11]
nivU0r np [07:11]
Addax anyway, the source is right there, there's nothing preventing you from removing security credential stuff if you want [07:11]
nivU0r Addax , how exactly ? [07:12]
Addax find the lines that concern security, delete them [07:12]
nivU0r because i dont kwno if it is a class or library ... [07:12]
nivU0r hmm.. i cant find them [07:12]
Addax well, since you're not interested in showing me what you're talking about, I can't tell you [07:12]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:13]
nivU0r i cold share but i need to upload frist, givme a few mins [07:13]
nivU0r could* [07:13]
Addax why not show me a class from that repo? It's a simple URL [07:13]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [07:13]
t2mkn [t2mkn!~t2mkn@43.226.2.116] has joined ##java [07:16]
paddyez [paddyez!~paddyez@wikipedia/paddyez] has joined ##java [07:16]
nivU0r erm.. i cant upload mine atm, could you tell me what lines concern to that security ??? [07:16]
Addax IN WHAT CLASS [07:16]
nivU0r the classes am i interested are product controller [07:17]
Addax oh, so you want me to find which class it is, in a project with which I'm totally and completely unfamiliar [07:17]
Addax no thank you, I have stuff of my own to do [07:17]
_BIGSHOT_ Addax, https://www.hastebin.com/levabiqiho.cs only WEEKLYLDOWNLOADING! is executing ! monthly downloading is not getting printed by system.out [07:19]
DLSteve [DLSteve!~DLSteve@199.185.175.80] has joined ##java [07:19]
Addax _BIGSHOT_: well, is it being called properly [07:20]
_BIGSHOT_ ? [07:20]
_BIGSHOT_ reloadMonthly.restart() and reloadWEekly.restart() [07:20]
Addax sighs. Breakpoints. [07:21]
_BIGSHOT_ reloadWeeklySym.restart(); [07:21]
_BIGSHOT_ reloadMonthlySym.restart(); [07:21]
_BIGSHOT_ above gets executed when button is pressed [07:21]
_BIGSHOT_ and i have nested onsucceded code in initialize block [07:21]
_BIGSHOT_ Addax, maybe i should call 'restart()' some other way? [07:23]
Addax I dunno, I still haven't seen your actual code for the processes, and like I just told nivU0r I have stuff of my own I need to get done [07:23]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:24]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [07:25]
nivU0r np, thanks! [07:28]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:29]
Mimicize [Mimicize!~mime@unaffiliated/mimicize] has joined ##java [07:32]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:34]
niceGuy00_ [niceGuy00_!~big__@unaffiliated/niceguy00] has joined ##java [07:34]
surial _BIGSHOT_: write a complete self-contained test case (one that starts at 'main' and somewhere in its run ends up doing the thing that you're asking a question about), paste it (that hastebin link expired or doesn't work), explain what happens (include stack traces / compiler errors, make sure the line numbers match up), explain what you wanted to happen. [07:36]
surial Alternatively, don't do any of those things, and I'll join Addax in yelling at you. We are here to serve :) [07:36]
Addax I'm not yelling at anyone [07:36]
waz does someone need yelling at!? [07:38]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:40]
Addax gosh, you guys sound like a bunch of vogons: "Is there an opportunity for yelling! Yeehaw!" [07:41]
surial Addax: look at what you did. You yelled so effectively, _BIGSHOT_'s router went into protective mode and disconnected. [07:41]
ericek111 [ericek111!~ericek111@109-230-55-69.dynamic.orange.sk] has joined ##java [07:43]
waz if only it were that easy [07:43]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:45]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:50]
Addax From reddit: a programmer was arrested for writing unreadable code. He refused to commnt. [07:52]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [07:55]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:01]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:06]
maryo [maryo!~Maryo@unaffiliated/maryo] has joined ##java [08:07]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [08:12]
Regon [Regon!~Regon@unaffiliated/regon] has joined ##java [08:13]
gelignite [gelignite!~gelignite@55d4528f.access.ecotel.net] has joined ##java [08:16]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:17]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:22]
niceGuy00_ in JavaFX i am trying to fil up "R" but its size always remains ZERO!!! THIS >> is how i've declared "R" final ObservableList<GetDividends> saveDividend = FXCollections.observableArrayList(); [08:23]
niceGuy00_ private List<MyRow> R = new ArrayList<>(); [08:23]
niceGuy00_ fill [08:23]
Addax where's the "fill" part of this [08:24]
niceGuy00_ inside event of button [08:25]
Addax This sounds a lot like _bigshot_ [08:25]
niceGuy00_ mr = new MyRow(datam.get(i).getSymbolProperty(), data.get(i), dataw.get(i), datam.get(i)); [08:25]
niceGuy00_ R.add(mr); [08:25]
Addax maybe you should show us your actual code [08:26]
niceGuy00_ Addax, hastebin is not working [08:26]
Addax and not fragments of it [08:26]
Addax pastebin [08:26]
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:26]
niceGuy00_ https://glot.io/snippets/f8gzmhp8ux Addax [08:26]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [08:26]
niceGuy00_ Addax, after for loop R.size() Always stays ZERO!! [08:27]
Addax from line 23 in the paste? [08:27]
niceGuy00_ yes [08:28]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:28]
Addax you should paste your code so people can see it [08:28]
niceGuy00_ hastebin was not working that's why [08:28]
Addax but I don't see anything offhand in that code that would fail to mutate R, although running code like that in an event is likely to crush your UI [08:28]
Addax what does a debugger show you [08:29]
niceGuy00_ data.get(i).getSymbolProperty().equals(datam.get(i).getSymbolProperty().equals(dataw.get(i).getSymbolProperty()) <-- [08:29]
Addax what about it [08:29]
niceGuy00_ it never allows code to go further [08:29]
Addax what does it do [08:30]
niceGuy00_ nvm [08:30]
Addax okay [08:30]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:33]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:38]
noodlepie [noodlepie!~Phillip@94.197.120.124.threembb.co.uk] has joined ##java [08:43]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [08:44]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:54]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [08:59]
qwedfg [qwedfg!~adam@194.177.28.158] has joined ##java [09:01]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [09:03]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:04]
DonRichie [DonRichie!~DonRichie@ricl.de] has joined ##java [09:04]
acidjnk [acidjnk!~acid@mue-88-130-58-109.dsl.tropolys.de] has joined ##java [09:05]
Tobbi [Tobbi!~Tobbi@supertux/tobbi] has joined ##java [09:16]
led1 [led1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [09:16]
led1 [led1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [09:19]
adder` [adder`!~adder@gateway/tor-sasl/adder] has joined ##java [09:19]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:21]
suvdev [suvdev!9d2481a4@gateway/web/freenode/ip.157.36.129.164] has joined ##java [09:23]
suvdev One question for all, I have never seen any professional programmer suggesting for any udemy, udacity, etc course, why it is so? [09:23]
CAPITANOOO [CAPITANOOO!~CAPITANOO@185.192.137.15] has joined ##java [09:24]
yawkat presumably these platforms are too young so any professional programmer wouldnt have an opinion on it [09:25]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:26]
suvdev Yawkat but they suggest more young tutorials than these courses, like reading docs, do we still believe in self study just like in previous times? [09:29]
yawkat Why not? [09:29]
suvdev The answer is yes [09:30]
suvdev Yawkat do you know android too? [09:30]
suvdev I can see you in android-dev [09:30]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:31]
yawkat yes [09:33]
Addax docs are... more young than udemy and udacity? [09:33]
Addax suvdev: the thing is, if udemy etc work for you, they work for you, be happy [09:33]
Addax if you learn something from them, they've added value, you've won (assuming the cost isn't higher than the value you think you've gained) [09:34]
Addax I think I've the magic touch today, in a bad way: everyone I talk to pings out [09:36]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:36]
Lymia [Lymia!lymia@magical.girl.lyrical.lymia.moe] has joined ##java [09:39]
noodlepie [noodlepie!~Phillip@94.197.120.124.threembb.co.uk] has joined ##java [09:40]
noodlepie [noodlepie!~Phillip@94.197.120.124.threembb.co.uk] has joined ##java [09:41]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:41]
nbro [nbro!~nbro@2a02:aa13:3100:6000:1d0e:3566:2315:e4ab] has joined ##java [09:45]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:47]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [09:52]
TimeTrap [TimeTrap!~TimeTrap@2601:44:c500:65f4:7d39:b82f:8c72:22a5] has joined ##java [09:54]
Pieter12345 [Pieter12345!~Pieter123@143.177.73.152] has joined ##java [10:04]
esro [esro!~esro@95.155.114.211] has joined ##java [10:05]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [10:05]
befuddled [befuddled!~befuddled@36.255.8.86] has joined ##java [10:06]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:06]
GreyFaceNoSpace [GreyFaceNoSpace!~omar@95.157.26.203] has joined ##java [10:15]
noodlepie [noodlepie!~Phillip@94.197.120.124.threembb.co.uk] has joined ##java [10:16]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [10:18]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:23]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:28]
wi15ht [wi15ht!~w17t@unaffiliated/w17t] has joined ##java [10:31]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:33]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [10:36]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:38]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [10:40]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:43]
nbro_ [nbro_!~nbro@2a02:aa13:3100:6000:c12:763e:90a9:c129] has joined ##java [10:46]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [10:58]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:03]
noodlepie [noodlepie!~Phillip@94.197.121.251.threembb.co.uk] has joined ##java [11:07]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:08]
rohanrhu [rohanrhu!~rohanrhu@88.247.6.223] has joined ##java [11:12]
rohanrhu hi [11:12]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:13]
rohanrhu how can i access a static method's local variable from inner class? [11:13]
Addax depends on the class organization. [11:15]
Addax In general, don't do that. You can sort of do it from a lambda, but the "static" part is irrelevant in that case [11:16]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:19]
surial rohanrhu: Uh, not sure what Addax was going on about, but, local variables can be accessed from inside that method and that's that. They cease to exist the moment said method ends, and they cannot be accessed from anywhere else. [11:19]
surial rohanrhu: Unless your inner class is inside said method, of course. [11:20]
Addax surial: I was going on about what you just said. [11:20]
Addax But since I had no information about how his classes were organized, I didn't hazard an unwarranted guess. [11:20]
Opus [Opus!~opus@2600:1700:31f0:8180:a9d7:8966:b868:3203] has joined ##java [11:21]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:24]
_BIGSHOT_ [_BIGSHOT_!~big__@unaffiliated/niceguy00] has joined ##java [11:24]
noodlepie [noodlepie!~Phillip@94.197.121.251.threembb.co.uk] has joined ##java [11:27]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:29]
_BIGSHOT_ hello https://glot.io/snippets/f8h4nlxnu9 <-- i have this code to change color of symbolColumn cells, problem is when i "sort" the symbolColumn by clicking on the heading of table, "color of cells changes randomly"!!!, how to fix it so that color and cell value stick to each other even after pressing the heading of symbolColumn for sorting cell values? [11:31]
Addax _BIGSHOT_: this sounds like you're really struggling to understand your own program. You've been asking a lot of repetitive questions about basically the same bit of code today. [11:31]
_BIGSHOT_ Addax, no everything is working smooth now only thing is when i sort the column colors don't stick to values as they should!!! [11:32]
Addax well, why? [11:32]
_BIGSHOT_ sort by clicking "mouse" button on the jtable column [11:32]
_BIGSHOT_ heading [11:32]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:34]
KeyJoo [KeyJoo!~KeyJoo@185.52.69.102] has joined ##java [11:34]
_BIGSHOT_ Addax, you there bud any ideas? why it must be happening? [11:36]
Addax I don't do UI code, and I figure it's your project, you have a debugger, you can probably set breakpoints and see better than I can [11:36]
_BIGSHOT_ Addax, where does debugger come into picture? this happens "after" the program "runs", i.e. i get the program GUI started and then when i click the mouse on javafx gui's column heading to "sort" the values alphabetically, colors cell value changes [11:39]
Addax you'd set your debugger to have a breakpoint where the colors are selected, I'd guess [11:39]
Addax but I don't know, because I don't do UI code [11:39]
_BIGSHOT_ the sorting facility is inbuilt into JavaFX Scene Builder program that I am using [11:39]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:39]
Addax okay, let me try again: I have no idea [11:39]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [11:41]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:45]
keepLearning512 [keepLearning512!~keepLearn@49.207.50.88] has joined ##java [11:45]
dani- does anyone know a nice, brief talk (or two) about the new features for java 9, java 10? [11:46]
Addax dani-: look up modules, for the most part. And why limit it to 9 or 10? 11 is the current release, 9 and 10 are outdated. [11:47]
dani- i'm looking for something that doesn't only talk about what's there but the implications of those for the future and how it benefits engineers [11:47]
dani- damn, i'm out of it [11:47]
dani- Addax: i should really catch up then :^) [11:47]
Addax 11 is the current LTS release, 9 and 10 are unsupported now [11:47]
dani- ah, i see [11:47]
dani- so 11 is the way to go then, do you / someone else know a good talk about new features? [11:48]
dani- i'm workin with java 8 now [11:48]
dani- looking to get to know the new stuff [11:48]
Addax I don't know of any, nor would I know what you would consider "good" - but modules are the biggest change [11:48]
Addax they're still optional, though, so the impact is questionable [11:48]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:50]
xlxnnx [xlxnnx!~xlxnnx@192.64.26.116] has joined ##java [11:51]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [11:55]
rohdef [rohdef!~rohdef@90.184.72.135.1.fullrate.ninja] has joined ##java [12:00]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:00]
goldstar [goldstar!~adm@unaffiliated/goldstar] has joined ##java [12:02]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:10]
ExtraCrispy [ExtraCrispy!~ExtraCris@gateway/tor-sasl/extracrispy] has joined ##java [12:11]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:14]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [12:16]
nbro [nbro!~nbro@2a02:aa13:3100:6000:3494:94a0:2760:b87] has joined ##java [12:19]
SJr dani-, I'm reading Modern Java in Action presently, it's pretty good but probably has a heavy Java 8 focus. [12:19]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:20]
SJr It has a chapter on the module system from Java 9. [12:20]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:20]
DLSteve I personally think module adoption is a little ways off. Lot of the big 3rd party libs have yet to support them. [12:21]
led_dark_1 [led_dark_1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [12:21]
_BIGSHOT_ how can i sort final ObservableList<GetPivots> data = FXCollections.observableArrayList(); <-- this "data" according to symbol columns alphabetically? [12:24]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:25]
dani- SJr: seems like a cool book! [12:27]
dani- i've already worked with CompletableFutures, streams, lambdas and optionals for a while now, still have stuff to learn about reactive programming in general, these things are definitely worth looking into! :^) [12:28]
Jenetrix [Jenetrix!~Jen@107.173.6.213] has joined ##java [12:28]
metrixx_ [metrixx_!~metrixx@unaffiliated/metrixx] has joined ##java [12:30]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:30]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:35]
mitch0 [mitch0!~mitch@94-21-142-198.pool.digikabel.hu] has joined ##java [12:40]
kicked mitch0 (Banned: please fix your connection. you're bouncing in and out. this ban will expire after 8h) [12:41]
Aqo [Aqo!~Aqo@176.228.147.196] has joined ##java [12:44]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [12:44]
Aqo parted the channel: [12:45]
katiex7 [katiex7!~katiex7@ip72-196-214-135.dc.dc.cox.net] has joined ##java [12:48]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:50]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [12:56]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [12:57]
w17t [w17t!~w17t@unaffiliated/w17t] has joined ##java [12:59]
TimeTrap [TimeTrap!~TimeTrap@2601:44:c500:65f4:7d39:b82f:8c72:22a5] has joined ##java [01:01]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [01:05]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [01:15]
Munnu [Munnu!~timo@91-158-153-244.elisa-laajakaista.fi] has joined ##java [01:16]
maryo [maryo!~Maryo@unaffiliated/maryo] has joined ##java [01:16]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [01:17]
sb35 [sb35!~sb35@67.231.16.204] has joined ##java [01:25]
Kol [Kol!Kol@S0106bcd1656621da.vc.shawcable.net] has joined ##java [01:29]
manny I'm using xjc to genarate jaxb objects from a xsd schema. I want those generated classes to have spring data cassandra annotations (@Table, @PrimaryKey). I'm currently through the JAXB generators jungle (hyperjaxb3, xjc bindings...) but I don't find a good solution. Any tips? [01:29]
rohdef manny: don't mix up your data transfer objects and your entities. Even though they might be identical currently, the logic of your and/or external endpoints should not dictate your internal model [01:32]
manny rohdef: hmmm. I thought about that option and discarded it. But it does sound like the saner thing to do. [01:34]
manny thanks very much [01:34]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [01:37]
adder [adder!~adder@gateway/tor-sasl/adder] has joined ##java [01:39]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [01:43]
NoirX [NoirX!~noirplaye@s55942149.adsl.online.nl] has joined ##java [01:45]
NoirX HelloWorld [01:45]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [01:51]
rohdef manny: you're welcome :) and yeah, it's a bit hard deciding at times, because it does feel like overkill, but at least in my experience it turns out to pay off in the end anyway :) [01:52]
manny rohdef: yes, it is a bit of duplication (if you don't automate it somehow) and an extra copy, if I'm not looking at it wrong. Still seems to be the right thing to decouple it. [02:03]
manny Maybe a layered aproach would be ideal. For now I'm going the straight forward way. [02:04]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [02:27]
wordsToLiveBy [wordsToLiveBy!~wordsToLi@unaffiliated/wordstoliveby] has joined ##java [02:28]
theWhisper_ [theWhisper_!~quassel@unaffiliated/thewhisper/x-7482734] has joined ##java [02:35]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [02:35]
hussam [hussam!uid193284@gateway/web/irccloud.com/x-fdsgrsygojxyuayo] has joined ##java [02:36]
b3h3m0th [b3h3m0th!uid26288@gateway/web/irccloud.com/x-zcidlybslmmtbkjv] has joined ##java [02:44]
wbrawner [wbrawner!~wbrawner@187.235.71.142] has joined ##java [02:45]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [02:53]
mattfly [mattfly!~matheus@179-189-87-3.goldnettelecom.com.br] has joined ##java [02:56]
mattfly Im trying to use IzPack to create an installer following this guide: https://inspectit-performance.atlassian.net/wiki/spaces/DEV/pages/5019314/IzPack+Installer+-+Hello+World+Tutorial, the installation manual tells me to run the installer and search for a standalone-compiler.ja but such file doesnt exist on the installer version 5.1.13 and i coudlnt find the installer for 4.3.5, so i dont get how this works... Can i just point to this sta [02:59]
mattfly dalone compiler for 4.3.5 or put it inside 5.1.13 lib folder? [02:59]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [03:01]
nivU0r hi guys, why when i run my own app in java i show this msg in console , but i dont know why ? Using generated security password: 80e9q892340909q8.... [03:02]
nivU0r and how to disable this [03:03]
Masterph_ [Masterph_!~Masterphi@unaffiliated/masterphi] has joined ##java [03:06]
rohdef nivU0r: it is almost certainly coming from some library you included. I think spring boot could be a likely candidate if you use that, but other options might as well be the cause [03:11]
rohdef nivU0r: one way to find out is basically to make sure your logger is properly set up, then your log messages should contain a path to the source of the message [03:13]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [03:16]
sir_galahad_ad [sir_galahad_ad!~aaron@cpe-76-179-65-199.maine.res.rr.com] has joined ##java [03:17]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [03:18]
Tobbi [Tobbi!~Tobbi@supertux/tobbi] has joined ##java [03:19]
blackntan-airboo [blackntan-airboo!~blackntan@unaffiliated/blackntan] has joined ##java [03:23]
acidjnk Is there something like: Objects.requireNotNull(myValue, () -> new CustomException()); ? [03:25]
SJr Not that I know of, you can make your own. But there is also requireNonNull(obj, message). [03:25]
acidjnk Usecase is an OpenAPI generated method which takes a @HeaderParam, and I would throw WebApplicationException(BAD_REQUEST) [03:26]
acidjnk Is the idea good? [03:26]
yawkat it's called "if" [03:26]
SJr I guess for me it's always been weird when my code throws a NullPointerException instead of an IllegalArgumentException, but other people don't find it weird. [03:26]
noodlepie [noodlepie!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [03:26]
rohdef true, but I think it's good enough with NPE, but I agreee, IllegalArgument would be better [03:27]
acidjnk It is weird, but they started that standard in many methods of Java 1.0, and now it's too late to change. Also became a "standard" simply because people forgot the check and the NPE just "happened", making it into the official contract later. [03:27]
rohdef acidjnk: translating to sensible errors is always good, but I'm not too hooked on translating exceptions directly, because there is almost certainly not an accurate 1-1 translation [03:27]
SJr I think it would not have been that hard for them to define Objects.requireNotNull() to either take an Exception supplier or use IllegalArgumentException. [03:28]
SJr That method is only in Java 8 iirc. [03:28]
sir_galahad_ad [sir_galahad_ad!~aaron@cpe-76-179-65-199.maine.res.rr.com] has joined ##java [03:28]
acidjnk Yes, my first try was to just type it and hope it exists :-) [03:28]
SJr Like NullPointerException to me should only occur when you try and dereference a null object. [03:28]
acidjnk Guess I will need to go through the trouble of an "if", or a utility method ... [03:29]
SJr If you validate before hand, you should just throw an IllegalArgumentException or something. [03:29]
SJr Like what is the point of if(obj == null) { throw new NullPointerException(); } obj.call(); [03:29]
SJr Anyway I am off, excelsior! [03:30]
acidjnk In this case, it means that the HTTP client did not send an expected header, and with 1 line I could return a HTTP 400 using WebApplicationException. [03:30]
acidjnk thanks, bye [03:30]
rohdef SJr: it could be made in a few minutes, so indeed not very hard [03:30]
rohdef acidjnk: it could look a bit like: static T requireNonNull(T victim, Supplier<Exception> s) { if (e == null) throw s.get(); } [03:31]
rohdef acidjnk: and then add the return I forgot to add [03:31]
acidjnk yes, looks good, thanks [03:31]
palasso [palasso!~palasso@unaffiliated/palasso] has joined ##java [03:33]
xlxnnx [xlxnnx!~xlxnnx@192.64.26.116] has joined ##java [03:35]
bobek_ [bobek_!~bobek@unaffiliated/bobek] has joined ##java [03:39]
noodlepie [noodlepie!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [03:41]
SchleimKeim [SchleimKeim!~skull@unaffiliated/schleimkeim] has joined ##java [03:41]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [03:43]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [03:48]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [03:54]
nfd [nfd!nfd9001@gateway/vpn/privateinternetaccess/nfd9001] has joined ##java [03:54]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [03:56]
Masterph_ [Masterph_!~Masterphi@unaffiliated/masterphi] has joined ##java [04:01]
Hanii [Hanii!~Hanii@2a00:23c5:c587:a800:b88e:9ea:bc03:7127] has joined ##java [04:07]
Phizzy [Phizzy!~Phillip@host-92-19-234-97.static.as13285.net] has joined ##java [04:08]
xlxnnx [xlxnnx!~xlxnnx@75-164-176-120.ptld.qwest.net] has joined ##java [04:19]
qwedfg [qwedfg!~adam@194.177.28.158] has joined ##java [04:35]
CentrixReal [CentrixReal!~Centrix@ip5f5ad094.dynamic.kabel-deutschland.de] has joined ##java [04:35]
General_Kenobi [General_Kenobi!~Kenobi@i577acb34.versanet.de] has joined ##java [04:35]
CentrixReal parted the channel: [04:36]
General_Kenobi parted the channel: [04:36]
sb35 [sb35!~sb35@23.111.78.44] has joined ##java [04:39]
General_Kenobi [General_Kenobi!~Kenobi@i577acb34.versanet.de] has joined ##java [04:40]
CentrixReal [CentrixReal!~Centrix@ip5f5ad094.dynamic.kabel-deutschland.de] has joined ##java [04:40]
CentrixReal If 10000 monkeys on 10000 keyboards type in words for 10 years they'll eventually write a java program. [04:41]
General_Kenobi If your family stops of doing 10000years of incest, maybe you will be funny, Falko [04:42]
CentrixReal shut the hell your mom [04:42]
General_Kenobi no u [04:42]
CentrixReal your family tree lgbt anti no u [04:42]
General_Kenobi rubber wall no u [04:42]
General_Kenobi ur sister a mister [04:42]
CentrixReal rubber wall fucker no u [04:43]
General_Kenobi ur aunt a crossaint [04:43]
CentrixReal ur sister a big tiddie mister [04:43]
General_Kenobi ur granny tranny [04:43]
CentrixReal ur granny dead [04:43]
General_Kenobi ur brother a mother [04:43]
CentrixReal ur brother small dick in ur ass [04:43]
General_Kenobi oh [04:43]
CentrixReal k o n r a d [04:44]
General_Kenobi j o r g [04:44]
CentrixReal c a s i m i r d e a d b y c a r [04:44]
General_Kenobi oh [04:44]
General_Kenobi parted the channel: [04:44]
CentrixReal parted the channel: [04:44]
goldstar [goldstar!~adm@unaffiliated/goldstar] has joined ##java [04:50]
an0nym0us [an0nym0us!~an0nym0us@88-108-33-233.dynamic.dsl.as9105.com] has joined ##java [05:00]
an0nym0us parted the channel: "Leaving" [05:02]
SchleimKeim [SchleimKeim!~skull@unaffiliated/schleimkeim] has joined ##java [05:02]
nunllk rainbow [05:04]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [05:06]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [05:07]
mattfly parted the channel: [05:11]
bsaboia [bsaboia!~bsaboia@customer-2a00-7660-12fc-0001-89c7-b72d-1b9a-d62c.ip6.gigabit.dk] has joined ##java [05:14]
immibis [immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz] has joined ##java [05:14]
hg_hel [hg_hel!~horia_g@178.73.220.28] has joined ##java [05:25]
hg_hel [hg_hel!~horia_g@178.73.220.28] has joined ##java [05:26]
Masterph_ [Masterph_!~Masterphi@unaffiliated/masterphi] has joined ##java [05:32]
acidjnk I have an old REST service annotated with @Path(...) @PermitAll, and for some reasons, @EJB injections work there. I have exactly the same in a new class, and only @Inject works there. Only difference is that the new class also implements an interface with additional javax.ws and swagger related annotations. [05:42]
acidjnk I'm more surprised about the former, but more useful would be to fix the latter (which is not surprising) :-) [05:42]
acidjnk Any ideas? [05:42]
nbro [nbro!~nbro@2a02:aa13:3100:6000:3494:94a0:2760:b87] has joined ##java [05:43]
Masterph_ [Masterph_!~Masterphi@unaffiliated/masterphi] has joined ##java [05:47]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [06:05]
Zer0Pl4sm4 [Zer0Pl4sm4!~Zer0Pl4sm@gateway/tor-sasl/zer0pl4sm4] has joined ##java [06:50]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [06:52]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [06:52]
SolarFlare [SolarFlare!~SamanthaB@unaffiliated/samanthabdawn] has joined ##java [06:54]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [07:03]
SchleimKeim [SchleimKeim!~skull@unaffiliated/schleimkeim] has joined ##java [07:09]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [07:16]
lightslategrey [lightslategrey!~lightslat@188.234.12.124] has joined ##java [07:30]
victorxray [victorxray!~scotart@c110-23-96-81.kelvn4.qld.optusnet.com.au] has joined ##java [07:33]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [07:51]
patriick [patriick!patrick@gateway/shell/blinkenshell.org/x-bdjdqsnovcsvrhgv] has joined ##java [08:16]
mitch0 [mitch0!~mitch@188-143-24-56.pool.digikabel.hu] has joined ##java [08:25]
kicked mitch0 (Banned: please fix your connection. you're bouncing in and out. this ban will expire after 8h) [08:25]
fairuz [fairuz!~textual@unaffiliated/fairuz] has joined ##java [08:36]
BenderRodriguez [BenderRodriguez!~TaxDodger@unaffiliated/foxhoundz] has joined ##java [08:47]
xa0s_ [xa0s_!xa0s@sdf.org] has joined ##java [08:50]
RoriconKnight [RoriconKnight!~RoriconKn@114.4.82.91] has joined ##java [09:04]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [09:04]
pmercado [pmercado!~pmercado@190-22-184-201.baf.movistar.cl] has joined ##java [09:10]
vdamewood [vdamewood!~vdamewood@unaffiliated/vdamewood] has joined ##java [09:10]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [09:14]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:17]
sir_galahad_ad [sir_galahad_ad!~aaron@cpe-76-179-65-199.maine.res.rr.com] has joined ##java [09:20]
kgrimes2 [kgrimes2!~kgrimes2@172-11-18-93.lightspeed.irvnca.sbcglobal.net] has joined ##java [09:23]
sir_galahad_ad [sir_galahad_ad!~aaron@cpe-76-179-65-199.maine.res.rr.com] has joined ##java [09:26]
Zer0Pl4sm4 [Zer0Pl4sm4!~Zer0Pl4sm@gateway/tor-sasl/zer0pl4sm4] has joined ##java [09:30]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:33]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:38]
dj_pi [dj_pi!~dj_pi@d4-50-214-166.col.wideopenwest.com] has joined ##java [09:41]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:48]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:50]
john_doe_jr [john_doe_jr!~Adium@209-33-43-79.graycmtc02.res.dyn.suddenlink.net] has joined ##java [09:51]
john_doe_jr anybody know why I am getting the following error message: "Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: natives/macosx-universal//gluegen-rt"? [09:52]
surial john_doe_jr: cause gluegen-rt.jnilib isn't there. [09:55]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:56]
surial the double slash suggests also some code done fucked up their Runtime.loadLibrary call [09:56]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [09:58]
john_doe_jr surial: where would I get gluegen-rt.jnilib? [10:00]
john_doe_jr what is a jnilib file anyways? [10:00]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [10:01]
cheeser from the vendor of your application [10:16]
ashka [ashka!~postmaste@pdpc/supporter/active/ashka] has joined ##java [10:32]
Xiti [Xiti!~Xiti-@unaffiliated/xiti] has joined ##java [10:33]
tassee [tassee!~tasse@55d48ee0.access.ecotel.net] has joined ##java [10:34]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [10:35]
magyar [magyar!~magyar@unaffiliated/magyar] has joined ##java [10:44]
magyar [magyar!~magyar@unaffiliated/magyar] has joined ##java [10:51]
CAPITANOOO [CAPITANOOO!~CAPITANOO@185.192.137.15] has joined ##java [10:54]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [10:57]
Zer0Pl4sm4 [Zer0Pl4sm4!~Zer0Pl4sm@gateway/tor-sasl/zer0pl4sm4] has joined ##java [11:01]
tristianc [tristianc!~tristianc@pool-108-51-126-82.washdc.fios.verizon.net] has joined ##java [11:02]
led_dark_1 [led_dark_1!~Thunderbi@hotspot10.rywasoft.net] has joined ##java [11:04]
SJr [SJr!~sjr@unaffiliated/sjr] has joined ##java [11:13]
nokdoot [nokdoot!~nokdoot@123.212.109.70] has joined ##java [11:33]