»ö« 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.
buggable New CPAN upload: Cro-RPC-JSON-v0.0.1.tar.gz by VRURG modules.perl6.org/dist/Cro::RPC::JSON:cpan:VRURG 04:55
Herby_ can i have a pm6 module called 'minigrep', and inside that module have a function called 'minigrep'? 05:23
when i try, i get an error "Cannot invoke this object (REPR: uninstantiable, minigrep) 05:24
trying my hand at this Rust project, using p6. stumbling out the gate on getting a basic module together 05:31
doc.rust-lang.org/book/2018-editio...oject.html 05:32
Herby_ I restructured it to be App::Minigrep, seems to work now 05:40
geekosaur I think "minigrep" is a recent(?) addition to the setting… that's not supposed to leak. 05:46
in any case, REPR: uninstantiable is almost always an internal error of some kind, unless you're playing games with indirect invocation; file a bug 05:47
Herby_ geekosaur: thanks, definitely not intentionally playing any games 05:53
i'm a novice with github and bugs. what repo should i submit this to?
and very likely its not a bug, i'm likely stepping on my toes somewhere
geekosaur github.com/rakudo/rakudo/issues
no, if you're getting "REPR: uninstantiable", either you've done &{expression producing nonsense} or there's a compiler or setting bug 05:54
Herby_ ok i'll get a bug submitted, thanks 05:56
geekosaur in fact I thik uninstantiable there implies an nqp type
which is a "shouldn't happen" unless you're poking nqp
Herby_ basically I had: lib/minigrep.pm6: unit module minigrep; sub minigrep() {put "test"} is export 05:57
then bin/main: use minigrep; sub MAIN($a, $b) { minigrep(); } 05:58
geekosaur right, that should never produce that
Herby_ k
geekosaur so you collided with an internal name that it's not supposed to be possible to collide with
Geth doc: 7c0bd57558 | (JJ Merelo)++ | doc/Type/IO/Handle.pod6
Some rewriting, reformatting and reflow
06:53
doc: 1b90fc6e4e | (JJ Merelo)++ | doc/Type/Str.pod6
Some reformatting
synopsebot Link: doc.perl6.org/type/IO::Handle
Link: doc.perl6.org/type/Str
doc: 249b2f7ee8 | (JJ Merelo)++ | assets/sass/style.scss
Changes style for head3, closes #2324
doc: a84e8023e0 | (JJ Merelo)++ | doc/Type/Str.pod6
Reformats Str to use head3
06:55
synopsebot Link: doc.perl6.org/type/Str
buggable New CPAN upload: PDF-Font-Loader-0.2.3.tar.gz by WARRINGD modules.perl6.org/dist/PDF::Font::L...n:WARRINGD 07:45
faraco hi! what is the point of using 'use v6.x'? Is it the same idea like Perl5's 'use v5.10' and alike to ensure that source code backward compatibility? 09:45
lizmat faraco: yes 09:51
faraco lizmat: I see. Thank you for enlightening me. 09:53
lizmat you're welcome :-)
moritz also, with "use v6" you get a much better error message when you accidentally run the code through p5 09:58
which has happened several times to me
dazlok moritz: noted :) 10:00
Zoffix dazlok: one major difference from Perl's tho is without `use v6.X` we'll default to latest available version the compiler can support. 10:44
Zoffix dazlok: also, I believe in Perl `use v5…` is lexical, whereas in Perl 6 it's per-comp-unit 10:47
(at least for now)
buggable New CPAN upload: JSON-Fast-0.9.12.tar.gz by TIMOTIMO modules.perl6.org/dist/JSON::Fast:cpan:TIMOTIMO 11:25
timotimo ^- with big thanks to lizmat 11:27
lizmat this brings parsing of projects.json to .19 down from .45 11:33
at least on my machine :-) 11:34
moritz timotimo++ lizmat++ 12:04
timotimo lizmat++ 12:05
buggable New CPAN upload: IRC-Client-Plugin-UrlTitle-1.1.3.tar.gz by TYIL modules.perl6.org/dist/IRC::Client:...:cpan:TYIL 12:45
rindolf hi all 13:37
AlexDaniel hello 13:39
El_Che, dogbert17: 2018.09 is out \o/
dogbert17 AlexDaniel++ 13:41
El_Che AlexDaniel++ 13:44
AlexDaniel: let's take it for a spin before packaging: travis-ci.org/nxadm/rakudo-pkg/builds/432137815 13:48
AlexDaniel El_Che: I did test it with canary before the release, fwiw
El_Che I need to add a few new distro releases
but it should be ok
thundergnat m say 5 / 2**30 / -2 # R#2280 14:13
synopsebot R#2280 [open]: github.com/rakudo/rakudo/issues/2280 [math][regression] Core dump when dividing some Rats with denominator 2**30 by -2
thundergnat m: say 5 / 2**30 / -2 # R#2280
camelia (signal FPE)
Zoffix samcv++ AlexDaniel++ # release
thundergnat I rather suspect this is related to R#2157 and NQP github.com/perl6/nqp/issues/363 but haven't been successful in tracking it down. 14:13
synopsebot R#2157 [closed]: github.com/rakudo/rakudo/issues/2157 [math][regression][⚠ blocker ⚠] Wrong math in Int + Int
thundergnat AlexDaniel++ and samcv++ indeed. 14:15
El_Che AlexDaniel: I suspect a flipper: travis-ci.org/nxadm/rakudo-pkg/jobs/432137829 14:20
AlexDaniel: put the error here: gist.github.com/nxadm/311b8cabefae...1d0df364c8 (rerunning the build, so it will disappear) 14:23
AlexDaniel yeah 14:38
El_Che rerunning the build passes all tests 14:39
Geth doc: threadless-screw++ created pull request #2325:
Closes #2321
14:58
RuthlessDust Hello 14:59
Herby_ o/ 15:14
Zoffix thundergnat: you know about bisect robot? 15:15
thundergnat: it points to a version bump commit in rakudo as the cause of that bug, so it should be one of these MVM commits: github.com/MoarVM/MoarVM/compare/2...-g0b81969d 15:16
thundergnat Zoffix: yes. at least I know of bisectable in IRC. Is there an offline version?
El_Che AlexDaniel: github.com/nxadm/rakudo-pkg/releas...g/v2018.09 15:16
Zoffix thundergnat: the one on IRC is the only one I know of 15:17
El_Che weekly: new Linux packages released for 2018.09: github.com/nxadm/rakudo-pkg/releas...g/v2018.09
notable6 El_Che, Noted!
geekosaur it should do /msg / /query though 15:18
Zoffix I think that's disabled, but there's #zofbot and #whateverable channels where you can spam all you want
m: use nqp; dd nqp::div_I(nqp::div_I(5, 1073741824, Int), -2, Int) 15:20
camelia 0
jmerelo AlexDaniel++
thundergnat I've eyeballed every one of those commits and haven't figured out which may the culprit. They all seem pretty far removed from mathy operations :/ 15:21
*be
geekosaur sourceware.org/gdb/wiki/GDB%20Front%20Ends notably github.com/cs01/gdbgui
er
mischan
Zoffix tries golfin' it 15:24
Zoffix insting 15:27
m: use nqp; dd nqp::div_I(1073741824*-2, -1, Int) 15:28
camelia (signal FPE)
Zoffix But if you calculate `1073741824*-2` and use that as the value, then no issue
timotimo do we just have to make sure to use non-signalling floating point arithmetic or something?
Zoffix prolly 15:32
dogbert17 suspects the following commit: github.com/MoarVM/MoarVM/commit/d0...552aa48426 15:36
Zoffix suspects that commit merely revealed the real bug 15:37
dogbert17 suspects that Zoffix might be correct :) 15:38
Zoffix hmm 15:39
Can a MVMP6bigintBody just be cast to (long long)?
uh, it's a pointer actually 15:40
dogbert17 Zoffix: reverting to the old behavior reveals that instead of FPE we get -0.00000000233 15:41
Zoffix nm, I was looking to wrong line
Zoffix I'm failing to find the definition of MVM_bigint_mul 15:49
eh, fuggit. Should be doing something else right now 15:50
El_Che AlexDaniel: looking forward to the new rakudo. I moved my zfs snapshotting and backuping scripts to perl6, so fingers crossed! :) 15:52
Zoffix Commented what I could find on github.com/rakudo/rakudo/issues/22...-423826278 15:54
AlexDaniel thundergnat: there's no offline version, but there's this as a module: github.com/perl6/whateverable/blob...ection.pm6 15:54
so it should be possible to build a tool like that
though there's some logic in the bot itself also: github.com/perl6/whateverable/blob...ectable.p6 15:55
El_Che: I actually can't wait for 2018.10 :D 15:58
lizmat AlexDaniel: are you actually going forward with moving JSON::Fast into R:I ? 16:00
El_Che AlexDaniel: I am happy nowadays that I can add the repo's to my home server and containers at work and easily get the latest release 16:01
less hassle
AlexDaniel lizmat: that's the thing, nobody is working on it even though it sounds like somebody does 16:02
:)
lizmat he
lizmat well, I had some more optimization ideas: so perhaps we should do those before incorporating it 16:02
jmerelo lizmat: please do that 16:04
rindolf hi all, sup? 16:22
El_Che rindolf: new release
rindolf El_Che: ah, nice 16:23
jmerelo This article on increasing Rust's reach could be interesting rahul-thakoor.github.io/my-experie...each-2018/ 16:44
Geth doc: ef3187a970 | Alexander++ (committed using GitHub Web editor) | doc/Type/Signature.pod6
Closes #2321 (#2325)

  * Closes #2321
  * Correction of indefinite/definite typo in earlier commit
16:55
synopsebot Link: doc.perl6.org/type/Signature
kiwi_74 m: say 1 17:14
camelia 1
pmurias MasterDuke: do you think it would make sense to use the Google Java Style Guide (google.github.io/styleguide/javaguide.html) for the truffle backend code? 17:30
pmurias MasterDuke: the biggest difference would be it uses 2 spaces of indentation 17:32
MasterDuke: I don't really care about all the exact stylistic particulars, just want something that's automaticably checkable/has a formater 17:33
MasterDuke pmurias: exactly how i feel 17:34
though i wouldn't choose 2 space indent if it was up to me
pmurias me neither ;) 17:38
kurahaupo waves vaguely in the direction of gofmt 17:43
leont generally doesn't like languages that are simple enough to automatically format 17:46
leont "When in java land, do as the javans do" would make sense though 17:47
tyil weekly: www.reddit.com/r/ProgrammingLangua...o/e6i113i/ 17:52
notable6 tyil, Noted!
pmurias leont: what languages are complex enough that they can't? 17:55
leont I doubt a formatter would do a good job of perl6
In my experience, clang-format can't handle C++ all that well either (unless you stay away from features like closures) 17:56
Actually, I think closures is where it usually goes wrong
pmurias leont: I hope Perl 6 ends up with a good format 17:57
leont Mainly because IME you often can't judge how something should be folded by simple rules as "always on a new line" or "always on the same line"
pmurias perltidy works well in Perl 6 17:58
* Perl 5
pmurias spending time (re)formatting code instead of having a tool do it always feel super lame/boring/unfun to me :/ 18:00
jmerelo squashable6: status 18:07
squashable6 jmerelo, Next SQUASHathon in 11 days and ≈15 hours (2018-10-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo AlexDaniel: do we know which modules are going to need help? 18:08
leont IME perltidy also struggles with closures. 18:09
Though perhaps that just was my configuration, it's not like I've tried tinkering with that in years 18:10
timotimo hello Any14Coffee 19:01
there should be a couple of people awake right now
Any14Coffee Hey, wondering if I can ask a silly question? Just breaking my gums in Perl and little stuck 19:01
timotimo should be fine 19:02
if it's about perl 5, though, we may tell you where to ask instead :)
this is the channel about perl 6 in particular
Any14Coffee So I'm using a regex to match the output of a ping on Linux and recording the min,avg and max response times 19:03
However there is a part of a code I'm using I'm struggling to understand
Looks like this
timotimo oh
hold on a second
IRC is very bad at pasting large chunks of text or code 19:04
may i ask you to use some manner of pasting site, like nopaste or gist on github or whatever you find, really
Any14Coffee I don't need all the code just like 10 chars
timotimo oh, 10 chars is fine, 10 lines would be bad :)
go ahead, then
Any14Coffee Haha oh yeah!
If ($data[10] =~ 19:05
El_Che that looks like perl 5
Any14Coffee What is the bit in square brackets doing? 19:05
timotimo that's fine enough to answer
El_Che Any14Coffee: it's an index of the array
lizmat the eleventh element of array @data 19:06
timotimo yeah, you'd have multiple entries in @data, and $data[10] will give you the 11th entry (the first one is numbered 0)
AlexDaniel .tell jmerelo yeah, thanks for poking me. It's going to be an opt-in thingie, so module authors who are interested should set up a hook. I was planning to wait for hacktoberfest news first before setting it up, but there's no info yet. I'll check back tomorrow or in two days or so. 19:06
yoleaux AlexDaniel: I'll pass your message to jmerelo.
AlexDaniel I guess those participating in this squashathon will receive both a T-shirt from digitalocean and a plush camelia from lizmat 19:07
lizmat AlexDaniel: I thought only the winner ?
AlexDaniel oh yes, the winner I mean
Any14Coffee Ah ok, that makes sense and I'd read about them just wasnt sure, thank you
lizmat *phew*
AlexDaniel lizmat: picking the wrong words lately… thanks for correcting :) 19:08
though digitalocean sends a t-shirt to almost everyone, as long as you have at least 3 PRs I think?
El_Che so, If I understand correctly, everyone that joins the channel will get a butterfly with a personalized note from liz?
:)
lizmat eh, no ? 19:09
AlexDaniel lizmat: he's joking :)
lizmat I know
and I know who's making the joke :-)
I will talk to him at the next Brussels.pm meeting, or FOSDEM, whichever comes first 19:10
AlexDaniel El_Che: by the way, whoops, assumed gender. 19:10
El_Che: sorry 19:11
lizmat AlexDaniel: I know the gender assumption to be correct :-) 19:11
AlexDaniel whew :)
El_Che I not sensitive to whatever gender you assume I am, I will correct you in a sutle way if wrong :) 19:12
cheese_cake__ hello 19:13
im new to Perl 6 and IRC 19:14
lizmat cheese_cake__: hello, welcome! 19:15
El_Che Double welcome!
cheese_cake__ hi :)
i was directed here from the perl6 subreddit
AlexDaniel nice 19:16
cheese_cake__ i've written a hello world program in perl 6 but that's about it so far 19:17
El_Che cheese_cake__: it's a fun journey 19:18
timotimo o/ 19:19
cheese_cake__ so it seems, unfortunately I can't seem to find much information on it. All of my results are for perl 5. 19:21
El_Che cheese_cake__: that's true. The naming results in "Google trouble". In the beginning, though, doc.perl6.org is your friend 19:22
cheese_cake__ great
cheese_cake__ im trying to use something like python's input() function in perl 6, i've found slurp, but i'd like it to wait for the user to press enter, then return a value 19:23
maybe that's just not how perl 6 works though
timotimo you'll be interested in "prompt", then
El_Che "prompt"
timotimo slurp will slurp up all input that is available 19:24
so to finish it up you'd have to ctrl-d or otherwise EOF the input stream
cheese_cake__ is there a function in the standard library to stop reading at a \n? 19:25
El_Che docs.perl6.org/routine/prompt
timotimo get will do that, too
prompt is pretty much "output what you pass, then get()"
cheese_cake__ i see 19:26
thanks!
oh, and the docs said that the difference between say and put is one calls gist on the string, what does that actaully do. I read the gist doc page and couldnt figure out what it meant
El_Che cheese_cake__: there are repl bots in this channel, when you need some feedback 19:27
m: say 'Hello world!'
camelia Hello world!
timotimo the difference is not for strings, but for bigger things
if you have a big list, gist will only print the first few entries
cheese_cake__ m: my thing = "hi"; put $thing;
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed my (did you mean to declare a sigilless \thing or $thing?)
at <tmp>:1
------> 3my thing7⏏5 = "hi"; put $thing;
El_Che good error catching for free :) 19:28
cheese_cake__ is the bannerbot written in perl 19:33
timotimo i think it is 19:34
El_Che cheese_cake__: in perl 6 by zoffix 19:36
AlexDaniel github.com/zoffixznet/perl6-banbot
cheese_cake__: actually, it seems to be indexed already 19:38
AlexDaniel cheese_cake__: if you type “input” into the search field on docs.perl6.org/ it already says “input (Python)” 19:38
AlexDaniel which links to `prompt` :) 19:38
I was about to create a ticket for that but I'm glad somebody did it already
cheese_cake__ how similar is perl to perl 6 19:39
El_Che cheese_cake__: difficult question. Way bigger difference than between python 2 and 3. Less than between say C and Go 19:41
El_Che I see it more as a cleanup up syntax and a big modern standard library 19:41
^-- that is of course just an opinion. 19:42
there are some people around with a less subjective take :)
cheese_cake__ i see :) 19:43
are there any good small web frameworks for perl 6? I've only seen mojolicious but i'd rather not delve into the perl5 in perl6 realm just yet
pmurias cheese_cake__: it's more of a sequel and not a new version, so it feels like kind of the same thing but everything is a bit different
El_Che mojo is very nice indeed. In perl 6 we have Cro
cro.services/ 19:44
cheese_cake__ does anyone have any experience with this github.com/Bailador/Bailador
cheese_cake__ i found it looked interesting 19:45
cheese_cake__ and what is the logic being using eq instead of == for string comparison? 19:50
pmurias cheese_cake__: so that different operators are used for string and numeric comparisons 19:52
lizmat m: say "foo" == 42 19:52
camelia Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5foo' (indicated by ⏏)
in block <unit> at <tmp> line 1
pmurias cheese_cake__: there is in general a distinction between numeric and string operators 19:56
cheese_cake__: that allows coercion to dwim more while it being more clear what is happening
cheese_cake__: other example a ~ operator does string concatenation while + does numeric addition 19:57
ufobat cheese_cake__, me :p 20:00
cheese_cake__, do you know cro? 20:01
cheese_cake__ nope 20:07
ufobat, i dont even know perl 6 20:08
ufobat bailador is more perl5'ish, if youd like to say so. its more like dancer/mojo, whereas cro is a more modern aproach 20:11
cheese_cake__ what do you mean by perl5ish? 20:14
pmurias cheese_cake__: it's a more direct port of a Perl 5 module 20:19
cheese_cake__: Cro seems to have momentum behind it at this point
cheese_cake__ i see 20:28
cheese_cake__ hello people 20:45
AlexDaniel hello again! :) 20:50
xinming How do we return an Empty list?
I found return Empty worked.
lizmat m: dd Empty
camelia Empty
xinming Is that the only way?
lizmat m: dd () 20:51
camelia ()
lizmat m: dd ().WHAT; dd ().elems
camelia List
0
xinming m: dd Empty.WHAT
camelia Slip
xinming So, this is the only way 20:52
m: dd ().slip
camelia No such method 'slip' for invocant of type 'List'. Did you mean any of these?
Slip
flip
sin
skip

in block <unit> at <tmp> line 1
xinming m: dd ().Slip;
camelia slip()
lizmat m: dd Empty.WHAT
camelia Slip
xinming m: dd (().Slip);
camelia slip()
xinming 'Empty' makes me confusing.
lizmat xinming: () is an empty lust
*list 20:53
xinming What about Empty?
lizmat Empty is an empty Slip 20:53
xinming m: dd [].slip;
camelia No such method 'slip' for invocant of type 'Array'. Did you mean any of these?
Slip
flip
sin
skip

in block <unit> at <tmp> line 1
xinming m: dd [].Slip;
camelia slip()
lizmat m: dd (1,2,3,Empty,4,5,6)
camelia (1, 2, 3, 4, 5, 6)
lizmat m: dd (1,2,3,(),4,5,6)
camelia (1, 2, 3, (), 4, 5, 6)
xinming I understand that.
How is Empty constructgd?
m: dd Slip.new 20:54
camelia slip()
xinming dd: Empty
m: dd Empty
camelia Empty
xinming is Empty an empty class? Something like
lizmat m: dd Slip.new # basically how Empty gets created
camelia slip()
lizmat m: my constant Empty = Slip.new
camelia ( no output )
lizmat is basically how it is created (but using nqp:: ops actually) 20:55
xinming m: class TEmpty { method (::?CLASS:U:} { ().slip } }; dd (1,2,TEmpty,3,4);
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed parameter
at <tmp>:1
------> 3class TEmpty { method (::?CLASS:U:7⏏5} { ().slip } }; dd (1,2,TEmpty,3,4);
xinming m: class TEmpty { method (::?CLASS:U:) { ().slip } }; dd (1,2,TEmpty,3,4);
camelia (1, 2, TEmpty, 3, 4)
xinming m: class TEmpty { method List (::?CLASS:U:) { ().slip } }; dd (1,2,TEmpty,3,4); 20:56
camelia (1, 2, TEmpty, 3, 4)
xinming m: class TEmpty { method Slip (::?CLASS:U:) { ().slip } }; dd (1,2,TEmpty,3,4);
camelia (1, 2, TEmpty, 3, 4)
xinming I'll try to find it
:-)
lizmat m: class TEmpty { method Slip (::?CLASS:U:) { ().slip } }; dd (1,2,TEmpty.Slip,3,4); 20:56
camelia No such method 'slip' for invocant of type 'List'. Did you mean any of these?
Slip
flip
sin
skip

in method Slip at <tmp> line 1
in block <unit> at <tmp> line 1
lizmat m: class TEmpty { method List (::?CLASS:U:) { ().Slip } }; dd (1,2,TEmpty.List,3,4); 20:57
camelia (1, 2, 3, 4)
xinming m: sub TEmpty { ().Slip }; dd (1,2, TEmpty, 3,4); 20:57
camelia (1, 2, 3, 4)
xinming So, This is what real Empty is
Thanks 20:58
lizmat you're welcome :-)
xinming m: dd (1,2, Slip.new); 21:00
camelia (1, 2)
xinming lizmat: I missed the message that you say my constant Empty = Slip.new; that's better one than sub Empty ... 21:01
lizmat no worries :-) 21:02
xinming Another question, how do we force the { } to be hash? 21:02
we can have +{ .. } in perl5
lizmat not actually sure, perhaps better to use %( ) ? 21:03
m: say %( a => 42, b => 666 )
camelia {a => 42, b => 666}
xinming what is the difference between %{ } version then?
m: (%(:a)).perl.say; (%{:a}).perl.say; 21:04
camelia {:a}
{:a}
xinming different *from*
lizmat guess there isn't ... Zoffix might know better 21:05
geekosaur I don't think there is one, both woudl just be grouping
in p5, parens woudl be an error and {} was used basically as a parser hack 21:06
xinming Ok
SO, %() and %{} are the same in perl6.
geekosaur and at one point %{} in rakudo used to getyou a "this isn't perl 5" whine
xinming but now, it doesn't. :-)
geekosaur yes, there's beena move away from such 21:07
Zoffix xinming: %(:a) constructs a hash. %{} constructs a hash and then uses the .hash coercer on it. Because the latter is a curly, it's affected by the caveats that make it a block instead of a hash 21:10
m: (%(:a($_))).perl.say; (%{:a($_)}).perl.say;
camelia {:a(Any)}
Odd number of elements found where hash initializer expected:
Only saw: -> ;; $_? is raw { #`(Block|60298792) ... }
in block <unit> at <tmp> line 1
Zoffix (while the %() ain't affected)
xinming: for forcing, just use %() instead of {} 21:12
xinming is zoffix come and go just for answering my question? :-) 21:32
geekosaur they do that
one of the bots may be a spy :p
cheese_cake__ :0 21:33
banne the spy
cheese_cake__ does anybody know if there is a library to register a program as a URI scheme handler on different platforms? 22:52
cheese_cake__ and perl6 is compiled, right? If so, is it possible to create byte/native code for distribution? 23:02
timotimo cheese_cake__: we don't have something convenient yet. for windows there's a module that will build an installer, but it'll just install a complete perl6 + application in a specific folder 23:03
i'm not aware of something that creates, like, .desktop files and such
cheese_cake__ that's a shame 23:06
it's easy on linux, i just want a way to do it for windows, I don't have access to a windows machine 23:07
cheese_cake__ how can i read command line arguments? I know this should be simple but I cant find it on the docs 23:35
tobs cheese_cake__: there is a command-line args parser built into MAIN using signatures, see docs.perl6.org/language/functions#sub_MAIN 23:37
cheese_cake__ now that is nifty 23:42
timotimo it's extremely good, indeed 23:43
cheese_cake__ does anyoen know if this is the right format for a .desktop file to set myneatprogram:thing urls to launch my program? MimeType=x-scheme-handler/myneatprogram;
timotimo cheese_cake__: do you happen to remember what exactly you searched for so maybe we can make it easier to find?
cheese_cake__ 'perl6 read args', 'perl6 arg parser' 23:44
timotimo perhaps the python-to-perl6 document ought to be findable with "argparse" and "parse args" 23:45
and "optparse", too
cheese_cake__ yes, i looked at that, ctrl-f arg didnt bring up any results 23:46
timotimo aye
it's not in there at the moment
cheese_cake__ yeah, that would be useful 23:47
are you a linux user?
timotimo i am
are you perhaps interested in contributing that little bit to the docs? :)
cheese_cake__ i'd love to!
timotimo way cool 23:48
cheese_cake__ is there a github or some other git hosting platform you're using?
timotimo the docs page at the very bottom has the links
cheese_cake__ ahh i see
what is the HTML built from? 23:49
timotimo it's pod6, a partial rethink of perl's "plain old documentation" format
github.com/perl6/doc/blob/master/d...shell.pod6 23:50
it should be fine to just cargocult the syntax and when you make the github pull request, travis-ci should build it for you and explode if there's something wrong 23:51
and then (or earlier) you can just ask for advice, too :)
cheese_cake__ thanks :)
timotimo \o/
cheese_cake__ forking it
what desktop or window manager do you use if you dont mind me asking? I've been stuck on xfce for ages, dont know what people use now 23:53
timotimo hah, i'm on xfce4 as well 23:54
i was on plasma for a bit in between, but something annoyed me about it
i went through many phases
cheese_cake__ plasma is a bit like gnome except I find it unpleasant to use 23:55
it feels like windows 8 trying to be linux-y
timotimo surely everyone has had or will have a "tiling window manager" phase or two in their life
i had at least dwm, xmonad, and i3
cheese_cake__ haha yeah I used i3-gaps for a couple months
AlexDaniel oh please not the second one
I still haven't learned to use i3 properly
cheese_cake__ i3 isnt that hard?
timotimo you're not a fan of xmonad, eh? 23:56
AlexDaniel well yes except that I don't use tabs, or containers, or anything
all I know is “move this thing to the right” and “move this thing to the bottom”
and with that I can create any configuration, really :)
except when I need to move the whole workspace to another window, or something like that
timotimo all that matters is that you find it pleasant and comfortable to use 23:57
AlexDaniel that's when you have to do finger noodles and hit a hundred of keys at the same time because… no this shortcut renames the workspace, no this one does something else…
cheese_cake__ I liked i3 a lot, but i went back to xfce just cause I could bind a lot of the same stuff, but I could mess with it really quickly, no need for rewriting my 200 line config
zef is taking quite a while to install these deps 23:58
Esca i use xfce for misc settings, panel and convenience but swapped xfwm for i3
timotimo just recently i read a little blog post about using xfce with i3
cheese_cake__ how does that work?
AlexDaniel timotimo: definitely more comfortable than non-tiling, but it'd better start reading my mind…
timotimo mostly just "don't use xfce-desktop or xfwm" 23:59
AlexDaniel cheese_cake__: oh yeah we're working on making zef faster
cheese_cake__ great
how many dependencies can the docs have??