Raku Conference Day 2 on Youtube: www.youtube.com/watch?v=BL9-XdC9WYI 🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 14 August 2022.
00:06 reportable6 left 00:07 reportable6 joined 00:35 linkable6 left 00:38 linkable6 joined 00:57 jgaz joined 00:58 jgaz left 01:27 atweiden-air_ joined
atweiden-air_ this is my understanding of raku error handling. feedback would be appreciated 01:27
gist.github.com/atweiden/e59cf9993...08a823dffd
02:03 linkable6 left 02:05 linkable6 joined 03:05 linkable6 left, evalable6 left 03:06 linkable6 joined, evalable6 joined 03:20 irc_user left
xinming tonyo: it's an cro app 03:25
web interface written in cro
04:20 evalable6 left, linkable6 left 04:23 linkable6 joined, evalable6 joined 05:23 greppable6 left, bloatable6 left, linkable6 left, quotable6 left, benchable6 left, squashable6 left, reportable6 left, committable6 left, shareable6 left, statisfiable6 left, nativecallable6 left, releasable6 left, notable6 left, bisectable6 left, tellable6 left, coverable6 left, sourceable6 left, unicodable6 left, evalable6 left, unicodable6 joined, coverable6 joined, linkable6 joined 05:24 sourceable6 joined, evalable6 joined, reportable6 joined, bisectable6 joined, statisfiable6 joined, releasable6 joined, bloatable6 joined, squashable6 joined 05:25 nativecallable6 joined, greppable6 joined, committable6 joined, shareable6 joined, quotable6 joined, benchable6 joined 05:26 tellable6 joined, notable6 joined 05:27 squashable6 left 05:29 squashable6 joined 05:50 atweiden-air_ left 06:07 reportable6 left 06:09 reportable6 joined 06:12 xinming left 06:36 Sgeo left 07:27 bingos is now known as BinGOs 07:48 vasko joined, vasko left, vasko joined 07:55 sena_kun joined 07:58 [dpk] is now known as dpk 08:51 abraxxa joined 08:56 abraxxa left, abraxxa joined 09:12 kaskal- left, samcv left, kaskal joined 09:13 samcv joined
lizmat japhb: version 0.9 fixes the issues, afaics 09:26
09:31 LilyWhite joined, sena_kun left 09:34 LilyWhite left 09:51 abraxxa left, abraxxa joined, abraxxa left 10:00 abraxxa joined 10:01 abraxxa left 10:11 sena_kun joined 10:28 MoC joined 10:31 djerius joined 11:31 notable6 left, greppable6 left, tellable6 left, bloatable6 left, releasable6 left, reportable6 left, committable6 left, benchable6 left, evalable6 left, unicodable6 left, linkable6 left, quotable6 left, coverable6 left, nativecallable6 left, squashable6 left, bisectable6 left, sourceable6 left, shareable6 left 11:32 notable6 joined, nativecallable6 joined, sourceable6 joined, releasable6 joined 11:33 evalable6 joined, linkable6 joined, greppable6 joined, bisectable6 joined, squashable6 joined, tellable6 joined, benchable6 joined, quotable6 joined 11:34 coverable6 joined, unicodable6 joined, reportable6 joined, bloatable6 joined, committable6 joined, shareable6 joined 11:49 simcop2387 left 11:50 perlbot left, perlbot joined 11:52 simcop2387 joined 12:07 reportable6 left 12:09 reportable6 joined 12:35 bigdata left
tbrowder note that skaji has a pending chg to mi6 that allows users to mod the dist,ini file to build as many separate docs as desired. 13:19
*dist.ini
13:23 tirnanog joined
lizmat weekly: www.reddit.com/r/rakulang/comments...on_advice/ Seeking TUI creation advice 13:41
notable6 lizmat, Noted! (weekly)
lizmat weekly: www.reddit.com/r/rakulang/comments...ercismorg/ reworked Raku exercises on exercism.org 13:42
notable6 lizmat, Noted! (weekly)
13:52 Voldenet left 14:16 Sgeo joined 15:16 unicodable6 left, linkable6 left, benchable6 left, statisfiable6 left, sourceable6 left, bisectable6 left, greppable6 left, squashable6 left, shareable6 left, releasable6 left, shareable6 joined, releasable6 joined 15:17 greppable6 joined, unicodable6 joined, benchable6 joined, statisfiable6 joined, sourceable6 joined 15:18 bisectable6 joined, linkable6 joined, squashable6 joined 15:42 justDeez is now known as justache 15:57 Voldenet joined 16:17 Voldenet left 16:20 Voldenet joined
[Coke] wonders if he should stick with zsh for his shell as the new mac recommends. 16:26
[Coke] has been on bash as long as he can remember. 16:27
stevied i use zsh. not much different than bash. and you can still use bash scripts
only think that bites me regularly is you have to be sure to quote patterns with globs 16:29
other than that, I don't notice a difference between zsh and bash
Nemokosch positive: using Raku on Mac should never be an issue because it's... completely out-tested 16:33
negative: using Mac is as far from the Raku ideals as possible within the software industry
16:33 Voldenet left 16:35 Voldenet joined
lizmat [Coke]: I hardly noticed a difference between zsh and bash, in the way that *I* use it :-) 16:48
16:52 xinming joined
xinming tonyo: sorry, laptop out of power 16:53
tonyo xinming: i'd probably put a wrapper around the DB to catch a connection problem and retry. if you wanted it to not be a bad xp then you could set a timer to try to reconnect 16:54
17:02 sjn left
xinming tonyo: the reason I don't like the wrapper thing is, It'll add check logic each time a call to database is issued. 17:05
I just thought that I can try to catch the exception, and do reconnect 17:06
will try that
17:06 vasko left 17:14 sjn joined
tonyo the wrapper should just catch the exception, i mean 17:18
and then retry once and return the results or the error
17:20 HvszrStykp left
tonyo using Supply.interval you could set up a check to autoreconnect 17:20
17:23 sena_kun left 17:27 andm joined, andm left 17:34 ioh joined, axmed99 joined 17:57 sena_kun joined 18:01 tirnanog left 18:07 reportable6 left 18:08 reportable6 joined 18:36 MoC left 19:26 [Coke] left, [Coke] joined
[Coke] has been on bash as long as he can remember. 19:29
Xliff m: "a/b/c/d".IO.dirname.^name.say 19:37
camelia Str
Xliff Is there any way to get the directory of an IO::Path as an IO path? 19:38
Otherways to add a directory to an IO path, I have to roundtrip IO::Path -> Str -> IO::Path
m: "a/b/c/d".IO.parent.^name.say 19:40
camelia IO::Path
Xliff m: "a/b/c/d".IO.parent.say
camelia "a/b/c".IO
Xliff Looks like we have a winner! 19:41
japhb Xliff: BTW, there is a .sibling method if that's what you really want (to find a path "next to" an existing one) -- many people end up doing .parent.child, but that's just extra steps. 19:45
tonyo m: 'a/b/c/d'.IO.sibling.^name.say 19:46
camelia Too few positionals passed; expected 2 arguments but got 1
in block <unit> at <tmp> line 1
19:47
tonyo m: my \a = 'a/b/c/d'; say a.IO.sibling(a).^name
camelia IO::Path
tonyo m: my \a = 'a/b/c/d'; say a.IO.sibling(a).Str
camelia a/b/c/a/b/c/d
japhb m: 'a/b/c/d'.IO.sibling('e') 19:48
tonyo m: my \a = 'a/b/c/d'; say a.IO.sibling('.').resolve.Str
camelia ( no output )
/home/camelia/a/b/c
japhb m: 'a/b/c/d'.IO.sibling('e').say
camelia "a/b/c/e".IO
tonyo that looks wrong..adding a '.' shouldn't cause it to back up one
oh, i see
m: my \a = 'a/b/c/d'; say a.IO.sibling(a.parts[*-1]).resolve.Str 19:49
camelia No such method 'parts' for invocant of type 'Str'. Did you mean any of
these: 'pairs', 'path'?
in block <unit> at <tmp> line 1
tonyo m: my \a = 'a/b/c/d'.IO; say a.sibling(a.parts[*-1]).resolve.Str
camelia /home/camelia/a/b/c/volume
tonyo m: my \a = 'a/b/c/d'.IO; say a.sibling(a.parts[*-1]).resolve.Str 19:50
camelia /home/camelia/a/b/c/volume
tonyo hrh
Xliff OK. Is there a way I can get the location of a compunit at compile time? 20:10
lizmat define location ? 20:13
Xliff It's file 20:15
I'm currently using: ::?CLASS.^can('init').head.file.split(' ').head.IO. 20:16
Where 'init' is a method in the class.
But I am getting 'gen/moar' from somewhere and I don't know why. Compile time artefact?
20:26 linkable6 left, evalable6 left 20:28 evalable6 joined, linkable6 joined 20:44 eseyman joined 21:06 Some-body_ joined 21:07 DarthGandalf left 21:08 Some-body_ is now known as DarthGandalf 21:10 sena_kun left 21:58 axmed99 left
lizmat raku.land/cpan:NINE/Inline::Perl5 # release 0.60, nine++ 21:59
and I can run the Inline::Perl5 integration tests again! :-) 22:04
22:33 vrurg left, vrurg joined
lizmat tonyo: I've just uploaded rak:ver<0.0.14> to fez about 30 mins ago, and it still doesn't show 22:38
tonyo ugexe feels like something is stuck ? 22:39
Are you sure you want to upload rak-0.0.14.tar.gz to Zef ecosystem? (y/N) y
Executing /Users/liz/Github/rakudo/install/bin/rakudo -e use Fez::CLI --file=rak-0.0.14.tar.gz upload
>>= Hey! You did it! Your dist will be indexed shortly.
It will appear in 360.zef.pm/
but it isn't listed there :-( 22:41
22:50 epony left 23:33 sjn left 23:46 sjn joined 23:53 epony joined