š¦ Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku Set by ChanServ on 14 October 2019. |
|||
00:01
heth joined
00:15
Kaiepi left
00:16
Kaiepi joined
00:18
ParsonsNose joined
00:32
NODE left
00:33
NODE joined
00:45
sena_kun left
01:00
sena_kun joined
01:09
ParsonsNose left
01:28
sarna left
01:29
sarna joined
01:32
cpan-raku left
01:33
cpan-raku joined,
cpan-raku left,
cpan-raku joined
01:37
charsbar left,
charsbar joined
01:38
NODE left
01:40
NODE joined
01:44
wildtrees left
01:52
lucasb left
02:10
Doc_Holliwood left
02:29
mahmudov left
|
|||
cpan-raku | New module released to CPAN! Trait::Traced (0.2.0) by 03KAIEPI | 02:35 | |
Kaiepi | ^ adds support for tracing private methods, metamethods, and stash-related ops! | 02:36 | |
02:45
sena_kun left
03:00
sena_kun joined
03:36
libertas_ joined
03:44
ensamvarg joined
|
|||
guifa2 | Kaiepi++ | 04:27 | |
discord6 | <cyanmide> Really like the grammars feature in Raku! Is there documentation for JVM interop? I work at a generally stodgy and uptight fortune 500 tech company where almost everything is java. | 04:32 | |
04:45
sena_kun left
|
|||
guifa2 | cyanmide: I haven't played with it at all but here's some stuff jnthn.net/papers/2013-yapceu-jvm.pdf#page=42 | 04:55 | |
uzl[m] | guifa2: I didn't see your "comment" before, glad you enjoyed it. Regarding āmethod object: argsā I guess it's just matter of what people feel more comfortable with but even when they've never used it, the Raku syntax is unified enough as to prevent any sort of surprises if they ever come across it. As Wall says, "Learn it once, use it many times". | 04:57 | |
.tell lizmat I think I'm finally getting what you're saying about 'sub say' and 'Str.say'. I guess this wouldn't be the case for `is-prime` (for example) which is defined as the method 'is-prime' on an Int object and ultimately the sub 'is-prime' ends up calling the method 'is-prime' on the sub's argument. | 04:58 | ||
tellable6 | uzl[m], I'll pass your message to lizmat | ||
uzl[m] | AFK | ||
04:59
sena_kun joined
|
|||
guifa2 | uzl[m]: I actually for a long time said "push @array: $items" without even realizing it wasn't as common. The colon really helped identify the difference between the two | 05:00 | |
(whereas push @array, $item to me feels a bit less clear the stark difference between @array and $item, although it's a common enough function and the different sigils kind of help) | 05:01 | ||
05:35
guifa2 left
05:45
guifa left
05:46
guifa joined
|
|||
AlexDaniel | cyanmide: I don't think we have some good docs, but stackoverflow actually helps in this case: stackoverflow.com/questions/271563...from-perl6 | 05:51 | |
06:17
Doc_Holliwood joined
06:18
sauvin joined
06:26
NODE left
06:27
NODE joined
06:44
sena_kun left
06:49
abraxxa joined,
abraxxa left
06:50
abraxxa joined
06:55
abraxxa left,
abraxxa joined
06:56
NODE left
06:57
sena_kun joined,
NODE joined
|
|||
El_Che | guifa: push-in would make the direction more obvious, but to verbose | 07:08 | |
07:13
toddr left
07:21
rindolf joined
07:43
NODE left
07:45
NODE joined
07:47
stoned75 left
07:56
rindolf left
08:04
rindolf joined
08:10
wamba joined
|
|||
Geth | whateverable/master: 4 commits pushed by (Aleks-Daniel Jakimenko-Aleksejev)++ | 08:11 | |
sarna | hi, what would I use in raku in place of python's requests library? | 08:21 | |
basically I want to make simple web requests, check their status codes, simple stuff like that | |||
tyil | sarna: github.com/croservices/cro-http this is a popular module for it, I believe | 08:25 | |
sarna | tyil: thanks | 08:28 | |
08:45
sena_kun left
08:47
chloekek joined
08:59
abraxxa left
09:00
abraxxa joined
09:01
sena_kun joined
09:02
AlexDaniel left
09:09
abraxxa left,
abraxxa joined
|
|||
cpan-raku | New module released to CPAN! Term::Choose (1.6.1) by 03KUERBIS | 09:15 | |
sarna | can I somehow rename an import? for example `use Foo::Bar::Baz as Baz` | ||
09:17
NODE left
|
|||
chloekek | sarna: use Foo::Bar::Baz; my constant Baz = Foo::Bar::Baz | 09:17 | |
sarna | chloekek: thanks :) | ||
chloekek | p6: my constant Foo = do { use NativeCall }; say Foo | ||
camelia | Nil | ||
chloekek | Bummer. | ||
sarna | also, is there any way of putting a timeout on Cro's HTTP client? I can't find anything in the docs | 09:18 | |
09:18
NODE joined
|
|||
chloekek | sarna: react { whenever $client.get -> $response { ... }; whenever Promise.in(5) -> { done } } | 09:20 | |
I guess :Ć¾ | 09:21 | ||
Would be nice to have a timeout method on Promise | |||
sarna | chloekek: yeah, I thought maybe there was a simpler way :( thanks anyway | 09:23 | |
but even this way is fine actually! | 09:25 | ||
09:35
abraxxa left
|
|||
Voldenet | in most languages something like this works: Promise.race([p, new Promise((_, f) => { setTimeout(() => f("timeout"), 5000); })]); | 09:48 | |
sarna | I ended up grepping for the groups I needed | 09:49 | |
Voldenet: isn't that what we're doing, essentially? | 09:50 | ||
09:53
abraxxa joined
|
|||
Voldenet | essentially the logic is probably the same | 09:54 | |
sarna | I find raku version more readable, to be honest | 09:55 | |
Voldenet | m: sub anyof(|p) { my $l = Lock.new; my $p = Promise.new; for |p { .then( -> $r { $l.protect({ return if $p; if $r.status ~~ Kept { $p.keep($r.result); } else { $p.break($r.cause) } }) }) } | 09:56 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing block at <tmp>:1 ------> 3); } else { $p.break($r.cause) } }) }) }7ā5<EOL> |
||
Voldenet | m: sub anyof(|p) { my $l = Lock.new; my $p = Promise.new; for |p { .then( -> $r { $l.protect({ return if $p; if $r.status ~~ Kept { $p.keep($r.result); } else { $p.break($r.cause) } }) }) }; $p }; say await anyof(Promise.in(5).then({ die "timeout" }), Promise.in(2).then({ "good" })) | ||
camelia | good | ||
Voldenet | m: sub anyof(|p) { my $l = Lock.new; my $p = Promise.new; for |p { .then( -> $r { $l.protect({ return if $p; if $r.status ~~ Kept { $p.keep($r.result); } else { $p.break($r.cause) } }) }) }; $p }; say await anyof(Promise.in(1).then({ die "timeout" }), Promise.in(2).then({ "good" })) | ||
camelia | An operation first awaited: in block <unit> at <tmp> line 1 Died with the exception: timeout in block at <tmp> line 1 |
||
Voldenet | Promise.anyof would be perfect for this, but for some reason it always returns `True` | 09:58 | |
10:00
ensamvarg left
|
|||
Voldenet | and `$response = await anyof(Promise.in(1).then({ die "timeout" }), $client.get)` has fewer redundant keywords | 10:01 | |
10:03
patrickb joined
|
|||
sarna | m: react { whenever Promise.in(1) -> { say 'hi'; done } } | 10:10 | |
camelia | A react block: in block <unit> at <tmp> line 1 Died because of the exception: Too many positionals passed; expected 0 arguments but got 1 in block at <tmp> line 1 |
||
sarna | why doesn't this work? | ||
sena_kun | -> is redundant? | 10:11 | |
m: react { whenever Promise.in(1) { say 'hi'; done } } | |||
camelia | hi | ||
10:11
xinming left
|
|||
sena_kun | m: react { whenever Promise.in(1) -> $hehe { say $hehe; done } } | 10:11 | |
camelia | True | ||
sarna | oh, I see :) | 10:12 | |
sena_kun | sarna: `->` before block sets its signature, and when no things specified, it means there are 0 args expected | ||
sarna | right, it'd have to be -> $foo | ||
sena_kun | when you don't specify signature, nothing is really expected | ||
yeah | |||
10:13
xinming joined
|
|||
sena_kun | whenever block is just like `if` (in a sense that it is an alike construction, I mean), there are no special syntax. | 10:13 | |
sarna | why doesn't `when [1;2;3] { say 'hi' }` work, if `when so [1;2;3] { say 'hi' }` works? | 10:15 | |
yeah, I still have problems with syntax sometimes :D (well most of the time) | |||
thanks for explaining :^) | |||
sena_kun | how does your `given` look like? | ||
post a line using m: here please. :) | 10:16 | ||
sarna | ohh, you're supposed to use `when` only within `given` blocks? | ||
I thought it was like unless :D | |||
sena_kun | well, technically it isn't required, I just assumed you have a given too | ||
sarna | m: when so [1;2;3] { say 'hi' } | 10:17 | |
camelia | hi | ||
sarna | m: when [1;2;3] { say 'hi' } | ||
camelia | ( no output ) | ||
sena_kun | sarna: docs.raku.org/syntax/when <- | 10:18 | |
I think there is an exact explanation present there | |||
with examples of so and without so | |||
sarna | oh dang | 10:19 | |
m: my @arr = [1;2;3]; given @arr { when so * { say @arr } } | 10:27 | ||
camelia | [1 2 3] | ||
sarna | I like how this flows :D even though it's kinda verbose | ||
sena_kun | why not `if @arr.elems { say @arr }`? | 10:28 | |
sarna | I'd prefer if `if @arr { say @arr }` worked :D | 10:29 | |
oh wait a second | |||
I didn't show the important bit! | 10:30 | ||
patrickb | .tell El_Che: I managed to set up a build setup that creates stuff for Mac, Win and Linux for the rakubrew thingy using CircleCI. It was a rather pleasant experience. I'd be willing to do the same for rakudo. But I don't want to stomp on the work you already did in that area. What do you think? Would a CircleCI setup be a good way forward? | ||
sarna | m: my @arr = [1;2;3]; given @arr { when so * { say .raku } } | ||
tellable6 | patrickb, I'll pass your message to El_Che | ||
camelia | [1, 2, 3] | ||
sarna | sena_kun: now :) I wanted the array to be the topic | ||
sena_kun | m: my @a; if @a -> $_ { $_.say } | 10:32 | |
camelia | ( no output ) | ||
sena_kun | m: my @a = 1,2,3; if @a -> $_ { $_.say } | ||
camelia | [1 2 3] | ||
sena_kun | sarna: ^? | ||
sarna | m: my @a = 1,2,3; if @a -> $_ { .say } | ||
camelia | [1 2 3] | ||
sarna | aaaa I love it! | ||
by the way, why doesn't if take the array as the topic automatically? I tried printing what it takes, but I'm just getting (Any).. | 10:34 | ||
m: if 1,2,3 { .WHAT } | |||
camelia | ( no output ) | ||
sarna | m: if 1,2,3 { say .WHAT } | 10:35 | |
camelia | (Any) | ||
sena_kun | `if` doesn't set topic | ||
moritz | probably because it confuses people who have already set $_ on the outside | ||
sena_kun | `with` does, but it does a different thing | ||
moritz | for 1, 2, 3 { if $_ > 2 { .say } } # now you print True | ||
evalable6 | 3 | ||
sarna | ohhh | ||
I see now! | 10:36 | ||
> The with statement is like if, but tests for definedness rather than truth, and it topicalizes on the condition | |||
that's precisely what I wanted!! | |||
tyil | raku provides again | 10:37 | |
sarna | :D | ||
10:45
sena_kun left
10:52
ensamvarg joined,
antoniogamiz joined
|
|||
Geth | doc: dumarchie++ created pull request #3184: Correct type graph of role Seq |
10:53 | |
antoniogamiz | o/ | ||
easiest way to install raku language on Ubuntu? | |||
tyil | apt install perl6 (but this will most likely be a very old version) | 10:54 | |
antoniogamiz | mm | ||
tyil | if it just has to be a single-user installation, rakudo-star | ||
dist.tyil.nl/raku/rakudo-star/raku...rc1.tar.gz | 10:55 | ||
antoniogamiz | cool, that's the most recent version? | ||
tyil | more recent than rakudo.org has, yes | ||
but I'm not an official maintainer of r* | |||
antoniogamiz | mm ok, thanks for the info :) | 10:56 | |
tyil | I haven't heard back from the official maintainers for about a month I think | ||
11:00
sena_kun joined
|
|||
Geth | doc: 1b1fe100b2 | (Peter du Marchie van Voorthuysen)++ | 3 files Correct type graph of Seq |
11:01 | |
doc: bd8edb6850 | (Peter du Marchie van Voorthuysen)++ (committed using GitHub Web editor) | 3 files Merge pull request #3184 from dumarchie/#3163 Correct type graph of role Seq |
|||
sarna | antoniogamiz: use rakudobrew! | 11:05 | |
github.com/tadzik/rakudobrew | |||
works like a charm | |||
11:12
wamba left
|
|||
tadzik | (: | 11:12 | |
antoniogamiz | mm i will try it! though i have already installed raku the other way :/ | 11:13 | |
how can i uninstall it? | 11:14 | ||
tadzik | it depends on how you isntalled it :) | ||
antoniogamiz | raku.org/downloads | ||
installing from source | |||
should i delete rakudo folder only? | |||
sarna | that should work, I think | 11:16 | |
11:16
MasterDuke left
|
|||
Geth | doc/use-ok-args: 0b46a21a2a | ven++ (committed using GitHub Web editor) | doc/Type/Test.pod6 Document passing arguments to `use-ok` |
11:19 | |
antoniogamiz | rakudobrew build moar installs perl6/raku in my system, right? | 11:20 | |
lizmat | . | ||
tellable6 | hey lizmat, you have a message: gist.github.com/862ecf549735a6cd7d...4d365001b7 | ||
sarna | antoniogamiz: yes | 11:21 | |
11:21
rindolf left
|
|||
Geth | doc: vendethiel++ created pull request #3185: Document passing arguments to `use-ok` |
11:22 | |
sarna | antoniogamiz: you should also install zef (the raku package manager), it's explained in the docs | ||
rakudobrew docs I mean | |||
antoniogamiz | mmm i'm adding the line to my .profile file (as rakudobrew init says) but it's not working | 11:25 | |
if i run 'rakudobrew build moar', it outputs: "The shell hook required to use rakudobrew in 'env' mode and use the 'shell' command seems not to be installed.Run 'rakudobrew init' for installation instructions." | |||
11:28
rindolf joined
|
|||
sarna | antoniogamiz: did you run `source ~/.profile` after adding the line there? | 11:30 | |
you have to run this or relog/reboot for it to work :) | 11:31 | ||
antoniogamiz | yep i did it | ||
sarna | hmm, that's weird then | ||
antoniogamiz | i have added to my zshrc instead and it works now | ||
sarna | oh, you use zsh | 11:32 | |
zsh reads from `.zprofile` iirc | |||
antoniogamiz | maybe that should be pointed out in the README | 11:33 | |
11:35
wamba joined
|
|||
sarna | pinging tadzik | 11:35 | |
there already are fish-specific instructions, so adding a note for zsh would be fine I think | 11:36 | ||
tadzik | I no longer maintain rakudobrew and I have no idea what's going on there now :) | 11:39 | |
try patrickb | |||
11:39
xinming left
|
|||
sarna | oh ok, sorry :^) | 11:40 | |
patrickb | antoniogamiz: There is a new version of rakudobrew (then called rakubrew) to be released Soon(TM). That version has a much improved installation experience (including shell detection). I'm actually working on it atm. Hopefully I'll manage to get a call for testers out later today. :-) | 11:41 | |
tadzik | there's also the old branch which does no shell shenanigans whatsoever, so should be more portable | 11:42 | |
11:44
xinming joined
|
|||
antoniogamiz | patrickb: nice, thanks for your work :) | 11:45 | |
mmm rakudobre build moar has finished | 11:47 | ||
but perl6/raku command is not available | |||
do i have to update my PATH manually? | |||
patrickb | antoniogamiz: rakubrew switch moar-2020.1 (or whatever you just built) | 11:48 | |
antoniogamiz | oh, good, everything's working now, thanks :) | 11:49 | |
Geth | doc: 0b46a21a2a | ven++ (committed using GitHub Web editor) | doc/Type/Test.pod6 Document passing arguments to `use-ok` |
||
doc: ce6b6416dd | (Juan JuliĆ”n Merelo GuervĆ³s)++ (committed using GitHub Web editor) | doc/Type/Test.pod6 Merge pull request #3185 from Raku/use-ok-args Document passing arguments to `use-ok` |
|||
11:50
aluaces left
11:56
gabiruh joined
|
|||
antoniogamiz | mm I think I have deleted Raku/Documentable unintentionally... | 12:01 | |
sarna | while browsing the source? :D | 12:04 | |
antoniogamiz | While deleting my own fork :( | 12:05 | |
I hope jmerelo has a copy in his machine... | |||
I'm very sorry for that, i will try to remake all issues from the notifications.. | 12:08 | ||
12:10
wamba left
|
|||
sarna | happens to the best of us! | 12:11 | |
12:13
wamba joined
|
|||
antoniogamiz | If someone has notifications from perl6/Documentable please send them to [email@hidden.address] | 12:14 | |
12:31
wamba left
12:32
lucasb joined
|
|||
tyil | antoniogamiz: I presume you dont have a local checkout of your fork? | 12:45 | |
12:45
sena_kun left
|
|||
antoniogamiz | aahh Github support solved it! | 12:46 | |
github.com/perl6/Documentable | |||
everything restored :) | |||
sarna | \\o/ | ||
antoniogamiz | sorry for all the trouble... it will not happen again.. | 12:47 | |
sarna | antoniogamiz: don't be so hard on yourself! seriously :D | 12:48 | |
antoniogamiz | sarna: thanks :) | ||
sarna | once I deleted my new config instead of the default one because the directory name was the same | 12:49 | |
had to recreate ~50 lines afterwards :D and I spent like two days getting it right before | |||
antoniogamiz | uoh sorry to hear that haha | 12:50 | |
tyil | always be careful when deleting | 12:51 | |
i would suggest keeping a local copy somewhere, then you can always just `cd` to the directory and `push` again | |||
git repos are relatively small most of the time | |||
sarna | github makes you type out the repo's name, I feel like it should make you type out the whole thing (namespaced) | ||
rypervenche | And always backup your important data. :) | 12:52 | |
sarna | backups? what's that | ||
tyil | sarna: it's called "wasted space" in my book | ||
not having backups keeps you sharp | |||
sarna | :D | ||
living on the edge | |||
we're the cool kids | 12:53 | ||
tyil puts on sunglasses | |||
aw yiss | |||
tobs | but no amount of `git clone` will get you backup of github issues and stuff, right? | ||
tyil | perhaps those aren't a great way to keep track of your stuff, then | ||
Geth | ecosystem/JJ-patch-7: 39b84671a2 | (Juan JuliĆ”n Merelo GuervĆ³s)++ (committed using GitHub Web editor) | META.list Move to new quarters |
12:54 | |
ecosystem: JJ++ created pull request #480: Move to new quarters |
|||
tyil | if you can't keep a local copy of it, it's not a great method of keeping it at all, in my opinion | ||
especially since it's owned by MS now, and (I hope) we all remember MS's general antics with regards to supporting their end users | 12:55 | ||
antoniogamiz | tobs: yep, that was the problem | ||
we had a local copy of the repo buy issues were lost... | |||
sarna | there's a service for backing up issues, but it's not free | 12:56 | |
open source project idea anyone? | |||
tyil | mailing lists have been free for decades iirc | ||
and don't come with the necessity of creating an account at a non-free service | 12:57 | ||
sarna | you could set up your own git instance as well, haskell did that | ||
yeah | |||
tobs | tyil: yes that's exactly what bothers me as well. Although I never actually cared enough to research if there are convenient ways to back up everything associated to the repo. It's certainly not as automatic as cloning the project itself... | ||
antoniogamiz | sarna: if you contact github support they answer you in 5 minutes or so | ||
they have restored the problem whitout any trouble | |||
sarna | antoniogamiz: yeah, github support was pretty good from what I've seen | 12:58 | |
tyil | sarna: I just have a bunch of directories in ~/.local/git, to store all my bare repos | ||
and try to keep communication going through email where I can | |||
Geth | ecosystem: 39b84671a2 | (Juan JuliĆ”n Merelo GuervĆ³s)++ (committed using GitHub Web editor) | META.list Move to new quarters |
||
ecosystem: 35669e4aa5 | (Juan JuliĆ”n Merelo GuervĆ³s)++ (committed using GitHub Web editor) | META.list Merge pull request #480 from Raku/JJ-patch-7 Move to new quarters |
|||
sarna | btw - what's .local's purpose? | ||
tyil | ~/.local is a directory to keep other directories | ||
12:58
sena_kun joined
|
|||
tyil | it contains a bin, a share, all the things you'd find in /usr/local, really | 12:59 | |
but it's owned by my standard user | |||
allowing me to install things for a single user without ever reaching for root | |||
sarna | neat, I have to use it more | 13:00 | |
because I've had issues with /usr/local before | |||
what's the point of /usr/local if you still have to use root.. | 13:01 | ||
tyil | /usr is for things installed by your OS | ||
/usr/local is for things installed by the system's admin | 13:02 | ||
antoniogamiz | is there away to avoid typing "rakudobrew switch moar-" everytime i want to have the command available in my terminal? | ||
tyil | ~/.local is for things installed by you | ||
antoniogamiz: put it in your shell's config | |||
antoniogamiz | (other than adding it to my .zshrc file, because if i do that then a message is printed everytime i open a terminal) | ||
tyil | add a >/dev/null | ||
antoniogamiz | oh right | 13:03 | |
tyil | there's also gitlab.com/tyil/lonestar, but it's specifically for rakudo-star | 13:04 | |
(also mostly tested on gentoo, nothing else) | |||
13:05
veesh_ joined
|
|||
sarna | ohh, TIL tyil | 13:05 | |
it makes sense though | |||
tyil | it does :) | 13:06 | |
sarna: if you're interested home.tyil.nl/git/dotfiles/ this is how I set up my stuff | 13:07 | ||
it may not be for the faint of heart, though | |||
sarna | antoniogamiz: I have `eval "$(/home/bjan/.rakudobrew/bin/rakudobrew init Bash)"` in my .profile and I don't have to switch every time | ||
13:07
veesh left
|
|||
sarna | pretty sure you can put the same in .zprofile with Zsh instead of Bash and it'll work | 13:08 | |
13:08
veesh_ is now known as veesh
|
|||
antoniogamiz | sarna: thanks, i will do that :D | 13:08 | |
sarna | tyil: nead, I'll check it out | ||
I used to have a repo like this too, but it was always out of date | 13:09 | ||
tyil | I know the problem | ||
sarna | and/or not portable between my computers | ||
tyil | this time I did `git init` in my homedir | ||
so I see it immediately when it's out of sync | |||
the portability is fixed by sticking to posix where I can, and having OS/distro specific stuff split into seperate files | |||
it checks whether Im on a linux-based or bsd-based thing | 13:10 | ||
and the name of the linux- or bsd-based thing | |||
sarna | antoniogamiz: note there's my username in there, you want to change that :D | ||
tyil | and loads a file with the right name | ||
home.tyil.nl/git/dotfiles/tree/.co.../aliases.d here for instance, generic is always loaded, and the others load depending on what system I'm on | |||
and other than that, always stick to posix defined behaviour everywhere you can | 13:11 | ||
13:12
zeylos left,
aluaces joined
|
|||
antoniogamiz | sarna: I know :> | 13:13 | |
13:13
antoniogamiz left
13:19
antoniogamiz joined
|
|||
antoniogamiz | where can i access the irc logs of this channel? | 13:19 | |
tyil | colabti.org/irclogger/irclogger_log/raku | ||
antoniogamiz | ah it's a link at the beginning | ||
thanks tyilƧ | |||
tyil | :) | ||
13:20
antoniogamiz left
|
|||
sarna | tyil: neato | 13:21 | |
there's like a manager for that too | |||
yadm.io/ | |||
tyil | I've tried many of those things | 13:22 | |
but nothing works as well as posix sh and a little git | |||
(in my experience, that is) | |||
sarna | :D yeah | 13:23 | |
posix sh is a can of worms though, iirc | |||
tyil | only if you're inexperienced, but that goes for most things in tech | 13:24 | |
once you learn to handle posix sh, all your shell life will improve considerably | |||
no longer will you need to worry about "how will it run on the macbooks of my colleagues", or "but what about that BSD server I have" | |||
sarna | yeah but "Because sh is a specification, not an implementation, /bin/sh is a symlink (or a hard link) to an actual implementation on most POSIX systems." | 13:25 | |
and some shells conform better than others | |||
tyil | you should avoid /bin/sh to begin with | ||
sarna | what do you use instead? | ||
tyil | `/usr/bin/env sh` | 13:26 | |
and if you stick to posix defined behaviour, all shells work quite well as /bin/sh | |||
sarna | ah, neat | ||
tyil | the problems seem to always occur once you bring in non-posix utils or extensions | ||
sarna | thanks :^) will come in handy with my devops work | ||
tyil | indeed it does (im also devops) | 13:27 | |
13:29
zeylos joined
13:30
melezhik left
13:33
patrickb left
13:37
patrickb joined
13:56
Doc_Holliwood left
|
|||
cpan-raku | New module released to CPAN! String::Fields (0.0.1) by 03ELIZABETH | 13:57 | |
13:58
Poohmaan left
14:05
veesh_ joined
14:07
veesh left
14:08
veesh_ is now known as veesh
|
|||
Geth | doc: 55c4e98262 | Coke++ | doc/Type/Test.pod6 whitespace |
14:09 | |
14:12
veesh_ joined
14:13
veesh left
14:14
veesh_ is now known as veesh
|
|||
Geth | doc: dumarchie++ created pull request #3186: Complete documentation of role Sequence |
14:20 | |
[Coke] | the whitespace thing also fixed an example compilation issue | 14:21 | |
14:24
patrickb left
14:28
patrickb joined
14:44
sena_kun left
14:52
chloekek left
14:58
sena_kun joined
14:59
Doc_Holliwood joined
15:14
rypervenche left
15:17
rypervenche joined
15:18
AlexDaniel joined,
AlexDaniel left,
AlexDaniel joined
15:31
guifa2 joined
15:37
guifa2 left
16:05
wamba joined
16:08
patrickb left
16:10
antoniogamiz joined
|
|||
antoniogamiz | o/ | 16:10 | |
who can access CircleCi and travis to enable them in Raku/Documentable? | |||
(it's been moved from perl6/Documentable to Raku/Documentable os it needs to be reconfigured) | 16:11 | ||
Kaiepi | releasable6, status | 16:16 | |
releasable6 | Kaiepi, Next release will happen when it's ready. 1 blocker. 0 out of 524 commits logged | ||
Kaiepi, Details: gist.github.com/c9de039ff574d0a7b2...2b8586e298 | |||
16:30
MasterDuke joined,
wamba left
|
|||
Kaiepi | .tell tbrowder, i'm up for mentoring | 16:32 | |
tellable6 | Kaiepi, I'll pass your message to tbrowder | ||
tbrowder | great, let jmerelo know. he was one of our gsoc leaders last year | 16:34 | |
.tell jmerelo; ^^^ | |||
tellable6 | tbrowder, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Tellable | ||
tbrowder | .tell jmerelo ^^^ | 16:35 | |
tellable6 | tbrowder, I'll pass your message to jmerelo | ||
16:41
cpan-raku left
16:45
sena_kun left
16:48
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
cpan-raku | New module released to CPAN! Gnome::N (0.15.3.1) by 03MARTIMM | 16:48 | |
16:59
sena_kun joined
17:00
antoniogamiz left
17:01
antoniogamiz joined
17:09
MasterDuke left
17:12
abraxxa left
17:13
abraxxa joined
|
|||
cpan-raku | New module released to CPAN! String::Fields (0.0.2) by 03ELIZABETH | 17:16 | |
antoniogamiz | lizmat: can you enable/disable repositories in CircleCI/Travis in the Raku org? | 17:21 | |
lizmat | I can try | 17:22 | |
antoniogamiz | then please try with Raku/Documentable | 17:23 | |
17:24
abraxxa left
|
|||
lizmat | antoniogamiz so I'm at Integrations & services, what should I do ? | 17:25 | |
antoniogamiz | mm enable Raku/Documentable repository | ||
there should be a list of available repositories | |||
lizmat | Travis already has access to all Raku repositories | 17:26 | |
I don't see any CircleCI stuff | 17:27 | ||
antoniogamiz | and CircleCI? | ||
CircleCI is another service like travis | |||
it's in a different page | |||
lizmat | looks like the webhooks are already in place | 17:28 | |
antoniogamiz | mmm then why travis-ci.org/perl6/Documentable works but not Raku/Documentable? mm | ||
lizmat | perhaps Travis doesn't know about the move yet | 17:29 | |
that was today, right? | |||
antoniogamiz | yep | ||
lizmat | it only reads the repo once a day afaik | ||
antoniogamiz | mmm then i will wait to see if it gets fixed | ||
thanks for your help :) | |||
lizmat | so good chance it'll all be ok tomorrow | 17:30 | |
you're welcome | |||
17:38
xinming left
17:40
xinming joined
17:42
abraxxa joined
|
|||
cpan-raku | New module released to CPAN! Trait::Traced (0.2.1) by 03KAIEPI | 17:46 | |
Kaiepi | ^ removes a lot of overhead from tracing | 17:52 | |
17:56
entonian left
18:17
antoniogamiz left
18:20
wildtrees joined
18:33
abraxxa left
18:44
sena_kun left
18:47
domidumont joined
19:00
sena_kun joined
19:11
kensanata joined
19:13
mdmkolbe joined
19:20
xinming left
19:21
xinming joined
19:36
domidumont left
|
|||
cpan-raku | New module released to CPAN! PDF::Class (0.3.9) by 03WARRINGD | 19:40 | |
19:44
entonian joined
19:51
mdmkolbe left
|
|||
cpan-raku | New module released to CPAN! ProcStats (0.3.0) by 03LEMBARK | 20:02 | |
20:17
ingy joined
|
|||
ingy | I want to start redoing some of my published perl6 stuff to raku. Need to know basic conventions like file extensions, binary name, etc. What's a good starting point URL or FAQ? | 20:19 | |
rypervenche | ingy: I believe this is what you're looking for: github.com/Raku/problem-solving/bl...to-Raku.md | 20:23 | |
ingy | *click* | ||
[Coke] | ingy: hio | ||
rypervenche | I have to say, it's very cool to see many of the people that I've watched in Raku talks here in the IRC channel. | 20:24 | |
ingy | raku.org/downloads seems to be out of date. referring to 2019.03 release | 20:28 | |
rypervenche | ingy: That's Rakudo Star. The rakudo compiler is at 2019.11 currently, although there should hopefully be a new release in the next few days. They're working on an issue at the moment. | 20:32 | |
I *think* Rakudo Star will be updated as well after the 2020.01 release of rakudo, so it will be available for FOSDEM, but don't quote me on that. :) | 20:33 | ||
ingy | :) | 20:34 | |
rypervenche | I'm very new to the community and language, so I can only say what I've seen in the past couple of weeks. | 20:35 | |
20:36
stoned75 joined
|
|||
[Coke] | We're close to the next compiler release, no? | 20:36 | |
lizmat | yes, afaik | 20:39 | |
ingy | is there any reason to call perl "Perl 5" anymore? | ||
lizmat | I don't think so, I've been referring to Perl 5 as "Perl" for some months now | ||
[Coke] | lizmat++ | 20:40 | |
ingy | I'll take it slow and ask here when I run into a contentious naming situation | ||
how many modules have switched from .pm6 extensions so far? | 20:41 | ||
lizmat | none, because we would need a Rakudo Star out there that supports the new extensions | ||
rypervenche | I think we're waiting until 6.e before module extensions get changed? | 20:42 | |
lizmat | and we don't have that yet: 2020.01 would be the first | ||
HEAD supports the new extensions already | |||
but not everybody's running aHEAD :-) | |||
ingy | glad I asked | 20:43 | |
the `raku` bin name is switchable now though, right? | |||
20:45
sena_kun left
|
|||
lizmat | the 2019.11 compiler release supports that | 20:45 | |
but creating a local alias should work with older versions | |||
ingy | I guess I'll wait for a star release | 20:49 | |
rypervenche | Is it possible to have a variable interpolated inside of a \c[ ] ? | 20:52 | |
20:53
mdmkolbe joined
|
|||
mdmkolbe | (Sorry, I had connection issues, my question still stands) | 20:53 | |
lizmat | ingy: that's probably wise... it should only be a week or so | ||
rypervenche | mdmkolbe: Could you please resend your question? | 20:58 | |
20:59
sena_kun joined
|
|||
El_Che | ingy: what's your OS? | 21:02 | |
tellable6 | hey El_Che, you have a message: gist.github.com/c4a5e9b22a7fb653f1...9150156dcb | ||
mdmkolbe | I'm trying to get perl6-js to work with the `selenium-webdriver` node package. I'm getting the following error: gist.github.com/adamsmd/1bb704e793...74044e6456 I don't know whether this is a bug in perl6-js or if I'm just using it wrong. | 21:06 | |
21:14
rindolf left
|
|||
ingy | El_Che: why do you ask? | 21:21 | |
I'm not having trouble using raku. I want to update raku software for people to use successfully. Thus I'm confused as to why my OS matters here... | 21:22 | ||
cpan-raku | New module released to CPAN! Trait::Traced (0.2.2) by 03KAIEPI | 21:24 | |
El_Che | ingy: because I provide linux packages of the latest releases | 21:25 | |
ingy: I don't provide macos or windows packages (yet) | 21:26 | ||
ingy | well I probably just installed your linux code. thanks | ||
El_Che | np | ||
ingy | but that has nothing to do with my queries here today :) | ||
El_Che | no, it's only related to your question about star providing the 2019.03 release | 21:27 | |
ingy | I just want to know when new things like `/usr/bin/env raku` and `.rakumod` become ubiquitous. | 21:28 | |
since star doesn't seem to do either yet, I'll wait until it does | |||
21:29
stoned75 left
21:31
kensanata left
21:32
cpan-raku left
21:33
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
Geth | doc/master: 4 commits pushed by (Peter du Marchie van Voorthuysen)++ | 21:36 | |
21:37
Ven_de_Thiel joined
|
|||
Ven_de_Thiel | jnthn: turns out named arguments are "fun" to emulate in JS :-) | 21:37 | |
21:41
mdmkolbe left
|
|||
El_Che | ingy: in case you used a raku-pkg pkg, a raku syslink is provided. Rakumod need still the next release | 21:45 | |
21:49
stoned75 joined
|
|||
jnthn | Ven_de_Thiel: hah, yes...I'd not thought of that :) | 22:25 | |
22:37
mahmudov joined
22:44
Ven_de_Thiel left,
sena_kun left
23:00
sena_kun joined
23:05
wamba joined
23:14
Kaiepi left,
Kaiepi joined
23:47
MasterDuke joined
23:54
Ven_de_Thiel joined
|
|||
Ven_de_Thiel | jnthn: I have done horrible things, but named args should work now | 23:56 | |
jnthn | \o/ | 23:57 | |
Any other interesting semantic mismatches? | 23:58 |