Info

Login

Channels

APIs

Credits

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

« 2019-04-13

2019-04-14

2019-04-15 »

Nick Message Date
KeyJoo [KeyJoo!~KeyJoo@83.220.182.11] has joined #kotlin [01:19]
kostrifon [kostrifon!~kostrifon@31.28.114.241] has joined #kotlin [01:29]
funeral [funeral!~Funeral@102.79-160-144.customer.lyse.net] has joined #kotlin [01:59]
funeral [funeral!~Funeral@185.206.225.196] has joined #kotlin [02:06]
raoul11_ [raoul11_!~raoul11_@unaffiliated/raoul11] has joined #kotlin [02:57]
djhworld [djhworld!~djhworld@90.255.44.165] has joined #kotlin [03:21]
djhworld [djhworld!~djhworld@90.255.44.165] has joined #kotlin [03:25]
OtakuSenpai [OtakuSenpai!avraneel@unaffiliated/neel] has joined #kotlin [03:46]
macropreprocess [macropreprocess!~macroprep@cpe-172-193-55-193.qld.foxtel.net.au] has joined #kotlin [03:51]
kostrifon [kostrifon!~kostrifon@31.28.114.241] has joined #kotlin [04:23]
Lengsdorfer [Lengsdorfer!Elite20577@gateway/shell/elitebnc/x-fjmpewycqqfqntij] has joined #kotlin [04:32]
computeiro [computeiro!~computeir@189.15.169.10] has joined #kotlin [05:55]
waz [waz!~waz@pdpc/supporter/active/waz] has joined #kotlin [06:00]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [06:01]
intrigus [intrigus!uid114902@gateway/web/irccloud.com/x-awpwvjxkjicbzqvv] has joined #kotlin [06:07]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [06:33]
lankanmon [lankanmon!~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com] has joined #kotlin [06:52]
kapil____ [kapil____!uid36151@gateway/web/irccloud.com/x-mhlyscchlesfkaot] has joined #kotlin [07:08]
kostrifon [kostrifon!~kostrifon@31.28.114.241] has joined #kotlin [07:12]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net] has joined #kotlin [07:36]
macropreprocess [macropreprocess!~macroprep@cpe-172-193-55-193.qld.foxtel.net.au] has joined #kotlin [07:44]
macropreprocess i dont like gradle ;-; it keeps eating all my RAM with multiple gradle deamons [07:46]
yawkat can always use maven [07:49]
macropreprocess ok [07:52]
macropreprocess ill try and port my project to Intellij Kotlin Native, as at least that way i can be certain that the only thing using RAM will be my application, no java, and no gradle [07:55]
macropreprocess even though it may take around 26 mins to compile which is insane, even gcc doesnt take that long to compile a project [07:56]
macropreprocess rip IntelliJ Kotlin Native uses Gradle ;-; [08:03]
Addax haha [08:23]
Addax what a moran [08:23]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [08:44]
raoul11_ puzzeled again with AbstractMethodError and java interop [08:54]
raoul11_ wtf is this compiling /: [08:54]
Addax dunno, can't see it [08:54]
raoul11_ java interface, called from a couple of places, added one method to it, forgot to override it in one place [08:55]
raoul11_ throws AbstractMethodError [08:55]
Addax show us [08:56]
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. [08:56]
Addax but if you know what the problem is... well, there you. But it does seem odd that it's compiling. [08:56]
raoul11_ its actually a kotlin interface, which is not implemented in that java class [08:57]
raoul11_ not implemented fully* [08:57]
Addax sounds like a compilation phase problem, because aren't kotlin and java compiled at different times? [08:58]
raoul11_ not sure really [08:59]
raoul11_ but my face when crashlytics dumped 3 webhooks off it \: [08:59]
Addax (They are) [08:59]
raoul11_ mhm, now it breaks [09:04]
vigilancer [vigilancer!~developer@unaffiliated/vigilancer] has joined #kotlin [09:09]
vortumnus [vortumnus!sid215256@gateway/web/irccloud.com/x-lysuteduortgzgqm] has joined #kotlin [09:18]
macropreprocess what is the equivilant of java.nio.ByteBuffer in kotlin [09:33]
Addax ByteArray [09:33]
yawkat or, well, java.nio.ByteBuffer. [09:47]
macropreprocess and would a List be equivilant to an ArrayDeque [09:47]
yawkat no [09:47]
macropreprocess MutableList * [09:47]
yawkat still no [09:48]
Addax macropreprocess: haven't we had, like, hours' worth of discussion over exactly these questions? [09:48]
Addax I have a question for you: is your short term memory broken? Maybe long term memory is broken? Are you stoned all the time? [09:48]
Addax if you ARE stoned all the time, good for you, but I'd suggest staying away from IRC [09:52]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [09:55]
kostrifon [kostrifon!~kostrifon@31.28.114.241] has joined #kotlin [10:39]
intrigus [intrigus!uid114902@gateway/web/irccloud.com/x-jrbttejtdhjxiowy] has joined #kotlin [10:47]
ovalseven8 [ovalseven8!~ovalseven@unaffiliated/ovalseven8] has joined #kotlin [11:03]
ovalseven8 runBlocking looks like this: public fun <T> runBlocking(context: kotlin.coroutines.CoroutineContext, block: suspend kotlinx.coroutines.CoroutineScope.() -> T): T [11:04]
ovalseven8 How come that "runBlocking { // code }" works? How is the context passed? [11:04]
yawkat theres a default value for the context [11:25]
kapil____ [kapil____!uid36151@gateway/web/irccloud.com/x-agphsnfikvxgrejk] has joined #kotlin [11:34]
KeyJoo [KeyJoo!~KeyJoo@83.220.182.11] has joined #kotlin [11:48]
ppareit [ppareit!~ppareit@178-117-89-32.access.telenet.be] has joined #kotlin [11:49]
zutat [zutat!5d8507a6@gateway/web/freenode/ip.93.133.7.166] has joined #kotlin [12:00]
kostrifon [kostrifon!~kostrifon@31.28.114.241] has joined #kotlin [12:01]
ppareit [ppareit!~ppareit@178-117-89-32.access.telenet.be] has joined #kotlin [12:51]
ppareit [ppareit!~ppareit@ptr-cdbjikpv8fq7qltqnmu.18120a2.ip6.access.telenet.be] has joined #kotlin [12:57]
paws_ [paws_!uid89121@gateway/web/irccloud.com/x-cqxnkoapbfzattja] has joined #kotlin [01:44]
jhns [jhns!~jhns@2a01:4f8:121:31ef::31] has joined #kotlin [01:46]
ovalseven8 [ovalseven8!~ovalseven@unaffiliated/ovalseven8] has joined #kotlin [01:46]
ovalseven8 What's usually the starting point of coroutines? Let's say I'm programming a simple server. So, is in the main() function a runBlocking() call and in this block there's a GlobalScope.launch() or is there any "best practice"? [01:47]
yawkat for io, coroutines would be launched and resumed from an event loop [01:48]
ovalseven8 [ovalseven8!~ovalseven@unaffiliated/ovalseven8] has joined #kotlin [01:50]
ovalseven8 yawkat, Sorry, I got disconnected [01:54]
yawkat logs [01:54]
yawkat channel logs can be found at http://javabot.evanchooly.com/ (Select the channel from the list on the left-hand side.) [01:54]
Dwarf A java bot eh [01:54]
ovalseven8 yawkat, Is there a code example somewhere? [01:55]
cheeser ovalseven8: the coroutines pages have tons of them. [01:56]
cheeser https://kotlinlang.org/docs/reference/coroutines/coroutines-guide.html [01:57]
cheeser cheeser's title: "Coroutines Guide - Kotlin Programming Language" [01:57]
ovalseven8 cheeser, I know this page but I am still not sure what's the common approach to "start" a program in the main() method. [01:58]
cheeser https://kotlinlang.org/docs/reference/coroutines/basics.html#your-first-coroutine [01:58]
cheeser cheeser's title: "Basics - Kotlin Programming Language" [01:58]
ovalseven8 cheeser, I am just not sure if it's just "example code" or code that you'd actually see in production software. [01:59]
cheeser does it get you what you need *today*? [02:01]
ovalseven8 cheeser, So to really do things in parallel, it's "common" to start a GlobalScope and in it launch coroutines and .join() GlobalScope's job; or start a runBlocking { } block and in it a new GlobalScope? [02:03]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [02:11]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [03:37]
yawkat https://twitter.com/aalmiray/status/1117015163352375301 [05:00]
yawkat yawkat's title: "Andres Almiray on Twitter: "LaserDuke aka @lukaseder still has it. Pure gold comedy pic.twitter.com/SVFIY5pybk"" [05:00]
ziyourenxiang__ [ziyourenxiang__!~ziyourenx@unaffiliated/ziyourenxiang] has joined #kotlin [07:19]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [07:20]
yawkat [yawkat!~yawkat@cats.coffee] has joined #kotlin [08:29]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [08:32]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [09:20]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [10:02]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [10:35]
Jetoni [Jetoni!~luser@unaffiliated/jetoni] has joined #kotlin [11:35]
macropreprocess well kotlin-native is handling suprisingly well, with only 1.7GB usage throughout builds ^-^ [11:58]
macropreprocess though it may just be IntelliJ Idea itself [11:58]
macropreprocess idk lol [11:59]