|
»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
|
00:05
leont left
00:18
|oLa| joined,
|oLa| left
00:27
erdic joined
00:29
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:40
wildtrees joined
00:57
lucasb left
00:58
ZzZombo_ joined
00:59
macaronus left
01:01
ZzZombo left,
ZzZombo_ is now known as ZzZombo
01:06
molaf left
01:15
Doc_Holliwood left,
wildtrees left
01:17
ZZZzz left
01:19
molaf joined
01:59
ZzZombo_ joined
02:01
ZzZombo left,
ZzZombo_ is now known as ZzZombo
02:30
aborazmeh left
02:39
Doc_Holliwood joined
02:46
_jrjsmrtn left,
__jrjsmrtn__ joined
02:47
Cabanossi left
02:54
Cabanossi joined
03:14
Sgeo__ joined
03:18
Sgeo_ left
04:05
sankamur left
04:35
sankamur joined
04:43
rindolf5 joined
|
|||
| rindolf5 | Meow all | 04:43 | |
|
04:51
ravenousmoose joined
04:55
ravenousmoose left
05:17
molaf left,
jmerelo joined
|
|||
| rindolf5 | Hi all | 05:20 | |
|
05:21
k-man left
05:23
k-man joined
05:35
Doc_Holliwood left
05:36
Black_Ribbon joined
05:49
breinbaa1 joined
05:50
masak_ joined,
avarab joined,
avarab left,
avarab joined,
tejr_ joined,
telex left
05:51
telex joined
05:52
agentzh_ joined
05:54
Ekho- joined,
camelia left,
Ekho left,
tejr left,
breinbaas left,
agentzh left,
f0x left,
avar left,
tejr_ is now known as tejr,
f0x joined
05:56
camelia joined,
sankamur left
05:57
sankamur joined,
ChanServ sets mode: +v camelia
06:01
wamba joined
06:13
dustinm`_ joined,
dustinm` left
06:24
sauvin joined
06:33
jmerelo left
06:38
Cabanossi left
06:45
xinming left
06:46
ZzZombo_ joined
06:47
xinming joined
06:49
Hanno joined,
Hanno left,
ZzZombo left,
ZzZombo__ joined,
ZzZombo__ is now known as ZzZombo
06:50
HannoWOB joined,
ZzZombo_ left
06:51
HannoWOB left,
HannoWOB joined,
HannoWOB left,
Cabanossi joined
06:52
domidumont joined,
HannoWOB joined
|
|||
| HannoWOB | Just started using perl6 and IRC... is there any "native" perl6 forum available in place of stackoverflow? Thanks a lot! | 06:55 | |
| rindolf5 | HannoWOB: hi | 07:07 | |
| HannoWOB: welcome aboard | |||
| HannoWOB | hi! found a German forum. seems to be nice | ||
| rindolf5 | HannoWOB: there is a mailing list | 07:08 | |
| HannoWOB | thanks! | 07:09 | |
|
07:12
wamba left
|
|||
| rindolf5 | HannoWOB: yw | 07:13 | |
| HannoWOB:wherre d o you live? | |||
| HannoWOB | Germany, lower-saxony | 07:14 | |
| rindolf5 | HannoWOB: i suggest against localised forums, they tend to be divide and conquer or bubble-like | ||
| HannoWOB: so the north | 07:15 | ||
| HannoWOB | and have very less user amounts... but that's a perl problem;-) | ||
| But, I like the power, perl 6 brings to programming absolutely! | 07:16 | ||
| ok... perlmonks | 07:18 | ||
|
07:18
ZzZombo_ joined
07:20
ZzZombo left
07:21
ZzZombo_ is now known as ZzZombo
07:34
ravenousmoose joined
07:37
sena_kun joined
07:45
wamba joined
07:50
ZzZombo_ joined
07:52
ZzZombo left,
ZzZombo_ is now known as ZzZombo
07:53
zakharyas joined
08:20
sarna joined
|
|||
| rindolf5 | HannoWOB: ah | 08:21 | |
| HannoWOB: i live in tel aviv, israel | |||
| HannoWOB: www.shlomifish.org - my site, but it'll remain in some disarray until i return home | 08:22 | ||
| HannoWOB | Must be nice place to live; have never been there. | ||
| rindolf5 | HannoWOB: yes quite | 08:23 | |
| HannoWOB I Live in ramat aviv gimmel which is kinda out of the way | |||
| HannoWOB: it doesnt have many ppl in the streets and is | 08:24 | ||
| HannoWOB | ppl? | 08:25 | |
| nice! at the sea coast! | 08:26 | ||
|
08:26
pecastro joined
08:33
ravenousmoose left
08:34
ZzZombo_ joined
08:36
ZzZombo left,
ZzZombo_ is now known as ZzZombo
08:38
Cabanossi left
|
|||
| rindolf5 | HannoWOB: i recently took a walk on the sea promenade in tel aviv. lots of very attractive girls there | 08:43 | |
| HannoWOB | as one can assume at the beach;-) | 08:44 | |
| rindolf5 | HannoWOB: heh, yeah | 08:45 | |
| HannoWOB: what is your work about? | |||
|
08:46
ZzZombo_ joined
|
|||
| rindolf5 | HannoWOB: i'm currently at a psychiatric ward getting "therapy"". actually i am the one who encourages everyone to be better | 08:47 | |
| HannoWOB: i am a great hacker and entertained the thought of being the "greatest hacker/man in history"" from 2000 to 2013 so i cannot be broken so easily | 08:49 | ||
| HannoWOB: see www.shlomifish.org/humour/bits/facts/ - these are some of my alter-egos | |||
| i will add en.wikipedia.org/wiki/Taylor_Swift when i get home | 08:50 | ||
|
08:50
ZzZombo left,
ZzZombo_ is now known as ZzZombo,
Cabanossi joined
|
|||
| HannoWOB | Good luck for Your future and Your health! Jjust reading perl 6 docs... powerful language but the parts "don't do this" will be interesting! Do You know 8th (from Israel)? | 08:51 | |
| rindolf5 | HannoWOB: 8th? | 08:59 | |
| HannoWOB | 8th programming; forth successor | ||
| rindolf5 | HannoWOB: oh no | ||
| HannoWOB: github.com/cool-RR/pysnooper - thishad excellent marketing | 09:01 | ||
| HannoWOB: i found it an unfit replacement but I appreciate the awesom emarketing work | |||
| HannoWOB: i met cool-RR at israeli foss meetups several times - he is a cool guy | 09:02 | ||
| HannoWOB | ' have to leave office | 09:15 | |
| quit: bye | |||
| Quit: bye | |||
|
09:16
HannoWOB left,
leont joined
|
|||
| rindolf5 | www.youtube.com/watch?v=n5HexLIqWY8 - magnificent - much better than the original imho (and mostly sfw) | 09:16 | |
|
09:17
eaterof left
09:19
eater joined
09:20
rindolf5 left
09:27
Black_Ribbon left
09:28
chansen_ left,
chansen_ joined
09:31
samcv joined,
Doc_Holliwood joined
09:38
sankamur left
09:50
wamba left
09:58
sankamur joined
09:59
sankamur left
10:00
sankamur joined
10:01
sankamur left
10:02
Doc_Holliwood left,
sankamur joined
10:03
sankamur left
10:04
sankamur joined,
Doc_Holliwood joined
10:05
sankamur left,
sankamur joined
10:06
sankamur left
10:07
sankamur joined
10:08
sankamur left,
reach_satori left
10:09
sankamur joined
10:10
sankamur left,
sankamur joined
10:11
sankamur left
10:12
sankamur joined
10:13
sankamur left
10:14
sankamur joined
10:15
sankamur left
10:16
sankamur joined,
wamba joined
10:17
sankamur left
10:18
sankamur joined
10:19
sankamur left,
sankamur joined
10:21
sankamur left,
sankamur joined
10:22
sankamur left
10:23
sankamur joined
10:33
molaf joined
10:43
reach_satori joined
10:44
reach_satori_ joined
|
|||
| kawaii | `<bsstimestamp>420482152803</bsstimestamp>` anyone have any idea what this timestamp is? | 10:45 | |
| like, it's clearly not unix epoch | |||
|
10:46
NorthernMonster joined
10:47
reach_satori left
10:50
patrickb joined,
aearnus[m] left
|
|||
| SmokeMachine | kawaii: something like this? discussions.citrix.com/topic/35282...n-windows/ | 10:51 | |
| (I have no idea...) | |||
| kawaii | SmokeMachine: looks like it's probably milliseconds! | 10:52 | |
| WHY | |||
| is there an easy way to convert that to a regular epoch? | 10:53 | ||
| lizmat | m: say Instant.from-posix(420482152.803).DateTime | ||
| camelia | 1983-04-29T16:35:52.803000Z | ||
| kawaii | hmmm, date seems off | 10:54 | |
| lizmat | what are you expecting? | ||
| kawaii | should be from last month | ||
| SmokeMachine | maybe summing 1970? | 10:55 | |
| lizmat | m: say DateTime.now.earlier(:1month).posix # that would be a value about this range | 10:56 | |
| camelia | 1568199383 | ||
| kawaii | strange | ||
| could just be bad data I've been given | |||
| yes let's blame the data :) | |||
| lizmat | if that data somehow travelled between systems, perhaps it got mixed up in byte order ? | 10:58 | |
| kawaii | yeah we'll go with that | 11:00 | |
|
11:02
NorthernMonster left
|
|||
| lizmat | m: say Buf.write-int32(0,420482152803,BigEndian).read-int32(0) # gets it much closer | 11:05 | |
| camelia | 1668919526 | ||
| lizmat | m: say Instant.from-posix(1668919526).DateTime # but still in the future | ||
| camelia | 2022-11-20T04:45:26Z | ||
| SmokeMachine | I mean maybe a different starting point... | 11:06 | |
|
11:06
esh left
|
|||
| lizmat | m: say 420482152803 - (70 * 365 * 86400) # from 1900 | 11:07 | |
| camelia | 418274632803 | ||
| lizmat | m: say 420482152803 - (1970 * 365 * 86400) # from 0 | 11:08 | |
| camelia | 358356232803 | ||
| Kaiepi | i'd hope the byte order doesn't get mixed up because of any networking code | ||
|
11:17
leont left
11:18
wamba left
11:22
sergiotarxz[m] left
11:25
zakharyas left
11:31
xliff[m] left
11:38
Cabanossi left
11:39
krychu joined
11:40
krychu left
|
|||
| SmokeMachine | m: say Instant.from-posix((420482152803 + (30 * 365 * 86400))/1000).DateTime | 11:51 | |
| camelia | 1983-05-10T15:23:52.803000Z | ||
|
11:51
molaf left
|
|||
| SmokeMachine | 12:51 <SmokeMachine> m: say Instant.from-posix((420482152803 + (30 * 365 * 86400)*1000)/1000).DateTime | 11:51 | |
| m: say Instant.from-posix((420482152803 + (30 * 365 * 86400)*1000)/1000).DateTime | 11:52 | ||
| camelia | 2013-04-21T16:35:52.803000Z | ||
|
11:52
Cabanossi joined
|
|||
| SmokeMachine | m: say Instant.from-posix((420482152803 + now*1000)/1000).DateTime | 11:53 | |
| camelia | 2033-02-06T04:30:26.107019Z | ||
| SmokeMachine | m: say Instant.from-posix((420482152803 - now*1000)/1000).DateTime | 11:54 | |
| camelia | 1933-07-20T04:41:00.573192Z | ||
| kawaii | www.irccloud.com/pastebin/GzgPosCQ/ | 11:55 | |
| So, this code is ugly and I hate it :) | |||
| the column names in the database are _identical_ to the hash keys | |||
| is there a prettier way of doing this? :P | |||
| moritz | my @attrs = <client client-data ...>; | 11:56 | |
| $query.execute(|%client-data{@attrs}) | 11:57 | ||
| kawaii | really? :O | ||
| moritz | and of course you can generate the ($1, $2, ...) list | ||
| kawaii | something like `($1..$16)` would do | 11:58 | |
| moritz | join ', ', map { '$' . $_ } (1..@attrs.elems) | ||
| kawaii | 🤔 | ||
| moritz++ | |||
|
12:04
abraxxa left
|
|||
| SmokeMachine | kawaii: use Red; model ClientData { has Str $.client is column; has Str $.manufacturer is column; ...}; ClientData.^create: |%client-data | 12:04 | |
| kawaii | I still need to learn more about Red :( | 12:05 | |
| it looks so much nicer than DB:Pg | |||
| SmokeMachine | kawaii: it uses that... | ||
| kawaii: if you were using Red, your whole `insert-record` would be just a `.^create`... | 12:07 | ||
| kawaii: like this: github.com/FCO/Red/blob/master/exa...ex.p6#L19\ | 12:09 | ||
| (without the \) | |||
| kawaii promises my next project will use Red | 12:10 | ||
| SmokeMachine | kawaii: please, just if it makes sense... :) | 12:11 | |
|
12:12
rindolf6 joined
|
|||
| rindolf6 | hi alll, sup? | 12:12 | |
|
12:16
rindolf6 left
|
|||
| Geth_ | doc/new-write-int-semantics: 9c26525021 | (Elizabeth Mattijsen)++ | doc/Type/Buf.pod6 Document the new semantics of Buf.write-int* methods These are now available in HEAD, and will be available with the 2019.10 Rakudo compiler release. |
12:21 | |
| doc: lizmat++ created pull request #3052: Document the new semantics of Buf.write-int* methods |
12:23 | ||
|
12:25
rindolf3 joined
|
|||
| rindolf3 | good news, everypony! | 12:26 | |
| Doc_Holliwood | m: grammar G { token TOP { .*? } }; say G.parse("something"); | ||
| camelia | Nil | ||
| Doc_Holliwood | why doesn't this match anything? | ||
| moritz | Doc_Holliwood: because tokens don't backtrack | 12:27 | |
| and TOP tries to match a as little as possible, so it matches the empty string successfully | 12:28 | ||
| but for the grammar to match, it needs to match the whole string | |||
| but the cursor only advanced 0 characters, so the match fails | |||
| m: grammar G { token TOP { .*? } }; say grammar.subparse('something') | |||
| camelia | 5===SORRY!5=== Error while compiling <tmp> Whitespace required after keyword 'grammar' at <tmp>:1 ------> 3mar G { token TOP { .*? } }; say grammar7⏏5.subparse('something') |
||
| moritz | m: grammar G { token TOP { .*? } }; say G.subparse('something') | 12:29 | |
| camelia | 「」 | ||
| moritz | with subparse, it doesn't need to match the whole string, so it successfully matches the empty string | ||
| Doc_Holliwood | m: grammar G { token TOP { <foo> }; token foo { omethin } }; say G.parse("something"); | 12:37 | |
| camelia | Nil | ||
| Doc_Holliwood | m: grammar G { token TOP { <foo> }; token foo { omethin } }; say G.subparse("something"); | ||
| camelia | #<failed match> | ||
| Doc_Holliwood | *scratches head* | ||
|
12:38
satori__ joined
|
|||
| Doc_Holliwood | what am i not getting? | 12:38 | |
|
12:40
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
reach_satori_ left
|
|||
| rindolf3 | Doc_Holliwood: where? | 12:40 | |
| SmokeMachine | m: grammar G { token TOP { . <foo> }; token foo { omethin } }; say G.parse("something"); | ||
| camelia | Nil | ||
| lizmat | m: grammar G { token TOP { <foo> }; token foo { somethin } }; say G.subparse("something") | 12:41 | |
| camelia | 「somethin」 foo => 「somethin」 |
||
| SmokeMachine | m: grammar G { token TOP { . <foo> . }; token foo { omethin } }; say G.parse("something"); | ||
| camelia | 「something」 foo => 「omethin」 |
||
| SmokeMachine | m: grammar G { token TOP { . <foo> }; token foo { omethin } }; say G.subparse("something"); | ||
| camelia | 「somethin」 foo => 「omethin」 |
||
| lizmat | m: grammar G { token TOP { .*? <foo> }; token foo { omethin } }; say G.subparse("something") | 12:42 | |
| camelia | 「somethin」 foo => 「omethin」 |
||
|
12:44
wamba joined
|
|||
| Doc_Holliwood | maybe i should stop xy-ing | 12:44 | |
| there, pastebin.com/yBvmg1rZ | 12:46 | ||
|
12:46
lucasb joined
|
|||
| Doc_Holliwood | it returns a match | 12:47 | |
| but the match is empty, no entries for list or the start-txt or end-txt | |||
|
12:52
wamba left
13:00
finanalyst joined
13:14
reach_satori_ joined
13:17
satori__ left,
aborazmeh left
13:20
patrickb left
13:24
zakharyas joined
13:28
aborazmeh joined,
aborazmeh left,
aborazmeh joined
13:33
aborazmeh left,
vrurg left
13:34
domidumont left,
domidumont joined
13:46
rindolf3 left
|
|||
| SmokeMachine | Doc_Holliwood: www.irccloud.com/pastebin/fZFeldo1/ | 13:49 | |
|
14:00
kylese joined
14:01
molaf joined
14:12
esh joined
14:16
sarna left
14:17
wamba joined
14:20
astronavt___ is now known as astronavt
14:32
molaf left
14:35
vrurg joined
14:36
ZzZombo left
14:37
sankamur_ joined
14:38
ZzZombo joined
14:41
sankamur left
14:55
zakharyas left
15:00
cpan-p6 left
15:06
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined,
vrurg left
15:09
antoniogamiz joined
|
|||
| antoniogamiz | o/ | 15:10 | |
| how can i compare paths without worrying about the OS? | |||
| I'm having some problems with tests not passing because of this | 15:11 | ||
|
15:11
rindolf3 joined
|
|||
| rindolf3 | hi all | 15:11 | |
| antoniogamiz | hi | ||
| rindolf3 | antoniogamiz: que tal? | 15:12 | |
| antoniogamiz | rindolf3: bastante bien :D, resolviendo algunas issues! y tu? | ||
| rindolf3 | antoniogamiz: english please | 15:14 | |
| antoniogamiz | rindolf3: sorry, you started in spanish so... | ||
| rindolf3 | antoniogamiz: I'm infatuated with taylor swift due to github.com/shlomif/my-real-person-fan-fiction | 15:15 | |
| antoniogamiz: she became a new hacker monarch without me noticing it for a long time. | 15:16 | ||
| antoniogamiz | mm | 15:17 | |
|
15:18
molaf joined
|
|||
| rindolf3 | antoniogamiz: I also saw this princess bride parody which reminds me too much of my technion years- www.youtube.com/watch?v=gVvMl1Ig9cY | 15:21 | |
|
15:23
kylese left
15:24
patrickb joined
|
|||
| rindolf3 | antoniogamiz: how are you? | 15:28 | |
| Geth_ | doc: 9c26525021 | (Elizabeth Mattijsen)++ | doc/Type/Buf.pod6 Document the new semantics of Buf.write-int* methods These are now available in HEAD, and will be available with the 2019.10 Rakudo compiler release. |
15:35 | |
| synopsebot | Link: doc.perl6.org/type/Buf | ||
| doc: 3b41582e7f | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Buf.pod6 Merge pull request #3052 from perl6/new-write-int-semantics Document the new semantics of Buf.write-int* methods |
|||
| Doc_Holliwood | how do i get every nth element of a list? | 15:37 | |
| i have | |||
| antoniogamiz | with [] ? | ||
| Doc_Holliwood | m: "[10,20,30,40,50].kv.grep( -> $i, $v { $i %% 2}).map({ .[1]}).say" | 15:38 | |
| camelia | 5===SORRY!5=== Error while compiling <tmp> Variable '$i' is not declared at <tmp>:1 ------> 3"[10,20,30,40,50].kv.grep( -> 7⏏5$i, $v { $i %% 2}).map({ .[1]}).say" |
||
| Doc_Holliwood | m: [10,20,30,40,50].kv.grep( -> $i, $v { $i %% 2}).map({ .[1]}).say | ||
| camelia | (10 30 50) | ||
| Doc_Holliwood | that seems too clumsy | 15:39 | |
|
15:40
molaf left
15:46
wildtrees joined
|
|||
| antoniogamiz | mm can someone explain to me why this happens? | 15:49 | |
| ci.appveyor.com/project/JJ/pod-to-...s/28048566 | |||
| why this double "\\" appears? | 15:50 | ||
|
15:53
Guest93 left
|
|||
| antoniogamiz | for some reason it's escaping "/" | 15:53 | |
| sena_kun | antoniogamiz, you are assuming that on windows paths are `foo/bar`, while on Windows they are `foo\bar` | 15:55 | |
| timotimo | \\ inside "" is just a \ | ||
| sena_kun | antoniogamiz, you need to compare IO::Path objects instead of strings | 15:56 | |
|
15:56
thundergnat joined
|
|||
| antoniogamiz | mmm so how can i make tests to work both on windows and unix? | 15:56 | |
| thundergnat | Doc_Holliwood: rotor? | ||
| sena_kun | m: IO::Path.new('hehe\fufu') ~~ IO::Path.new('hehe\fufu') | ||
| camelia | ( no output ) | ||
| sena_kun | m: say IO::Path.new('hehe\fufu') ~~ IO::Path.new('hehe\fufu') | 15:57 | |
| camelia | True | ||
| thundergnat | m: my @a = ^20; say @a.rotor( 1 => $_-1 ) for 2,3,5; | ||
| camelia | ((0) (2) (4) (6) (8) (10) (12) (14) (16) (18)) ((0) (3) (6) (9) (12) (15) (18)) ((0) (5) (10) (15)) |
||
| sena_kun | antoniogamiz, ^^ | ||
| antoniogamiz | mmmm i wil try that! | ||
| IO::Path.new is the same than "aa".IO? | |||
|
15:58
thundergnat left
|
|||
| sena_kun | m: 'hehe\fufu'.IO ~~ 'hehe\fufu'.IO | 15:58 | |
| camelia | ( no output ) | ||
| sena_kun | m: say 'hehe\fufu'.IO ~~ 'hehe\fufu'.IO | ||
| camelia | True | ||
| antoniogamiz | so yep | ||
| Doc_Holliwood | thundergnat: how? | 16:00 | |
| tellable6 | Doc_Holliwood, I'll pass your message to thundergnat | ||
| Doc_Holliwood | m: [10,20,30,40,50].batch(2).map({ .first }).say | ||
| camelia | (10 30 50) | ||
| Doc_Holliwood | that's better | ||
|
16:00
kylese joined,
thindergnat joined
16:01
thindergnat left
16:02
thundergnat joined
|
|||
| thundergnat | m: my @a = ^20; say @a.rotor( 1 => $_-1 ) for 2,3,5; # <- Doc_Holliwood | 16:02 | |
| camelia | ((0) (2) (4) (6) (8) (10) (12) (14) (16) (18)) ((0) (3) (6) (9) (12) (15) (18)) ((0) (5) (10) (15)) |
||
| tellable6 | 2019-10-11T16:00:14Z #perl6 <Doc_Holliwood> thundergnat: how? | ||
|
16:03
kylese left,
thundergnat left
|
|||
| antoniogamiz | sena_kun: mmm I have used .IO everywhere but it's still happening ci.appveyor.com/project/JJ/pod-to-...s/28048949 | 16:05 | |
| Doc_Holliwood | so, rotor( 1 => 0 ) is a noop? | ||
| antoniogamiz | (this is where I'm working if you want to see the code github.com/perl6/Pod-To-Cached/pull/12) | ||
| Doc_Holliwood | m: [10,20,30,40,50].rotor( 1 => 1 ).say | ||
| camelia | ((10) (30) (50)) | 16:06 | |
| Doc_Holliwood | ah, i see | 16:07 | |
| antoniogamiz | it looks like that when i read the filenames, it only escapes the last "\" | 16:09 | |
|
16:10
wildtrees left,
Guest93 joined
16:11
rindolf3 left
|
|||
| sena_kun | antoniogamiz, how do you get lines in cache? | 16:11 | |
| it seems that it is confused because there are mixed `/` and `\` in path strings | |||
| antoniogamiz, do you add e.g. a prefix somewhere or something like this? | 16:12 | ||
| antoniogamiz, github.com/perl6/Pod-To-Cached/pul...2d7a0f3R17 <- this looks super suspicious | |||
|
16:12
domidumont left
|
|||
| antoniogamiz | github.com/perl6/Pod-To-Cached/blo...d.pm6#L200 | 16:12 | |
| that's the function that reads the filenames | 16:13 | ||
| sena_kun: that's a failed try to fix it x'd | |||
| sena_kun | antoniogamiz, I think you want your constants REP/DOC/IGNORE_FILE to be .IO, and when you are creating a new thing, do not do IO::Path.new(~), do DOC.child('file.name.foo'); | ||
| antoniogamiz | you can see my several tries in my commits "Fix paths in windows... maybe,,," | ||
| ooohhhhhh | 16:14 | ||
| let's see if that works :D | 16:17 | ||
| mmm still failing => github.com/perl6/Pod-To-Cached/pul...f9ab74aad2 | 16:18 | ||
| SmokeMachine | \o/ | 16:20 | |
| El_Che | Larry has given his tought about the rename: github.com/perl6/problem-solving/p...-300789072 | 16:21 | |
| SmokeMachine | is that oficial now?! | ||
|
16:24
MasterDuke joined
|
|||
| El_Che | SmokeMachine: no yet. But Larry's voice has a lot of weight, of course | 16:24 | |
| antoniogamiz | the evaluable bot runs on windows? | 16:29 | |
| timotimo | the *ables have prebuilt rakudos for linux, so it'd have to do compilation itself for that purpose | ||
| antoniogamiz | mmm | 16:30 | |
| then i will have to download a virtual machine i suppose x'd | |||
| El_Che | antoniogamiz: there is rakudo star on windows | 16:31 | |
| antoniogamiz | El_Che: I know but I do not use windows | 16:32 | |
| El_Che | antoniogamiz: you can run containers in Windows, also an option | ||
| ah, the other way around | |||
| antoniogamiz | I simply want to fix this: github.com/perl6/Pod-To-Cached/pull/12 | 16:33 | |
| I cannot guess why that "\\" is appearing | |||
| I have added .IO as sena_kun told me, but it does not work :/ | |||
| MasterDuke | m: say [10,20,30,40,50][0,2...*] | ||
| camelia | (10 30 50) | ||
|
16:36
domidumont joined
|
|||
| antoniogamiz | If i run this in windows: DOC.IO.add('test1.pod6') (DOC is "a/b/c" | 16:36 | |
| that should create a file called test1.pod6 inside c (which is inside b (which is inside a)) | |||
| right? | |||
| sena_kun | antoniogamiz, let me play with it... | 16:38 | |
| antoniogamiz, ah, the tests are running now | 16:39 | ||
| antoniogamiz | ? | ||
| mmm I think not | |||
| github.com/perl6/Pod-To-Cached/pull/12 | |||
| ah running yes sorry | 16:40 | ||
| they have failed again... what a surprise | |||
|
16:41
grayrider left
|
|||
| sena_kun | antoniogamiz, ok, I am forking... | 16:41 | |
|
16:45
chloekek joined
|
|||
| sena_kun | antoniogamiz, why do you removed .IO on path strings and .map(*.IO) calls? | 16:46 | |
| ugh | |||
| *why did you remove | |||
| they are essential | |||
| Doc_Holliwood | ok, now this is seriously weird | ||
| antoniogamiz | because they were failing too | ||
| i will add them again | 16:47 | ||
| Doc_Holliwood | i have a grammar which sometimes works and sometimes doesnt, on the same input | ||
| as in i call the script 5 times and it works once. | |||
| sena_kun | antoniogamiz, well, not always you can make things work in a single set of changes, but you can drift away from something that is more broken to less broken | ||
|
16:48
domidumont left
16:49
domidumont joined
|
|||
| antoniogamiz | i have readded the .IO, let's see :D | 16:51 | |
| and yep, the "\\" still appears agh | 16:52 | ||
| sena_kun | let's see... | ||
| antoniogamiz, github.com/perl6/Pod-To-Cached/pul...f1329bR198 <- this is wrong | 16:54 | ||
| it assumes `/` is the separator, while `add` method should be used to be OS-independant | 16:55 | ||
| antoniogamiz | ("$!path/"~INDEX).IO.spurt: to-json(%h); ??? | 16:56 | |
| in the rest of the code I do not see where I'm assuming that | |||
| sena_kun | hmm, did my link not highlighted that... | 16:57 | |
| ah, it isn't, sorry | |||
| antoniogamiz, yes, the line you pasted | |||
| antoniogamiz | mmm but that line should not affect those tests mm | 16:58 | |
| I would be assuming "/" as delimiter here too, right? => constant DOC = 't/tmp/doc-ignore';??? | |||
|
16:59
reach_satori_ left
|
|||
| sena_kun | antoniogamiz, if you are making IO::Path object out of it, it is fine | 16:59 | |
| antoniogamiz | mmm, then this should that line should be fine too because it uses .IO | ||
| sena_kun | antoniogamiz, well, imagine that $!path value is `foo\bar` and then you add `/baz` there, so it is `foo\bar/baz` now. then you call .IO on it and it is confused, it does not see it as `foo\bar\baz` | 17:02 | |
| and even if the tests are not affected by it, this code won't work nicely on windows regardless of it | 17:03 | ||
| antoniogamiz | mmm ok, I haved chagned, thanks for the suggestion :,) | ||
| though it still fails............. i wanna cry | 17:04 | ||
| sena_kun | hmm, I wonder | 17:05 | |
| sena_kun starts windows vm | 17:06 | ||
| antoniogamiz | :,) | 17:07 | |
| MasterDuke | Doc_Holliwood: can you post the code and input somewhere? | 17:16 | |
| Doc_Holliwood | nah, i trace it down. i was using .values where i should have used .list | 17:17 | |
| antoniogamiz | sena_kun: thanks a lot for your time, if you find the problem pls tell me or comment in the PR pls :D | ||
| I will dream with "\" tonight haha | 17:18 | ||
| bye o/ | |||
|
17:18
antoniogamiz left
|
|||
| sena_kun | o/ | 17:18 | |
| Doc_Holliwood | ok. this one drives me nuts. I made some progress with my grammar. see pastebin.com/Sp40qQrn | 17:33 | |
| alas, this doesnt work. it does when i replace the "expanse" in the top rule with "list" or "range", but i cannot combine them | 17:34 | ||
|
17:40
wamba left
|
|||
| discord6 | <Vendethiel> So, Tim approved the Raku PR, yay | 17:48 | |
| lucasb | :-| | 17:54 | |
|
18:04
epony left
18:07
epony joined
|
|||
| MasterDuke | Doc_Holliwood: probably not related, but a bunch of your tokens already exist (e.g., alpha, alphanum, etc) | 18:15 | |
| Doc_Holliwood | no, these contain the underscore | ||
| whoever though that would be a good idea | 18:16 | ||
| MasterDuke | i.e., are built in to rakudo | ||
| Doc_Holliwood: well, you could just subtract that from the pre-existing ones in your own | |||
| it probably doesn't really matter, but people often run into trouble be accidentally creating rules/tokens with the same names as built-ins and that can cause problems | 18:17 | ||
| Doc_Holliwood | it makes no difference | 18:19 | |
| just checked | |||
| but i'll keep that in mind, tx | |||
|
18:25
sauvin left
|
|||
| Doc_Holliwood | "No one sews a patch of unshrunk cloth on an old garment, for the patch will pull away from the garment, making the tear worse." | 18:26 | |
| Doc_Holliwood smiles | |||
| lizmat | weekly: github.com/perl6/problem-solving/p...-300789072 | 18:27 | |
| notable6 | lizmat, Noted! (weekly) | ||
|
18:38
zakharyas joined
|
|||
| Geth_ | problem-solving/ugexe-patch-1: 3fb9e4993f | (Nick Logan)++ (committed using GitHub Web editor) | README.md Remove ugexe from reviewers |
18:48 | |
| problem-solving: ugexe++ created pull request #114: Remove ugexe from reviewers |
|||
| problem-solving: 3fb9e4993f | (Nick Logan)++ (committed using GitHub Web editor) | README.md Remove ugexe from reviewers |
18:52 | ||
| problem-solving: a6e246bdc1 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | README.md Merge pull request #114 from perl6/ugexe-patch-1 Remove ugexe from reviewers |
|||
|
18:53
vrurg joined
18:58
Itaipu_ is now known as Itaipu
19:02
zakharyas left
19:16
rindolf3 joined
19:40
Kaiepi left
19:42
Black_Ribbon joined,
Kaiepi joined
19:50
rindolf3 left
20:02
vrurg left
20:04
domidumont left
20:05
domidumont joined
20:06
vrurg joined
|
|||
| lizmat | weekly: news.ycombinator.com/item?id=21227430 #1 on HackerNew | 20:16 | |
| notable6 | lizmat, Noted! (weekly) | ||
| lizmat | s | ||
|
20:17
Kaiepi left
20:20
domidumont left
20:23
macaronus joined
|
|||
| Juerd | That's a very nice endorsement | 20:25 | |
|
20:37
Kaiepi joined
20:38
sena_kun left
20:50
sftp left,
sftp joined
20:55
wamba joined
21:14
maggotbrain joined
21:25
chloekek left
|
|||
| El_Che | lots about erlang and elixir | 21:44 | |
| :) | |||
|
21:45
wamba left
|
|||
| cpan-p6 | New module released to CPAN! LibXML (0.1.2) by 03WARRINGD | 21:54 | |
|
21:57
reach_satori_ joined
22:20
wamba joined
|
|||
| Geth_ | ecosystem: 24a2d5a4d7 | thundergnat++ (committed using GitHub Web editor) | META.list Add Smooth::Numbers to the ecosystem Easily generate ordered smooth numbers. See github.com/thundergnat/Smooth-Numbers |
22:35 | |
|
22:35
ravenousmoose joined
22:39
ravenousmoose left
|
|||
| Grinnz | more name easter eggs news.ycombinator.com/item?id=21229114 | 22:41 | |
|
22:43
patrickb left
23:09
ravenousmoose joined
23:11
finanalyst left
23:13
ravenousmoose left
23:18
pecastro left
23:53
xinming left,
xinming joined
|
|||