»ö« 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:01 aborazmeh joined, aborazmeh left, aborazmeh joined 00:12 vrurg left 00:14 aborazmeh left 00:15 AlexDani` joined
MasterDuke AlexDaniel: i'm impressed with how fast the memoized multis are though. only ~0.5s slower at n=5000 00:17
00:19 AlexDaniel left, AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined 00:33 Cabanossi left 00:34 Manifest0 left 00:39 Manifest0 joined 00:48 Cabanossi joined 00:53 Manifest0 left 00:58 Manifest0 joined 01:03 Manifest0 left 01:07 Manifest0 joined 01:12 Kaypie joined, Kaiepi left 01:14 Manifest0 left
AlexDaniel we're below 50 tickets now :) 01:18
squashable6: status
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈12 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel I have to get some sleep though
01:19 Manifest0 joined 02:02 Manifest0 left 02:06 Manifest0 joined 02:26 Manifest0 left 02:31 Manifest0 joined, aeruder joined 02:32 mbp0 joined, kent\n left, mbp left 02:33 marcusr joined, kent\n joined, marcusr left, marcusr joined 02:40 Cabanossi left 02:43 adu left 02:44 adu joined 02:51 Cabanoss- joined 02:56 Manifest0 left 03:01 Manifest0 joined 03:12 Manifest0 left 03:17 Manifest0 joined 03:34 Manifest0 left 03:35 Sgeo joined 03:36 Sgeo__ left 03:39 Manifest0 joined 03:43 Manifest0 left 03:49 Manifest0 joined 03:54 Manifest0 left 03:58 Manifest0 joined 04:02 dominix_ joined, Manifest0 left 04:06 dominix__ left 04:07 Manifest0 joined 04:21 Manifest0 left 04:26 Manifest0 joined 04:35 mowcat joined 04:47 Manifest0 left 04:52 Manifest0 joined 05:08 Manifest0 left 05:14 Manifest0 joined 05:21 mowcat left 05:23 Manifest0 left 05:28 Manifest0 joined 05:33 Manifest0 left 05:35 aborazmeh joined, aborazmeh left, aborazmeh joined 05:38 Manifest0 joined 05:44 Manifest0 left, haukex joined 05:45 haukex left 05:50 Manifest0 joined 05:54 Manifest0 left 06:00 Manifest0 joined 06:04 Manifest0 left 06:08 reach_satori_ left, shareable6 left, committable6 left, reportable6 left, TravisRt2botio[m left, tyil[m]1 left, AlexDaniel` left, cosimo left, cjkinni left, nine left, roguelazer left, grumble left, giraffe left, hobbs left 06:10 m0ltar_ left 06:12 ihavenohead left, cooper left, benchable6 left, coverable6 left, matiaslina left, ChoppedBacon left, joy_ left, zostay left, albongo left, riatre left 06:13 m0ltar joined 06:15 Manifest0 joined 06:16 Mithaldu left 06:17 ribasushi joined, Mithaldu joined 06:18 ihavenohead joined, cooper joined, benchable6 joined, coverable6 joined, matiaslina joined, ChoppedBacon joined, joy_ joined, zostay joined, albongo joined, riatre joined, TreyHarris joined, Altreus joined, sjn joined, f3ew joined, card.freenode.net sets mode: +vv benchable6 coverable6, reach_satori_ joined, shareable6 joined, committable6 joined, reportable6 joined, TravisRt2botio[m joined, tyil[m]1 joined, AlexDaniel` joined, cosimo joined, cjkinni joined, nine joined, roguelazer joined, grumble joined, giraffe joined, hobbs joined, card.freenode.net sets mode: +vvv shareable6 committable6 reportable6 06:20 khisanth_ left, HarmtH left, epony left 06:22 HarmtH joined 06:25 Kaypie left, Kaypie joined 06:32 khisanth_ joined, Manifest0 left 06:38 Manifest0 joined 06:42 Manifest0 left 06:47 Manifest0 joined 06:50 dolmen joined 06:52 Manifest0 left 06:57 Manifest0 joined 07:05 Kaypie left 07:06 dolmen left 07:08 Kaiepi joined 07:18 mniip left 07:20 robertle left 07:24 Manifest0 left 07:26 mniip joined 07:27 Aearnus joined
Aearnus hey y'all, just wrote another blog post aearnus.github.io/2019/07/06/perl-6-is-cursed . tried to send it over the discord bridge but I think it's broken 07:29
07:30 Manifest0 joined 07:34 Manifest0 left 07:41 Manifest0 joined 07:45 Manifest0 left 07:48 epony joined 07:51 Manifest0 joined 07:55 rindolf joined 08:00 Manifest0 left 08:05 Manifest0 joined 08:08 Actualeyes joined 08:10 Kaypie joined, Kaiepi left 08:11 matiaslina left 08:12 lance_w[m] left, mack[m] left, rba[m] left, EuAndreh[m] left, TravisRt2botio[m left, AlexDaniel` left, tyil[m]1 left, Matthew[m] left, Demos[m] left, folex left, unclechu left, sergiotarxz[m] left, tyil[m] left 08:14 irdr left 08:15 irdr joined 08:16 epony left 08:17 Kaypie is now known as Kaiepi, AlexDaniel` joined 08:23 roguelazer left 08:24 cjkinni left, cjkinni joined 08:25 roguelazer joined 08:28 Matthew[m] joined, tyil[m]1 joined, tyil[m] joined, rba[m] joined, lance_w[m] joined, EuAndreh[m] joined, folex joined, TravisRt2botio[m joined, sergiotarxz[m] joined 08:29 Demos[m] joined, matiaslina joined, unclechu joined, mack[m] joined 08:31 PavelB left, PavelB joined 08:44 Manifest0 left 08:49 Manifest0 joined 08:51 Jay36 joined
Jay36 Is it advisable to start learning perl6 without any knowledge in previous versions of perl? 08:53
08:53 Manifest0 left 08:58 Jay36 left 08:59 Manifest0 joined 09:03 Aearnus left, ChoHag left, Manifest0 left 09:06 sena_kun joined 09:07 Black_Ribbon left 09:08 Manifest0 joined
woolfy Aearnus++ "spit accurately so we know where we can clean up" 09:12
Jay36 : Not necessary advisable. Plenty of people who came from (or are still using) Perl 5 who now are avid Perl 6 users. 09:14
Jay36 : But if you come from somewhere completely different, like Erlang, C++, Haskell, Java, or Cobol, or if you never programmed at all, it would not be a problem at all to start with Perl 6 without any prior knowledge of Perl 5.
Jay36 : Plenty of people who did that. Several Perl 6 core developers did that. 09:15
Jay36 : But in that case, be aware that some Perl 6 things are as they are because Perl 6 was designed to solve a long list of problems in Perl 5. 09:16
Ah... "Jay36 left the room" Well, I hope Jay reads it at some point. 09:17
09:18 robertle joined 09:28 cjkinni left, cjkinni joined 09:44 lancew joined
Kaiepi i happen to be one of those core devs who never used perl 5 beforehand 09:44
09:45 ChoHag joined 09:49 rfold joined 09:56 Kaiepi left 09:59 Kaiepi joined, Kaiepi left 10:00 Kaiepi joined 10:01 epony joined 10:02 Kaypie joined, Kaiepi left
rfold Does Perl 6 have an equivalent of croak which omits intramodule stack frames from the call stack? 10:10
I found a mailing list entry but it is old: www.nntp.perl.org/group/perl.perl6...g1937.html
AlexDaniel squashable6: status 10:11
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈3 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
10:11 lancew left 10:13 lancew joined
woolfy Kaiepi++ 10:13
rfold Ah I can mark my routine with is hidden-from-backtrace, that's good enough. 10:14
10:22 grumble left
Geth doc: 0c763ae5a0 | Antonio++ (committed using GitHub Web editor) | doc/Language/community.pod6
Update community.pod6
10:24
synopsebot Link: doc.perl6.org/language/community
10:25 Kaypie is now known as Kaiepi 10:27 gurmble joined, gurmble is now known as grumble 10:33 aborazmeh left 10:40 lancew left 10:45 Kaiepi left 10:49 Kaiepi joined 10:56 robertle left
thundergnat .tell AlexDaniel Oops, sorry about A000688, Fix pushed. 11:15
yoleaux thundergnat: I'll pass your message to AlexDaniel.
11:20 Manifest0 left
lizmat weekly: aearnus.github.io/2019/07/06/perl-6-is-cursed 11:26
notable6 lizmat, Noted!
11:26 Manifest0 joined 11:38 Manifest0 left
Kaiepi guess who just got wide string support working??? 11:39
bastille% perl6 -MNativeCall -e 'sub wprintf(Str is wide --> int32) is native {*}; wprintf "If two astronauts were on the moon and one smashed the head of the other in with a rock would that be fucked up or what?\n"'
If two astronauts were on the moon and one smashed the head of the other in with a rock would that be fucked up or what?
lizmat Kaiepi++ 11:40
moritz has to re-watch Iron Sky soon 11:41
Kaiepi there's still a little more work on the moar end of things i need to do before i can say i'm done with it, and i still need to stub the jvm and js vm since implementing support for them will be just as big a project as it was for moar alone 11:42
11:43 Manifest0 joined 11:48 Manifest0 left 11:50 Manifest0 joined 11:53 kaare_ joined 11:55 clarkema joined
sena_kun Kaiepi, is there a place where can I read on why is it needed? 11:56
Kaiepi there isn't, but i mainly want it for nativecall bindings 11:58
that's all wide string support is used for
sena_kun Kaiepi, for binding to wchar and triends?
Kaiepi wchar_t and wint_t are utterly, utterly ridiculous to try to guess the size and sign of
yeah
sena_kun *friends
Kaiepi, nice. 11:59
Kaiepi just need some minor touch ups on CStr's REPR, temporary stubs for the jvm and js backend, and some tests in rakudo, and it'll be ready to pullreq 12:00
12:04 molaf joined
Kaiepi wait i forgot about structs and unions 12:05
12:09 Manifest0 left 12:15 Manifest0 joined
Geth doc: dbb6cd3621 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/community.pod6
show correct Advent repo
12:23
synopsebot Link: doc.perl6.org/language/community
12:24 Manifest0 left
tbrowder at the risk of sounding preachy, i wish people here could use less coarse language so we could be more welcoming to new comers, especially young people 12:30
12:30 Manifest0 joined 12:31 lancew joined
AlexDaniel squashable6: status 12:32
yoleaux 11:15Z <thundergnat> AlexDaniel: Oops, sorry about A000688, Fix pushed.
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel final push!! 12:35
thundergnat: A002572 is a bit wrong 12:41
12:41 robertle joined
AlexDaniel thundergnat: it should start with 0 but it starts with 1 12:41
thundergnat: do you know about `make test` ?
thundergnat Argh. 12:42
I'll fix.
12:47 Manifest0 left, Kaiepi left 12:48 Kaiepi joined
AlexDaniel squashable6: status 12:50
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
12:52 Manifest0 joined
tobs AlexDaniel: I claim A000029, A000031, A000048, can't assign myself in that repo, maybe you can? 12:59
AlexDaniel tobs: nope, can't assign those who don't have write permissions. But it's alright, we see you here :) 13:00
thundergnat: ↑
I'm working from that list backwards so it's fine
tobs (now if only my "t" key would sop being suck) 13:01
13:02 Kaiepi left 13:03 Kaiepi joined
thundergnat AlexDaniel: I was aware of the existence, but didn't really notice that the repo had a makefile in it. 13:04
13:10 Kaiepi left
AlexDaniel it'd be cool to get it down to 25 tickets 13:11
so that it fits on a single page
but I don't think we'll be able to in 1 hour
13:12 Manifest0 left
AlexDaniel thundergnat: btw are we going to submit these solutions to oeis? 13:12
they do have some python implementations
thundergnat AlexDaniel: I don't know, hadn't though that far ahead. 13:15
*thought
13:16 Manifest0 joined
MasterDuke AlexDaniel: working on A004011 13:18
13:25 Manifest0 left 13:26 Kaiepi joined 13:30 Manifest0 joined
Ulti im sad this article aearnus.github.io/2019/07/06/perl-6-is-cursed is trending for all the obvious and bad reasons on hacker news news.ycombinator.com/item?id=20374633#20374832 13:34
AlexDaniel I agree with that comment btw 13:35
who cares about tests
and also, the tests are not that overwhelmingly full 13:36
timotimo Ulti: it looks like you claimed that comma is written in perl6
AlexDaniel “This almost seems like satire, but not quite” and yeah I kinda feel the same way :) 13:37
thundergnat: Rat.new(.denominator,.numerator) 13:40
thundergnat: any reason why not to just .denominator / .numerator 13:41
timotimo does Rat.new throw an exception when it exceeds the maximum precision perhaps?
Ulti timotimo: I claimed it was a JetBrains based IDE for Perl 6
thundergnat AlexDaniel: Not really, they both create a new Rat.
Ulti feel free to clarfiy it there
thundergnat AlexDaniel: I can change it if you feel it would be better. 13:42
AlexDaniel thundergnat: well it's more idiomatic I think?
timotimo "there are even nice things built out of them like the Cro microservices framework cro.services/. That you can also build applications out of that using a full JetBrains based IDE"
that reads like the "full jetbrains based ide" is built "out of" Cro
or at least that it's built out of the concurrency and parallelism features 13:43
thundergnat AlexDaniel: Ok, not a big deal, will change
timotimo and i can't clarify it there, because i don't have and will probably never have an account on that site
Ulti timotimo: doesnt read that way to me since there is a fullstop in the middle 13:44
I meant more you can build apllications use the IDE and Cro has nice integration 13:45
timotimo oh
i seem to have misread the "using" there
sorry, now that i read it for the fourth time it finally clicked what that sentence actually says
ugexe Myth: "People aren't using Perl 6 because ..." Reality: "I don't like Perl6 because" 13:46
I love when people talk with authority they do not have
Ulti timotimo: updated it
thundergnat AlexDaniel: Ok, fix (and another sequence) pushed 13:47
AlexDaniel squashable6: status 13:49
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event is in 10 minutes. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel oof
timotimo lol can someone tell smt88 that neither will python, java, C++, and others?
no, i won't get into this any more
lizmat hmmm...not quite what I was going for when I posted that on HN, but otoh, it's exposure... 13:53
and at least comment said a look at Perl 6 would be made 13:54
13:54 Manifest0 left
timotimo oh, was that you? 13:54
d'oh
13:59 Manifest0 joined
lizmat yeah 13:59
well, it makes clear how people think about Perl 6 and Perl in general
outside of the echo chamber
timotimo inside that other echo chamber :P 14:00
ugexe Damian seems to not have this problem communicating about Perl 6
timotimo maybe not echo chamber. perhaps more of a bickering pit
AlexDaniel gives up on A001055 14:02
squashable6: status 14:03
squashable6 AlexDaniel, Next SQUASHathon in 25 days and ≈13 hours (2019-08-03 UTC-14⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel alriight
I'll be around for a bit more to merge PRs if more are coming
ugexe "The biggest issue with Perl 6 IMO is that there are no "official" scaff holding framework(s) for anything." like this comment... where do i start 14:04
tobs AlexDaniel: my last PR is just a prove away
AlexDaniel tobs: nice!
timotimo that looks like something typed on a smartphone keyboard with auto"correct"
but i kind of like "scaff holding" 14:05
thundergnat AlexDaniel: Don't wait on me. I don't have anything pushable in the near future.
AlexDaniel thundergnat: also nice, you did great :) take a nice break
ugexe how did they come to that conclusion? what other problems with the language did they encounter that were not as bad as that apparent problem? the answer to these is they've never really looked into any of this
AlexDaniel now I have to somehow count how many sequences were implemented, hmm
sena_kun >Perl 6’s most popular compiler is Rakudo Star 14:06
this is something new to know
AlexDaniel sena_kun: yeah because we like confusing things :)
ugexe people who have never in their life had their opinion count when it comes to making architectural choices want to have their voice heard in the only place their lack of authority cant stop them 14:07
tobs AlexDaniel: wait, I overlooked one sequence I can also kill in the same PR
14:10 domidumont joined
AlexDaniel tobs: niiice 14:16
14:16 HarmtH left
AlexDaniel tobs: oh and there's a totient sub now 14:16
tobs: I think I had a sequence where I needed it badly… 14:17
thundergnat tobs: agree with Alexdaniel, wow.
14:18 mowcat joined
AlexDaniel and moebius too, amazing 14:18
14:18 HarmtH joined
tobs arrays are kinda hard to reuse I found 14:18
AlexDaniel yeah
14:20 pmurias joined
thundergnat I think ajs should really reconsider having the sequences as exported array and re-implement them as generator subs. (Issue #39) 14:20
Would probably make them easier to reuse. 14:21
pmurias lizmat: a lot the comments on hackernews where in regards to dubious responses to the myths 14:22
AlexDaniel thundergnat: yeah, that
thundergnat: maybe you should leave a comment on #39 :) 14:23
thundergnat That's a major change to the inner workings though.
AlexDaniel I don't think so
many if not most sequences will remain the same
it's just some of them that really can benefit from reimplementation
and you can pregenerate a fallback sub like sub A00foo($n) { @A00foo[$n] } 14:24
thundergnat: in fact, that's a good start I think. Just having a sub that accesses the array 14:25
then you can start moving the implementation to the sub if it's appropriate for a particular sequence
thundergnat AlexDaniel: True. I'd want to get some buy in from ajs before I would invest too much work in a fundamental change to the module though. 14:26
AlexDaniel and for some sequences, you can perhaps have both
tobs AlexDaniel: do you want to finish A001055? It seems doable: there is an easy formula for prime power arguments and A066032 contains a recursive formula for other composite numbers. These two have to be put together. 14:27
AlexDaniel one implementation that needs previous elements, and another that can generate an element right away but slower
tobs: try it… I had most of the values correct except some
tobs: but I was relying on factors() and that is somehow wrong, I couldn't figure out why 14:28
14:28 pmurias_ joined
AlexDaniel tobs: it generates correct elements up to [11] I think, where it's off by one… and most of the sequence is correct except some values 14:28
tobs Bummer that A000001 is ridiculously hard :D 14:31
AlexDaniel tobs: yes :D :D 14:41
I even made sure to submit tickets in reverse order so that they're kinda ascending in the list
and now A000001 is the first ticket people see 14:42
14:50 lancew left 14:52 lancew joined 14:56 patrickb joined 14:57 sena_kun left, sena_kun joined
AlexDaniel SQUASHathon RESULTS! github.com/ajs/perl6-Math-Sequence...-509005868 14:58
weekly: SQUASHathon RESULTS! github.com/ajs/perl6-Math-Sequence...-509005868 15:00
notable6 AlexDaniel, Noted!
AlexDaniel lizmat: ↑ :)
lizmat thundergnat++ 15:03
lizmat is afk for some girly soccer&
sena_kun thundergnat++ 15:04
thundergnat woot!
15:06 lancew left 15:11 Manifest0 left 15:17 Manifest0 joined 15:19 HarmtH left 15:21 Manifest0 left, HarmtH joined 15:27 Manifest0 joined 15:31 Manifest0 left 15:33 Cabanoss- left
pmurias_ ugexe: re biggest problem, is that a reflection of something the commenter wanted to have? 15:35
15:35 mowcat left 15:36 Manifest0 joined
ugexe i'm making fun of how joe nobody always wants to inform everyone of why OTHER PEOPLE dont use Perl 6. occasionally you get some good critisms from e.g. reini urban, but most of the time its some nobody looking for point out some little thing they noticed while investigating superficially and want validation 15:40
these people never say "I dont use Perl 6" its always "People dont use Perl 6". they need to reassure their position by procting
projecting^ 15:41
15:41 Manifest0 left
pmurias_ jugding why other people (don't) use something is hard 15:42
ugexe right, so people with no fucking clue shouldn't make such claims
15:42 Cabanossi joined
ugexe however -- that puts their own ass on the line if their opinion is wrong. instead you just claim your opinion is fact/majority so no one challenges you 15:43
so the question is: how do you effectively call these people out without appearing to just be angry?
tbrowder ref math-seq squashathon: i noticed move to .t6 suffix for tests--should module authors make that move as a TODO task? should that be mentioned in the docs for module authors? 15:44
pmurias_ I'm not sure if that particular comment was meant to express anything more than what the random joe in question expected
ugexe then why would they not say "I" 15:45
pmurias_ ugexe: having the opinions of a whole bunch of joes *who actually tried using* Perl 6 would have some value
ugexe yes i agree 15:46
15:46 Manifest0 joined
pmurias_ ugexe: I'm not sure people pay a lot of attention to the exact wording when composing a comment on hacker news 15:46
ugexe lol
if i posted a critisism about Go using "People"/"Everybody"/"Nobody" i'd get roasted 15:47
rfold My colleagues have a lot of opinions about Perl and PHP but when I ask when they have last used it they can't give an answer. 15:52
timotimo i'ven't used php in ages and i still occasionally catch myself mouthing off about it
15:54 pmurias__ joined
ugexe mouthing off is one thing. its another to make much more general claims like "Nobody uses php because" "PHP will never ... because" 15:55
tobs m: bag(2 xx 4, 4 xx 3, 3 xx 1).min.say # seems to DWIM but I can find neither documentation nor implementation
camelia 2 => 4
ugexe i would wager most of the people making such claims have no say in what language is used at their work anyway
timotimo it probably just goes via Any, i.e. calls self.List.min
tobs (it returns the pair with minimum key here, which is what I want) 15:56
m: say (2 => 4) cmp (3 => 1)
camelia Less
timotimo m: say (22 => 4) cmp (3 => 1)
camelia More
timotimo watch out, it seems to be lexicographical sort 15:57
tobs timotimo: seems to make sense
timotimo so you'll want to use .min(:as(*.key.value.Int)) or so
tobs O_O
pmurias__ ugexe: I would guess most people have no say in what languages get used in their work 15:58
rfold p6: (2 => 4).perl.say
camelia 2 => 4
15:58 pmurias left, pmurias__ is now known as pmurias
rfold p6: (2 => 4).key.WHAT.say 15:59
camelia (Int)
timotimo oh, hm 16:00
ugexe yes. and most people aren't qualified to say why *people in general* aren't using some language
rfold p6: %(2, 4, 3, 1).kv.perl.say 16:02
camelia ("2", 4, "3", 1).Seq
ugexe so i have to ask: what are these generalized claims based on if they are not in a position to make their opinion on that count in the first place?
16:02 dominix__ joined
ugexe i have no issue with anyone using the word "I". its just usually reframed as a larger population 16:03
pmurias I think a lot of them are just assuming that other people think like they do
timotimo rfold: yeah, by default hashes stringify their keys 16:04
m: :{2 => 4, 3 => 1}.kv.perl.say 16:05
camelia (3, 1, 2, 4).Seq
rfold p6: my %xs{Int}; %xs{2} = 4; %xs{3} = 1; %xs.perl.say; # timotimo: I recall it's possible to avoid that like this, what about literals?
camelia (my Any %{Int} = 2 => 4, 3 => 1)
16:05 dominix_ left
rfold p6: (my Any %{Int} = 2 => 4, 3 => 1).perl.say 16:06
camelia (my Any %{Int} = 2 => 4, 3 => 1)
rfold Interesting!!!
pmurias ugexe: why are people doing unfounded generalizations a big issue?
16:07 MilkmanDan left
ugexe why is fake news a big issue? spreading bad information is always an issue 16:08
maybe i should just start replying to such comments with just "fake news" :P
pmurias don't do that 16:09
timotimo @fake_news_dog: "bark bark bark"
sena_kun pmurias, because thinking is a very hard cognitive process, so memoizing is used as a cheaper alternative. instead of real thinking, people tend to just read someone's opinion somewhere and copy that.
pmurias that's a generalization about how people think
sena_kun and then poof, X has an image of Y in mind of a lot of people and it is _hard_ to change that, because, once again, cognitive biases make change of opinion a hard thing. 16:10
16:10 MilkmanDan joined
sena_kun pmurias, sure thing. 16:10
Geth doc: f860bf521a | (JJ Merelo)++ | doc/Language/regexes.pod6
Revises intro before #2887
16:14
doc: 4bff7ff18e | (JJ Merelo)++ | doc/Language/regexes.pod6
Small revision for #2887
synopsebot Link: doc.perl6.org/language/regexes
16:17 rfold left 16:18 Manifest0 left 16:20 |oLa| left 16:23 Manifest0 joined 16:27 vrurg joined 16:33 llfourn left 16:34 llfourn joined, Manifest0 left 16:35 patrickb left 16:36 patrickb joined
TreyHarris If I have a huge XML file and I want to do some testing against it in reasonable time--a case where, for example, in CSV I'd just grab the top 5% of the lines--how can I sample it and still have a valid XML file so that validating tools still work? 16:39
16:42 Manifest0 joined 16:46 patrickb left 16:55 Manifest0 left
sena_kun TreyHarris, is it a general question? 16:56
tbrowder one thing you can start with is using xmllint to format it so its structure is readable. then you might be able to visually extract large but apparently valid chunks for further testing. note that xmllint will check the xml validity of the original and any extracted chunks. 16:57
17:00 Manifest0 joined
tbrowder er, how huge is huge? xmllint is very fast 17:03
17:04 Manifest0 left
sena_kun also, is it a one-time action or you need to take chunks of changing huge files from time to time? 17:04
it depends on xml too, but in general case I'd look for incremental parsers available. 17:05
tbrowder some good p5 ones exist
p6 is a little rough at last look 17:06
17:08 Manifest0 joined 17:12 zakharyas joined, rfold joined
TreyHarris thanks, that's helpful. It's just one-time to be sure I have a handle on the format of some of the keys (beyond the DTD specification) 17:15
s/keys/data/ 17:16
17:18 AlexDaniel left 17:19 AlexDaniel joined 17:32 Manifest0 left 17:34 tankf33der joined 17:38 Manifest0 joined 17:45 Manifest0 left 17:50 Manifest0 joined 17:52 lucasb joined 17:55 zakharyas left
Geth doc: 9a74294851 | Coke++ | doc/Language/regexes.pod6
fix typo

part of #2888
18:04
synopsebot Link: doc.perl6.org/language/regexes
18:09 Manifest0 left 18:13 kensanata joined, jmerelo joined
jmerelo squashable6: status 18:14
squashable6 jmerelo, Next SQUASHathon in 25 days and ≈9 hours (2019-08-03 UTC-14⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
18:14 Manifest0 joined
Geth doc: a6cec2ad2d | (JJ Merelo)++ | doc/Language/regexes.pod6
Good catch. Closes #2888
18:18
synopsebot Link: doc.perl6.org/language/regexes
18:19 Manifest0 left
MasterDuke thundergnat++ 18:24
18:25 Manifest0 joined 18:29 jmerelo left 18:34 Manifest0 left 18:36 domidumont left 18:37 jaldhar left, jaldhar joined 18:39 Manifest0 joined 18:47 Manifest0 left 18:52 Manifest0 joined
AlexDaniel thundergnat++ indeed, that was awesome 18:55
I really liked this squashathon. Thanks tbrowder, lance_w[m], MasterDuke, tobs, thundergnat! 18:56
tobs AlexDaniel++ # management *and* sequences!
lance_w[m] AlexDaniel ++ from me too 18:57
18:57 molaf left
AlexDaniel if you have any ideas for upcoming squashathons that are equally fun, let me know 18:57
18:57 kensanata left
tobs I've just given up on A001055 as well. No algorithm I found was as easy as I thought while being as fast as I wanted. 18:57
AlexDaniel tobs: oh well 18:58
18:59 veesh joined
tbrowder AlexDaniel: ++ for you! and glad to find something a non-mathematician could do 19:06
AlexDaniel tbrowder: initially there were many sequences that were relatively easy, but these unsurprisingly got implemented really fast 19:07
MasterDuke definitely, AlexDaniel++ too
tbrowder the 19:08
MasterDuke there is a Perl6 version of Regexp::Common, right? is it complete compared to the Perl5 version?
tbrowder thundergnat: well done!
AlexDaniel I wonder if Math::Sequences will ever be extended beyond core sequences 19:09
if so, maybe a few months later we can do it again. I think there are many fun sequences out there :) 19:10
thundergnat Thanks, all. I enjoyed this squashathon.
AlexDaniel stuff like oeis.org/A085808
thundergnat Big kudos to AlexDaniel++ for making it all run smoothly. 19:11
AlexDaniel “as an example of a sequence which should not be in the OEIS” ha
MasterDuke ha
AlexDaniel oeis.org/search?q=dumb&language...;go=Search 19:12
“dumb sequences squashathon” :)
thundergnat A lot of the remaining cor sequences really need someone who is strong in category and set theory, both of which I have heard of :-/ 19:13
AlexDaniel thundergnat: yeah, many times I found it was much easier trying to understand maple algorithms than reading the sequence description :S 19:15
tbrowder here's a rough squashathon idea: have module authors submit module names they would like help with (maybe limit to max of one per author) and either vote for a subset or list them all for grabs to work on 19:16
veesh how about porting Tensorflow
or MXNet
AlexDaniel tbrowder: we did this on 2018-10-06
tbrowder: here's the list of past squashathons: github.com/rakudo/rakudo/wiki/Mont...ed-events) 19:17
veesh raku could really pwn at writing the formulas as actual formulas
tbrowder hm, i must have missed that one
veesh and matrix operations and stuff
AlexDaniel tbrowder: it worked OK, but it wasn't as fantastic as ecosystem unbitrot :)
thundergnat veesh like modules.perl6.org/dist/Math::Matri...rre-vigier perhaps? 19:18
AlexDaniel veesh: as for writing formulas as formulas, Math::Sequences is as close as you can get, but to me it feels like the language is missing some small things 19:20
veesh something like
i'm gonna learn more machine learning and then tell you what i expect 19:21
AlexDaniel well, having a Tensorflow module would be amazing. They do have C API so maybe creating a module is much simpler than it sounds 19:22
veesh it really should be, all the hard stuff happens in c 19:23
there should only be sugar in the perl land
and i'd expect it to be exceedingly sweet
b/c you can define arbitrary operators, the code could read so much nicer
although i'm not sure if machine learning code is meant to be read by humans
AlexDaniel what code? :) 19:24
timotimo once you're untethered from syntactical limitations of languages like python, maybe there's a way to express setting up these tensorflow thingies that's more easy to learn or understand or whatever
AlexDaniel I mean… most people don't write stuff with tensor ops themselves 19:25
you just do data preparation and stuff, and then just throw your data into the existing library to do training and evaluation
timotimo yeah 19:26
still all that stuff has to be configured and set up
tobs AlexDaniel: I was tempted at a few occasions to go beyond core. almost-primes are easy using &prime-signature for example. Other non-core sequences are specific readings of 2-ary functions which are not hard, etc.
thundergnat I would _love_ to get a native Perl 6 port of Perl 5s ntheory module. It's pretty much all gmp under the hood (with a bunch of sugar) usining if :from<Perl5> sortof works, but a native port would be awesome.
sheesh *using it 19:27
It would have made a bunch of the sequence code easier / faster. 19:28
19:28 zakharyas joined
AlexDaniel thundergnat: btw github.com/perl6/problem-solving/issues/4 19:30
19:42 irced joined 19:47 Black_Ribbon joined 20:12 lucasb left 20:25 Manifest0 left 20:32 Manifest0 joined 20:37 Manifest0 left, mowcat joined 20:39 molaf joined 20:41 Manifest0 joined 20:43 ihavenohead left
AlexDaniel thundergnat: github.com/ajs/perl6-Math-Sequence...-509029550 20:46
20:46 ihavenohead joined 20:52 |oLa| joined 21:01 Manifest0 left
TreyHarris I just discovered that I've been bugfixing and feature-adding to my private fork of Emacs perl6-mode for the past year, all this time thinking that I was doing it against perl6/perl6-mode. *blush* 21:02
I thought it slightly surprising that nobody had any issues at all with my changes or suggestions for improvements, but I supposed that just meant that most Perl 6 programmers don't use Emacs 21:03
veesh who uses emacs at all?
</joke>
MasterDuke i think the most recent survey had a higher percentage of perl6 users using emacs than the overall percentage of users in the SO survey 21:04
veesh did anyone else put their gender as mayonaise on that survey? 21:05
TreyHarris It was only when I noticed that the version in the Emacs package list didn't have my changes and tried to figure out why no package release had been picked up in the past year that I figured this out
veesh i didn't see it as a datapoint in the dump they had there
21:08 Manifest0 joined
TreyHarris I'm going to try to rebase all the bugfixes together and maybe the other changes by issue if it isn't a big pain to do so, and then maybe push them out over a two or three weekly updates 21:10
21:13 Celelibi joined 21:14 zakharyas left 21:17 fundey joined
AlexDaniel TreyHarris: I use it every day, but I'm not sure if I'm on the latest version 21:22
TreyHarris "Latest" would be 20180619.1159 -- the last time someone else committed 21:24
Ah well, I'll figure this out later, gotta start dinner 21:25
gfldex lolibloggedalittle: gfldex.wordpress.com/2019/07/07/tr...s-missing/ 21:35
21:35 Manifest0 left
thundergnat glfdex: "But fear not as Gammars are classes" Gammars? otherwise ++ 21:38
sena_kun gfldex, "none of the kown" also
thundergnat and "wont'
Should "toke" be "token"? 21:40
gfldex thundergnat: Grammar is the Perl 6 name of the class that represent grammars. 21:41
21:41 Manifest0 joined
thundergnat G_ammars 21:41
gfldex thanks, fixed 21:42
thundergnat glfdex++
gfldex The last paragraph made me realise that speaking recursion is much easier in english then in german. In german that sentence would be really unwieldy. 21:44
thundergnat "It seams" should probaly be "It seems" 21:45
21:47 veesh left 21:56 rindolf left 22:03 Manifest0 left 22:07 Manifest0 joined 22:10 roguelazer left 22:12 Manifest0 left 22:15 roguelazer joined 22:17 Manifest0 joined 22:21 pmurias_ left, pmurias left 22:27 Manifest0 left 22:30 rfold left 22:31 Manifest0 joined 22:34 Cabanossi left 22:41 Manifest0 left 22:44 Cabanossi joined 22:45 Manifest0 joined
tbrowder TreyHarris: i use emacs (changed from xemacs just before p6 was released) but i've never used the packaging servers. c 22:51
22:52 Manifest0 left
tbrowder can i still use our perl6-mode repo without them? 22:52
TreyHarris: can we see your private p6 repo? 22:55
perl6-mode repo?
23:00 Manifest0 joined 23:07 sena_kun left 23:13 Manifest0 left 23:18 Manifest0 joined 23:32 Manifest0 left 23:36 fundey left 23:38 Manifest0 joined 23:43 Manifest0 left 23:50 Manifest0 joined 23:52 Actualeyes left