🦋 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 wamba left 00:05 Doc_Holliwood joined
Kaiepi greppable6, supply { 00:14
greppable6 Kaiepi, 310 lines, 52 modules: gist.github.com/ecd50b6769bc85150a...c760e2681e
00:18 skaji_ left 00:22 skaji_ joined 00:28 epony left 00:32 epony joined 00:40 sena_kun left 00:41 NODE left 00:43 kawaii left, NODE joined 00:45 NODE left 00:46 zostay left, NODE joined 00:47 Hotbees left, no-n left 00:49 Grinnz left, tbrowder left 00:55 sena_kun joined 01:04 skaji_ left 01:06 wildtrees left 01:24 awwaiid is now known as awwaiid2, Tirifto left 01:29 ToddAndMargo joined
ToddAndMargo I can not figure out the syntax to configure a value inside a hash; sort of like $h = ( Str "A" => "a", ... ). Also is "Boxing" the correct term for this? 01:31
guifa2 Do you want all keys to be a string? 01:32
lizmat: Carp is realized (it's not the prettiest of code but hey, it's a start): github.com/alabamenhu/Carp 01:33
ToddAndMargo Str only in the examples. I what to be able to duplicate thigns like `my uint $i` and `my Str $s` and do on and so forth 01:35
guifa2 So hashes by default only contain Str as keys, you have to set them up specially to prevent it, e.g. 01:41
my ValueType %hash{KeyType} = …
I don't think you can actually store uints in positionals, etc, they'll be upgraded to Ints 01:45
01:48 tbrowder joined
ToddAndMargo Okay, that makes sense. I confine only confine the entire hash. And at the present I can only confine as a Str. my int %h = A => 123===SORRY!=== Error while compiling:native value types for hashes not yet implemented. Sorry. 01:50
Thank you! Hashed are my favorite varliable. 01:51
02:01 tbrowder left 02:12 awwaiid joined 02:30 cpan-raku left
guifa2 (also I love how github lets you create social media preview images) 02:31
02:31 cpan-raku joined, cpan-raku left, cpan-raku joined 02:41 sena_kun left 02:44 awwaiid2 left 02:56 sena_kun joined 03:19 Kaiepi left 03:24 ToddAndMargo left 03:29 Kaiepi joined 04:04 skaji_ joined 04:18 Grinnz joined 04:19 skaji_ left 04:33 Grinnz left 04:40 Grinnz joined 04:41 sena_kun left 04:42 lostinfog left 04:46 Grinnz left 04:56 sena_kun joined, Doc_Holliwood left 05:54 llfourn joined 06:03 moon-child left 06:04 moon-child joined 06:09 Yary joined
Yary p6: my uint $no = 2**63; say $no 06:10
camelia -9223372036854775808
Yary Is that uint showing as negative a known bug or something to file? 06:11
06:20 guifa2 left
Yary github.com/rakudo/rakudo/issues/3429 06:21
06:22 stoned75 joined, Yary left 06:30 llfourn left 06:41 sena_kun left 06:48 zostay joined 06:50 Grinnz joined 06:51 no-n joined 06:53 xinming joined, xinming left 06:54 xinming joined 06:57 sena_kun joined 07:00 stoned75 left 07:05 tbrowder joined 07:06 skaji_ joined 07:09 sauvin joined, sauvin left 07:13 xinming left 07:15 sauvin joined 07:16 domidumont joined 07:22 kawaii joined 07:37 xinming joined, MasterDuke joined 07:58 xinming left 08:10 SmokeMachine joined 08:13 xinming joined 08:37 xinming left, rindolf joined 08:38 xinming joined 08:42 sena_kun left 08:57 wamba joined, sena_kun joined 08:58 Doc_Holliwood joined 09:22 kensanata joined 10:11 domidumont left 10:15 llfourn joined 10:20 llfourn left 10:24 llfourn joined 10:29 llfourn left 10:41 sena_kun left 10:56 sena_kun joined 10:57 wamba left 11:08 kensanata left 11:19 wamba joined
xinming SmokeMachine: ping 11:23
SmokeMachine xinming: pong
xinming SmokeMachine: github.com/FCO/Red/pull/404 This issue, What test do you needed?
SmokeMachine: I've fixed the bug to use self.wildcard instead of ?
SmokeMachine xinming: I’ve seen… thanks! 11:24
xinming Could you, please, add a test for json and jsonb?
Here, the json/jsonb tests, What do you mean? Do you mean the operations for json columns?
SmokeMachine xinming: I meant a test with models using that types... 11:26
xinming Ok. 11:30
SmokeMachine: BTW, yesterday, I got a question about the Pg Driver, With multi column primary key, Pg doesn't ahve last_inserted_rowid thing as sqlite does. 11:33
In postgres, We have INSERT INTO xxxx RETURNING id.
In this case, What is the correct way to fix it? 11:34
SmokeMachine xinming: nd we use that (or at least we shold) on Pg...
xinming I meet a bug which caused it works on SQLite, But doesn't work on PG.
SmokeMachine xinming: hum… multi column pk? I haven’t tested that on Pg... 11:35
xinming SmokeMachine: As far as I checked, It doesn't seem to do thing like INSERT INTO xxx RETURNING id;
I'll nopaste a test script
SmokeMachine: termbin.com/deeu 11:37
The script will point us to lib/MetamodelX/Red/Model.pm6 11:38
$*RED-DB.execute(Red::AST::LastInsertedRow.new: model).row{|@ids}:kv <--- And I saw that Red::AST::LastInsertedRow returns empty on Pg Driver. 11:39
I SQLite Driver, Red::AST::LastInsertedRow will create sql which re-fetch the last inserted row. But in pg, We can't do this. 11:40
SmokeMachine Pg shouldn’t use Red::AST::LastInsertedRow...
it should work like this: 11:41
xinming SmokeMachine: yea, But as far as I checked, It uses LastInsertedRow, Which triggers the bug
SmokeMachine www.irccloud.com/pastebin/EguoQiM3/
xinming let me check. 11:43
SmokeMachine xinming: if LastInsertedRow is being used, than, for some reason, the insert is not returning any data (not using `RETURNING *` maybe?). github.com/FCO/Red/blob/master/lib...l.pm6#L447 11:45
xinming SmokeMachine: I saw the $dat is returned
The problem is, with .attr-name we get column name with - instead of _ 11:46
SmokeMachine: the problem is, We use .attr-name to get the @ids, But returned data contains column with _ then, id-filter receives nothing. 11:47
11:49 kensanata joined
xinming the $data contains data, So, $data{|@ids}:kv returns nothing. 11:49
SmokeMachine xinming: so, that’s a bug… should we use `.name` instead? 11:50
xinming for example, @ids returns ['display-order', 'playlist-id']; and $data contains %( display_order => xxx, palylist_id => 111);
SmokeMachine xinming: or maybe `.alias`?
xinming SmokeMachine: I'll check then, Yesterday, I wanted to ask you about wether there is a unified mapping always returns underscored column name. 11:51
SmokeMachine xinming: we need some tests with `-` on id names...
xinming I checked the Column class
There is name-alias / column-name / name which makes me confused which is the right one to use. 11:52
SmokeMachine by column class you mean Red::Column or Red::Attr::Column? 11:53
xinming Red::Column
SmokeMachine on that case I’d use name-alias... 11:54
name is the name of the column...
name-alias is the alias name (on `SELECT bla AS ble` would be ble… but usualy it’s equal to the column name) 11:56
and I think column-name is name when I forgot name existed… (I should refactor that…) but i’m not sure... 11:57
I think it’s used only here (github.com/FCO/Red/blob/8b9f2124e4...e.pm6#L12) and it should be name 11:58
xinming It seems, It's not single line fix. 12:00
When I try to use name or name-alias, I got error which is `one of the following keys aren't ids: display_order, playlist_id` 12:01
12:01 libertas is now known as Guest38481, Guest38481 left, libertas_ is now known as libertas 12:11 libertas_ joined 12:14 Kaiepi left, Kaiepi joined 12:27 poohman_ joined
poohman_ m:say "test" 12:27
evalable6 test
poohman_ m:say "hello all"
evalable6 hello all
12:28 wamba left, poohman_ left 12:33 poohman_ joined 12:34 poohman_ left 12:41 sena_kun left
Poohman m: @a = [1,2,3,4,5,6];@a.map(*.say) 12:43
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '@a' is not declared
at <tmp>:1
------> 3<BOL>7⏏5@a = [1,2,3,4,5,6];@a.map(*.say)
Poohman m:my @a = [1,2,3,4,5,6];@a.map(*.say)
evalable6 1
Poohman hello all - is there any way to get a slice of the rest of the array as parameter to the map in the above example 12:44
for 1 I want to use [2 3 4 5 6], for 2,[3 4 5 6] etc 12:46
m:my @a = [1,2,3,4,5,6];@a.map(->@b {@b.say}) 12:48
evalable6 (exit code 1) Type check failed in binding to parameter '@b'; expected Positional but got Int (1)
in block <unit> at /tmp/wMNcTcW2GF line 1
MasterDuke m: my @a = [1,2,3,4,5,6]; @a.map({"$_, @a[$_..*]".say}) 12:49
camelia 1, 2 3 4 5 6
2, 3 4 5 6
3, 4 5 6
4, 5 6
5, 6
Poohman cool 12:51
@a was in scope inside 12:52
tobs m: my @a = [1001,1002,1003,1004,1005,1006]; @a.map({"$_, [@a[$_..*]]".say}) # but maybe you didn't expect this
camelia 1001, []
1002, []
1003, []
1004, []
1005, []
1006, []
Poohman eh I thought $_ was the index 12:55
12:55 sena_kun joined
tobs map transforms the values, but using @a.kv you can get index and value interleaved. Then you can use @a inside the map function: 12:56
m: my @a = [1000 «+» (1..6)]; @a.kv.map(-> $idx, $val { "$val, [@a[$idx ^.. *]]".say })
camelia 1001, [1002 1003 1004 1005 1006]
1002, [1003 1004 1005 1006]
1003, [1004 1005 1006]
1004, [1005 1006]
1005, [1006]
1006, []
Poohman thanks 12:59
just curious - any way to get the slice or even the whole array as a parameter through map itself?? 13:02
you know like $idx and $val 13:03
tobs If it worked, I would expect it to react to a slurpy positional parameter, but it doesn't like that: 13:04
m: (1,2,3,4,5,6).map(-> $first, *@rest { "$first [@rest]".say }) 13:05
camelia 1 [@rest]
2 [@rest]
3 [@rest]
4 [@rest]
5 [@rest]
6 [@rest]
tobs huh?
in any case, consuming almost the entire list on every iteration is not very mappy, so I wouldn't be surprised if you couldn't talk map into doing that at all 13:06
(without referencing the entire list by yourself, of course, as shown above) 13:07
Poohman ok let me play around with this 13:08
tobs I've been thinking about maybe List.rotor() is powerful enough to express that, but couldn't come up with a solution
13:18 poohman_ joined, poohman_ left
Poohman can we use a lambda inside the hyper operators? 13:27
or can we only use an infix operator? 13:28
13:29 guifa2 joined
guifa the hyper operators are meta ops, so they can only work extant operators 13:36
13:48 ryan16 joined
ryan16 I have been having a problem with a promise from an async proc never being kept. I have finally reduced it to a minimal test case... it happens if I assign stdout and stderr supplies to variables. See: controlc.com/a01cc949 13:51
also, I am watching the process with htop and terminates in both cases, but in the case with stdout and stderr assigned to variables... the promise stays planned forever.... 13:56
14:01 abraxxa left, abraxxa joined 14:06 cpan-raku left 14:07 dogbert17 joined
ryan16 Ok, interesting, so if I tap the supplies before trying to quit the async proc the promise from starting the proc works as expected. 14:08
is there some issue with getting a supply from a proc and never tapping it?
xinming m: role R { method a { "R::a".say; }; }; class A does R { method a { callsame; "A::a".say; }; }; A.new.a;
camelia A::a
xinming m: role R { method a { "R::a".say; }; }; class A does R { method a { self.::R::a; "A::a".say; }; }; A.new.a; 14:09
camelia R::a
ryan16 I don't know if this is a bug of just me not using things correctly...
xinming So, subclass hides the methods in Role with same name, right
14:13 cpan-raku joined, cpan-raku left, cpan-raku joined
vrurg xinming: roles do not participate in MRO dispatching. If you override a method you have to use class-qualified form to call it afterwards. :: before R is not needed in your example. 14:18
14:19 Xliff left
SmokeMachine xinming: it seems we should be usinf `.name` here as well… github.com/FCO/Red/blob/master/lib...d.pm6#L105 14:21
xinming SmokeMachine: change to `.name` doesn't work either in that example.
I just now add a hack for that.
SmokeMachine: termbin.com/pyp2 <--- This is the patch I figured out just now. 14:22
if we change to `.name` in that case, It'll break the SQLite driver.
SmokeMachine xinming: you mean changing on here (github.com/FCO/Red/blob/master/lib....pm6#L447) and here (github.com/FCO/Red/blob/master/lib....pm6#L105) to name?
xinming SmokeMachine: Yea, I tried that. 14:23
in `filter-id` method and loading the @ids
So, I get an idea, which is modifing the returned $data, convert it to the hash we want. 14:24
I tried to do this in row method in Statement class, The problem with that is, We can't get the model in Statement class. 14:25
tried to wrap the `.row` method, But missing the model info
vrurg SmokeMachine: BTW, I wanted to tell you that when you resolve a model name into a type object, ::() won't do what you expect because it only lookups in the lexical scope. 14:28
14:28 lucasb joined
SmokeMachine xinming: I think we should make id-filter work the right way… and make it work for any driver... 14:28
vrurg: you mean here? github.com/FCO/Red/blob/master/lib...ip.pm6#L31 14:30
vrurg SmokeMachine: two lines above
After you require a module you get the symbol into the require's scope and that's why it works. 14:31
That's also how I solved my problem – I split my models into individual modules.
There're currently two ways to have name resolution done right. First is traversing callers and inspecting their lexicals. Which is not really good because accidentaly you might find a class of the same name which is not a model. 14:33
14:33 kensanata left
SmokeMachine expliciting using a `:require` haven’t work for you? 14:34
vrurg Or it could be a registry of models mapping names into type objects...
SmokeMachine: what :require? Am I missing something? :)
SmokeMachine vrurg: I mean: you could do something like: `has $.bla-id is referencing(*.id, :model<Bla>, :require<SchemaFile>)` or did I understood it wrong? 14:36
vrurg: I got `my $t = ::($model);` is wrong… but I think I’m missing some piece... 14:37
xinming SmokeMachine: It's not an easy `.attr-name` `.name` replacement, I think, for now, my patch is right, I just need to move that patch into the else block 14:38
termbin.com/z8t0 14:39
vrurg SmokeMachine: my problem was I wanted both my models in same module. But :model<> didn't work. :require I didn't know about, but as I understand it is for an external module with model, right? 14:40
xinming This is the patch we need, The reason is, for SQLite, it re-fetches the row from the model by using LastInsertedRow class, Then the `.row(@ids)` does the right thing all the time. 14:41
vrurg SmokeMachine: you're missing nothing. It just won't work that way. The only right solution is to allow :model(Model) – i.e. use model type objects directly for the purpose.
xinming But in postgres, the $data is filled by `INSERT INTO table xxx returning *` after the returning, they are column names with underscores. 14:42
14:42 veesh_ joined, sena_kun left
vrurg SmokeMachine: for symbolic names, I'd stick to the registry solution. This would also allow aliasing long-named models for ease of use. 14:42
14:43 veesh left, veesh_ is now known as veesh
xinming So, in the pg case, We convert the $data structure according to the model, make $data look like the same as fetched with LastInsertedRow class. This makes sense. 14:43
vrurg: he is now in parallel processing mode because of us. :-) 14:44
SmokeMachine vrurg: `:model(Model)` should work… I still need to implement it… but: 14:45
vrurg: www.irccloud.com/pastebin/TROJKDjA/
vrurg SmokeMachine: BTW, you were asking what I needed Red for. I'm trying to develop a console UI toolkit. Used Log::Async to debugging purposes, but with parallelized operations (each widget has own even handling thread) reading it is a nightmare. Switched to Red+sqlite file based tracer class and now generate a nice HTML table of debug records. :)
SmokeMachine xinming: yes, that makes sense... 14:47
vrurg SmokeMachine: I'm currently fine with module-perp-model scheme. Can patiently wait for the fix. :)
SmokeMachine vrurg: :) 14:48
vrurg xinming: we can also parallelize each other and make everybody busy handling async requests. That'd be good training for async skills!
Doc_Holliwood vrurg: will it work on windows? 14:49
vrurg SmokeMachine: BTW, switching from Log::Async to sqlite also speeded up things for me.
Doc_Holliwood: let me make it working on unix first. I didn't work on UI toolkits for decades. :) 14:50
Doc_Holliwood: especially on fully async ones.
Doc_Holliwood that's not something one adds as an afterthought
cpan-raku New module released to CPAN! JSON::Infer (0.0.18) by 03JSTOWE
Doc_Holliwood are you using ecape sequence based input / output? 14:51
SmokeMachine xinming: Is that patch working? I’m, at home, trying to fix some problems that melezhik has found runing tests on PG… I think his work to make the tests run on Pg as well, will make the Pg driver much more reliable
vrurg Doc_Holliwood: but generally there is an abstract Screen concept. So, if somebody writes a driver – it should work.
Doc_Holliwood: of course I do, but the toolkit itself is agnostic of these details. They're driver-localized. 14:52
xinming SmokeMachine: That patch is working, I already commited.
SmokeMachine xinming: thanks! and I’m sorry… I’ll have to wait to go home to take a deeper look at it... 14:53
xinming SmokeMachine: I've pushed the change, You can merge my pull request, It just lacks some tests for json and jsonb 14:54
That patch works
14:54 lizmat left
Doc_Holliwood vrurg: i'm curious. can i look at the codes? 14:55
gimme the codes!
14:55 sena_kun joined 14:56 domidumont joined
vrurg Doc_Holliwood: It's still in deeeeeeeeeep development. 14:57
Doc_Holliwood so?
vrurg Doc_Holliwood: github.com/vrurg/raku-Vikna/ – but each commit is a big rework of previous mistakes for now. I'm currently working on another one. 14:58
SmokeMachine I’m curious as well!
xinming: one test has broken... 15:01
Kaiepi releasable6, status 15:05
releasable6 Kaiepi, Next release will happen when it's ready. 1 blocker. 0 out of 483 commits logged
Kaiepi, Details: gist.github.com/8f244f32129dd78cfc...e81b2ceb85
xinming SmokeMachine: how do I run all tests? 15:07
SmokeMachine `mi6 test`
15:09 pedr0 joined
pedr0 Hi everybody. I need to develop an easy GUI (internal tooling) however I am new to GTK and browsing around I am reading of GTK::Simple - however the examples in there do not explain much, are fairly minimal. Do you have any other recommendation ? 15:11
vrurg pedr0: ask Xliff when he's around. 15:13
ryan16 I am having to do this `Proc::Async.new: 'stdbuf', '-oL', '-eL', 'my_program', :w;` to get my IPC working correctly due to terminal buffering... is there a better solution? 15:24
15:26 ryan16 left, ryan16 joined
ryan16 seems like line buffering should be a common problem for people using async proc and having to call with stdbuf just doesnt feel right to me... 15:29
vrurg ryan16: this is a known problem with Proc::Async. 15:36
ryan16: Correction: known if the problem is caused by stderr/stdout mixing.
cpan-raku New module released to CPAN! XML::Class (0.0.8) by 03JSTOWE 15:55
15:57 gabiruh joined
ryan16 vrurg: which problem... the line buffering or the promises? I asked about both earlier.... 16:09
16:11 Doc_Holliwood left
Kaiepi is there a way to reflect if a method was declared as a private method or metamethod from a trait that's being applied to it? 16:14
this happens before it gets added to its package so i can't check if it exists in .^private_methods etc. 16:15
16:20 wamba joined 16:30 mahmudov joined 16:39 domidumont left 16:41 sena_kun left 16:52 patrickb joined 16:57 sena_kun joined 16:59 lizmat joined
ryan16 is `our` the same as `is export`? 17:08
lizmat effectively, you could argue: yes 17:10
ryan16 ok thx 17:11
lizmat: do you know if the question I asked earlier about Proc::Async promises is expected behavior? If I assign the stdout and stderr supplies to variables, but never tap them, the promise for starting the proc is never kept, even after the process ends. 17:13
minimal test case I came up with: controlc.com/a01cc949 17:14
Poohman m:@a = [1,2,3,4,5];say @a.WHAT;@a.reverse.WHAT; 17:16
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/WkKSaiqgPI
Variable '@a' is not declared
at /tmp/WkKSaiqgPI:1
------> 03<BOL>08⏏04@a = [1,2,3,4,5];say @a.WHAT;@a.reverse.
lizmat ryan16: not sure
Poohman m:@a = [1,2,3,4,5];say @a.WHAT;
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/aQV7yxozJG
Variable '@a' is not declared
at /tmp/aQV7yxozJG:1
------> 03<BOL>08⏏04@a = [1,2,3,4,5];say @a.WHAT;
Poohman m:my @a = [1,2,3,4,5];say @a.WHAT;
evalable6 (Array)
Poohman m:my @a = [1,2,3,4,5];say @a.WHAT;say @a.reverse.WHAT 17:17
evalable6 (Array)
Poohman m:my @a = [1,2,3,4,5];say @a.WHAT;my @b=@a.reverse;say @b.WHAT; 17:18
evalable6 (Array)
ryan16 lizmat: ok thx. I found a work around by adding some taps before closing the proc and awaiting the promise just incase... seems strange though... took me forever to track down too 17:20
17:27 jmerelo joined
Poohman hi can we terminate a map intermediately? 17:28
m:my @a = [1,2,3,4,5];@a.map(if *=3 {say "I want to stop"}) 17:29
evalable6 (exit code 1) 04===SORRY!04=== Er…
Poohman, Full output: gist.github.com/33be65beaac07a710f...9fbde4cffb
Poohman m:my @a = [1,2,3,4,5];@a.map({if *=3 {say "I want to stop"}}) 17:30
evalable6 (exit code 1) Cannot modify an immutable Whatever (*)
in block <unit> at /tmp/TPeVhkO1C0 line 1
17:32 Doc_Holliwood joined
Poohman m:my @a = [1,2,3,4,5];@a.map({if *==3 {say "I want to stop"}}) 17:35
evalable6 (exit code 1) 04===SORRY!04=== Er…
Poohman, Full output: gist.github.com/de06e769d960bf4ed7...63c1caecd7
Poohman m:my @a = [1,2,3,4,5];@a.map(->$b{if {$b==3} {say "I want to stop"}}) 17:36
evalable6 (exit code 1) 04===SORRY!04===
jmerelo Poohman: why do you want to do that? You need it to be a map? Can't it be a for loop?
evalable6 Poohman, Full output: gist.github.com/4606ae9546dd814c93...9a8b33ca79
tellable6 2020-01-13T18:41:25Z #raku <AlexDaniel> jmerelo: can we start redirecting docs.perl6.org to docs.raku.org? I keep visiting the old site and it annoys me :)
jmerelo .tell AlexDaniel I have to check what search queries return. We don't want Google to slam our results for raku _and_ perl 6 down... 17:37
tellable6 jmerelo, I'll pass your message to AlexDaniel
AlexDaniel e
17:37 El_Che left
Poohman jmerelo: was just wondering if it is possible 17:38
I basically did a map - but since the array was pretty large, it was taking a lot of time 17:39
so wondered if I could terminate if the map threw up a result I was interested in
17:44 wildtrees joined
AlexDaniel jmerelo: not sure why though, we redirect pretty much everything else 17:46
MasterDuke m: (^10).map({.say; last if $_ == 3})
camelia 0
17:46 El_Che joined
AlexDaniel searching for perl6 consistently gives raku results 17:46
and unfortunately points to docs.perl6.org instead of redirecting to the current docs.raku.org website 17:47
jmerelo AlexDaniel: reference is different. We really need people to find specific things. 17:54
raku sigils shows the new documentation in the second place www.google.com/search?client=ubunt...p;oe=utf-8 17:55
input/output in the second place too www.google.com/search?safe=off&...amp;uact=5
I guess that's good enough.
So OK, it's probably time to redirect now.
I'll see if I can do that with the access I have to the nginx configuration, or ask rba if I can't seem to get it right. 17:56
I would have liked searches for perl6 to also return Raku, and that does not happen, and will probably not happen... 17:57
I'm afraid of Google noticing the redirect to new pages that do not mention perl6 and slamming down results... 17:58
But I guess that if it's not happened already, it's unlikely it will happen any time.
I'll have to consult with someone who knows a bit of SEO about that. Wouldn't be nice that people wouldn't be able to find the documentation. 17:59
18:00 jmerelo left, wamba left 18:01 lizmat left 18:08 chloekek joined 18:15 slu joined 18:24 patrickb left
robertle jmerelo: I am no SEO expert at all, but I know of a page that had similar problems (two domains, same content), and there it was solved or mitigated with a 18:25
tellable6 robertle, I'll pass your message to jmerelo
robertle <link rel="canonical" href="
like in fitness-finder.com/fitness/london/jubilee-hall 18:26
18:30 domidumont joined 18:31 slu left 18:39 rypervenche left 18:41 sena_kun left 18:55 sena_kun joined 19:01 rypervenche joined 19:07 Poohman left 19:12 guifa2 left 19:18 domidumont left 19:24 sauvin left 19:27 lizmat joined
SmokeMachine m:my @a = [1,2,3,4,5];@a.map(->$b {if {$b==3} {last}; say $b}) 19:36
19:38 ryan16 left
SmokeMachine m:my @a = [1,2,3,4,5];@a.map(->$b {if $b==3 {last}; say $b}) 19:38
evalable6 1
19:45 lizmat left 19:47 Xliff joined
cpan-raku New module released to CPAN! Gnome::N (0.15.2) by 03MARTIMM 19:48
tobs m: [1..6].map({ next if $_ %% 2; last if $_ > 3; $_ })».say
camelia 1
tobs today I learned... SmokeMachine++
Xliff pedr0: Hi! I'm writing GTK toolkit for Raku. Still in early development, but it is usable. 19:49
github.com/Xliff/p6-GtkPlus 19:50
It is also full of examples, but if you want a preview of how it looks, take a gander at the tests online: github.com/Xliff/p6-GtkPlus/tree/master/t
Feel free to ask me about anything that you have problems understanding... 19:51
19:52 patrickb joined
pedr0 Xliff thanks I will do 19:52
Xliff pedr0: Great.
Gotta split. Take care! 19:53
19:53 stoned75 joined 19:54 Xliff left 20:02 pedr0 left 20:03 lizmat joined
Geth ¦ problem-solving: Kaiepi assigned to jnthn Issue Routines could use more support for reflection github.com/Raku/problem-solving/issues/149 20:13
20:17 ToddAndMargo joined
ToddAndMargo Help! How do you troubleshoot the following. Commenting out `use WinReg` removes the error. I am not importing anything from it at the moment: $ raku -I. --stagestats -c WinMessageBox.pm6Stage start : 0.000Stage parse : ===SORRY!===Circular module loading detected trying to precompile /home/CDs/Windows/NtUtil/WinReg.pm6 20:19
20:27 lizmat left
tobs ToddAndMargo: it seems that WinReg.pm6 uses another module which in turn uses WinReg. That's the direction in which you troubleshoot (and only you unless you post the code somewhere for us to see). 20:28
20:40 rindolf left 20:42 sena_kun left
ToddAndMargo I will doublke check 20:52
20:53 wamba joined 20:55 sena_kun joined
ToddAndMargo commenting out all the other "use" stll give me the error. maybe I should look at the offending import. Will get back 20:59
Ah Ha! WinRef is calling a sub from WinMessageBox! Time to make another module! thank you! I had no idea what was happening. 21:01
Joy! $ raku -I. --stagestats -c WinMessageBox.pm6 Stage start : 0.000Stage parse : 1.296Stage syntaxcheck: Syntax OK$ raku -I. --stagestats -c WinReg.pm6 Stage start : 0.000Stage parse : 2.132Stage syntaxcheck: Syntax OK$ raku -I. --stagestats -c NativeConvert.pm6 Stage start : 0.000Stage parse : 21:17
0.424Stage syntaxcheck: Syntax OK
21:34 veesh_ joined 21:36 veesh left 21:37 veesh_ is now known as veesh
Doc_Holliwood wtf if this? 21:40
Failed to rename 'C:\Users\holli\.perl6\precomp\B93E2E259914003CBED764A23AD228BC90C786BE\FA\FAB7D84A2B3613FF191111330E8DCDE476F7355A.tmp' to 'C:\Users\holli\.perl6\precomp\B93E2E259914003CBED764A23AD228BC90C786BE\FA\FAB7D84A2B3613FF191111330E8DCDE476F7355A': Failed to rename file: operation not permitted
out of nowhere
21:48 lucasb left
[Coke] what were you doing before the error? 21:51
Doc_Holliwood changing some module code and force installing it with zef 21:53
deleting the whole precom directory fixed it
21:56 Kaiepi left 21:59 ToddAndMargo left 22:03 guifa2 joined 22:19 Xliff joined 22:28 Kaiepi joined
AlexDaniel rsync: The answer to life, the universe and everything 22:29
22:32 kensanata joined 22:37 chloekek left 22:40 aluaces left 22:41 sena_kun left 22:46 Kaiepi left 22:48 Kaiepi joined 22:53 guifa2 left 22:57 sena_kun joined 23:00 kensanata left
japhb AlexDaniel: My desktop linux distro recently created a new backup/restore GUI, nice and clean and easy to understand. Under the covers, it's just running rsync from your primary storage to your backup. :-) 23:06
AlexDaniel :)
I had to use it now because cp sucks :D 23:07
I dunno maybe my arms are growing from the wrong spot or something, but I just couldn't get cp to copy extended ACLs 23:08
japhb I take it `cp -a` isn't a thing on your OS? 23:10
(Or maybe it just doesn't do extended ACLs right.)
cpan-raku New module released to CPAN! Net::BGP (0.2.0) by 03JMASLAK
AlexDaniel I don't remember if I tried it, but looking up the problem resulted in “just use rsync” answers so that's what I did 23:11
23:13 lizmat joined 23:24 wamba left 23:27 wamba joined
phogg rsync isn't always better than cp. I'm looking at you, sparse files. 23:46