Info

Login

Channels

APIs

Credits

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

« 2020-01-14

2020-01-15

2020-01-16 »

Nick Message Date
Ladicek [Ladicek!~lthon@109.164.114.141] has joined #kotlin [01:29]
enriooooooo [enriooooooo!~nanoz@unaffiliated/nanoz] has joined #kotlin [01:30]
enriooooooo so kotlin is for null safe,concise and coroutines over java [01:34]
Tazmainian [Tazmainian!~Tazmain@unaffiliated/tazmain] has joined #kotlin [02:14]
Tazmainian [Tazmainian!~Tazmain@unaffiliated/tazmain] has joined #kotlin [02:15]
enriooooooo [enriooooooo!~nanoz@unaffiliated/nanoz] has joined #kotlin [02:17]
enriooooooo we have Array<Int> and IntArray [02:22]
enriooooooo which one to use? [02:22]
Bombe Where is the difference? [02:33]
enriooooooo isnt not? [03:17]
enriooooooo Array<Int> was Array<Integer> and IntArray was int[] [03:17]
Bombe I?m asking you to find out. [03:24]
Bombe So, if that?s what you found out then you should now know when to use which one. :) [03:25]
ChrisLane [ChrisLane!~irc@cpc119606-heme14-2-0-cust161.9-1.cable.virginm.net] has joined #kotlin [03:41]
Jonopoly [Jonopoly!~Jonopoly@unaffiliated/jonopoly] has joined #kotlin [04:19]
Pitel [Pitel!~pitel@fw2o.masterinter.net] has joined #kotlin [04:52]
Diablo-D3 dreamreal, cheeser: are there any decent blogs or podcasts on the java or kotlin community at all? [04:57]
Diablo-D3 like jetbrains has the java annotated monthly thing going on [05:01]
Diablo-D3 which now I wonder why there isnt a kotlin annotated, hmmmmmmmm [05:01]
Diablo-D3 btw, still working through all the talks [05:14]
Diablo-D3 https://www.youtube.com/watch?v=WqnR_XhEiVI [05:14]
Diablo-D3 Diablo-D3's title: "KotlinConf 2019: Compose Yourself: Designing a Kotlin First UI Toolkit by Anna-Chiara & Clara" [05:14]
Diablo-D3 Im really hyped about that one [05:14]
Diablo-D3 a complete rewrite of how the android ui toolkit works in something far more kotliny [05:15]
Diablo-D3 its a really good talk too [05:15]
Diablo-D3 surprisingly, given how boring the subject matter is [05:15]
Diablo-D3 https://www.youtube.com/watch?v=TfW0pKMPk4A&list=PLQ176FUIyIUY6SKGl3Cj9yeYibBuRr3Hl&index=8 [05:16]
Diablo-D3 Diablo-D3's title: "KotlinConf 2019: Desktop Development with TornadoFX by Liz Keogh" [05:16]
Diablo-D3 watched that one too, also good [05:16]
argo_ [argo_!~argo@unaffiliated/argo] has joined #kotlin [05:30]
Ladicek [Ladicek!~lthon@109.164.114.141] has joined #kotlin [05:46]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined #kotlin [05:46]
bernard_ [bernard_!~bernard@b2b-78-94-192-5.unitymedia.biz] has joined #kotlin [05:51]
royal_screwup21 [royal_screwup21!89de72f1@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.241] has joined #kotlin [06:02]
_xor [_xor!~xor@74.215.46.133] has joined #kotlin [06:06]
nullman [nullman!~nullman@c-75-73-116-0.hsd1.mn.comcast.net] has joined #kotlin [06:43]
MassDebates [MassDebates!~MassDebat@unaffiliated/massdebates] has joined #kotlin [08:14]
Nick_ [Nick_!~Nick@unaffiliated/death916] has joined #kotlin [08:20]
Suchorski [Suchorski!~regex@unaffiliated/suchorski] has joined #kotlin [08:44]
ErnestG [ErnestG!sid75745@gateway/web/irccloud.com/x-hnccwzjzxoriehbt] has joined #kotlin [09:04]
argo_ [argo_!~argo@unaffiliated/argo] has joined #kotlin [09:53]
ziyourenxiang [ziyourenxiang!~ziyourenx@unaffiliated/ziyourenxiang] has joined #kotlin [09:58]
flamebeard [flamebeard!~flamebear@h-66-81.A400.corp.bahnhof.se] has joined #kotlin [10:16]
Nick_ [Nick_!~Nick@unaffiliated/death916] has joined #kotlin [10:35]
argo_ [argo_!~argo@unaffiliated/argo] has joined #kotlin [10:38]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined #kotlin [11:02]
ziyourenxiang [ziyourenxiang!~ziyourenx@unaffiliated/ziyourenxiang] has joined #kotlin [11:18]
argentum [argentum!sid262031@gateway/web/irccloud.com/x-mwkbmjgtetpogikd] has joined #kotlin [11:59]
Flonk [Flonk!~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com] has joined #kotlin [12:09]
Flonk I'm going through some codewars challenges to get familiar with the language. I'm having a puzzling type error: https://hastebin.com/pasuqijeyu.kt [12:10]
Flonk On each when case I get a `error: type mismatch: inferred type is Char but Unit was expected` [12:10]
Flonk But clearly I want to return a Char and not Unit, because I want to build a `List<Char>`. [12:11]
Flonk What's going on there? [12:11]
Bombe main returns Unit, not Char. [12:13]
Flonk my main is not returning anything (unless `print` does?) [12:14]
Bombe Well, a) returning nothing means returning Unit. b) print does indeed return Unit. [12:14]
Flonk okay, so the main function checks out. [12:15]
Flonk But mapIndexed fails on me [12:15]
Bombe Well, change your main to return Char and the error will be gone. You will face a new one, though. :) [12:15]
Flonk I think I don't understand. I don't want main to return Char. [12:16]
Flonk My main function is merely printing a list. [12:16]
Bombe But you are returning Char from your when! [12:17]
Flonk That's inside a lambda [12:17]
Flonk So I am returning from the lambda, am i not? [12:17]
Bombe You are. [12:17]
Bombe Lambdas implicitely return the value of the last expression. [12:18]
zutat [zutat!5d843ca1@unaffiliated/zutat] has joined #kotlin [12:19]
Flonk I don't follow. I want to map over each character of a string, to build a new list of characters. For that I need a function that takes Char and returns Char. [12:21]
Flonk That function will be applied to each character in the string, thanks to mapIndexed [12:21]
Flonk I shouldn't be returning from main anywhere before the end of the main function [12:21]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [12:27]
Flonk Removing the `return` keyword seems to have done it. [12:28]
orbyt_v7 [orbyt_v7!~textual@172.92.5.20] has joined #kotlin [12:31]
Bombe Yes, exactly. ?return? returns from the last function. [12:50]
Bombe Whereas lambdas don?t need a return, they return the last expression, the when in your case. [12:51]
Flonk aha, that is pretty odd. [01:01]
Flonk Unusual anyway [01:01]
OvermindDL1 [OvermindDL1!uid16796@gateway/web/irccloud.com/x-wkelwblxvckggzcb] has joined #kotlin [01:32]
skelterjohn [skelterjohn!sid13218@gateway/web/irccloud.com/x-rxuplrvvsnsmwgsh] has joined #kotlin [01:33]
jsvcycling [jsvcycling!sid369784@gateway/web/irccloud.com/x-ewdwakijxukphykk] has joined #kotlin [01:33]
bitonic [bitonic!sid61915@gateway/web/irccloud.com/x-cqwionuqupuldxbn] has joined #kotlin [01:35]
lineos [lineos!sid103986@gateway/web/irccloud.com/x-xarpzgqeihgbwqsh] has joined #kotlin [01:35]
meinside [meinside!uid24933@gateway/web/irccloud.com/x-tmtxhkylyhhjdhmh] has joined #kotlin [01:35]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined #kotlin [02:09]
Bombe Flonk, no, not really? the goal was that you could put any piece of code into a lambda in the same method and it would still work the way it did. [02:43]
Bombe https://kotlinlang.org/docs/reference/returns.html [02:44]
Bombe Bombe's title: "Returns and Jumps: break and continue - Kotlin Programming Language" [02:44]
lineos [lineos!sid103986@gateway/web/irccloud.com/x-xjyiedguimeiamnd] has joined #kotlin [02:52]
tachoknight [tachoknight!~tachoknig@205.178.20.7] has joined #kotlin [02:58]
aaronbond [aaronbond!~shrewdy@173.252.87.40] has joined #kotlin [03:00]
aaronbond [aaronbond!~shrewdy@173.252.87.47] has joined #kotlin [03:19]
aaronbond [aaronbond!~shrewdy@2a03:2880:11ff:8::face:b00c] has joined #kotlin [03:33]
royal_screwup21 [royal_screwup21!89de72f1@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.241] has joined #kotlin [05:21]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [05:27]
jsvcycling [jsvcycling!sid369784@gateway/web/irccloud.com/x-fneibxkfsbvfhzqk] has joined #kotlin [05:34]
orbyt_v7 [orbyt_v7!~textual@172.92.5.20] has joined #kotlin [05:38]
xeno_ [xeno_!~xeno@unaffiliated/xeno] has joined #kotlin [05:47]
Jetoni [Jetoni!~luser@unaffiliated/jetoni] has joined #kotlin [05:50]
bourbon [bourbon!ragersynap@gateway/shell/matrix.org/x-qchicmvkrtlcdqmq] has joined #kotlin [06:38]
jsvcycling [jsvcycling!sid369784@gateway/web/irccloud.com/x-lbwqbhijjtytepsg] has joined #kotlin [07:19]
lineos [lineos!sid103986@gateway/web/irccloud.com/x-ovibbqbxbktnekic] has joined #kotlin [07:21]
barq [barq!sid103986@gateway/web/irccloud.com/x-mtpcfkfqqohbxyhq] has joined #kotlin [07:26]
rager parted the channel: [07:26]
bitonic [bitonic!sid61915@gateway/web/irccloud.com/x-ognbkjtiginhvxbz] has joined #kotlin [07:53]
squirrel [squirrel!~mj@unaffiliated/squirrel] has joined #kotlin [08:00]
r4vi [r4vi!sid166794@gateway/web/irccloud.com/x-yvzepwzpsgwhvese] has joined #kotlin [08:51]
ErnestG [ErnestG!sid75745@gateway/web/irccloud.com/x-oubhunsqutvziztd] has joined #kotlin [09:07]
dmabs [dmabs!~dmabs@unaffiliated/dmabs] has joined #kotlin [09:09]
argentum [argentum!sid262031@gateway/web/irccloud.com/x-bilqevfbqzgwttra] has joined #kotlin [09:43]
djhworld [djhworld!~djhworld@90.253.22.232] has joined #kotlin [11:43]