Info

Login

Channels

APIs

Credits

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

« 2021-01-23

2021-01-24

2021-01-25 »

Nick Message Date
ScrambledRK [ScrambledRK!~RK@80-110-106-6.cgn.dynamic.surfer.at] has joined ##java [12:30]
ScrambledRK parted the channel: [12:30]
ScrambledRK [ScrambledRK!~RK@80-110-106-6.cgn.dynamic.surfer.at] has joined ##java [12:34]
asy [asy!~asymptoti@gateway/tor-sasl/asymptotically] has joined ##java [01:07]
AmVarPG [AmVarPG!~amvarpg@pool-100-36-155-137.washdc.fios.verizon.net] has joined ##java [01:36]
alza [alza!uid49753@gateway/web/irccloud.com/x-witfwenrgjbrhmbu] has joined ##java [01:44]
mindCrime_ [mindCrime_!~prhodes@2603-6080-5900-001c-33e9-8731-abb2-ef1d.res6.spectrum.com] has joined ##java [01:45]
Abbott [Abbott!~Abbott@unaffiliated/abbott] has joined ##java [01:49]
xekz [xekz!~kexmex@unaffiliated/kexmex] has joined ##java [02:26]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [02:38]
average [average!uid473595@gateway/web/irccloud.com/x-ukssvwxbapwnnvtj] has joined ##java [02:55]
dendazen [dendazen!~dendazen@pool-96-242-127-31.nwrknj.fios.verizon.net] has joined ##java [02:57]
kh [kh!~kh@unaffiliated/kh] has joined ##java [03:05]
AcTiVaTe [AcTiVaTe!~activate@host-4b6u8h.tnz1.zeelandnet.nl] has joined ##java [03:09]
fingo [fingo!~fingo@gateway/tor-sasl/fingo] has joined ##java [03:10]
CombatVet [CombatVet!~c4@gateway/tor-sasl/combatvet] has joined ##java [03:10]
DonRichie [DonRichie!~DonRichie@ricl.de] has joined ##java [03:14]
mindCrime [mindCrime!~prhodes@cpe-98-27-55-10.nc.res.rr.com] has joined ##java [03:15]
ScrambledRK [ScrambledRK!~RK@80-110-106-6.cgn.dynamic.surfer.at] has joined ##java [03:21]
chico_ [chico_!~chico@i5E866698.versanet.de] has joined ##java [03:30]
chico_ hi, maybe not entirely on-topic here, but do you know this Java joke with AIDS? I heard it once, but forgot :/ [03:34]
db I'm sure it's funny af [03:39]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined ##java [03:40]
d1b [d1b!~db@linode.d1b.org] has joined ##java [03:41]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [04:18]
Inline [Inline!~Inline@2a02:908:1252:7a80:e4a3:b6fd:2259:d7be] has joined ##java [04:27]
veegee [veegee!~veegee@142.126.187.41] has joined ##java [04:35]
mindCrime [mindCrime!~prhodes@2603-6080-5900-001c-33e9-8731-abb2-ef1d.res6.spectrum.com] has joined ##java [04:52]
upgrdman [upgrdman!~upgrdman@blender/artist/upgrdman] has joined ##java [04:59]
chico_ yeah it is [05:14]
chico_ too bad no mention of it yet :( [05:14]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [05:21]
mapperr [mapperr!~mapperr@vmi389916.contaboserver.net] has joined ##java [05:22]
black_ant [black_ant!~antilope@unaffiliated/black-ant/x-1505394] has joined ##java [05:23]
seschwar [seschwar!~seschwar@unaffiliated/seschwar] has joined ##java [05:32]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [05:50]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:509c:9178:2343:4bec] has joined ##java [05:50]
gelignite [gelignite!~gelignite@55d44556.access.ecotel.net] has joined ##java [05:57]
katana [katana!~katana@unaffiliated/katana] has joined ##java [05:57]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [05:58]
led1 [led1!~Thunderbi@217.66.160.14] has joined ##java [06:04]
xekz [xekz!~kexmex@unaffiliated/kexmex] has joined ##java [06:05]
perrier-jouet [perrier-jouet!~perrier-j@modemcable012.251-130-66.mc.videotron.ca] has joined ##java [06:13]
veegee_ [veegee_!~veegee@142.126.187.41] has joined ##java [06:15]
ordos [ordos!~ordos@155.93.170.232] has joined ##java [06:21]
somazero [somazero!~somazero@ip68-229-109-35.hr.hr.cox.net] has joined ##java [06:21]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [06:28]
LKoen [LKoen!~LKoen@19.175.9.109.rev.sfr.net] has joined ##java [06:28]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [06:34]
juuandyy [juuandyy!~juuandyy@90.106.228.121] has joined ##java [06:41]
dqx_ [dqx_!~dqx@unaffiliated/dqx] has joined ##java [06:55]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [07:04]
chris64 [chris64!~chris@unaffiliated/chris64] has joined ##java [07:08]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [07:18]
Kvikk_Lunsj [Kvikk_Lunsj!~Kvikk@2a03:3a60:c:81:c1:15c:c:19] has joined ##java [07:20]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:509c:9178:2343:4bec] has joined ##java [07:21]
juuandyy [juuandyy!~juuandyy@90.106.228.121] has joined ##java [07:24]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:a141:2f03:571d:7985] has joined ##java [07:38]
dreamreal morning [08:04]
LikMask morning [08:12]
ordos g'morning [08:24]
Tabmow [Tabmow!~tabmow@freenode/staff-emeritus/tabmow] has joined ##java [08:28]
paws_ [paws_!uid89121@gateway/web/irccloud.com/x-xvitpztfdjatjcpz] has joined ##java [08:28]
MrFlibble [MrFlibble!Rimmer@94.14.182.161] has joined ##java [08:48]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:79ad:6500:4fb4:358e] has joined ##java [08:49]
ScrambledRK [ScrambledRK!~RK@80-110-106-6.cgn.dynamic.surfer.at] has joined ##java [09:14]
di0_ [di0_!~di0_@unaffiliated/di0-/x-5053590] has joined ##java [09:21]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [09:24]
dendazen [dendazen!~dendazen@pool-96-242-127-31.nwrknj.fios.verizon.net] has joined ##java [09:24]
LKoen_ [LKoen_!~LKoen@19.175.9.109.rev.sfr.net] has joined ##java [09:30]
kirua [kirua!~kirua@unaffiliated/kirua] has joined ##java [09:36]
jadesoturi [jadesoturi!~jadesotur@unaffiliated/kfj] has joined ##java [09:38]
Inline [Inline!~Inline@2a02:908:1252:7a80:e4a3:b6fd:2259:d7be] has joined ##java [09:42]
led1 [led1!~Thunderbi@217.66.160.14] has joined ##java [09:43]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:a100:8d87:2701:d29d] has joined ##java [09:45]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:c010:be38:ca8a:3560] has joined ##java [09:47]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:50d8:9617:5c79:3767] has joined ##java [09:53]
dreamreal no java stuff, it's more C, Matlab, Python, but there're algorithms and other subjects represented: https://www.humblebundle.com/books/programming-fundamentals-mercury-books [09:56]
dreamreal dreamreal's title: "Humble Book Bundle: Programming Fundamentals by Mercury (pay what you want and help charity)" [09:56]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:871:ead2:c7bd:93eb] has joined ##java [09:58]
bendem [bendem!~bendem@irc.bendem.be] has joined ##java [10:23]
mmkarakaya [mmkarakaya!b021e288@176.33.226.136] has joined ##java [10:26]
luxemboye [luxemboye!~luxemboye@gateway/tor-sasl/luxemboye] has joined ##java [10:29]
davsot [davsot!~david@81.61.242.182.dyn.user.ono.com] has joined ##java [10:37]
Feuermagier [Feuermagier!~Feuermagi@213.178.26.41] has joined ##java [10:50]
halprin [halprin!~halprin@45-16-213-131.lightspeed.elpstx.sbcglobal.net] has joined ##java [11:06]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [11:12]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [11:37]
immibis [immibis!~immibis@62.156.144.218] has joined ##java [12:05]
sa02irc [sa02irc!~mbax@155-079-043-212.ip-addr.inexio.net] has joined ##java [12:08]
katana [katana!~katana@unaffiliated/katana] has joined ##java [12:10]
AmVarPG [AmVarPG!~amvarpg@pool-100-36-155-137.washdc.fios.verizon.net] has joined ##java [12:21]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-mxncuhjhaxdyvhdb] has joined ##java [12:32]
black_ant [black_ant!~antilope@unaffiliated/black-ant/x-1505394] has joined ##java [12:44]
tilerendering [tilerendering!~conxtasy@c-base/crew/conx] has joined ##java [01:01]
tilerendering hola [01:01]
tilerendering can anybody read me? [01:01]
dreamreal no [01:02]
tilerendering I will serialize you! [01:04]
mindCrime [mindCrime!~prhodes@2603-6080-5900-001c-33e9-8731-abb2-ef1d.res6.spectrum.com] has joined ##java [01:11]
dreamreal sighs [01:11]
plarsen [plarsen!~plarsen@redhat/jboss/pdpc.professional.plarsen] has joined ##java [01:21]
tang^ welcome to Sunday in ##java. the weirdest day of the week [01:22]
tilerendering you know during the corona crisis i have larned to see sunday just like every other day [01:25]
justmondris [justmondris!c5fd3b9e@gateway/web/cgi-irc/kiwiirc.com/ip.197.253.59.158] has joined ##java [01:29]
justmondris hello, i have two questions regarding caching with redis [01:30]
justmondris here is my code : https://bpa.st/3456Y [01:30]
justmondris question 1: i how i use a field value from a DTO as my cachekey [01:31]
justmondris i am passing a dto to the method i want to cache [01:31]
justmondris question 2 : i have three methods and all of them are calling the db to get user by email i.e final User user = userRepository.getByEmail(request.getEmail()). How do i cache the value of this object so that other objects will check if it exists in the cache before calling the db [01:34]
justmondris ? [01:34]
justmondris please any one that is free can help [01:41]
justmondris i have solved question 1 remaining only question 2 [01:43]
veegee [veegee!~veegee@142.126.187.41] has joined ##java [01:46]
dendazen [dendazen!~dendazen@pool-96-242-127-31.nwrknj.fios.verizon.net] has joined ##java [01:48]
mindCrime [mindCrime!~prhodes@2603-6080-5900-001c-33e9-8731-abb2-ef1d.res6.spectrum.com] has joined ##java [01:50]
Nightwing52 [Nightwing52!~Thunderbi@174.30.230.35] has joined ##java [01:57]
mindCrime [mindCrime!~prhodes@2603-6080-5900-001c-33e9-8731-abb2-ef1d.res6.spectrum.com] has joined ##java [02:12]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [02:12]
Hallcyon [Hallcyon!~Hallcyon@122.199.46.116] has joined ##java [02:19]
Velgor [Velgor!~Velgor@HSI-KBW-078-043-081-078.hsi4.kabel-badenwuerttemberg.de] has joined ##java [02:19]
Inline [Inline!~Inline@2a02:908:1252:7a80:e4a3:b6fd:2259:d7be] has joined ##java [02:20]
bolovanos__ [bolovanos__!~bolovanos@unaffiliated/bolovanos] has joined ##java [02:29]
Sgeo [Sgeo!~Sgeo@ool-18b98aa4.dyn.optonline.net] has joined ##java [02:30]
fax [fax!~quassel@unaffiliated/fax] has joined ##java [02:41]
AcTiVaTe [AcTiVaTe!~activate@host-4b6u8h.tnz1.zeelandnet.nl] has joined ##java [02:51]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined ##java [02:58]
johnwickmode [johnwickmode!~johnwickm@2601:5c3:4100:b180::2896] has joined ##java [03:03]
ircuse [ircuse!~salparadi@129.146.17.140] has joined ##java [03:04]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [03:11]
AMcBain [AMcBain!~Art@071-085-028-052.res.spectrum.com] has joined ##java [03:14]
black_ant [black_ant!~antilope@unaffiliated/black-ant/x-1505394] has joined ##java [03:20]
tilerendering [tilerendering!~conxtasy@c-base/crew/conx] has joined ##java [03:32]
WillPittenger From a `Class<t>` object where the class described was an instance of `java.util.Map<k, v>`, how do I get the type of `v`? How I handle it depends on that type. [03:34]
WillPittenger `getTypeVariables()`? [03:36]
ordos WillPittenger, I don't think you, not without looking at the actual objects contained in the map [03:36]
ordos *I don't think you can [03:36]
WillPittenger OK. [03:37]
ordos WillPittenger, read up on "type erasure" [03:39]
WillPittenger I'm familiar with it and hate it. C# handles generics better. [03:40]
_lucifer depending on what you want to do, reflection might be helpful to some extent [03:40]
WillPittenger That's what I'm doing. [03:42]
_lucifer also brian goetz's take on erasure might make you hate it less https://cr.openjdk.java.net/~briangoetz/valhalla/erasure.html [03:42]
ordos WillPittenger, if you only have the instance I'm not sure how reflection would help. [03:44]
ordos _lucifer, as far as I know you can't retrieve the compile-time type, but certainly open to learning new things [03:45]
WillPittenger That's how I figured out it was a map. And once I have an instance of a value, I can get the type of the value. [03:45]
somazero [somazero!~somazero@ip68-229-109-35.hr.hr.cox.net] has joined ##java [03:46]
ordos I meant without actually looking at the object(s) contained in the map as mentioned earlier [03:46]
xekz [xekz!~kexmex@unaffiliated/kexmex] has joined ##java [03:50]
_lucifer ordos, i meant that there might be a workaround without knowing the actual parameterized type. [03:52]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:d170:702b:6a41:ea3f] has joined ##java [03:52]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:4c4b:82f8:d5b6:51fe] has joined ##java [03:56]
ADG1089__ [ADG1089__!~aditya@122.163.160.223] has joined ##java [04:04]
katana [katana!~katana@unaffiliated/katana] has joined ##java [04:08]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [04:27]
halprin [halprin!~halprin@45-16-213-131.lightspeed.elpstx.sbcglobal.net] has joined ##java [04:32]
hammond is there anyway to increase CPU usage for an application that needs a lot of CPU? [04:33]
hammond in java [04:33]
ernimril hammond, uhm... no [04:33]
ernimril hammond, write your application so that it can use the cpu and the OS will most often allow it (unless you nice your process or something like that) [04:34]
hammond ern i have an app running for like 4 hrs that needs to calculate 100 billion data points and it's only using 10% CPU. [04:34]
hammond ernimril: * [04:34]
ernimril hammond, then find out why it is not using more. One common problem is that you are IO bound [04:34]
hammond no IO at the moment. lot of memory being used (if 100 mb is a lot) then it drops it and calculates the other batch. [04:36]
ernimril hammond, grab a profiler and find out what your program is doing or grab some full thread dumps from console [04:37]
ernimril hammond, also note that if you have 10 cpu cores and you have written a single threaded program then that may show up as 10% cpu usage [04:38]
hammond possibly [04:39]
hammond i really do not want to rewrite this in c++ [04:40]
ernimril hammond, you do realize that for plain math programs java and c++ are equal [04:41]
nkm [nkm!uid477553@gateway/web/irccloud.com/x-prxbdbxtzrwwugxz] has joined ##java [04:42]
hammond i would still have to thread it in c++? [04:42]
hammond lemmi try and see [04:43]
ernimril hammond, I have no idea what your program do. I have no idea if you can benefit from threading [04:43]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [04:45]
ordos hammond, what hosting platform are you running that test on [04:56]
ordos I'm just spit-balling here, but if your CPU is capped at 10% and you are not IO bound, then it's possibly the cloud provider's burstable performance instance policy and a case of you have exceeded your baseline utilisation. [04:59]
xuxx_ [xuxx_!~jouts@109.41.176.95.rev.sfr.net] has joined ##java [05:00]
xuxx_ I know it's not there but maybe someone can help me. The autocompletion on eclipse is really bad. Is it because I need to install a plugin? [05:01]
Cmaj6 [Cmaj6!~seef@77-41-20-31.ftth.glasoperator.nl] has joined ##java [05:03]
hnOsmium0001 [hnOsmium0001!uid453710@gateway/web/irccloud.com/x-sfvlzmosuaecvhtq] has joined ##java [05:05]
hammond ordos jst my windowze box. [05:05]
Cmaj6 parted the channel: [05:10]
johnwickmode [johnwickmode!~johnwickm@2601:5c3:4100:b180::2896] has joined ##java [05:17]
enoq [enoq!~bernhard@2a02:8388:6ac1:c780:140:318f:2327:47a3] has joined ##java [05:26]
hammond much better thx ernimril it was the threading. [05:31]
ordos ernimril++ [05:33]
xekz [xekz!~kexmex@unaffiliated/kexmex] has joined ##java [05:40]
Inline [Inline!~Inline@2a02:908:1252:7a80:e4a3:b6fd:2259:d7be] has joined ##java [05:53]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [05:54]
mindCrime [mindCrime!~prhodes@2603-6080-5900-001c-33e9-8731-abb2-ef1d.res6.spectrum.com] has joined ##java [06:06]
bolovanos_ [bolovanos_!~bolovanos@unaffiliated/bolovanos] has joined ##java [06:29]
TideFN [TideFN!~TideFN@2601:cb:8280:9520:a954:95df:6be1:35f7] has joined ##java [06:44]
katana [katana!~katana@unaffiliated/katana] has joined ##java [06:56]
dec0d3r [dec0d3r!~dec0d3r@2001:8003:4824:7000:c786:e7d2:abcd:40ab] has joined ##java [07:11]
internecine [internecine!~interneci@unaffiliated/internecine] has joined ##java [07:13]
tang^_ [tang^_!sid471498@gateway/web/irccloud.com/x-xsfimvphdjrbkxyo] has joined ##java [07:17]
nickb [nickb!sid293439@gateway/web/irccloud.com/x-bvpalsscpljweopf] has joined ##java [07:17]
lolmac [lolmac!sid171216@gateway/web/irccloud.com/x-skvgsdcnuzmeicca] has joined ##java [07:18]
puppy_za [puppy_za!sid277586@gateway/web/irccloud.com/x-fkptcbmytdvvmlnb] has joined ##java [07:18]
r0bby [r0bby!sid699@guifications/user/r0bby] has joined ##java [07:18]
MrTrick [MrTrick!uid181961@gateway/web/irccloud.com/x-fqimpgowqiisphoq] has joined ##java [07:19]
Teckla [Teckla!sid172075@gateway/web/irccloud.com/x-enabhxmmkunxlfhs] has joined ##java [07:19]
average [average!uid473595@gateway/web/irccloud.com/x-esppqliatvqadfgd] has joined ##java [07:19]
pingveno [pingveno!sid269408@gateway/web/irccloud.com/x-yhqwvbmxfazvmfwf] has joined ##java [07:19]
ffwacom [ffwacom!sid36937@gateway/web/irccloud.com/x-dbezzslqwtckfsad] has joined ##java [07:19]
Manouchehri [Manouchehri!sid384576@gateway/web/irccloud.com/x-pifmztkvcqdlqsye] has joined ##java [07:20]
hnOsmium0001 [hnOsmium0001!uid453710@gateway/web/irccloud.com/x-mfwgwtrbprcypjmk] has joined ##java [07:20]
graphicsv [graphicsv!sid340368@gateway/web/irccloud.com/x-hqbamirbyzsbdwzj] has joined ##java [07:20]
jhill [jhill!sid1055@gateway/web/irccloud.com/x-ufmhqusscddjuzsm] has joined ##java [07:20]