»ö« 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.
cpan-p6 New module released to CPAN! KHPH (0.0.6) by 03MLDEVINE 00:05
00:31 guifa2 joined
elcaro jnthn++ I've looked at the Cro::Template months ago and really like it, very Perlish. Kudos on the design. 00:57
00:57 kst joined 01:01 guifa2 left 01:05 AlexDani` joined 01:10 AlexDaniel left
cpan-p6 New module released to CPAN! KHPH (0.0.7) by 03MLDEVINE 01:22
01:32 noisegul_ joined 01:35 noisegul left 01:37 guifa2 joined 01:44 Cabanoss- left 01:45 guifa2 left 01:50 Cabanossi joined 01:56 molaf left 02:09 molaf joined 02:15 guifa2 joined 02:17 mahafyi left 02:39 Cabanossi left, Cabanossi joined 03:07 noisegul_ is now known as noisegul 03:09 guifa2 left 03:11 squashable6 left 03:12 squashable6 joined 03:13 guifa2 joined 03:23 cpan-p6 left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined 03:34 molaf left 03:45 imhtrg joined 03:50 imhtrg left
lizmat weekly: blogs.perl.org/users/damian_conway/...-easy.html 03:54
notable6 lizmat, Noted!
03:57 farcas82regreg left 04:28 kaare__ left 04:30 jaldhar joined 04:39 guifa2 left 04:51 telex left 04:58 squashable6 left 05:04 squashable6 joined, ChanServ sets mode: +v squashable6 05:06 telex joined 05:11 telex left, kensanata joined 05:17 sauvin joined 05:18 jmerelo joined 05:22 telex joined
jmerelo squashable6: status 05:37
squashable6 jmerelo, Next SQUASHathon in 8 days and ≈22 hours (2019-07-06 UTC-14⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo releasable6: status
releasable6 jmerelo, Next release will happen when it's ready. 5 blockers. 262 out of 660 commits logged (⚠ 1 warnings)
jmerelo, Details: gist.github.com/21ce8445f544c297fa...a4b6adf941
06:03 jmerelo left 06:04 lgtaube joined 06:09 lgtaube left 06:14 reach_satori left 06:18 reach_satori joined 06:20 ravenousmoose joined 06:24 lgtaube joined 06:37 reach_satori left 06:46 dolmen joined 06:51 dolmen left 06:57 dolmen joined 07:10 reach_satori joined 07:16 avar joined, avar left, avar joined 07:19 dolmen left 07:20 patrickb joined 07:22 reach_satori left, reach_satori joined 07:27 rindolf joined, domidumont joined 07:31 ravenousmoose left 07:34 ravenousmoose joined 07:49 farcas82regreg joined 07:55 reach_satori left 07:56 antoniogamiz joined, reach_satori joined 08:00 zakharyas joined
Geth ecosystem: antoniogamiz++ created pull request #462:
Update META.list
08:00
ecosystem: a9d5665612 | Antonio++ (committed using GitHub Web editor) | META.list
Update META.list
08:04
ecosystem: 91975c7ff4 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #462 from perl6/PodUtilities

Update META.list Great! Thanks!
08:08 salva joined, dakkar joined 08:09 reach_satori_ joined 08:12 ravenousmoose left, ravenousmoose joined, reach_satori left 08:22 MasterDuke left 08:26 afresh1_ left 08:27 afresh1 joined 09:19 nepugia joined
antoniogamiz ugexe: what should I do if I cannot use zef as sudo? 09:21
09:22 ravenousmoose left
jnthn antoniogamiz: Probably to get a good answer you'll need to say what "cannot use" means 09:26
09:28 antoniogamiz left
masak .oO( cannot, as in prohibited for religious reasons ) 09:29
jnthn :D 09:32
09:36 Marcool joined
Marcool Hi all, does anybody here use the Comma IDE by any chance? 09:36
masak yes! \o/ 09:37
but it feels like you have a followup question
jnthn Nearly every day :)
masak jnthn: oh, you're a user too? nice! :P
jnthn mumbles something about dog food 09:38
Marcool masak: indeed :)
masak jnthn: eeew :P
Marcool I'm trying to start out with it… but it's giving me parsing errors on perfectly valid code
masak how rude
jnthn Marcool: Do you have an (preferably somewhat small/isolated) example? 09:39
masak I've noticed that, once the parse fails, the rest of the document typically turns red.
Marcool such as this : pasteboard.co/Ilbj2oh.png 09:41
jnthn masak: If it gets confused enough, that can be a last-gasp behavior, though it's also not a very desirable one.
Marcool jnthn: I was just in the process of extracting an example from longer code
jnthn Marcool: I suspect the most interesting thing in that example is behind the tooltip, which I can't read because of the tooltip :)
Also, is that `;` really valid there? 09:42
masak I think it's the semi... right
my guess is that's invalid code
look, it fails right after the semi
Marcool well the sorry the ; is wrong
it's not in the original code
masak haha :)
Marcool :)
masak but that's what's wrong here, I suspect 09:43
("I accidentally pasted a completely different bit of failing parse") :P
Marcool hum… no I was looking in the wrong place, that ; is there in the original code…
but strangely it compiles and runs fine 09:44
only Comma can see it's wrong :/
jnthn m: class C { has $.foo; }; C.new(foo => 'bar' ; ).foo.say
camelia Unexpected named argument 'foo' passed
in block <unit> at <tmp> line 1
jnthn Marcool: Curious, it doesn't fail like ^? 09:45
Though you're right that it's not actually a syntax error
(According to the Perl 6 compiler) 09:46
Marcool jnthn: it defenitely doesn't trigger a complier error, cos the whole code runs, I'm just wondering if I actually ever test that code path though…
maye this never runs
(it is an exception handler after all)
lizmat heh, Damian made it to HN :-) news.ycombinator.com/item?id=20281760 09:48
Marcool lizmat: oh yeah that was a good read :) 09:52
tadzik started of with the comment section :P 09:55
praise TheDamian++ for the good press 09:56
jnthn Marcool: So...a Comma parser bug probably found you a real bug? :D 09:57
But yeah, it should probably both parse it as the compiler does *and* then give you an annotation like "this semi is probably not meant to be here" 09:58
Marcool jnthn: no I totally get that semi shouldn't be there, I'm fine with the error, just supprised that project had been compiling fine before 09:59
lizmat jnthn: cro supports WebSockets, no ? 10:00
jnthn lizmat: Sure 10:02
lizmat so why doesn't the blurb on cro.services mention that :-)
jnthn lizmat: Using Cro websocket stuff on a $dayjob project, even :)
10:03 sena_kun joined
jnthn lizmat: Um...there's a WebSockets section right there on the homepage with some example code? 10:03
10:03 zakharyas left
lizmat funny, I was just looking at the < > options, and not to the left, duh 10:04
jnthn Ah :)
Maybe we can find some better layout/presentation there 10:05
10:07 ravenousmoose joined, domidumont left
lizmat added some blurb on HN :-) 10:09
10:17 satori__ joined 10:20 reach_satori_ left 11:03 antoniogamiz joined, antoniogamiz left 11:14 Black_Ribbon left 11:17 jaldhar left, jaldhar joined 11:18 jeromelanteri joined 11:34 rindolf left 11:49 domidumont joined
kawaii Are there any modules in the ecosystem for taking config values from a JSON file and seeding the environment with them? :) 12:00
Ah, Config::JSON looks like what I want 12:01
12:02 mowcat joined 12:09 Itaipu left, Itaipu joined
kawaii Surely people don't need a whole module for this? Why not `slurp` a json file and then `to-json` it? 🤔 12:10
or uh `from-json` into a hash I mean
12:13 dolmen joined 12:23 candr joined 12:27 zakharyas joined
candr Is there any way I can do something like "tap" stdin? I want to monitor for key presses in a async thread, but in a non-blocking way. I am currently trying to use getc with a timeout but it seems like a pretty hacky solution and the timeout starts yet another thread that seems unnecessary. 12:27
also, with my current solution I can really only recognize a "enter" key press because of getc()... 12:35
tobs candr: $*IN is an IO::Handle that you can call the .Supply method on to get a supply, which you can in turn tap. But I'm not sure if that's the right way to do it. IO::Handle.Supply looks like it was supposed to give you a chunked file reader instead of an something interactive. 12:38
12:38 ravenousmoose_ joined
tobs that you have to wait for enter to be pressed is because of line buffering, I assume. 12:38
candr: There is a Term::ReadKey module in the ecosystem which turns that off and already seems to present key presses as a Supply. 12:40
12:41 ravenousmoose left
candr Oh cool! I did not even think of looking at modules yet... was zoned in to looking at built in stuff. I will check that out. 12:42
12:45 Sgeo_ left, Sgeo_ joined 12:48 molaf joined
candr shoot... I need my program to also work on windows and ReadKey relies on some unix c libraries... windows always has to make my life difficult. 12:57
time to experiment with WSL again I guess... 13:02
Marcool Any reason why atom gives a "Error: spawn perl6-langserver ENOENT 13:04
?
when perl6-langserver in a terminal window works fine… ?
masak .oO( ENOENT: could not locate Treebeard ) 13:07
Marcool masak: Treebeard? Is Saruman behind this? 13:08
masak he's a big believer in technology, so the smoking gun is there, I'd say
Marcool black magic this stuff… 13:09
so where did my ENT go then…? :P
masak in all seriousness, NOENT means "no such file or directory" 13:10
so there's something it doesn't find, maybe `perl6-langserver` 13:11
ENT as in "directory ENTry"
13:11 jaldhar left 13:12 Itaipu_ joined, jaldhar joined, Itaipu left
candr TIL: NOENT means "no such file or directory" =) 13:14
masak yeah, it's not really about ents at all 13:15
13:16 khisanth_ left
masak I think "[directory] entry" was considered a more all-inclusive term than just "file", which doesn't always cover strange things like directories, pipes, and stuff 13:17
that, and the regular Unix/C tendency to use few letters for important things
13:20 sena_kun left, sena_kun joined
Marcool yeah I see that… damn I was sure the ents would have something to do with it ;) 13:21
13:21 bbkr left
Marcool ok… to atom can't find the perl6-langserver 13:21
which perl6-langserver
/usr/local/Cellar/rakudo-star/2019.03/share/perl6/site/bin/perl6-langserver
seems there's no reason for that…
$ perl6-langserver
🙂: Starting perl6-langserver... Reading/writing stdin/stdout.
13:25 sena_kun left, sena_kun joined 13:29 khisanth_ joined 13:49 Marcool left 13:54 louisono joined 13:57 candr left 13:58 zakharyas left 14:03 zakharyas joined 14:19 pamplemousse joined 14:20 AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined, mahafyi joined 14:21 sena_kun left 14:36 satori__ left 14:41 louisono left 14:51 antoniogamiz joined
patrickb What's a perlish way to merge several hashes together into one? 15:00
moritz are those nested hashes, or just one level?
if just one level, it's my %combined = %a, %b, %c;
15:00 rindolf joined 15:01 antoniog1miz joined, antoniog1miz left, antoniogamiz left
patrickb Oh, that's obvious. Thanks! 15:01
15:04 MilkmanDan left, jmerelo joined
jmerelo reminds everyone to fill the survey docs.google.com/forms/d/e/1FAIpQLS...g/viewform we're about to close it 15:05
nepugia a google survey? 15:06
jmerelo nepugia: it's a survey to know better Perl 6 users 15:07
15:07 molaf left
nepugia well, biased results, but good luck 15:07
jmerelo nepugia: I know I'm going to regret this, but... 15:08
nepugia: why will results be biasesd? You don't need to authenticate. It's just a web form.
nepugia because not everyone trusts google with their responses, so atleast in that regard it will be biased 15:09
jmerelo nepugia: you don't trust Google with the fact that you're been using Perl 6 for more than a year? Or less?
moritz every poll/survey you do online will be biased 15:11
jmerelo There's only a question that's mandatory, and it's not age.
moritz: for starters, for people who _do_ find out about it. Also, for people who are actually online.
kawaii I thought the survey was good. :) 15:12
Not too personal, and covered a lot of ground.
15:14 rindolf left
nepugia jmerelo: i don't trust them in generall, i don't evalute every perl specific query of whether that would be okay :P 15:16
15:17 MilkmanDan joined 15:26 patrickb left, dolmen left 15:29 domidumont left 15:34 domidumont joined
TreyHarris nepugia: I very much doubt the number of people who share your view (refuse to consider using anything where a "*.google.com" URL pops up) is enough to bias the whole survey. 15:37
nepugia TreyHarris: It is already biased, even if not by much ;) 15:38
TreyHarris I'd note that other form-hosting sites have had serious XSS and data breaches and frequently have ads or trackers 15:39
jmerelo TreyHarris: not to mention Facebook, Amazon and Google tracking cookies.
TreyHarris So just _navigating to_ one of them would give me pause.
moritz back when I hosted perl6.org, I'd occasionally look at the referers
and of all the search engine referers, google made up at least 95% 15:40
ususally more around 98/99%
so google avoiders can't be more than 5%, more likely much less
jmerelo moritz: as a mather of fact, I've been looking up Perl 6 related concepts in several search engines, including yandex. None of them come close to Google in terms of accuracy. 15:41
moritz: and I'm really sorry for DuckDuckGo, who are very Perl friendly, and all around good persons. But somehow the "6" in the name does not register too much.
15:43 Possum joined
jmerelo Also, at the end of the day, we are using those freedom-loving companies, the big telcos, to do all of this, good or bad sites. So, well... traffic encrypted and everything, but still, something will leak 15:43
moritz jmerelo: I also use around ddg for about 30% of my searches, can't say i'm thrilled by their Perl 6 results
15:43 dolmen joined
nepugia I do use searchx, but i have to admit the results are of very poor quality most of the time 15:43
especially when the results are pulled in from bing or reddit.. :) 15:44
TreyHarris I worked at Google and was on the Privacy Review team. I think I'm comfortable saying that any fear of giving data to Google, if justified at all, should be based only on your fear of AI targeting. Googlers take data privacy very seriously and after the last incident of an employee looking at user data without blinding it almost ten years ago, steps were taken to make that impossible without automatically
raising alarms in several other parts of the company as cross-checks.
An employee today couldn't read a particular person's data if they wanted to--well, if they wanted to avoid getting fired and prosecuted, anyway
nepugia TreyHarris: The reason i avoid google is not so much the fear of beeing tracked, but moreso the generall believe that a monopoly is not a good thing, no matter what company occupies that space 15:45
TreyHarris nepugia: So you make sure to live somewhere that has choice of electricity and water providers? Where's that? Or do you use a generator and your own well or bottled water? 15:46
(Sorry, I'll drop it now.)
jmerelo nepugia: monopolies are bad. We've all plaid the game. Been sent to jail. Got that. But it's a survey. We can set up a Raspberry at home and create a Cro website. But this is simply more convenient. We can live with the bias. 15:47
nepugia jmerelo: I am not arguing about that :)
jmerelo Also, the raspberry would be using the pipes provided by a monopoly or duopoly in most countries.
I mean, it's just a survey.
nepugia You can choose whatever tools you think are apropriate, in the end it is only my problem if i don't want to participate
15:47 kensanata left
nepugia TreyHarris: There are cities where you don't have a choice for who provides your elecritiy? 15:49
jmerelo nepugia: there are whole countries. 15:50
TreyHarris nepugia: I've never encountered a city that had two separate power grids except for redundancy for hospitals and such 15:51
huf there's got to be one *somewhere* :D
TreyHarris You can choose whose generators you're paying, if you want to pick a renewable-only provider, but that's just bookkeeping--you're still gettig the same electrons
nepugia Sure, but from whom you buy it is still a different story
trying to be less dependant on your sorounding is not the same as not wanting to buy from a monopoly :P 15:52
huf how long did it take after the fall of the berlin wall to put both halves of the city on the same grid?
TreyHarris The company that lays the lines is a monopoly, the company that provides the pipes is a monopoly
huf: 3 years 15:53
nepugia Doesn't have to be, I really doubt that it is /one/ company anyhow
huf there we go!
nepugia in any case.. we are wandering more and more offtopic :)
huf same city, two grids!
and as we all know, berlin just after the wall came down is a 100% typical example of a city :D 15:54
nepugia berlin as it is now is still a bad example of a city ;) 15:55
huf i mean, it's big. so it's definitely an outlier. the average size of a city has to be very small 15:56
jmerelo Going back to where it's started: docs.google.com/forms/d/e/1FAIpQLS...g/viewform
We're up to 175 answers now, I'd like to close it when it reaches around 200 (but it's going ot be difficult) 15:57
TreyHarris difficult to reach 200? or difficult to close it? 15:58
jmerelo TreyHarris: we will just stop paying attention and start charting results 15:59
TreyHarris: difficult to reach 200, I would say.
Woodi hi #perl6 :)
kawaii hello! o/ 16:03
Woodi TreyHarris: I think I like gmail for one thing: they are, imo, first free webmail that goes SSL. and obviously search engine is good. but ;) a) I HATE advertisements ! and google live from this; b) free servicess killed self-hosted services...
nepugia free self hos... no that doesn't work :p 16:04
unless we send everone an arm board to plug into their wall socket to make their email services :P
Woodi but ;) b) is unrealistic anyway, ppl hate to pay :)
nepugia: also administration and upgrades by ppls is a fiction-fiction :) 16:05
nepugia indeed 16:06
TreyHarris I think it's fairly likely that the EU and the US (followed by other countries once those two move) will have laws that allow people to opt out of all advertising and tracking in exchange for paying a fee; recent estimates put it at around US$35 for the typical user (up to about US$40 if you use Gmail, down to US$20 if you don't use Facebook or a free email or other messenging/social media service) 16:07
sorry, those dollar amounts are monthly
16:08 satori__ joined
nepugia payed to whom? 16:08
I certainly never agreed to load random third party ressources when i load a site, incidentally i don't even mind ads themselves, i mind the garbage that comes bundled with it 16:09
(some sites deliver ads as normal pictures, which is just fine imo)
TreyHarris: also, how will you opt-out of advertising if it is literally on subway walls, do you get one of those google glass things to censor the ads out? ;) 16:10
Woodi btw. anyone know something about Clojure transducers ? they generalise map/grep/reduce but have some requirements I not grok... eg. chain of map/greps 'fails' so function need to returns error but functions later in chain still need to be called ? - yt-level-knowledge - sory :) or maybe after fail rest of items need to be processed ?
TreyHarris nepugia: how do subway wall ads track you? I don't follow. The idea is you can choose not to be tracked and to be able to use advertising-supported services by paying the company for the revenue they're losing for not being able to advertise to you. That gives you a third choice besides "be tracked and advertised to" and "don't use the sites". I'm not thrilled with what that means for haves vs. have-nots, but 16:14
you can't regulate companies into losing money (at least not for long and not with their cooperation)
zostay What are others using for the #! line? I just discovered that if I do run "foo.p6" where the #! is something like #!/usr/local/bin/perl6 that the script gets sent bash instead. I've only found #!/usr/bin/env perl6 to be successful, but that's always felt janky to me, but I still use it.
jmerelo zostay: #!/usr/bin/env perl6
nepugia TreyHarris: i never claimed they track you?
I already have a third choice now, just don't load the scripts 16:15
TreyHarris nepugia: then why would you think a law covering internet tracking and advertising would have anything to do with a subway ad? You're just being silly
nepugia I certainly can't be forced to execute foreign code on my hardware
jmerelo zostay: not janky... I use it in every language
kawaii `/usr/bin/env` is a way better way of forming your shebang in most cases
nepugia doesn't matter what you put into the shebang pretty much, they are not portable, and posix sais the installation script should just rewrite shebangs 16:16
TreyHarris: You weren't specific, and 40$ something sounds ridicilous if it were only 'online' advertisements 16:17
>you can't regulate companies into losing money
moritz sorry folks, could weplease go back to Perl 6 topics? 16:18
TreyHarris nepugia: www.vox.com/recode/2019/6/24/18715...a-ads-cost I'm not making these numbers up
sure.
let's drop it.
jmerelo moritz: let's go to the survey results, for instance. Still, almost 4 out of 5 Perl 6 users come from Perl 5. I would have expected that percentage to go down with time. 16:19
Perl 6 talks outside Perl events are still residual, I'm afraid.
moritz jmerelo: agreed
nepugia bought a perl6 book at fosdem
moritz nepugia: nice, which one? 16:20
nepugia Perl 6 Deep Dive 16:22
Geth doc: 1c57f0d08d | (Trey Harris)++ | 2 files
Elaboration of Failures

Explain use fatal in place under Failure rather than just in pragmas, and explain the `with` handling idiom.
The idiom is useful in explaining why one might use topicalization with `else`, so also include that.
Finally, fix the with/orwith/without heading; unlike the other control structures, it's lacking code tagging in the header.
jmerelo TreyHarris++ 16:23
16:24 jeromelanteri left
TreyHarris Ugh, and of course I see a typo the moment I look at the review. I wrote C<orwith/else> instead of C<orwith/elsif>. heh. 16:24
Geth doc: 7919392575 | (Trey Harris)++ | doc/Language/control.pod6
Minor: fix typo

  "else" should have been "elsif"
16:26
synopsebot_ Link: doc.perl6.org/language/control
16:26 cpan-p6 left 16:27 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
TreyHarris Interesting that my earlier commit lost its PGP signature... I guess autosquashed commits don't get automatically signed even if each commit making them up were signed. Makes sense, but is still surprising. 16:28
It also dates it from the first commit of the autosquash 21 hours ago, not the last commit of, like, 10 minutes ago. Weird. 16:30
16:34 jaldhar left 16:39 avalenn joined, dakkar left
Woodi re: Perl6 newcomers: we need app everyone wants like phpmysql or phpbb or blender (python ui). killer ap would be good too :) 16:40
maybe some monitoring dashboard ? 16:41
TreyHarris jmerelo: Is it a known issue that docs.perl6.org hasn't updated in 11 days?
It isn't the last time CI passed; CI's been failing a lot longer than that 16:42
Woodi: something with grammars, maybe. I was thinking of trying to write up a generalized tool for something I did many, many times as a sysadmin: classify a file's (or, more often, many files') lines so that you can do statistics on them. I think grammars are helpful for that since you can make tha action record the line number(s). 16:44
Woodi TreyHarris: I just wanted to ask: "let someone tell me Perl6 good features" :) grammars are first bat what else ? code readability isn't for users... 16:47
TreyHarris jmerelo: Also, I just included the same code snippet in two places because it explains how two things (Failures and else topicalization) are related. Will the update work include a way to do includes so I could have that code just one place?
Woodi: for me, I would kill for a framework that does what the Elm architecture does, but I'm not sure if the JS backend is in shape for that kind of heavy lifting yet. A lot of Perl 6 features seem well-suited to that sort of "building up web elements programmatically", if Perl 6 could directly address the DOM, though. 16:49
16:50 nepugia left
TreyHarris Elm is lovely, but even as a 25+ year Haskeller, it frustrates me (though, it has to be said, more often for the parts of Haskell it doesn't implement than for being a Haskell derivative) and I'd like a different language than JavaScript or Elm that can do that stuff 16:50
zostay I will continue to use the /usr/bin/env perl6 shbang, but I did report the my odd behavior as a bug. Hopefully, it's just some odd quirk of how my laptop is setup. 16:51
kawaii I'd like to see a CMS of sorts (i.e. WordPress-Lite) in the Cro framework :) 16:52
Woodi what about Emacs replacement ? :)
or just org-mode. pleas ? 16:53
TreyHarris Woodi: of all things the world does not need, another programmable editor is the top of the list.
Woodi can't agree :)
jmerelo TreyHarris: I just did
TreyHarris: it's done by hand, mostly by me; it can be done by anyone with access to the new site, somehow. 16:54
Woodi we need such able-to-be-programed ui
TreyHarris jmerelo: you got the version with my typo still in it, dang ;-)
jmerelo TreyHarris: we should have to do it automatically.
TreyHarris: I can do it again later... 16:55
TreyHarris: I'm afraid pod includes do not work yet...
16:56 pamplemousse left
jmerelo TreyHarris: now that you mention CI failing, it's this issue: github.com/rakudo/rakudo/issues/2977 16:56
TreyHarris: I can't get it to work. I have no idea where to obtain the right version of that library from repos, or if they even work for those versions of ubuntu 16:57
TreyHarris I think when you're talking cross-platform programming editors, there's Vim, there's Emacs, and then there are domain-specific editors like IDE's.Sublime Text and Atom and such I think come under the third category "pretty, easy, or whizzy". I think new editors can only enter expecting any chance of being a success, let alone a "killer app", if they're in one of the latter two categories. The "general-purpose
programmer's editor" is going to continue to be Vim and Emacs for the forseeable future.
Since Perl 6 isn't really suited yet to being a language you write a beautiful user-facing UI in, I think that puts "editor" in the realm of "stretch goal that makes you work on making the language itself better with no real expectation of ever actually getting the goal thing" 16:59
17:00 dolmen left
Woodi I want such universal *ui/framework*. something something not very specified.... maybe I mean "architecture" generally editor need anyway ;) 17:01
*need to be included :)
also blender ui architecture is such configurable that I'm jealous :) 17:02
so maybe dbus ? ;) 17:03
TreyHarris Woodi: if you can rewrite blender in Perl 6, that will be an amazing feat--and if it's programmamble in Perl 6, it'll immediately be far more accessible than Blender + Lua, since Blender's Python API really requires API programming expertise, and its Lua scripting is a pain 17:04
Actually... not to crap all over Lua, Lua's fine, but you could go down the list of everything that has Lua embedded to look for candidates for your application :-) 17:05
(Though, to be fair, Blender's pretty damn weird-looking as a Windows or Mac application, and "weird-looking" can't be beautiful to a large subset of programmers--an app's first claim to beauty is if it looks at home in its surrounding UI.) 17:07
(Sorry to keep going on this, but one more thought: *I* think Blender's quite beautiful--in its latest version. But I also agree that it just looks wrong on Windows or Mac.) 17:08
17:09 kaare__ joined
Woodi yea, blender is just "full screen" app :) 17:14
timotimo it looks wrong everywhere :) :) 17:21
TreyHarris timotimo: somebody's got to have written a Linux window manager that matches it 17:22
17:22 pamplemousse joined
TreyHarris hell, there's a window manager written in Emacs Lisp now, so I refuse to believe nobody's done that 17:22
timotimo perhaps, but that's far from enough if you still have other programs on the computer
TreyHarris Gnome may have dropped off the theming train, but KDE is themable enough, if anyone still uses it, I think 17:23
Woodi TreyHarris: what you mean by "clasiffy lines in file" ? and what's nice in Elm architecture ? 17:24
timotimo i'm sure there's only afew kde users left; most of them have moved on to plasma 17:25
:P
TreyHarris Woodi: those were two different thoughts
Woodi: The "classify" thought: For instance, doing something like Splunk or other operations systems do with logging statistics, or that things like Purify do with giving statistics on a large codebase, so you can get answers like "have my fatal log messages increased over the past month, what's the 99th percentile frequency of exception $x being thrown, how many public static methods do I have in C++ files", 17:28
etc.
17:28 domidumont left
TreyHarris Woodi: the Elm architecture just has to be experienced (and it's a very fun thing to play around with): guide.elm-lang.org/ but, for the tl;dr version... 17:29
It lets you define a web widget in terms where the argument is a datastructure and the output is HTML (provided in a form that makes tags look like functions), and then you just create events that create and modify the datastructure, and voila, you compile down to JavaScript that will provide a live client-side widget. See gist.github.com/CliffordAnderson/9...bc68de5fd6 for a simple 17:32
counter example, and that is a full Elm web app in 29 lines of code
(If you don't know Haskell, it will be pretty inscrutable to you, but if you know Haskell it should be very familiar.) 17:33
17:36 lucasb joined 17:38 imhtrg joined
kawaii Sorry for self-advertising, but I'm working on a bot project for Discord Hack Week, no one else is allowed directly write code for my submission directly but if anyone has time to do a little code review or drop a star on my repo I would super appreciate that :) 17:41
github.com/kawaii/p6-rose
I'm quite new to working in this OOP way so I'm not 100% sure I'm doing everything by the book but any encouragement would help! Thanks!
TreyHarris on #emacs right now, the general opinion seems to be that Perl 6 is a myth or a hoax. ;-) 17:48
Woodi Perl6 is Lisp descendant ;) 17:49
17:49 m0ltar_ joined, gks_ joined 17:50 DrForr_ joined 17:53 m0ltar left 17:57 karupanerura joined
jmerelo kawaii: star dropped 17:59
18:00 telex left
kawaii jmerelo: thanks! :) 18:00
18:00 demanuel left
TreyHarris Is the Perl 6 Discord a separate beast from this, or are they bridged? 18:01
kawaii TreyHarris: they're bridged
discord6 <kawaii> as you can see 😉
TreyHarris Okay. I'm always on Discord but I'm also always on IRC, so sounds like I don't need to bother with a Discord invite 18:05
cpan-p6 New module released to CPAN! KHPH (0.0.8) by 03MLDEVINE 18:06
18:19 jmerelo left
TreyHarris cpan-p6 should include a link 18:19
My irc client (WeeChat) keeps highlighting #perl6, but I haven't seen anything since I wrote "cpan-p6 should include a link" seven minutes ago. 18:26
Weird
timotimo i have weechat too
what do you mean "haven't seen anything"? 18:27
oh, i didn't see anything there, either
TreyHarris maybe there was a delayed highlight event or something? who knows 18:28
18:28 imhtrg left 18:29 sauvin left 18:32 Woodi left 18:35 nepugia joined 18:41 zakharyas left 18:49 Woodi joined 18:50 pecastro joined, pecastro left, pecastro joined 18:55 Black_Ribbon joined 18:58 grumble left, grumble joined 19:04 Sgeo_ left, Sgeo_ joined 19:05 telex joined 19:08 roguelazer joined
Geth doc: 5de7581c46 | Coke++ | xt/words.pws
learn new words
19:11
19:17 imhtrg joined 19:34 molaf joined 19:37 MasterDuke joined 19:44 rindolf joined 19:59 yht_ joined 20:19 veesh joined 20:27 Hermit joined
Hermit what's the best way to propose/make documentation fixes 20:30
veesh the mailing list was popular recently
Hermit for small fixes? it seems too broadcast 20:31
timotimo if you have a github account, you can send in a pull request 20:32
MasterDuke Hermit: to here github.com/perl6/doc
timotimo if you don't, you can still use git, create a commit, use "git format-patch" and put the result on some pastebin service
Hermit ok that's what i thought -- i just don't want to spam anyone with small details
timotimo then someone else can just apply and push that
with "git am" 20:33
Hermit i can submit pull reqs 20:34
MasterDuke those are very welcome 20:36
20:41 veesh left, veesh joined
Hermit what is supposed to be at testers.perl6.org/ 20:44
timotimo that used to host "cpandatesters"
20:44 APic joined
timotimo a pun mash-up of cpantesters and the previous module installer for perl6 which was called panda 20:45
i'm not sure if it actually got new data submitted to it in the last years?
and then the server died
Hermit how about smoke.perl6.org/ 20:46
timotimo i think that's superceded by blin
Hermit could both be removed? the broken links give a diminutive feel to the community page 20:47
timotimo would be a good idea; where did you find the links?
Hermit perl6.org/community/
timotimo ah, yes 20:48
if you could, a pull request would be great
Geth ¦ problem-solving: AlexDaniel assigned to jnthn Issue read-bits/read-ubits on Int as well? github.com/perl6/problem-solving/issues/51 20:57
AlexDaniel squashable6: status
squashable6 AlexDaniel, Next SQUASHathon in 8 days and ≈7 hours (2019-07-06 UTC-14⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel rba: alternatively we can redirect smoke.perl6.org to github.com/perl6/ecosystem-unbitrot 20:59
timotimo randomly thought to run a modules.perl6.org rebuild 21:00
AlexDaniel Hermit: what's your github handle?
21:01 aindilis left
Hermit mjml 21:01
i'm still immersing myself in the doc tree 21:02
AlexDaniel Hermit: I invited you to the perl6 org, now you should be able to fix things directly 21:03
in the doc repo at lesat
least
Hermit ok, i'll get there eventually
21:04 empee0 joined
Hermit ah, I just recognized you from adventcalendar 21:07
21:09 empee0 left 21:12 pamplemousse left 21:13 pamplemousse joined
rba AlexDaniel: All is mapped to timotimo server. timotimo can you do a redirect? 21:17
AlexDaniel Hermit: me? What was the post about? :) 21:22
timotimo that's not timotimo server :) :) 21:30
rba timotimo: ok 21:39
21:41 pamplemousse left
Hermit AlexDaniel: blin 21:43
AlexDaniel ah, yes 21:44
interesting, I thought Blin is not that old
first commit Oct 21 21:45
Hermit it's a small internet
AlexDaniel I totally forgot that I wrote an advent post about it :)
kawaii Is there any way of referring to a method as a callable? :) 21:52
timotimo sure, you can .^find_method 21:53
kawaii oh!?
21:56 aindilis joined
timotimo but the thing you get won't hold a reference to the "right" "self" 21:57
if you want that, the easiest way is to just have a tiny closure 21:58
TreyHarris just like `-> { $thing.method }`, or is there a better idiom? I can think of three ways at least to do it 22:04
22:05 kst left
timotimo yeah, that'd usually do it well 22:06
22:07 MasterDuke left
Xliff Wouldn't "-> { my $meth = nextcallee; $meth() }" work? 22:14
Ir is that only through wrap?
timotimo huh, i hadn't considered whether nextcallee would go outwards because a pointy doesn't have a dispatcher? 22:15
22:27 nepugia left
Kaiepi releasable6, status 22:42
releasable6 Kaiepi, Next release will happen when it's ready. 4 blockers. 262 out of 660 commits logged (⚠ 1 warnings)
Kaiepi, Details: gist.github.com/a7e69aa3d9ec0bb369...6896887150
Kaiepi soon(tm) 22:43
veesh why isn't there an ubuntu ppa for perl6? 22:56
or a snap, or something 22:57
timotimo github.com/nxadm/rakudo-pkg#os-repositories - there's this
it has a thing for ubuntu
but it's not a ppa
veesh is that on the official site also?
i'm trying to figure why i haven't seen this before 22:58
kawaii www.irccloud.com/pastebin/398tV6Iv/
having these odd errors when installing modules via zef
`archive file does not exist: /root/.zef/tmp/1561589839.440.3294/cro-core-0.8.0.tar.gz` 22:59
that one stands out the most
22:59 nuclearsandwich_ joined
kawaii this is the command in my Dockerfile www.irccloud.com/pastebin/odXoVzZf/ 22:59
timotimo it failured to downloaded the file but didn't return nonzero? 23:00
kawaii I'll re-run it
different error now, missing package I assume? www.irccloud.com/pastebin/0y0y1bWv/ 23:02
timotimo it's not easy to have a c compiler without stdio 23:03
sounds like you want libc-dev 23:06
actually libc6-dev 23:07
kawaii went with `build-essential`, probably has all that I need :) 23:08
`Cannot locate symbol 'sk_num' in native library 'libssl.so'`, hm, pretty sure this is part of libssl-dev, no? 23:09
ah, I need libssl1.0-dev specifically 23:10
timotimo yeah, they changed something somewhere 23:11
23:15 yht_ left 23:26 kst joined 23:41 imhtrg left 23:43 veesh left 23:45 Cabanossi left 23:49 pecastro left 23:50 rindolf left 23:54 Cabanossi joined 23:59 Hermit left