Info

Login

Channels

APIs

Credits

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

« 2019-08-14

2019-08-15

2019-08-16 »

Nick Message Date
SferaDev [SferaDev!~SferaDev@unaffiliated/sferadev] has joined #kotlin [12:01]
djhworld [djhworld!~djhworld@90.252.112.212] has joined #kotlin [12:40]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [01:18]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [01:29]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [01:39]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [01:54]
raoul11_ [raoul11_!~raoul11_@unaffiliated/raoul11] has joined #kotlin [01:56]
Ladicek [Ladicek!~lthon@109.164.114.141] has joined #kotlin [02:08]
Pitel [Pitel!~pitel@fw2o.masterinter.net] has joined #kotlin [02:40]
Proximyst [Proximyst!~Proximyst@116.203.198.234] has joined #kotlin [03:07]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [03:11]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [04:19]
mevodad [mevodad!~jottinger@unaffiliated/dreamreal] has joined #kotlin [05:11]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined #kotlin [05:31]
mevodad Bombe: https://medium.com/@marcogomiero/a-journey-from-async-task-to-kotlin-coroutines-735c273d76cb [05:34]
mossylane [mossylane!~mossylane@2001:980:95d2:1:f3a5:deaf:4721:5764] has joined #kotlin [05:50]
hil8 [hil8!~hil@41.215.172.205] has joined #kotlin [06:13]
robowarrior [robowarrior!75635749@117.99.87.73] has joined #kotlin [06:22]
robowarrior hi, i'd like to know if there's any way to "limit" number of running "job"s with coroutines in kotlin; i.e., something like executor service; [06:25]
robowarrior the reason I want to do this is to prevent too many http calls to a service. [06:25]
robowarrior am i looking at this the wrong way (xy) ? [06:26]
robowarrior the way I'm understanding this won't work (probably wrong) is since a suspending function "gives" back the thread to the pool, another job can be queued [06:28]
robowarrior example code: https://pastebin.com/raw/dzKk54yf [06:28]
LordDrako [LordDrako!~LordDrako@ip-81-201-149-237.static.reverse.dsi.net] has joined #kotlin [06:29]
robowarrior example 2 : https://pastebin.com/raw/Aj6cSu9y [06:29]
robowarrior both end up kinda DOS'ing localhost:5000 [06:30]
robowarrior "fixed" example 2: https://pastebin.com/raw/zKCetDg9 [06:35]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined #kotlin [06:52]
midNightCoder [midNightCoder!~midNightC@171.50.233.212] has joined #kotlin [07:18]
Tazmain I wonder if you can saturate a 10Gbe network connection with kotlin, I've seen reports for C# for asp.net core [07:22]
robowarrior Tazmain it is not about saturating the 10Gbe network connection; its about the service on the other end not being able to handle that many requests ;_; [07:23]
Tazmain true [07:23]
Tazmain https://www.ageofascent.com/2019/02/04/asp-net-core-saturating-10gbe-at-7-million-requests-per-second/ <- this is the article [07:23]
Tazmain seems rust pulls out on top most of the tiems [07:23]
Tazmain times * [07:23]
mevodad Tazmain: I saturated a network with good old java 1.2, not a 10Gbe network, but the equivalent back in 2005 [07:24]
Dejan [Dejan!~dejan@unaffiliated/dejan] has joined #kotlin [07:27]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [07:30]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [07:40]
MassDebates [MassDebates!~MassDebat@unaffiliated/massdebates] has joined #kotlin [07:55]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [08:01]
Bombe mevodad, thanks. [08:08]
mevodad dunno if that's helpful or not, just saw it and thought it might be interesting for you [08:09]
Bombe Even if the article itself doesn?t, there are a couple of links in there that maybe might. [08:09]
Bombe I?m pretty sure coroutines are not that incredibly hard to understand, I always feel like I?m very close to everything just falling into place. [08:10]
mevodad yeah, I totally understand that feeling [08:10]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [08:11]
robowarrior the part i'm not able to wrap my head around still is that at some "point" this function is going to get "suspended" and poof, another function will get picked up; while still "all" the suspended functions would be polled (?) in the background and as soon as they complete, they'll be resumed [08:22]
robowarrior so, ye, probably on the other end of the spectrum [08:22]
Pitlik [Pitlik!~pitel@fw2o.masterinter.net] has joined #kotlin [08:23]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [08:29]
DiabloD3 [DiabloD3!foobar@exelion.net] has joined #kotlin [08:33]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [08:42]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [08:53]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [08:55]
therue [therue!~rue@2001-b011-1000-1a40-06b3-abc9-993c-7168.dynamic-ip6.hinet.net] has joined #kotlin [09:01]
Dejan [Dejan!~dejan@unaffiliated/dejan] has joined #kotlin [09:29]
Dejan [Dejan!~dejan@unaffiliated/dejan] has joined #kotlin [09:30]
hil8 [hil8!~hil@41.215.173.86] has joined #kotlin [10:09]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [10:13]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined #kotlin [10:18]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [10:23]
hil8 [hil8!~hil@41.215.165.233] has joined #kotlin [10:27]
t2mkn [t2mkn!~t2mkn@43.226.2.105] has joined #kotlin [10:29]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [10:34]
ChrisLane [ChrisLane!~irc@cpc119606-heme14-2-0-cust161.9-1.cable.virginm.net] has joined #kotlin [10:43]
raoul11__ [raoul11__!~raoul11_@unaffiliated/raoul11] has joined #kotlin [10:54]
argo [argo!~argo@unaffiliated/argo] has joined #kotlin [11:01]
Dejan [Dejan!~dejan@unaffiliated/dejan] has joined #kotlin [11:05]
Dejan [Dejan!~dejan@unaffiliated/dejan] has joined #kotlin [11:06]
gko [gko!~gko@2400:8902::f03c:91ff:fe70:e605] has joined #kotlin [11:13]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [11:14]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [11:24]
raoul11_ [raoul11_!~raoul11_@unaffiliated/raoul11] has joined #kotlin [11:47]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined #kotlin [11:50]
IAmRoot04 [IAmRoot04!~user@91.253.181.218] has joined #kotlin [11:57]
funeral [funeral!~Funeral@2a01:79d:3e82:4b8c:a393:7879:435f:9c81] has joined #kotlin [12:24]
zutat [zutat!4e317141@unaffiliated/zutat] has joined #kotlin [12:25]
raoul11_ [raoul11_!~raoul11_@unaffiliated/raoul11] has joined #kotlin [12:28]
DiabloD3 [DiabloD3!foobar@exelion.net] has joined #kotlin [12:54]
raoul11_ [raoul11_!~raoul11_@unaffiliated/raoul11] has joined #kotlin [12:57]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [01:05]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined #kotlin [01:15]
t2mkn [t2mkn!~t2mkn@43.226.2.105] has joined #kotlin [01:48]
Proximyst [Proximyst!~Proximyst@116.203.198.234] has joined #kotlin [02:50]
niceplace [niceplace!~nplace@185.128.25.132] has joined #kotlin [04:37]
hil8 [hil8!~hil@41.215.171.111] has joined #kotlin [05:02]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [05:05]
djhworld [djhworld!~djhworld@90.252.112.212] has joined #kotlin [05:09]
midNightCoder [midNightCoder!~midNightC@171.50.233.212] has joined #kotlin [05:40]