Info

Login

Channels

APIs

Credits

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

« 2019-10-09

2019-10-10

2019-10-11 »

Nick Message Date
otto_j [otto_j!~otto_j@otto.hadiko.de] has joined ##java [12:03]
led_dark_1 [led_dark_1!~Thunderbi@217.66.160.14] has joined ##java [12:07]
Aurora_iz_kosmos [Aurora_iz_kosmos!~Aurora_iz@gateway/tor-sasl/randomnumbers/x-93746987] has joined ##java [12:07]
Aurora_iz_kosmos parted the channel: "????, ???." [12:08]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [12:13]
DTZUZU [DTZUZU!~DTZUZU@S0106bcd165662a4d.vs.shawcable.net] has joined ##java [12:18]
AMcBain [AMcBain!~Art@96-41-210-84.dhcp.elbg.wa.charter.com] has joined ##java [12:19]
exonity01 [exonity01!uid364582@gateway/web/irccloud.com/x-iniyoypdvtawkrrd] has joined ##java [12:20]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd165662a4d.vs.shawcable.net] has joined ##java [12:24]
djhworld [djhworld!~djhworld@90.252.65.89] has joined ##java [12:41]
tassee [tassee!~tasse@55d4607f.access.ecotel.net] has joined ##java [12:43]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [12:45]
glosoli [glosoli!~glosoli@unaffiliated/glosoli] has joined ##java [01:08]
quadsar [quadsar!~quadsar@unaffiliated/quadsar] has joined ##java [01:30]
Xgc [Xgc!~Jon@98.1.126.42] has joined ##java [01:30]
caverdudelarry [caverdudelarry!~larry@184.62.100.121] has joined ##java [01:31]
caverdudelarry http://giocc.com/writing-a-lexer-in-java-1-7-using-regex-named-capturing-groups.html I might use something like this to parse sourcecode I guess? [01:32]
sauvin [sauvin!sauvin@about/linux/staff/sauvin] has joined ##java [01:32]
anirban [anirban!~anirban@unaffiliated/apostasy] has joined ##java [01:35]
hypc1 [hypc1!~Thunderbi@175.164.26.174] has joined ##java [01:36]
Karyon [Karyon!~Karyon@unaffiliated/karyon] has joined ##java [01:43]
palasso [palasso!~palasso@unaffiliated/palasso] has joined ##java [01:43]
very_sne_ [very_sne_!~very_snea@104.143.92.243] has joined ##java [01:44]
dendazen [dendazen!~dendazen@pool-72-76-93-243.nwrknj.fios.verizon.net] has joined ##java [01:53]
puppy_za [puppy_za!uid277586@gateway/web/irccloud.com/x-ytjeuuwjyivhqpln] has joined ##java [01:55]
morozovm [morozovm!~morozovm@109.195.179.246] has joined ##java [01:55]
macroprep [macroprep!~brotherco@cpe-172-193-104-55.qld.foxtel.net.au] has joined ##java [02:03]
extor [extor!~extor@unaffiliated/extor] has joined ##java [02:05]
Randolf [Randolf!~randolf@184.70.10.188] has joined ##java [02:29]
Randolf parted the channel: "Leaving" [02:29]
Tichodroma [Tichodroma!~lutz@fsf/member/Tichodroma] has joined ##java [02:31]
bigfondue [bigfondue!~bigfondue@2601:44:8702:6c30::2f2e] has joined ##java [02:32]
progart [progart!~kamee@46.162.231.231] has joined ##java [02:33]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined ##java [02:50]
tiagoE [tiagoE!tfvematrix@gateway/shell/matrix.org/x-hrljsaydisrwzgap] has joined ##java [02:55]
Jigsy [Jigsy!~Jigsy@unaffiliated/jigsy] has joined ##java [02:56]
_xor [_xor!~xor@74.215.46.133] has joined ##java [02:56]
KidBeta [KidBeta!~Kidbeta@hpavc/kidbeta] has joined ##java [02:58]
Karyon [Karyon!~Karyon@unaffiliated/karyon] has joined ##java [03:00]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [03:06]
sdu [sdu!d4fb6b53@givos1.ath.forthnet.gr] has joined ##java [03:11]
ravenousmoose [ravenousmoose!~ravenousm@ptr-cud5aqfvkumqpb7j8dd.18120a2.ip6.access.telenet.be] has joined ##java [03:14]
Chuguniy [Chuguniy!~Chuguniy@80.232.218.96] has joined ##java [03:16]
hypc [hypc!~Thunderbi@175.164.7.150] has joined ##java [03:16]
jaziz1 [jaziz1!~jaziz@unaffiliated/jaziz] has joined ##java [03:17]
acidjnk_new2 [acidjnk_new2!~acid@200116b867f41300ece6206eb57a8a1d.dip.versatel-1u1.de] has joined ##java [03:19]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [03:22]
TomyWork [TomyWork!~TomyLobo@82.194.113.100] has joined ##java [03:27]
HumanG33k [HumanG33k!~HumanG33k@62.147.242.8] has joined ##java [03:27]
HumanG33k [HumanG33k!~HumanG33k@62.147.242.8] has joined ##java [03:29]
enoq [enoq!~textual@91.113.175.52] has joined ##java [03:31]
royal_screwup21 [royal_screwup21!89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242] has joined ##java [03:32]
plitter [plitter!~plitter@78.31.86.243] has joined ##java [03:32]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [03:36]
peeweep [peeweep!36417ed2@ec2-54-65-126-210.ap-northeast-1.compute.amazonaws.com] has joined ##java [03:52]
peeweep [peeweep!~Thunderbi@ec2-54-65-126-210.ap-northeast-1.compute.amazonaws.com] has joined ##java [03:55]
peeweep [peeweep!~Thunderbi@ec2-54-65-126-210.ap-northeast-1.compute.amazonaws.com] has joined ##java [03:56]
guacjack [guacjack!~guacjack@194.73.135.218] has joined ##java [04:01]
mitch0 uh [04:07]
peeweep [peeweep!~peeweep@ec2-54-65-126-210.ap-northeast-1.compute.amazonaws.com] has joined ##java [04:08]
peeweep [peeweep!~peeweep@ec2-54-65-126-210.ap-northeast-1.compute.amazonaws.com] has joined ##java [04:10]
peeweep parted the channel: [04:10]
hypc [hypc!~Thunderbi@175.164.7.150] has joined ##java [04:16]
acidjnk_new2 hello [04:20]
LearnAllTheTime [LearnAllTheTime!~LearnAllT@2600:1700:e560:21e0::575] has joined ##java [04:22]
acidjnk_new2 14 years ago, with the first consumer single-core 64-bit AMD CPU, it felt like everything was super-fast. And we had huge multi-module projects back then already, mvn, Swing, Idea etc. Why is everything super-slow now with a first-gen i5 dual core? Can't even type properly in Idea, builds > 10 min ...? [04:22]
deebo dual core... [04:23]
Secret-Fire [Secret-Fire!~Secret-Fi@97.115.245.42] has joined ##java [04:25]
Diablo-D3 acidjnk_new2: I assume ssd? [04:26]
acidjnk_new2 now yes, back then no [04:27]
Diablo-D3 did idea give you a prompt to disable windows defender on your project's directory? [04:27]
Diablo-D3 because you basically need to say yes or suffer the consequences [04:27]
acidjnk_new2 Last time I tried using an outdated CPU, Idea didn't do that yet. Now it always does. But I avoid outdated hardware now. [04:28]
Diablo-D3 I dunno, I have a ivy bridge era mbpr 13" 2012, has ssd and 8gb, and is "slow as balls" but handles intellij fine [04:29]
Diablo-D3 as long as Im not being stupid, everything works [04:29]
learningc [learningc!~learningc@mti-37-145.tm.net.my] has joined ##java [04:36]
yawkat i even run idea in a vm and it's very fast [04:38]
yawkat youre doing something wrong [04:38]
puppy_za it depends on what "fast"is for him [04:39]
deebo also depends on the build setup etc [04:43]
deebo i have like 5 ideas open with spring boot services on a quad core, no problem [04:44]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [04:45]
sonOfRa What happens to releases on maven central when the key that signed them gets revoked? [04:46]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined ##java [04:47]
yawkat nothing afaik [04:49]
hypc [hypc!~Thunderbi@175.164.7.150] has joined ##java [05:01]
sonOfRa pgp is confusing. [05:02]
mbooth sonOfRa: Is it? [05:03]
sonOfRa If you're not just using your master key for all operations, yes [05:03]
mbooth Oh. I guess no-one told me it was confusing so I've been using it for decades without realising. ;-) [05:04]
[twisti] lol dual core [05:05]
[twisti] are you trying to run idea on an outdated cell phone ? [05:05]
[twisti] oops, looks like i was a bit scrolled up, sorry [05:06]
dreamreal OH@work: This is the golden rule of software dev too - promise features or promise a release date, but never both. [05:07]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [05:07]
mbooth dreamreal: Good advice :-) [05:10]
mbooth dreamreal's cow-orker++ [05:11]
mbooth dreamreal's cow-orker has a karma level of 1, mbooth [05:11]
tuskkk____ [tuskkk____!uid18470@gateway/web/irccloud.com/x-pxxawwgbcnsgotgx] has joined ##java [05:13]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [05:14]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:599a:baa9:7157:cac2] has joined ##java [05:23]
Markow [Markow!~ejm@176.122.215.103] has joined ##java [05:24]
[twisti] the problem is that if you only promise one, you effectively promise nothing at all, which isnt really how promises work [05:26]
dreamreal like most aphorisms it breaks down under close examination [05:26]
royal_screwup21 [royal_screwup21!89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242] has joined ##java [05:26]
mbooth I think the real lesson is not to overpromise. When I get new feature requests, the first question I ask of the PM is "which of these other things can be struck from the list?" [05:28]
[twisti] just make a priority queue and work on the stuff at the top and see where that gets you [05:29]
dreamreal or say "no" a lot [05:30]
dreamreal or laugh at the requirements [05:30]
enoq [enoq!~textual@91.113.175.52] has joined ##java [05:30]
Tichodroma https://codingjourneyman.com/2014/09/04/the-clean-coder-saying-no/ [05:30]
deebo we just say it's $X/h, tell us what to do :) [05:33]
[twisti] also a good idea: make sure the client understands that basically every email they send you to talk about what the want will set the project back at least a week [05:38]
dreamreal haha [05:39]
dreamreal I like that one a lot [05:39]
[twisti] it sounds silly, but we all know that thats actually how it works, and clients often think that they help by sending you emails detailing how minutae should work or how they thought of something new [05:49]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [05:59]
Jantz [Jantz!~IceChat9@118-93-131-65.dsl.dyn.ihug.co.nz] has joined ##java [06:02]
KidBeta [KidBeta!~Kidbeta@hpavc/kidbeta] has joined ##java [06:03]
KidBeta [KidBeta!~Kidbeta@hpavc/kidbeta] has joined ##java [06:04]
terabyte [terabyte!5d73c1be@93.115.193.190] has joined ##java [06:12]
acidjnk_new2 yawkat, what is your experience in developing in a vm? I'm considering it for customers where I need to do something "dangerous", e. g. use a native binary. Worried about the performance impact, though. [06:13]
yawkat im cheating, im using pcie passthrough graphics [06:13]
acidjnk_new2 Is there a vm that is particularly viable for this? I'd use vmware ... [06:14]
yawkat just stick to linux jail systems if you dont have two cards [06:14]
yawkat well, kvm [06:14]
mbooth acidjnk_new2: IDEs let you develop remotely on a VM [06:15]
mbooth Eclipse can let you develop/build/run your project inside a docker container, even [06:15]
acidjnk_new2 ok, thanks. Ideal solution still seems to be a dedicated physical computer for long-term projects ... [06:17]
learningc [learningc!~learningc@121.121.98.53] has joined ##java [06:26]
surial acidjnk_new2: I'd go with mbooth's suggestion or run an IDE that separated the 'client' from the 'server' style. Note that dedicated physical hardware has its own issues: If you need to be mobile you have another laptop to drag along. In either case you need to config the machine to be a familiar and convenient dev environment; you really should have a script or whatnot to set it up but in my experience, 'end user' OSes (yes, [06:33]
surial even linux) don't lend themselves well to it. Best scripts I've seen include a lot of 'and now go to this settings widget thingie and turn on this setting' and 'run all installers by hand in this folder.. though try to update them first'. [06:33]
surial acidjnk_new2: You're there: YOu have a better idea what's the least effort. [06:33]
manualcrank [manualcrank!~manualcra@bras-base-mtrlpq2718w-grc-09-70-24-226-18.dsl.bell.ca] has joined ##java [06:48]
nokdoot [nokdoot!~nokdoot@211.205.207.39] has joined ##java [06:49]
julius [julius!~julius@185.181.10.29] has joined ##java [06:51]
adder [adder!~adder@gateway/tor-sasl/adder] has joined ##java [06:59]
CombatVet [CombatVet!~c4@gateway/tor-sasl/combatvet] has joined ##java [07:00]
rohanrhu [rohanrhu!~rohanrhu@78.187.186.113] has joined ##java [07:05]
progart [progart!~kamee@188.115.236.222] has joined ##java [07:07]
ipe [ipe!~ipe@91.156.247.55] has joined ##java [07:14]
tomboy64 [tomboy64!~tomboy64@gateway/tor-sasl/tomboy64] has joined ##java [07:15]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [07:15]
Peste_Bubonica [Peste_Bubonica!~Peste_Bub@unaffiliated/peste-bubonica/x-4612396] has joined ##java [07:25]
hooper [hooper!~hooper@2a01:e0a:191:c7b0:4dff:156d:aafa:4f2d] has joined ##java [07:32]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [07:50]
bravoslo [bravoslo!~bravoslo@89-212-162-157.static.t-2.net] has joined ##java [07:51]
feitnomore [feitnomore!~elusive@189.62.164.18] has joined ##java [07:52]
BilldaCat [BilldaCat!~cday@c-73-134-235-218.hsd1.de.comcast.net] has joined ##java [07:58]
hypc1 [hypc1!~Thunderbi@175.164.7.150] has joined ##java [08:01]
darkxploit [darkxploit!~jay@c-73-68-48-243.hsd1.ct.comcast.net] has joined ##java [08:05]
Suchorski [Suchorski!~regex@unaffiliated/suchorski] has joined ##java [08:07]
CookieM [CookieM!~tomek@afav69.neoplus.adsl.tpnet.pl] has joined ##java [08:14]
bravoslo [bravoslo!~bravoslo@89-212-162-157.static.t-2.net] has joined ##java [08:18]
mindCrime [mindCrime!~mindCrime@216.85.170.148] has joined ##java [08:28]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [08:32]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [08:33]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [08:36]
x6e69636f [x6e69636f!4d9ae131@gateway/web/cgi-irc/kiwiirc.com/ip.77.154.225.49] has joined ##java [08:52]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [08:54]
nokdoot [nokdoot!~nokdoot@211.205.207.39] has joined ##java [08:54]
ravenousmoose [ravenousmoose!~ravenousm@ptr-cud5aqf7iatvd3jtp1o.18120a2.ip6.access.telenet.be] has joined ##java [08:55]
newbieG [newbieG!~androirc@125.99.230.22] has joined ##java [08:57]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [08:59]
Tichodroma [Tichodroma!~lutz@fsf/member/Tichodroma] has joined ##java [09:00]
newbieG ? extends Xyz getItem .... Storing value returned by getItem in Xyz variable is legal I know that we can store sub class data into super class variable. But why void setItem(? extends Xyz) gives compile time error? I mean here the compiler knows what the type of the variable i.e. subtype of Xyz [09:02]
jink What is the compile time error? [09:05]
Bombe Parameter definitions don?t work that way. [09:05]
dreamreal newbieG: why would you specify that anyway? Xyz includes every subtype of Xyz already [09:05]
dreamreal I mean, ? extends Xyz isn't QUITE the same thing - you can't pass an Xyz in - but... [09:06]
newbieG dreamreal, to be I am reading this and have concussion on the highlighted part https://imgur.com/a/OKK1adn [09:12]
Jigsy` [Jigsy`!~Jigsy@unaffiliated/jigsy] has joined ##java [09:12]
dreamreal How does that correspond with setItem(? extends Xyz) [09:13]
dreamreal and what about it? It seems clear: it says "you can't do that." [09:13]
x6e69636f hey yawkat I've some ideas for your javap webapp, could we talk in dm ? [09:14]
cfoch [cfoch!uid153227@gateway/web/irccloud.com/x-shaacowlqtlahyyx] has joined ##java [09:14]
newbieG dreamreal, it seems unintuitive [09:15]
LearnAllTheTime [LearnAllTheTime!~LearnAllT@2601:cc:4000:9db0::4801] has joined ##java [09:15]
dreamreal newbieG: why? The compiler doesn't know the type being passed in. [09:16]
newbieG dreamreal, but it knows that it's a sub class of Employee whatever that argument is ..... Isn't that information is sufficient ... Please give some contradictory example [09:20]
dreamreal newbieG: "does it compile?" [09:21]
newbieG dreamreal, No [09:22]
dreamreal There you go! [09:22]
dreamreal Problem solved. If it doesn't compile, the logic doesn't matter any more. [09:22]
newbieG what??? LOL [09:23]
dreamreal newbieG: even IF you can assume the type, if the compiler doesn't allow it, you cannot do it. setFoo(? extends Xyz) is poor syntax anyway; at best it'd be void <T extends Xyz> setFoo(T t) (which may compile) but... seriously [09:25]
dreamreal at some point, you should stop masturbating to language definitions and learn to program instead [09:25]
Stummi newbieG, "? extends Xyz" means, the type argument is "anything that Xyz extends". Not "Xyz". It means, by definition, the compiler does *not* know which exact type you have on this point [09:27]
Jantz [Jantz!~IceChat9@118-93-131-65.dsl.dyn.ihug.co.nz] has joined ##java [09:27]
Stummi newbieG, consider Box<? extends Xyz>. wher Abc extends Xyz and Def extends Xyz. Your Box<? extends Xyz> *could* be a Box<Abc>, but it *could* also be a Box<Def>. The compiler does not know if storing anything in the box is right [09:28]
acidjnk_new [acidjnk_new!~acid@200116b867f413003d8136cf4b5cdc1c.dip.versatel-1u1.de] has joined ##java [09:30]
dreamreal acidjnk_new: ping [09:31]
Human_G33k [Human_G33k!~HumanG33k@62.147.242.8] has joined ##java [09:35]
Stummi newbieG, in other words, read ? as "unknown", not "any". If you want to store anything that extends Xyz in your box, just use Box<Xyz> [09:35]
newbieG Stummi, Thanks a lot [09:37]
Human_G33k [Human_G33k!~HumanG33k@62.147.242.8] has joined ##java [09:37]
VegetarianFalcon [VegetarianFalcon!uid258908@gateway/web/irccloud.com/x-dywnowdlqiuiyihj] has joined ##java [09:53]
progart [progart!~kamee@188.115.236.222] has joined ##java [09:54]
michele [michele!~eraser@unaffiliated/michele] has joined ##java [10:06]
neckutrek [neckutrek!53f19bc2@gateway/web/cgi-irc/kiwiirc.com/ip.83.241.155.194] has joined ##java [10:09]
neckutrek during your working day, what do you enjoy most as a break from programming? [10:09]
dreamreal poll [10:10]
dreamreal if you'd like to poll for subjective, opinion-based responses, why not try r/programming? [10:10]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined ##java [10:10]
Bombe Feierabend! [10:12]
ravenousmoose [ravenousmoose!~ravenousm@ptr-cud5aqf7iatvd3jtp1o.18120a2.ip6.access.telenet.be] has joined ##java [10:13]
hypc1 [hypc1!~Thunderbi@175.164.7.150] has joined ##java [10:15]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [10:24]
led1 [led1!~Thunderbi@217.66.160.14] has joined ##java [10:32]
pppingme [pppingme!~pppingme@unaffiliated/pppingme] has joined ##java [10:33]
progart [progart!~kamee@188.115.236.222] has joined ##java [10:46]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined ##java [10:47]
progart [progart!~kamee@188.115.236.222] has joined ##java [10:48]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined ##java [10:50]
troulouliou_div2 [troulouliou_div2!~troulouli@unaffiliated/troulouliou-div2/x-0271439] has joined ##java [10:50]
Merlin_O [Merlin_O!~Merlin_O@p200300D7CF0EC200E49408BCBFA5F205.dip0.t-ipconnect.de] has joined ##java [10:53]
Nightwing52 [Nightwing52!~Thunderbi@71.221.200.136] has joined ##java [10:53]
newbieG [newbieG!~androirc@125.99.230.22] has joined ##java [10:53]
newbieG Isn't the explanation and coding example contradicting each other https://imgur.com/a/xyXARRY [10:53]
yawkat newbieG: no. the parameter is a Pair<? super Manager>, not a ? super Manager. [10:55]
EgonX [EgonX!~Egon@2601:2c6:47f:98f4:bdcd:dd69:3bda:d89f] has joined ##java [10:55]
yawkat in that class, there may still be other methods that can be called just fine. [10:55]
sbalmos [sbalmos!~sbalmos@cpe-98-30-198-117.columbus.res.rr.com] has joined ##java [10:55]
Diablo-D3 I have a problem with that code... there are no super managers. [10:55]
Diablo-D3 runs [10:55]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [10:58]
Rapture [Rapture!~textual@50-204-232-30-static.hfc.comcastbusiness.net] has joined ##java [11:00]
greenfructose [greenfructose!~greenfruc@192.197.123.235] has joined ##java [11:03]
impermanence [impermanence!c01c0123@gateway/web/cgi-irc/kiwiirc.com/ip.192.28.1.35] has joined ##java [11:08]
EgonX [EgonX!~Egon@2601:2c6:47f:98f4:3116:5c91:821:f449] has joined ##java [11:12]
Nightwing52 [Nightwing52!~Thunderbi@71.221.200.136] has joined ##java [11:14]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:75da:2a26:e701:d98d] has joined ##java [11:15]
Vurtatoo [Vurtatoo!~Vurtatoo@mm-83-242-209-82.adsl.mgts.by] has joined ##java [11:15]
Nightwing53 [Nightwing53!~Thunderbi@67.7.3.53] has joined ##java [11:19]
progart [progart!~kamee@188.115.236.222] has joined ##java [11:27]
RedSoxFan07 [RedSoxFan07!~Thunderbi@d-137-103-109-45.ct.cpe.atlanticbb.net] has joined ##java [11:40]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined ##java [11:44]
SleepyWitch [SleepyWitch!~textual@cpe-24-55-21-107.austin.res.rr.com] has joined ##java [11:47]
iam730 [iam730!~iam730@c-24-6-215-59.hsd1.ca.comcast.net] has joined ##java [11:50]
ipe [ipe!~ipe@91.156.247.55] has joined ##java [12:00]
Nightwing52 [Nightwing52!~Thunderbi@67.7.3.53] has joined ##java [12:01]
paddyez [paddyez!~paddyez@wikipedia/paddyez] has joined ##java [12:05]
michele [michele!~eraser@unaffiliated/michele] has joined ##java [12:05]
Nightwing52 [Nightwing52!~Thunderbi@67.7.3.53] has joined ##java [12:08]
dez [dez!uid92154@fedora/deSouza] has joined ##java [12:15]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [12:29]
progart [progart!~kamee@188.115.236.222] has joined ##java [12:29]
yawkat can anyone mention a package that is deprecated in a common library? need it for testing [12:31]
caverdudelarry [caverdudelarry!~larry@184.62.100.121] has joined ##java [12:33]
dreamreal apache commons does that, I think, yeah? [12:33]
caverdudelarry does what? [12:35]
yawkat logs [12:35]
yawkat channel logs can be found at http://javabot.evanchooly.com/ (Select the channel from the list on the left-hand side.) [12:35]
caverdudelarry oh [12:35]
caverdudelarry http://giocc.com/writing-a-lexer-in-java-1-7-using-regex-named-capturing-groups.html I might use something like this to parse sourcecode I guess? what do you guys suggest? [12:35]
dreamreal What kind of source code [12:36]
caverdudelarry Java [12:36]
dreamreal roaster [12:36]
dreamreal dreamreal, what does that even *mean*? [12:36]
dreamreal bleagh [12:36]
caverdudelarry I found a tool to do it, but it was very complex, what I need is pretty simple [12:36]
dreamreal no, don't write your own parser, use roaster or something like that [12:36]
caverdudelarry I don't need to parse method code blocks [12:36]
dreamreal or use a grammar from antlr [12:36]
caverdudelarry hmm [12:37]
caverdudelarry googles [12:37]
caverdudelarry roaster looks good [12:40]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-vssnrpgtcsamwkni] has joined ##java [12:42]
dmlloyd don't use a regex for parsing java [12:46]
dmlloyd jflex is a good option too [12:46]
dmlloyd that'll only get you as far as tokens though [12:46]
dmlloyd for actual parsing you'll need something like antlr [12:46]
michele [michele!~eraser@unaffiliated/michele] has joined ##java [12:46]
yawkat dreamreal: youre right, org.apache.commons.lang3.text.translate [12:47]
kupi [kupi!uid212005@gateway/web/irccloud.com/x-fcdqbjfsskhpexex] has joined ##java [12:48]
kupi hi [12:48]
dreamreal yawkat: *nod* I was thinking either math or text [12:48]
kupi is there any alternative to Immutables if I want to generate "with" methods? [12:49]
yawkat lombok [12:49]
yawkat yawkat, lombok is a tooling (compiler and IDE) plugin that removes boilerplate. For example, it adds getters, setters, equals, hashCode, builders, etc for you. Works in eclipse, intellij, netbeans, javac, maven, ant, etc. https://projectlombok.org/ [12:49]
ron you misspelled 'kupo' [12:51]
devish [devish!345f4b12@unaffiliated/devish] has joined ##java [12:52]
kupi how can I use "lombok with" with inheritance? [12:52]
dmlloyd sounds like tech support [12:52]
ipee [ipee!~ipe@91.156.247.55] has joined ##java [12:53]
dreamreal kupi: not sure you can, because of the nature of the code generation. But ask the lombok mailing list. [12:53]
yawkat well you can override the withers in subclasses [12:54]
yawkat but thats it [12:54]
sleepywitch [sleepywitch!~textual@cpe-24-55-21-107.austin.res.rr.com] has joined ##java [01:01]
dostoyevsky I have a spring boot ``@RequestMapping(method = RequestMethod.POST, value = "/articles"); p v addArticle(@RequestBody A article)'' but when I do <<curl '/articles' --data $'{"id":"4,"n":"4","d":"D"}\n'>> I get: HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported] [01:03]
ron I'm sorry. [01:03]
caverdudelarry dmlloyd, ok JFlex looks good as well [01:05]
dostoyevsky Do I need to tell curl to use another encoding for the post body? But that sounds very odd that spring boot wouldn't support that contnet type [01:07]
Merlin_O [Merlin_O!~Merlin_O@p200300D7CF0EC200E49408BCBFA5F205.dip0.t-ipconnect.de] has joined ##java [01:10]
ogradyd [ogradyd!~Thunderbi@2a02:8070:88bf:9df0::941] has joined ##java [01:11]
ogradyd [ogradyd!~Thunderbi@HSI-KBW-046-005-255-067.hsi8.kabel-badenwuerttemberg.de] has joined ##java [01:15]
kchz [kchz!~dschulz@168.195.227.98] has joined ##java [01:16]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [01:17]
dreamreal dostoyevsky: you might have to tell it, yes. Look that up on SO [01:21]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [01:31]
dostoyevsky Yeah, I've added `-H "Content-Type: application/json"' to the curl and then it worked... [01:32]
gelignite [gelignite!~gelignite@55d47aa3.access.ecotel.net] has joined ##java [01:32]
Seji [Seji!~Seji@quassel.woboq.com] has joined ##java [01:33]
sigtrm [sigtrm!quassel@quassel.woboq.de] has joined ##java [01:34]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [01:37]
sdu [sdu!~doo@80.107.74.202] has joined ##java [01:41]
Slamz [Slamz!~Slamz@unaffiliated/dariken] has joined ##java [01:46]
progart [progart!~kamee@188.115.236.222] has joined ##java [01:55]
sleepywitch [sleepywitch!~textual@cpe-24-55-21-107.austin.res.rr.com] has joined ##java [01:59]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [02:04]
newbieG [newbieG!~androirc@106.206.40.135] has joined ##java [02:07]
newbieG Here ( https://imgur.com/a/5eRMbSW ) the wildcard is restricted to super classes i.e *Employee* (if manager extends Employee) after that the author is saying compiler don't know the type of *setFirst* method therefore we cannot pass Employee or Object but we can pass subtype .... I am not getting how compiler's knowledge of method type is related to arguments [02:16]
xa0s_ [xa0s_!xa0s@ma.sdf.org] has joined ##java [02:16]
newbieG Please explain _/\_ i am trying to understand it for last 4-5 hours [02:17]
dreamreal newbieG: no. We already did. [02:20]
dreamreal If you didn't get it earlier, you ain't gonna get it now. Do what the compiler allows. It's right. [02:20]
KamelReds So, I get an index out of bounds exception with this, thought I was on the right path. Challenge: https://pastebin.com/YYUaJw5Z Code: https://pastebin.com/Mu6zadVH [02:24]
rajrajraj [rajrajraj!uid72176@gateway/web/irccloud.com/x-wbqpybusnlextjsk] has joined ##java [02:24]
dreamreal where do you get the index out of bounds exception [02:24]
newbieG dreamreal, with due respect I am not a genius like you by the way this is the first time I am learning Java or any OOPs language [02:25]
newbieG Please don't sound like ArchLinux guys [02:25]
dreamreal I'm not a genius like me either [02:25]
KamelReds dreamreal, line 25. https://pastebin.com/6vZ1VbHm [02:26]
dreamreal But we already explained this to you, more than once, and the COMPILER WON'T LET YOU DO IT WRONG. Do what the compiler allows. [02:26]
KamelReds The input I was using is "IDK if I'll go. It's my BFF's birthday." [02:26]
KamelReds So it's happening because there isn't a JK there. [02:26]
dreamreal what happens when the string isn't present [02:26]
dreamreal so... maybe check to see if it's there first [02:26]
KamelReds I get that. I guess what I'm asking is, how do I meet the criteria of using indexOf() while keeping this simple? [02:29]
dreamreal val idx=userInput.indexOf("FOO"); if(idx!=-1) ... [02:29]
dreamreal or if(userInput.contains("FOO")) // note that the former means you can re-use idx [02:30]
dreamreal Actually, why wouldn't you...just... search for the strings [02:30]
KamelReds I know. [02:30]
KamelReds I would just like to do string.contains("blah") then execute. [02:30]
KamelReds But the having to use .indexOf() is throwing me off. [02:30]
dreamreal Map<String, String> thing=mapOf("LOL", "Limited Operational Literacy", "JK", "I'm a dork"); for(String key:thing.keys) { if(userInput.contains(key)) { println(thing.get(key)); } } [02:31]
dreamreal why do you HAVE to use indexOf, that seems stupid as shit [02:31]
KamelReds It's just what the challenge states. [02:31]
dreamreal indexOf() will tell you the index of the substring, you don't need to check the substring, plus == is not how to compare strings in java [02:31]
dreamreal what the fuck is this code [02:32]
KamelReds "(2) Search the string (using indexOf()) to find the common abbreviations listed below [02:32]
KamelReds and print a list of each found abbreviation along with its decoded meaning." [02:32]
dreamreal well, is(userInput.indexOf("JK")!=-1) { println("This assignment sucks"); } [02:32]
dreamreal s/is/if/ [02:32]
KamelReds heh [02:33]
KamelReds thanks [02:33]
iam730 [iam730!~iam730@50-242-116-75-static.hfc.comcastbusiness.net] has joined ##java [02:33]
dreamreal use a map, though,doing it the way you're doing it blows goats [02:33]
SwiftMatt [SwiftMatt!~Objective@c-71-205-200-158.hsd1.co.comcast.net] has joined ##java [02:36]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [02:37]
LKoen [LKoen!~LKoen@81.255.219.130] has joined ##java [02:37]
KamelReds I guess that's what they wanted, since it let me continue. Thanks again! [02:39]
ravenousmoose [ravenousmoose!~ravenousm@ptr-cud5aqf7iatvd3jtp1o.18120a2.ip6.access.telenet.be] has joined ##java [02:45]
zalt__ [zalt__!~lambda443@unaffiliated/lambda443] has joined ##java [02:47]
iam730 [iam730!~iam730@50-242-116-75-static.hfc.comcastbusiness.net] has joined ##java [02:54]
Ozymandy [Ozymandy!~Ozymandy@mm-45-144-214-37.mogilev.dynamic.pppoe.byfly.by] has joined ##java [02:56]
Ozymandy [Ozymandy!~Ozymandy@mm-45-144-214-37.mogilev.dynamic.pppoe.byfly.by] has joined ##java [02:57]
Ozymandy [Ozymandy!~Ozymandy@mm-45-144-214-37.mogilev.dynamic.pppoe.byfly.by] has joined ##java [02:58]
iam730 [iam730!~iam730@45.41.132.35] has joined ##java [03:05]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:75da:2a26:e701:d98d] has joined ##java [03:10]
Hanii [Hanii!~Hanii@2a00:23c5:c587:a800:5437:a77e:182a:e54c] has joined ##java [03:12]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [03:21]
royal_screwup21 [royal_screwup21!89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242] has joined ##java [03:34]
zalt__ [zalt__!~lambda443@unaffiliated/lambda443] has joined ##java [03:36]
Ozymandy [Ozymandy!~Ozymandy@mm-45-144-214-37.mogilev.dynamic.pppoe.byfly.by] has joined ##java [03:49]
progart [progart!~kamee@188.115.236.222] has joined ##java [03:50]
zalt__ [zalt__!~lambda443@unaffiliated/lambda443] has joined ##java [03:52]
Rapture [Rapture!~textual@50-204-232-30-static.hfc.comcastbusiness.net] has joined ##java [03:54]
sleepywitch [sleepywitch!~textual@cpe-24-55-21-107.austin.res.rr.com] has joined ##java [03:55]
atrament666 parted the channel: [03:55]
fstd_ [fstd_!~fstd@unaffiliated/fisted] has joined ##java [04:00]
funeral [funeral!~Funeral@2a01:79d:b7df:4bd8:f3d4:5e09:6ffa:eb73] has joined ##java [04:05]
code_zombie [code_zombie!~code_zomb@2605:a601:aa1:da00:d5d0:273b:b923:ad40] has joined ##java [04:05]
Kol [Kol!~Kol@S0106bcd1656555bc.vc.shawcable.net] has joined ##java [04:06]
mindCrime [mindCrime!~mindCrime@216.85.170.148] has joined ##java [04:17]
royal_screwup21 [royal_screwup21!89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242] has joined ##java [04:20]
somazero [somazero!~somazero@2600:8805:100:112:4773:8b27:6607:769d] has joined ##java [04:25]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:75da:2a26:e701:d98d] has joined ##java [04:25]
emmanuelux [emmanuelux!~emmanuelu@2a01cb0000f39300fdd3e33eb9cf87f8.ipv6.abo.wanadoo.fr] has joined ##java [04:29]
macaronus [macaronus!macaronus@gateway/vpn/privateinternetaccess/macaronus] has joined ##java [04:30]
LunarJetman [LunarJetman!LunarJetma@bcde6232.skybroadband.com] has joined ##java [04:31]
tracks_droid [tracks_droid!~androirc@2600:100d:b124:c790:0:50:aab9:401] has joined ##java [04:40]
iam730 [iam730!~iam730@45.41.132.35] has joined ##java [04:42]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [04:43]
ravenousmoose [ravenousmoose!~ravenousm@ptr-cud5aqf7iatvd3jtp1o.18120a2.ip6.access.telenet.be] has joined ##java [05:00]
tracks [tracks!~tracks@2600:1700:ade0:4400:8533:52fc:81b9:dd7f] has joined ##java [05:10]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined ##java [05:24]
Jigsy [Jigsy!~Jigsy@unaffiliated/jigsy] has joined ##java [06:09]
ricky_clarkson kupi: Sounds like you might want autovalue builders. [06:19]
zoraj [zoraj!~zoraj@176.ip-92-222-79.eu] has joined ##java [06:24]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [06:24]
Jigsy` [Jigsy`!~Jigsy@unaffiliated/jigsy] has joined ##java [06:28]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [07:02]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [07:15]
atrament666 [atrament666!~atrament@cpc95006-newt38-2-0-cust73.19-3.cable.virginm.net] has joined ##java [07:18]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [07:19]
c0ns [c0ns!~c0ns@dslb-094-219-058-247.094.219.pools.vodafone-ip.de] has joined ##java [07:32]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [07:34]
zulutango [zulutango!~zulutango@d58-105-160-58.dsl.vic.optusnet.com.au] has joined ##java [07:38]
zkxs [zkxs!~zkxs@ip70-178-255-236.ks.ks.cox.net] has joined ##java [07:38]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [07:38]
Karyon [Karyon!~Karyon@unaffiliated/karyon] has joined ##java [07:41]
theWhisper_ [theWhisper_!~quassel@unaffiliated/thewhisper/x-7482734] has joined ##java [07:47]
theWhisper_ damm [07:47]
theWhisper_ i cant believe making a json request is like 40 lines in java [07:47]
Anthaas_ [Anthaas_!~Anthaas@unaffiliated/anthaas] has joined ##java [07:50]
kchz [kchz!~dschulz@168.195.227.98] has joined ##java [07:55]
zulutango [zulutango!~zulutango@d58-105-160-58.dsl.vic.optusnet.com.au] has joined ##java [08:00]
iam730 [iam730!~iam730@45.41.132.35] has joined ##java [08:04]
learningc [learningc!~learningc@mti-37-145.tm.net.my] has joined ##java [08:05]
nyxyn [nyxyn!~nyx_xyn@104-0-169-217.lightspeed.miamfl.sbcglobal.net] has joined ##java [08:06]
kirua [kirua!~kirua@unaffiliated/kirua] has joined ##java [08:09]
waz theWhisper_ and? [08:10]
learningc [learningc!~learningc@mti-37-145.tm.net.my] has joined ##java [08:12]
Jantz [Jantz!~IceChat9@118-93-131-65.dsl.dyn.ihug.co.nz] has joined ##java [08:18]
dreamreal theWhisper_: it isn't [08:19]
dreamreal theWhisper_: sending JSON in a request is not any longer than sending any other content. The only variable is the way in which it's delivered... as a header, it's one line, as a body, it's... one line [08:20]
Bebef [Bebef!sbreit@phobos.bebef.de] has joined ##java [08:21]
yawkat [yawkat!~yawkat@cats.coffee] has joined ##java [08:22]
waz you could make it 40 I suppose [08:23]
CheckYourSix [CheckYourSix!~quassel@unaffiliated/checkyoursix] has joined ##java [08:25]
theWhisper_ show me because all the example i see is like 20 lines just to do a request [08:28]
theWhisper_ dreamreal: [08:29]
theWhisper_ dreamreal: https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=USD&to_currency=JPY&apikey=demo [08:29]
theWhisper_ try to do a request to this url is like 20 lines to do the request i cant image to get the body [08:29]
theWhisper_ by the way here is the example https://chillyfacts.com/java-send-json-request-read-json-response/ [08:30]
theWhisper_ theWhisper_'s title: "Java-Send JSON Request and Read JSON Response - ChillyFacts" [08:30]
shicks_ [shicks_!~shicks252@2600:1700:2428:20b0:8944:3ec6:78dd:769c] has joined ##java [08:30]
waz haha, don't follow that guy for sure [08:37]
theWhisper_ ? [08:40]
hypc [hypc!~Thunderbi@175.164.7.150] has joined ##java [08:40]
theWhisper_ what you mean [08:40]
theWhisper_ waz: [08:40]
Jigsy` [Jigsy`!~Jigsy@unaffiliated/jigsy] has joined ##java [08:40]
tristianc [tristianc!~tristianc@pool-72-83-128-193.washdc.fios.verizon.net] has joined ##java [08:50]
shicks_ [shicks_!~shicks252@2600:1700:2428:20b0:8944:3ec6:78dd:769c] has joined ##java [09:01]
dreamreal theWhisper_: what waz means is that that guy isn't showing you good code [09:32]
theWhisper_ but how can you tell? [09:32]
dreamreal theWhisper_: see how long it is? [09:32]
dreamreal Do you remember people like me saying "it shouldn't be that long"? [09:33]
dreamreal gee [09:33]
dreamreal I wonder why [09:33]
dreamreal anyway, good luck [09:33]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [09:36]
dreamreal heh. It's odd logic, too. "Java's everywhere but nobody knows how to write libraries to make such calls easier." ... except they do and they have done, whoever wrote that web page is doing things the worst way possible. [09:37]
madflavor for example, they could use a higher level http client library, like apache httpclient [09:39]
cheeser or okhttp [09:39]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [09:41]
hypc1 [hypc1!~Thunderbi@175.164.7.150] has joined ##java [09:46]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [09:48]
tomboy64 [tomboy64!~tomboy64@gateway/tor-sasl/tomboy64] has joined ##java [09:48]
hypc1 [hypc1!~Thunderbi@175.164.7.150] has joined ##java [09:51]
nb-ben I think making these mistakes is a healthy part of programmer puberty.. To a degree of course. [09:53]
hypc1 [hypc1!~Thunderbi@175.164.7.150] has joined ##java [09:55]
kicked hypc (Banned: please fix your connection. you're bouncing in and out. this ban will expire after 2h) [09:56]
theWhisper_ without more further do [09:57]
zalt__ [zalt__!~lambda443@unaffiliated/lambda443] has joined ##java [09:57]
theWhisper_ show how you would do the request [09:57]
theWhisper_ and parse the json [09:58]
theWhisper_ if is that small and simple [09:58]
theWhisper_ dreamreal: https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=USD&to_currency=JPY&apikey=demo [09:58]
theWhisper_ thats the api [09:58]
cfoch [cfoch!uid153227@gateway/web/irccloud.com/x-ljommbqelnocjemx] has joined ##java [10:06]
dreamreal https://www.vogella.com/tutorials/JavaLibrary-OkHttp/article.html [10:10]
dreamreal dreamreal's title: "Using the OkHttp library for HTTP requests - Tutorial - Tutorial" [10:10]
sleepywitch [sleepywitch!~textual@cpe-24-55-21-107.austin.res.rr.com] has joined ##java [10:10]
dreamreal a simple example from the web [10:10]
dreamreal apparently even google knows about it [10:10]
dreamreal and you'd use jackson or gson to build the json body content [10:10]
Nightwing52 [Nightwing52!~Thunderbi@67.7.3.53] has joined ##java [10:15]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined ##java [10:17]
runlevel7 [runlevel7!~runlevel7@unaffiliated/runlevel7] has joined ##java [10:33]
pi0 [pi0!zeropi@gateway/shell/xshellz/x-hibqpjkmbvelfaqy] has joined ##java [10:43]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [10:54]
quadsar [quadsar!~quadsar@unaffiliated/quadsar] has joined ##java [10:56]
ham [ham!~z0mbie@unaffiliated/ragnarokkr] has joined ##java [11:00]
LearnAllTheTime [LearnAllTheTime!~LearnAllT@2601:cc:4000:9db0::4801] has joined ##java [11:06]
zulutango [zulutango!~zulutango@d58-105-160-58.dsl.vic.optusnet.com.au] has joined ##java [11:23]
tristianc [tristianc!~tristianc@pool-72-83-128-193.washdc.fios.verizon.net] has joined ##java [11:31]
zulutango [zulutango!~zulutango@d58-105-160-58.dsl.vic.optusnet.com.au] has joined ##java [11:32]
zulutango [zulutango!~zulutango@d58-105-160-58.dsl.vic.optusnet.com.au] has joined ##java [11:41]
nokdoot [nokdoot!~nokdoot@211.205.207.39] has joined ##java [11:42]
dextro67 [dextro67!dextro67@nat/redhat/x-werigmjwonjmzbua] has joined ##java [11:51]
learningc [learningc!~learningc@mti-37-145.tm.net.my] has joined ##java [11:58]