🦋 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:20
evalable6 left,
linkable6 left,
linkable6 joined
00:21
evalable6 joined
01:12
oodani_ left,
oodani joined
01:13
sena_kun joined
01:14
Altai-man_ left
01:35
Noisytoot left
02:05
Manifest0 left,
Manifest0 joined
02:30
afresh1 left,
afresh1 joined
02:34
Zero_Dogg left,
ssm joined
|
|||
cpan-raku | New module released to CPAN! Sparrowdo (0.1.10) by 03MELEZHIK | 02:35 | |
02:36
satori__ joined
02:39
reach_satori_ left
02:48
Zero_Dogg joined
03:11
lucasb left
|
|||
Geth | advent: 5afcb8d8cc | (Vadim Belman)++ | 20th/articles/rfc137.md Add an article on RFC 137 |
03:11 | |
03:12
Altai-man_ joined
|
|||
Geth | advent: 5ed6918442 | (Vadim Belman)++ | 20th/articles/rfc137.md Fix an errata |
03:13 | |
03:14
sena_kun left
03:27
afresh1 left,
afresh1 joined
03:33
maggotbrain left
03:34
maggotbrain joined
03:58
albino left
04:00
albino joined
05:00
linkable6 left,
quotable6 left,
releasable6 left,
squashable6 left,
coverable6 left,
evalable6 left,
benchable6 left,
sourceable6 left,
shareable6 left,
bisectable6 left,
nativecallable6 left,
greppable6 left,
committable6 left,
unicodable6 left,
statisfiable6 left,
notable6 left,
bloatable6 left,
tellable6 left,
reportable6 left,
unicodable6 joined,
releasable6 joined,
sourceable6 joined
05:01
evalable6 joined,
benchable6 joined,
squashable6 joined,
statisfiable6 joined,
quotable6 joined,
shareable6 joined,
tellable6 joined
05:02
bisectable6 joined,
linkable6 joined,
reportable6 joined,
coverable6 joined,
greppable6 joined,
bloatable6 joined,
notable6 joined,
committable6 joined
05:03
nativecallable6 joined
05:12
sena_kun joined
05:14
Altai-man_ left
05:16
zacts joined
05:19
OpenZen left
05:38
rindolf joined
05:53
rindolf left
06:04
wamba joined
06:26
zacts left
06:33
kensanata joined
06:37
rindolf joined
|
|||
SmokeMachine | Is the operator wrong at the beginning of the today’s article? | 06:55 | |
=< instead of <=? | 06:56 | ||
moritz | yes, fixing... | 07:04 | |
07:09
leont joined
07:12
Altai-man_ joined
07:14
sena_kun left,
dolmen joined
07:21
dakkar joined
07:43
JJMerelo joined
|
|||
SmokeMachine | it seems the html has eaten the list of method names on `has Inner $.i handles ;` | 07:44 | |
on the today's post | |||
JJMerelo | .tell tbrowder I would say a totally new page, but it's probably better if you open an issue anyway and ask for opinions. | 07:45 | |
tellable6 | JJMerelo, I'll pass your message to tbrowder | ||
JJMerelo | SmokeMachine let me check | 07:46 | |
tellable6 | 2020-08-02T18:58:23Z #raku <tbrowder> JJmerelo ^^^ | ||
SmokeMachine | usercontent.irccloud-cdn.com/file/.../image.png | ||
07:49
domidumont joined
|
|||
JJMerelo | Not only that one. A host of others, too. Fixed. Thanks, SmokeMachine! | 07:51 | |
SmokeMachine you won't happen to want to write an article, right? We need a few still... | 07:52 | ||
07:54
ufobat joined
|
|||
SmokeMachine | JJMerelo: I'd love, but I'm not having much time this days (and my English wouldn't help)... :( what RFCs are still without an author? | 07:54 | |
07:57
ufobat left
|
|||
JJMerelo | SmokeMachine most. I can help with English, and if you upload it to the repo, it can be checked by anyone | 08:04 | |
SmokeMachine | JJMerelo: Sorry, I'm staying at home with my kids, they are bored without anything to do, I need to use the non working time to play with them. I could not say I'd do a article and not have time to do it. | 08:07 | |
JJMerelo | SmokeMachine please do that and stay safe :-) | 08:08 | |
JJMerelo clickbaits today's 20th anniversary calendar entry raku-advent.blog/2020/08/03/worthy-picks/ | 08:32 | ||
... and we still need articles. Please pick one (or a few) RFCs and add yourself here github.com/Raku/advent/tree/master/20th | 08:33 | ||
.seen ab5tract | 08:34 | ||
tellable6 | JJMerelo, I saw ab5tract 2020-07-28T11:06:36Z in #raku: <ab5tract> [ptc]: thanks for the feedback, glad you enjoyed it! :D | ||
JJMerelo | .tell ab5tract how are you doing with your article? | 08:35 | |
tellable6 | JJMerelo, I'll pass your message to ab5tract | ||
08:37
cpan-raku left
08:41
cpan-raku joined,
cpan-raku left,
cpan-raku joined
09:13
sena_kun joined
09:14
Altai-man_ left
09:23
wamba left,
wamba joined
09:44
Sgeo left
09:58
dogbert17 left
|
|||
leont is still working on his rfc blogpost -_- (also, someone should put him on that list for rfc22) | 09:58 | ||
10:04
demostanis joined
|
|||
demostanis | Hello everyone! A little question, how do I make a variable to a package? I have a simple package containing a subroutine, calling My::Package::subroutine works, but when I make a $variable = My::Package; $variable::subroutine is of type (Any) | 10:06 | |
10:09
wamba left
|
|||
Geth | advent: 48136967af | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | 20th/README.md Set up leont for RFC 22 |
10:10 | |
lizmat | leont ^^ | ||
JJMerelo | leont thanks! | 10:14 | |
10:16
vike left
10:18
vike joined
|
|||
dakkar | demostanis: docs.raku.org/language/packages#In...into_names | 10:23 | |
JJMerelo | demostanis: have you tried something like ::($variable)::subroutine? | ||
dakkar | m: package Foo { our sub bar { say 'it worked' } };my $p='Foo'; &::($p)::bar() | ||
camelia | it worked | ||
demostanis | Thanks for the solutions, I've had forgotten the & and to put My::Package inside quotes | 10:25 | |
10:28
JJMerelo left
10:32
Noisytoot joined
10:39
Noisytoot left,
dolmen left,
Noisytoot joined
10:47
Noisytoot left
10:48
Noisytoot joined
10:58
ab5tract joined
11:11
Noisytoot left
11:12
Altai-man_ joined,
Noisytoot joined
11:14
sena_kun left
11:18
dolmen joined
11:24
ab5tract left
11:29
aluaces left
11:31
aluaces joined
11:53
xinming left,
xinming joined
11:54
lichtkind joined
12:16
xinming left,
xinming joined
12:31
xelxebar_ left,
xelxebar joined
12:46
kensanata left
13:13
sena_kun joined,
molaf joined
13:14
Altai-man_ left
13:19
xinming left
|
|||
lizmat | and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/08/03/2020-...ntytwenty/ | 13:20 | |
13:21
xinming joined
|
|||
moritz | lizmat++ | 13:42 | |
guifa2 | lizmat++ | 13:50 | |
am I weird for feeling dirty using "is rw" in signatures? I feel like given normal Raku style it's exceedingly rare (as an attribute trait, different story of course) | 13:55 | ||
moritz | not weird, I hear ya | 13:56 | |
13:57
OpenZen joined
|
|||
guifa2 | I don't think I'd ever used it until porting this C code | 13:57 | |
I can probably get rid of it, but I'm wary of making my Raku code stray too far from standard code | 13:58 | ||
I've actually thought about literally included chunks of the C code as comments, just to help spot changes in the standard library and implement them | 13:59 | ||
Geth | advent: 963199e563 | (Vadim Belman)++ | 20th/articles/rfc137.md Fix an errata and add a link to synopses Also reformatted the text for ease of reading as raw. |
||
guifa2 | Ah, and since it's the time that most European users are online :-) | 14:00 | |
14:01
xinming left,
xinming joined
|
|||
guifa2 | moritz lizmat jnthn timotimo: since y'all use "summer time" as opposed to "daylight (savings) time" on this side of the pond, any thoughts on naming the method to check if a time is in standard vs summer/daylight time? The standard C library uses "isdst" but I'm not 100% liking $time.is-dst for Raku | 14:02 | |
moritz | guifa2: I always thought of "summer time" as a bad translation of DST :D | 14:04 | |
could be $time.is-dst or even $time.is-dailight-savings | 14:05 | ||
Geth | advent: b5973d484a | (Vadim Belman)++ | 20th/articles/rfc137.md Revert wrapping long lines to comply with CONTRIBUTING Sorry for that, should've read the instructions more carefully. |
14:07 | |
guifa2 | moritz: heh. I'd be happy if we just got rid of it but alas, 'tis not the case | 14:08 | |
dakkar | nitpick: "saving", not "savings" | 14:10 | |
guifa2 | I think tonight I'll be able to release this sucker, just have to finish the localtime->gmt conversion code. I think the technique for hacking DateTime will be worthy of an interesting blog post (one of the many I've promised lizmat and still not finished lol). | ||
dakkar | it's a change to save (i.e. use more of) day time | ||
and of course I mangle my own explanation… | |||
it's a change to the local time, to save (i.e. use more of) daylight | |||
guifa2: I always forget to ask… in Intl, is the current locale only stored in a process global? | 14:12 | ||
(I may have misunderstood completely, though) | |||
guifa2 | dakkar: for UserLanguage yes. It's set once upon first use to avoid repeated shell calls. | 14:13 | |
dakkar | so I can't use `Intl::UserLanguage` in (for example) web applications | ||
guifa2 | For all other modules, you can always specify a language, it just defaults to UserLanguage if you don't | ||
dakkar | now that I've actually looked at the code, yes, UserLanguage is only useful for command-line things | 14:14 | |
guifa2 | For a webapp, I'd load UserLanguage but specify a fallback language (English, probably, in most use cases) | 14:15 | |
dakkar | for HTTP, I should construct a `LanguageTag` from `Accept-language` or equivalent | ||
guifa2 | Exactly. And Intl::LanguageTag has tag selection functions | ||
dakkar | thank you! | 14:16 | |
guifa2 | dakkar: no problem. Please let me know if you encounter any issues with any of them. I haven't approached performance tuning though outside of trying to lazy load yet — for your web example, it will only load English until you get a Spanish user, then it'll have EN and ES loaded, until you get a German user, then EN ES DE, etc. | 14:20 | |
14:20
Xliff left
|
|||
dakkar | sounds sensible! | 14:20 | |
I'm not sure if I'll actually get around to using it, but since I've seen other projects make serious mistakes, I'm happy to notice that you haven't made any that I recognise | 14:21 | ||
guifa2 | i'm sure in Timezone there will be one or two, but dealing with time, you basically tend to either load one of the hyper accurate Java libraries or you accept that there may be some minor issues without lots of boilerplate | 14:23 | |
14:27
aluaces left
|
|||
demostanis | I'm just curious: what operating systems do you guys work on? | 14:35 | |
guifa2 | I think most of us are either Mac or Linux | 14:40 | |
rindolf | demostanis: i use mageia linux and fedora linux primarily | ||
MasterDuke | arch linux and kubuntu at home. centos at work | 14:42 | |
[Coke] | for raku? mac. have a windows box for $dayjob where I do use raku. | 14:45 | |
(so I occasionally do a windows build using VS) | 14:48 | ||
rypervenche | Gentoo Linux here. | ||
codesections | Linux here as well (Void, Pop!_OS, Arch, & Debian) | 14:49 | |
guifa2 | <[Coke]> you may soon become my new best friend as I start making more User[Attribute] modules ;-) | 14:50 | |
[Coke] | I'm happy to do tests as time permits. | 14:51 | |
[Coke] is reminded to kick off a build. | |||
holyghost | As [Coke], windows, mac and BSDs | 15:06 | |
demostanis | Which BSDs? | ||
holyghost | the 3 mains, Net, Open and Free | 15:07 | |
15:08
skids joined
|
|||
holyghost | I work on NetBSD mostly for scheme and mono, I do have an android phone (samsung) and an iphone for music | 15:09 | |
Then C++ on windows and macs, evrything XCode on the command line can bear | 15:10 | ||
I work in windowmaker mostly with several xterms, vi and xemacs | |||
and seamonkey as a browser | 15:11 | ||
15:12
Altai-man_ joined
15:14
sena_kun left
|
|||
holyghost | I use these to be productive and calm down FWIW | 15:16 | |
Xliff's server where I work on in raku, is an ubuntu system | 15:18 | ||
rockxloose | I use Mac, BSDs, Raspbian. | 15:21 | |
15:24
dolmen left
15:26
patrickb joined
|
|||
cpan-raku | New module released to CPAN! Net::BGP (0.7.2) by 03JMASLAK | 15:32 | |
15:32
dolmen joined
15:36
gnufr33dom left
15:39
raku-bridge left,
raku-bridge joined,
raku-bridge left,
raku-bridge joined,
phogg left
15:40
rindolf left,
rindolf joined
15:44
cpan-raku left
15:47
phogg joined,
phogg left,
phogg joined
|
|||
tbrowder | i'm very interested in that book lizmat mentioned, but i've not been real happy with the 2 i have already (at a lot more the present subject). | 15:58 | |
i would love to see at least toc and other front matter if availabe. i couldn't find that at the link. | 16:00 | ||
*at a lot higher prices than the subject ebook | 16:01 | ||
16:05
melezhik joined
16:13
JJMerelo joined
16:30
Sgeo joined
16:35
dakkar left
16:37
dolmen left
16:41
phogg left
|
|||
demostanis | Is there any way to download a remote file while showing a progress bar, using LWP::Simple or HTTP::UserAgent? | 16:41 | |
16:43
zacts joined
16:45
JJMerelo left
16:48
epony left
16:52
phogg joined,
phogg left,
phogg joined
16:53
zacts left
|
|||
lizmat | tbrowder: TOC of book: gist.github.com/lizmat/99751c0864d...04499b369f | 16:55 | |
16:56
zacts joined
16:58
mowcat joined
|
|||
tbrowder | lizmat: thanks, i think i’ll give it a shot | 16:59 | |
17:02
rir joined,
orinthe left
17:03
orinthe joined
|
|||
lizmat | afk again& | 17:03 | |
17:12
domidumont left,
sena_kun joined
17:14
Altai-man_ left
17:17
MasterDuke left
|
|||
Geth | advent: b0031f1618 | (Vadim Belman)++ | 20th/README.md Update my URL Better link to the blog. |
17:23 | |
17:30
epony joined
|
|||
vrurg | .ask JJMerelo I scheduled for today as there seemed nothing scheduled yet. Tell me please if the plan is different. | 17:39 | |
tellable6 | vrurg, I'll pass your message to JJMerelo | ||
guifa2 | "Missing serialize REPR function for REPR MVMContext (BOOTContext)" any idea what causes this compile error? It doesn't give a linenum | 17:51 | |
17:59
molaf left
18:07
kensanata joined
18:13
aluaces joined
18:14
epony left,
epony joined
18:20
domidumont joined
18:21
lichtkind left
18:25
lichtkind joined,
MasterDuke joined
18:26
melezhik left
18:27
domidumont left
18:29
Sauvin left
|
|||
codesections | Is there a good/idiomatic way to print the elements from a lazy list as they're computed (rather than waiting for the whole list (or a subset of it) to be computed and printing that whole range)? | 18:31 | |
(I'm currently using something like `my $i = 0; while $lazy-list[$i] { say $lazy-list[$i++] }` – and that *works* but feels a bit unidiomatic | 18:39 | ||
) | |||
18:54
dolmen joined
19:06
dolmen left
19:12
Altai-man_ joined
19:14
sena_kun left
|
|||
rypervenche | m: my $list = ^15; .say for $list[]; | 19:17 | |
camelia | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
||
rypervenche | codesections: There may be a better way, but maybe something like that? | ||
It worked for me with ^Inf as well. | |||
codesections | rypervenche: Thanks! I had tried something along those lines, but I was thinking that $list[] would realize the whole list before printing anything – but, trying it out, it looks like it doesn't. Which is exactly what I wanted :) | 19:20 | |
rypervenche | codesections: docs.raku.org/language/subscripts#...Zen_slices | 19:21 | |
codesections | well, there you go. > Zen slicing does not reify or cache (not even Seqs) | 19:22 | |
Today I Learned | 19:23 | ||
rypervenche | As did I :) | 19:26 | |
19:36
rindolf left
19:43
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
SmokeMachine | I had forgot fanlang till I've seen this: doc.openresty.com/en/fanlang/ | 19:56 | |
20:19
xinming left
|
|||
codesections | Does anyone have a font they really like for Raku's unicode symbols? In my font × and x are a bit too close, and ∖ and \ are just indistinguishable | 20:24 | |
tony-o | monaco makes them distinguishable, the exes fairly quickly, the slashes only very slightly | 20:25 | |
20:25
rir left
20:27
molaf joined
|
|||
Geth | advent: 48dbd0c138 | (Vadim Belman)++ | 20th/README.md Claim RFC 265 |
20:38 | |
guifa2 | I feel like ∖ and ÷ are pretty clearly different ;-) | 20:43 | |
err | |||
duh obviously it's \ and ∖ not / and ∖ | |||
guifa2 returns to figure out this REPR bug | |||
20:46
yuplushi left
|
|||
guifa2 | got it | 20:48 | |
my int16 @foo[2,2] = (1,2),(3,4); doesn't like being 'used' | |||
20:48
dolmen joined
21:06
kensanata left
21:12
Noisytoot left
21:15
Noisytoot joined
21:31
dolmen left
21:59
mowcat left
22:13
sena_kun joined
22:14
Altai-man_ left
22:17
lichtkind left
22:34
Black_Ribbon joined
|
|||
demostanis | Aren't there any way to show a progress bar while downloading a file using LWP::Simple or HTTP::UserAgent? | 22:38 | |
22:41
demostanis left
22:54
skids left
|
|||
guifa2 | demostanis: I don't see anything in HTTP::UserAgent that would give a hook for that | 23:10 | |
tellable6 | guifa2, I'll pass your message to demostanis | ||
guifa2 | arg, finally got the ported gmt-from-local sub to work but it's giving me wrong results =\ | 23:16 | |
23:17
gdonald joined
23:21
patrickz joined
23:25
patrickb left,
yuplushi joined
|
|||
rypervenche | I wonder if Terminal::Spinners could somehow be used to do that. | 23:32 | |
23:43
toddr left
|
|||
guifa2 | You'd still need to pass it data via a promise | 23:50 | |
23:53
phogg left
23:54
patrickz left
|