š¦ 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:02
sena_kun left
|
|||
mspo | what does simple mean in this context | 00:04 | |
xkr47 | I don't know, GPT-2 invented everything except the first sentence :) | 00:09 | |
cpan-raku | New module released to CPAN! CSS (0.0.1) by 03WARRINGD | 00:11 | |
00:22
itcharlie joined
00:32
squashable6 left
00:34
squashable6 joined,
leont left
|
|||
cpan-raku | New module released to CPAN! Kind (0.1.0) by 03KAIEPI | 00:40 | |
00:46
lizmat left
01:18
itcharlie left
01:22
finanalyst left,
mahmudov left
01:51
kalkin-- joined
01:55
kalkin- left
02:24
Tirifto left
03:24
sourceable6 left,
notable6 left,
reportable6 left,
nativecallable6 left,
bisectable6 left,
squashable6 left,
quotable6 left,
greppable6 left,
statisfiable6 left,
benchable6 left,
releasable6 left,
bloatable6 left,
unicodable6 left,
committable6 left,
shareable6 left,
coverable6 left,
releasable6 joined,
statisfiable6 joined
03:25
shareable6 joined,
sourceable6 joined,
committable6 joined,
squashable6 joined,
reportable6 joined,
unicodable6 joined,
nativecallable6 joined
03:26
greppable6 joined,
benchable6 joined,
coverable6 joined
03:27
notable6 joined,
quotable6 joined,
bloatable6 joined,
bisectable6 joined
04:27
sourceable6 left,
quotable6 left,
shareable6 left,
statisfiable6 left,
bisectable6 left,
benchable6 left,
nativecallable6 left,
unicodable6 left,
reportable6 left,
squashable6 left,
coverable6 left,
notable6 left,
greppable6 left,
releasable6 left,
committable6 left,
bloatable6 left
04:28
notable6 joined,
quotable6 joined,
nativecallable6 joined,
benchable6 joined
04:29
reportable6 joined,
bisectable6 joined,
statisfiable6 joined,
shareable6 joined,
committable6 joined,
bloatable6 joined,
coverable6 joined
04:30
squashable6 joined,
unicodable6 joined,
greppable6 joined,
releasable6 joined,
sourceable6 joined
04:31
johnjohn101 left
04:48
xinming left
04:49
xinming joined
05:49
statisfiable6 left,
coverable6 left,
benchable6 left,
quotable6 left,
reportable6 left,
releasable6 left,
notable6 left,
bisectable6 left,
tellable6 left,
sourceable6 left,
bloatable6 left,
squashable6 left,
unicodable6 left,
committable6 left,
evalable6 left,
greppable6 left,
nativecallable6 left,
shareable6 left,
benchable6 joined,
unicodable6 joined,
bisectable6 joined
05:50
coverable6 joined,
bloatable6 joined,
committable6 joined,
tellable6 joined,
quotable6 joined
05:51
squashable6 joined,
reportable6 joined,
nativecallable6 joined,
statisfiable6 joined,
notable6 joined,
shareable6 joined,
evalable6 joined,
releasable6 joined,
greppable6 joined
05:52
sourceable6 joined
|
|||
xinming | SmokeMachine: termbin.com/0gmt6 This will cause 'This type cannot unbox to a native string: P6opaque, Failure' error | 06:33 | |
The raku version is `This is Rakudo version 2019.11 built on MoarVM version 2019.11` | |||
07:13
xinming left,
xinming joined
08:03
kalkin-- left
08:15
gabiruh_ joined
08:16
kalkin-- joined
08:19
gabiruh left
08:24
kalkin-- left
08:30
xinming left,
xinming joined
|
|||
xinming | SmokeMachine: i just try to narrow down, It's not Red problem. | 08:31 | |
It seems, It's DB::Pg problem, I'll continue trying | |||
08:32
rindolf joined
08:50
vividsnow left
08:56
vividsnow joined
09:04
vividsnow left,
vividsnow joined
09:14
holyghost left
09:15
holyghost joined
09:43
sena_kun joined
09:49
kalkin-- joined
10:15
kalkin-- left
10:18
rindolf left
10:25
hacktor1 joined,
hacktor left
10:27
stoned75 joined
10:30
rindolf joined
10:37
stoned75 left
11:11
hacktor1 left
11:12
hacktor joined
11:17
hacktor left
11:22
sena_kun left
11:37
sena_kun joined
12:06
pheix joined,
pheix left,
pheix joined
12:11
pheix_ joined
12:12
pheix_ left
12:13
RobRaku joined
12:16
rindolf left
12:18
rindolf joined
12:37
AlexDaniel joined,
AlexDaniel left,
AlexDaniel joined
12:38
lizmat joined
12:51
chloekek joined
12:52
vividsnow left
13:08
pheix left
13:11
pheix joined
13:23
sena_kun left
|
|||
chloekek | Does DBIish support writing custom SQLite collations in Raku? | 13:28 | |
Iāll open a feature request, doesnāt seem like it. | 13:30 | ||
13:38
sena_kun joined
13:45
RobRaku left
13:59
Xliff joined
|
|||
chloekek | Nice trick: put large/bulky SQL queries in a resource, and load them with $dbh.prepare(BEGIN { %?RESOURCES<blabla.sql>.slurp }) | 14:15 | |
lizmat | it's what %?RESOURCES was intended for :-) | 14:17 | |
chloekek | p6: given " foo ".trim { s:g/' '/%/; .say } | 14:22 | |
camelia | foo | ||
chloekek | p6: given " foo ".trim { s:g/' '/%/; .say } | ||
camelia | foo | ||
14:22
chloekek left,
chloekek joined
|
|||
chloekek | p6: given ' foo '.trim { s:g/' '/%/; .say } | 14:22 | |
camelia | foo | ||
chloekek | Interesting, I get an error that Iām trying to mutate an immutable Str. | 14:23 | |
p6: given ' foo '.trim { s:g/(' ')/%\\$0/; .say } | |||
camelia | foo | ||
chloekek | Oh lol. | ||
p6: given ' f o o '.trim { s:g/(' ')/%/; .say } # better example | |||
camelia | Cannot modify an immutable Str (f o o) in block <unit> at <tmp> line 1 |
||
chloekek | Iāll just not use s/// :P | 14:24 | |
uzl[m] | Passing by to wish everyone Merry Christmas! | 14:26 | |
p: given ' f o o '.trim { S:g/(' ')/%/; .say } | |||
p6: given ' f o o '.trim { S:g/(' ')/%/; .say } | |||
camelia | f o o | ||
chloekek | S doesnāt modify $_ so .say still prints the old one. | 14:28 | |
p6: given ' f o o '.trim { say S:g/(' ')/%/ } | |||
camelia | f%o%o | ||
chloekek | However, in reality I have two substitutions and you canāt chain them easily with S. | ||
p6: given ' f o o '.trim { say {S:g/(' ')/%/}(S:g/f/x/); } | 14:29 | ||
camelia | x%o%o | ||
chloekek | Works but ugly. :Ć¾ | ||
uzl[m] | p6: say S:g/(' ')/%/ with ' f o o '; | 14:30 | |
camelia | %f%o%o% | ||
chloekek | p6: given ' f o o ' { $_ ==> trim() ==> {S:g/(' ')/%/} ==> {S:g/f/x/} ==> say(); } | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Only routine calls or variables that can '.push' may appear on either side of feed operators. at <tmp>:1 ------> 3given ' f o o ' { $_ ==> trim() ==> 7ā5{S:g/(' ')/%/} ==> {S:g/f/x/} ==> say();ā¦ |
||
chloekek | p6: given ' f o o ' { $_ ==> trim() ==> {S:g/(' ')/%/}() ==> {S:g/f/x/}() ==> say(); } | ||
camelia | x%o%o | ||
chloekek | Thatās ok I suppose. | ||
uzl[m] | say S:g/(' ')/%/ given ' f o o '; | 14:31 | |
evalable6 | %f%o%o% | ||
uzl[m] | However, you must trim the string. | ||
say S:g/(' ')/%/ with ' f o o '.trim; | |||
evalable6 | f%o%o | ||
14:32
cpan-raku left
14:33
cpan-raku joined,
cpan-raku left,
cpan-raku joined
14:39
kalkin joined
|
|||
chloekek | Went with $query.trim.subst(/\s+/, ā::ā, :g).subst(/(<[%_\\]>)/, {ā\\$0ā}, :g) | 14:42 | |
Xliff | Merry Christmas, #raku! | 14:43 | |
sena_kun | Xliff: o/ | 14:52 | |
14:55
wamba joined
|
|||
chloekek | p6: say āmerry christmasā.tc | 15:03 | |
camelia | Merry christmas | ||
chloekek | p6: āmerry christmasā.subst(/Ā«./, {$0.tc}, :g).say | 15:05 | |
camelia | Use of Nil in string context erry hristmas in block at <tmp> line 1 Use of Nil in string context in block at <tmp> line 1 |
||
chloekek | p6: āmerry christmasā.subst(/Ā«(.)/, {$0.tc}, :g).say | 15:06 | |
camelia | Merry Christmas | ||
15:15
chloekek left
|
|||
kalkin | hi | 15:18 | |
15:22
sena_kun left
15:36
pheix left
15:37
sena_kun joined
|
|||
sena_kun | lizmat: ping? | 15:38 | |
15:44
Tirifto joined
16:03
gabiruh_ left
|
|||
sena_kun hopes masak can de-bitrot github.com/masak/data-pretty with help of PRs available | 16:30 | ||
.seen lembark | 16:47 | ||
tellable6 | sena_kun, I saw lembark 2019-07-03T18:33:03Z in #perl6: <lembark> If the issue is closure conext fine, where can I look to find out how the closure context is defined and how it affects the state vars? | ||
sena_kun | .tell lembark hi! your FindBin module is failing tests for some reason, can you check it? | 16:48 | |
tellable6 | sena_kun, I'll pass your message to lembark | ||
sena_kun | .tell masak not only github.com/masak/data-pretty but github.com/masak/gge wants some de-bitrotting too... | 16:51 | |
tellable6 | sena_kun, I'll pass your message to masak | ||
sarna | hello, whatās (*SKIP)(*F) and does raku have it? | 17:04 | |
17:19
xinming left
17:21
xinming joined
17:22
sena_kun left
|
|||
Xliff | sarna: Where are you getting that from? | 17:34 | |
17:35
chloekek joined
17:38
sena_kun joined
17:42
guifa2 joined
|
|||
moritz | perldoc perlre has something on (*SKIP) | 17:43 | |
Xliff | Is there a way to invoke perl6's compiling routines from inside perl6? | 17:46 | |
Or is the expected way to invoke perl6 from a subshell? | 17:47 | ||
chloekek | Xliff: what do you want to compile and what do you expect to get? | 17:48 | |
Xliff | I want to compile (and have it output .moarvm files as normal) perl6 modules | ||
I basically want to see if I can write a more efficient perl6 loader without having to drop to NQP. | 17:49 | ||
One where I can actually start parallel compilation jobs. | |||
17:53
chloekek left
|
|||
xinming | After we rename perl6 to raku, Will the .perl method also be renamed? :-) | 17:53 | |
sena_kun | xinming: yeah | 17:58 | |
17:58
vividsnow joined
|
|||
sena_kun | github.com/perl6/problem-solving/b...ku.md#perl <- xinming | 17:58 | |
lizmat | sena_kun: pong | 18:00 | |
sena_kun | lizmat: o/ | 18:02 | |
I guess you are aware that Acme::Cow6 fails tests? | 18:03 | ||
18:03
guifa2 left
|
|||
sena_kun | I filled a ticket anyway, iirc | 18:03 | |
lizmat | yeah... don't worry about it | ||
sena_kun | oki | 18:04 | |
lizmat | it was an experiment, and one that is still ongoing | ||
and not very serious | |||
sena_kun | no problem, I am just going over all not-OK things in the ecosystem for the release and thought you're the author that did not abandon modules. :) | 18:05 | |
sarna | Xliff: something something perl regexes | 18:11 | |
lizmat | sena_kun: it's not abandoned, it's just resting | 18:12 | |
sena_kun nods | 18:13 | ||
++lizmat | |||
lizmat | and I *have* abandoned all of my Perl modules, so I have abandoned modules | ||
just no Raku modules | |||
18:16
chloekek joined
|
|||
chloekek | Xliff: even the Rakudo module for precompiling distributions spawns a subprocess so I doubt thereās another way to do it than via MoarVM flags. | 18:22 | |
18:24
wamba left
18:38
stoned75 joined
18:50
johnjohn101 joined
18:52
stoned75 left
|
|||
cpan-raku | New module released to CPAN! Math::Libgsl (0.0.3) by 03FRITH | 18:55 | |
johnjohn101 | hi raku!! i think i'm going to try a few things today with this | 18:56 | |
sarna | hello johnjohn101 o/ | ||
johnjohn101 | what is panda? | ||
lizmat | the predecessor of zef | 18:57 | |
the way to install modules from the ecosystem | |||
johnjohn101 | ok was going to do this... so panda isn't used any more? | 18:58 | |
andrewshitov.com/2018/10/31/databa...in-perl-6/ | |||
lizmat | panda is indeed not the tool of choice for installing modules | 19:00 | |
(anymore) | |||
sarna | johnjohn101: `zef install DBIish` should work | 19:02 | |
johnjohn101 | ok, will do that. 1st i need to get this working on ubuntu. | 19:04 | |
sarna | I recommend lonestar | 19:05 | |
sena_kun | tyil: ping? | ||
sarna | johnjohn101: github.com/Tyil/lonestar | 19:06 | |
will work fine if your shell is zsh or bash | |||
johnjohn101 | ok, thanks... | ||
sena_kun | .tell tyll hi! I can't install App::Cpan, the output is gist.github.com/Altai-man/f65f529f...897a875746 can you please check it? | ||
tellable6 | sena_kun, I haven't seen tyll around, did you mean tyil? | ||
johnjohn101 | i don't customize anything | ||
sena_kun | oops | ||
sarna | yeah so you should be just fine :) | ||
sena_kun | .tell tyil hi! I can't install App::Cpan, the output is gist.github.com/Altai-man/f65f529f...897a875746 can you please check it? | 19:07 | |
tellable6 | sena_kun, I'll pass your message to tyil | ||
johnjohn101 | part of my issue today is complete procrastination and lazy. 1st vacay in over a year and my brain is telling me not to do anything that requires anykind of thinking | ||
sarna | you can take some rest instead then! | ||
thatās a lot of time without vacation :) | |||
johnjohn101 | and i work a high stress coding job | 19:08 | |
sarna | coding in your spare time sounds like an overkill :D | 19:10 | |
sena_kun prepared a Christmas present for jnthn | 19:12 | ||
:P | |||
johnjohn101 | well, i use some of my spare time for education. small projects that i've learned a technique or what not have paid off royally | 19:14 | |
at work. in fact, i was goofing around with some stuff last year at this time and now it's used in our product | 19:15 | ||
chloekek | At work I only learn Python pitfalls and XML feed problems so I spend my free time learning useful and fun things. | ||
lizmat | johnjohn101++ | ||
johnjohn101 | tbh, i love xml::twig to do xml stuff. LOVE IT | 19:17 | |
sena_kun | github.com/pierre-vigier/Perl6-Dat...ck/pull/17 github.com/pierre-vigier/Perl6-Dat...ck/pull/18 lol I guess | ||
19:17
mahmudov joined
19:23
sena_kun left
19:37
sena_kun joined
19:42
hacktor joined
19:43
vividsnow left
19:44
guifa2 joined
19:54
RobRaku joined
|
|||
Xliff | Ooh! XML::Twig looks cool! | 20:23 | |
20:24
RobRaku left
|
|||
Xliff | Hope this is pure Perl5. I might wanna see if this can be ported. | 20:24 | |
Grinnz | it's not, it uses XML::Parser | ||
Xliff | Awww.... | ||
Grinnz | well XML::Twig itself is | 20:25 | |
Xliff | Well... that's not so bad. | ||
I can Inline::Perl5 XML::Parser until that too is ported. | |||
Grinnz prefers Mojo::DOM | |||
which is already ported i believe ;) | 20:26 | ||
Xliff | What? There's a Perl6 Mojolicious? | ||
Grinnz | no, but it was ported under the name DOM::Tiny | ||
Xliff | www.google.com/search?q=munch%27s+...W6FXR40KM: | 20:28 | |
Xliff swoons. | |||
Um... | 20:31 | ||
What are <.rule> tokens for? Non capturing? | 20:32 | ||
And is this valid? <.valid-rule> | |||
moritz | <off-topic>I've recently read that right around the time that Munch painted this, a vulcanic eruption might have actually turned the sky red</off-topic> | ||
yes, <.foo> is non-capturing | |||
m: grammar A { token a-b { . }; token TOP { <a-b> }}: A.parse('x') | 20:33 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Confused at <tmp>:1 ------> 3{ token a-b { . }; token TOP { <a-b> }}:7ā5 A.parse('x') expecting any of: colon pair |
||
Xliff | m: grammar A { token a-b { . }; token TOP { <a-b> }}; A.parse('x') | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Bogus postfix at <tmp>:1 ------> 3 . }; token TOP { <a-b> }}; A.parse('x')7ā5 expecting any of: infix infix stopper statement end statement modifā¦ |
||
Xliff | m: grammar A { token a-b { . }; token TOP { <a-b> }}; A.parse('x') | ||
camelia | ( no output ) | ||
Xliff | m: grammar A { token a-b { . }; token TOP { <a-b> }}; A.parse('x').say | ||
camelia | ļ½¢xļ½£ a-b => ļ½¢xļ½£ |
||
Xliff | moritz++ | ||
m: grammar A { token a-b { . }; token TOP { <.a-b> }}; A.parse('x').say | 20:34 | ||
camelia | ļ½¢xļ½£ | ||
20:40
vividsnow joined
|
|||
Xliff | ('a'...'z').hyper.map({ .say }) | 20:40 | |
evalable6 | a b c d e f g h i j k l m n o p q r s t u v w x y z |
||
Xliff | ('a'...'z').hyper.map({ sleep rand; .say }) | 20:41 | |
m: rand.say | |||
camelia | 0.651624443789071 | ||
Xliff | m: ('a'...'z').hyper.map({ sleep rand; .say }) | ||
?!? | |||
camelia | a b c d e f g h i j k l m n o p q r s t u v w x y z |
||
Xliff | m: ('a'...'z').hyper.map({ sleep 1.rand; .say }) | 20:42 | |
camelia | a b c d e f g h i j k l m n o p q r s t u v w x y z |
||
Xliff | m: sleep rand; say now - INIT now; | ||
camelia | 0.9780913 | ||
Xliff | m: sleep rand; say now - INIT now; | ||
camelia | 0.5319324 | ||
Xliff | m: sleep rand; say now - INIT now; | ||
camelia | 0.1741123 | ||
Xliff | m: sleep rand; say now - INIT now; | ||
camelia | 0.861960193 | ||
Xliff | m: sleep 2.rand; say now - INIT now; | ||
camelia | 0.1759264 | ||
Xliff | m: sleep 2.rand; say now - INIT now; | 20:43 | |
camelia | 0.880982 | ||
Xliff | m: sleep 2.rand; say now - INIT now; | ||
camelia | 0.703917 | ||
Xliff | m: sleep 2.rand; say now - INIT now; | ||
camelia | 1.5179566 | ||
Xliff | m: 2.rand.say | ||
camelia | 1.9859595382464654 | ||
Xliff | m: 2.rand.say | ||
camelia | 1.5541059515765867 | ||
Xliff | m: ^999.pick | ||
camelia | Potential difficulties: Precedence of ^ is looser than method call; please parenthesize at <tmp>:1 ------> 3^9997ā5.pick WARNINGS for <tmp>: Useless use of "^" in expression "^999.pick" in sink context (line 1) |
||
Xliff | m: (^999).pick | ||
camelia | ( no output ) | ||
Xliff | m: (^999).pick.say | ||
camelia | 802 | ||
Xliff | m: (^999).pick.say | ||
camelia | 982 | ||
Xliff | m: (^999).pick.say | 20:44 | |
camelia | 937 | ||
Xliff | m: (^999).pick.say | ||
camelia | 939 | ||
Xliff | m: (^999).pick.say | ||
camelia | 949 | ||
Xliff | m: (^999).pick.say | ||
camelia | 121 | ||
Xliff | m: (^999).pick.say | ||
camelia | 979 | ||
Xliff | m: (^999).pick.say | ||
camelia | 696 | ||
Xliff | Hmmm... why skewed so high?! | ||
m: (^999).pick.say | |||
camelia | 965 | ||
Xliff | m: (^999).pick.say | ||
camelia | 845 | ||
Xliff | m: (^999).pick.say | ||
camelia | 571 | ||
Xliff | m: (^999).pick.say | ||
camelia | 968 | ||
Xliff | m: (^999).pick.say | ||
camelia | 198 | ||
Xliff | m: (^999).pick.say | ||
camelia | 141 | ||
Xliff | m: (^999).pick.say | ||
camelia | 974 | ||
Xliff | m: (^999).pick.say | ||
camelia | 591 | ||
lizmat | m: say (^10000).map( { ^10000 .pick } ).sum / 10000 | 20:48 | |
camelia | 4993.5009 | ||
lizmat | m: say (^10000).map( { ^10000 .pick } ).sum / 10000 | ||
camelia | 5080.0407 | ||
lizmat | m: say (^10000).map( { ^10000 .pick } ).sum / 10000 | ||
camelia | 4994.3976 | ||
lizmat | I don't see much bias ? | 20:49 | |
20:49
vividsnow left,
vividsnow joined
|
|||
Xliff | Well, when I see 5 numbers in the 900s out of 999 of them, I wonder. | 20:51 | |
How can I assure I get @a to run $*KERNEL.cpu-core jobs in parallel? Especially if @a is larger than the number of cores? | 20:52 | ||
.hyper and .race all seem to not be starting threads in parallel. | |||
lizmat | if the load of the work done in a batch is too low, it'll get finished too soon | 20:53 | |
alleviating the need to start more threads | |||
this can usually be solved by a larger number for :batch | |||
Xliff | batch or degree? | 20:54 | |
lizmat | degree is the max mumber of threads it will use | ||
Xliff | I don't want to pass more than one element to a worker, so I leave batch at 1 | ||
lizmat | batch is the number of values it will pull before sending it off to a thread | ||
Xliff | I set degree equal to the number of cpus | ||
lizmat | that's ok | ||
but if the batch-size is too small, you're just creating overhead | |||
Xliff | I'd rather it just start max(x, $cpu) threads and start another thread as they come available until the queue is exhausted. | 20:56 | |
Yes, some of these jobs are finishing in a second or less, but I still want them to occur in parallel. | |||
20:56
pheix joined
|
|||
Xliff | I don't want Raku to tell me that's not enough time before it will spawn another thread. | 20:56 | |
So does this mean I have to work around .hyper and .race and roll my own? | 20:57 | ||
lizmat | thing is, it *will* do what you want if the batch sizes create enough load | 20:58 | |
Xliff | OK. So maybe I let it run until some of the more heavier loads and it will start new threads? | ||
lizmat | it should | ||
Xliff | :S | ||
lizmat | if you have a script that does a run like that | ||
you can also run it with -Msnapper | 20:59 | ||
Xliff | And that does? | ||
lizmat | and it should give you output at the end of the run from which you can see when threads where started | ||
Xliff | Hmmm... | ||
20:59
vividsnow left
21:00
vividsnow joined
|
|||
lizmat | RAKUDO_SNAPPER=1 raku -Msnapper script | 21:00 | |
would do a snapshot every second | |||
Xliff | Hmmm... gw of 2. | 21:01 | |
What I really wanna emulate is like "make -j$cores" but in Perl6. | 21:02 | ||
lizmat | Perl6? :-) | ||
Xliff | Yes. I want to make a perl6 compiler that parallelizes precompile of perl6 | 21:03 | |
scripts | |||
lizmat | perl6 ? | ||
Xliff | s/compiler/script/ | ||
lizmat | :-) | ||
Xliff | No. It doesn't. | ||
lizmat | you mean Raku ? :-) | ||
Xliff | Oh. Yes. Sorry. | ||
C'mon Liz. We all revert occasionally. ;p | 21:04 | ||
;) | |||
lizmat | no pb, I make that mistake still | ||
every now and then | |||
Xliff | Yes. Next time use a sledgehammer. I am not one for subtle hints! :) | ||
lizmat | and I'm the one telling everybody on Twitter that they shouldn't :) | ||
Xliff | Had your chance! | 21:05 | |
Now I insist you use Nerf products! It will be nicer for my head! | |||
lizmat | so, if you start up X threads, how are you going to distribute the work to those threads ? | ||
consider yourself nerfed :-) | |||
Xliff | LOL | ||
lizmat: Well, thread starts with name of script to precompile. | 21:06 | ||
I just don't want to have more threads than the number of cores at any given time. | |||
lizmat | this feels like premature optimization to me | ||
Xliff | I may have to re-think this simple implementation into something more atimic. | 21:07 | |
s/atimic/atomic/ | |||
I've given it careful thought and I don't think that's true. | |||
Consider: I have scripts with a varying numnber of dependencies. | |||
I have a list of optimal build order. | |||
I'd like to pop off a all scripts that have no remaining dependencies and compile them in parallel. | 21:08 | ||
Rinse and repeat until the List is exhausted. | |||
Right now I could do a top-down compile and it would get me close, but threads would hang when more dependencies are detected. | 21:09 | ||
Start another thread and compile that until either it finishes or another dependency is found. | |||
lizmat | well, precompilation currently still spawns an async process | ||
so I'm not sure what using threads will bring | 21:10 | ||
Xliff | http:://github.com/Xliff/p6-GtkPlus <- Grab this and follow the installation instructions. | ||
And I would SERIOUSLY appreciate tips on how to make that go faster. | |||
Even with your monster it will take close to an hour. It should not need to take that long. | 21:11 | ||
Oh... and my monster is bigger than yours. I tested! :D | |||
(that sounds vaguely obescene...) | |||
Xliff flees | |||
lizmat | :-) | 21:12 | |
.oO( dirt is in the mind of the beholder ) |
|||
cpan-raku | New module released to CPAN! Map::Ordered (0.0.3) by 03ELIZABETH | 21:20 | |
21:23
sena_kun left
|
|||
tbrowder | Merry Christmas, Raku, and Happy Fourth Birthday! | 21:25 | |
ref Raku Advent: we can get a "free" domain with our current plan. choices currently are: | 21:27 | ||
m: my $r="rakuadventcalendar"; my @tld="com","blog","org"; .say "$r.$_" for @tld | 21:31 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3endar"; my @tld="com","blog","org"; .say7ā5 "$r.$_" for @tld expecting any of: infix infix stopper statement end ā¦ |
||
tbrowder | m: say $r | 21:32 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Variable '$r' is not declared at <tmp>:1 ------> 3say 7ā5$r |
||
21:32
rindolf left
|
|||
tbrowder | m: my $r="rakuadventcalendar"; my @tld="com","blog","org"; .say("$r.$_") for @tld | 21:33 | |
camelia | Cannot resolve caller say(Str:D: Str:D); none of these signatures match: (Mu: *%_) in block <unit> at <tmp> line 1 |
||
tbrowder | m: my $r="rakuadventcalendar"; my @tld="com","blog","org"; .say("{$r}.{$_}") for @tld | 21:34 | |
camelia | Cannot resolve caller say(Str:D: Str:D); none of these signatures match: (Mu: *%_) in block <unit> at <tmp> line 1 |
||
tbrowder | m: my $r="rakuadventcalendar"; my @tld="com","blog","org"; .say("$r'.'$_") for @tld | ||
camelia | Cannot resolve caller say(Str:D: Str:D); none of these signatures match: (Mu: *%_) in block <unit> at <tmp> line 1 |
||
tbrowder | m: my $r="rakuadventcalendar"; my @tld="com","blog","org"; .say($r ~ '.' ~ $_) for @tld | 21:35 | |
camelia | Cannot resolve caller say(Str:D: Str:D); none of these signatures match: (Mu: *%_) in block <unit> at <tmp> line 1 |
||
tbrowder | m: my $r="rakuadventcalendar"; my @tld="com","blog","org"; say($r ~ '.' ~ $_) for @tld | ||
camelia | rakuadventcalendar.com rakuadventcalendar.blog rakuadventcalendar.org |
||
tbrowder | votes, please | 21:36 | |
21:37
sena_kun joined
|
|||
pheix | +1 for rakuadventcalendar.org | 21:40 | |
21:49
RobRaku joined
|
|||
sena_kun | .seen uzl[m] | 22:01 | |
tellable6 | sena_kun, I saw uzl[m] 2019-12-25T14:31:49Z in #raku: <uzl[m]> say S:g/(' ')/%/ with ' f o o '.trim; | ||
sena_kun | .tell uzl[m] hi! it seems there are some issues with installing modules.raku.org/dist/QM:cpan:UZLUISF, it would be awesome if you could check it out, doesn't seem like a recent regression | 22:02 | |
tellable6 | sena_kun, I'll pass your message to uzl[m] | ||
22:06
vividsnow left
22:09
vividsnow joined
22:11
pheix left
22:18
hacktor left
22:19
RobRaku left
|
|||
tyil | sena_kun: will check out App::CPAN soon-ish, I sadly have little time around the holidays :( | 22:23 | |
tellable6 | 2019-12-25T19:07:05Z #raku <sena_kun> tyil hi! I can't install App::Cpan, the output is gist.github.com/Altai-man/f65f529f...897a875746 can you please check it? | ||
tyil | looks like an incorrect dep | ||
sena_kun | tyil: thanks! no problem or a hurry, I am just preparing a release and telling people some things are broken. :) | ||
22:23
Hotbees left
22:24
Hotbees joined
22:35
vividsnow left
23:01
kybr_ is now known as kybr
23:22
sena_kun left
23:27
chloekek left,
johnjohn101 left
23:31
finanalyst joined
23:38
sena_kun joined
23:43
finanalyst left
23:46
xi left
23:48
xi joined
23:55
guifa2 left
|