»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! | tinyurl.com/p6contest Set by moritz_ on 28 December 2010. |
|||
00:02
jaldhar joined
00:06
HarryS joined
00:11
ashleydev joined
00:15
pmurias left
00:16
plobsing joined
00:29
yarp left
00:30
jaldhar left
00:37
cafesofie left
00:40
cafesofie joined
00:47
rgrau left
00:55
ashleydev left
01:00
ashleydev joined
01:03
cdarroch left
01:05
QinGW joined
01:18
ashleydev left
01:27
cafesofie left
|
|||
kthakore | /w/win 3 | 01:30 | |
01:30
cafesofie joined
01:31
cibs left
01:32
cibs joined
01:39
woosley joined
|
|||
snarkyboojum | phenny, tell tadzik - what is neutro designed to do if you want to install a module who's name clashes with one of the neutro commands e.g. 'list' or 'install' etc? | 01:45 | |
phenny | snarkyboojum: I'll pass that on when tadzik is around. | ||
01:47
Su-Shee left
01:51
envi joined
01:55
Su-Shee joined
01:57
arlinius joined
02:00
noganex_ joined
02:02
gbacon joined
02:04
noganex left
02:07
woosley left
|
|||
shortcircuit | TimToady: Broadly speaking, I tend to see two camps. One thinks Perl 6 is supposed to be a drop-in replacement of Perl 5, and figures that since their distro didn't come with Perl 6 at /usr/bin/perl, then Perl 6 isn't ready. The other might be aware that they're two different languages, but (as you noted) sees it as an all-or-nothing status. | 02:21 | |
If you could recruit active maintainers for (at a guess) Debian, Fedora and Red Hat, so that up-to-date Perl 6 had in-band distribution, I bet you'd see use expand more quickly. | 02:22 | ||
Heck, even an alternate repos would be good; use distro packaging tools tends to be more convenient than manual grab/build/install. | 02:24 | ||
(And, no, I'm not volunteering anything more than the idea...) | |||
flussence | I keep telling myself I'll go and make a perl6 gentoo repo, but I can never motivate myself enough to start it :( | 02:29 | |
shortcircuit | flussence: Do you need more people to tell you? :) | ||
flussence | I see a growing number of people in here asking for one... at least 3 or 4 | 02:30 | |
shortcircuit | As for binary distributions, I think Novell runs some kind of auto-builder-and-packager. | ||
02:44
molaf_ joined
02:45
am0c^ joined
02:46
tylerni7 left
02:48
molaf left
03:00
tylerni7 joined
03:05
cafesofie left
03:09
nakashiman joined
03:12
ggoebel joined
03:23
awwaiid left
03:24
Eevee joined
03:28
__sri joined
03:30
cafesofie joined
03:31
stepnem_ joined
03:34
colomon_ joined,
Trashlord left,
takadonet left,
noganex_ left,
stepnem_ is now known as stepnem,
colomon_ is now known as colomon
03:35
typepeter joined
03:37
noganex_ joined,
dsp_ joined,
ruoso joined,
itz joined,
mdxi joined,
vert2_ joined,
kcwu joined,
jpr5 joined,
edenc joined,
BinGOs joined,
krakan_ joined,
perigrin joined,
nothingmuch joined,
snarkyboojum joined,
huf joined,
nrr joined,
jnthn joined,
kthakore joined,
peters_mops joined,
revdiablo joined,
typepeter_ joined
03:39
typepeter left
03:42
_ilbot joined,
IllvilJa joined,
Bucciarati joined,
Trashlord joined
|
|||
colomon | rakudo: (1...10).first(* > 20).say | 03:43 | |
p6eval | rakudo ca62f2: ( no output ) | ||
colomon | rakudo: (1...10).first(* > 20).WHAT.say | ||
p6eval | rakudo ca62f2: OUTPUT«Failure()» | ||
colomon | rakudo: say (1...10).first(* > 20) // die "Unable to find" | ||
p6eval | rakudo ca62f2: OUTPUT«Unable to find in main program body at line 22:/tmp/jF5PbVw_Nw» | ||
colomon | rakudo: say (1...10).first(* > 5) // die "Unable to find" | ||
p6eval | rakudo ca62f2: OUTPUT«6» | 03:44 | |
03:48
jevin_ left
03:52
buubot joined
03:54
ashleydev joined
03:55
VXZ left
03:57
satyavvd joined
03:59
agentzh joined
04:01
jaldhar joined
04:09
jevin joined
04:12
typepeter_ left
04:17
orafu left
04:18
orafu joined,
ashleydev left
04:23
Su-Shee_ joined
04:25
GinoMan left
04:26
Su-Shee left
04:38
kanishka left,
kanishka1 joined
04:44
woosley joined
05:00
icwiener left
05:06
ashleydev joined
05:10
ashleydev left
|
|||
cotto | jnthn, ping | 05:16 | |
jnthn, unping | 05:17 | ||
05:23
takadonet joined
05:43
justatheory left
05:44
justatheory joined
|
|||
[Coke] | rakudo: 0.025.Rat.perl.say | 06:00 | |
p6eval | rakudo ca62f2: OUTPUT«1/40» | ||
dalek | ecza: 04bce2a | sorear++ | / (7 files): [v6] Translate regex optimizer |
06:12 | |
06:14
crythias left
06:15
crythias joined
06:17
gbacon left
|
|||
TimToady | rakudo: 0.025.perl.say | 06:19 | |
p6eval | rakudo ca62f2: OUTPUT«1/40» | ||
TimToady | the .Rat is redundant | ||
dukeleto | TimToady: tell that to the Mouse | 06:26 | |
06:28
cjk101010 joined
06:37
_twitch joined
06:45
kaare_ joined
06:49
Vlavv joined
06:56
wtw joined
06:57
mberends left
07:06
mberends joined
07:20
VXZ joined
07:27
GinoMan joined
07:31
mberends left
07:38
eyeisel joined,
eyeisel left,
eyeisel joined,
eyeisel left
07:40
arlinius left
07:54
justatheory left
07:59
kanishka1 left
08:01
daxim joined
08:07
MayDaniel joined
08:08
satyavvd left
08:13
Su-Shee_ is now known as Su-Shee
08:14
noganex_ is now known as noganex
08:30
HarryS left,
coldhead left
08:32
snearch joined
08:33
MayDaniel left
08:34
coldhead joined
09:04
_twitch left
|
|||
sorear | perl6: say "hi" | 09:23 | |
p6eval | pugs, rakudo ca62f2, niecza v1-123-g04bce2a: OUTPUT«hi» | 09:24 | |
09:29
dakkar joined
09:31
kensanata joined
09:36
masak joined
|
|||
masak | morning, zebras. | 09:36 | |
moritz_ | morning, zebra! | ||
09:37
hugme joined,
ChanServ sets mode: +v hugme
|
|||
masak really liked www.shadowcat.co.uk/blog/matt-s-tro...ck-holmes/ | 09:37 | ||
it had the taste of HP.MoR | |||
sorear | hello masak | ||
mathw | pah you set off my highlighter again | 09:38 | |
Saluton, masak | |||
moritz_ | masak: then I have to read it later :-) | 09:39 | |
09:39
HarryS joined
|
|||
masak | bonan matenon, mathw. you need a special case for your highlighter, then. :) | 09:40 | |
mathw | yes I wonder if I can teach it to ignore mst urls | 09:41 | |
sorear is considering dropping his highlight for niecza | |||
so many people use perl6: now | 09:42 | ||
masak | "There is no shame in failing to convince a sizable herd of the twitterati to recover from its regularly scheduled six-month swoon of the language du jour or to consider that the hundred line lump of spaghetti Perl 4 they wrote back in 1999 has little to do with good Perl as written then, let alone today." -- chromatic++ | ||
:) | |||
ties into what we were talking about yesterday. | |||
I kept thinking about it, and concluded that I do the Twitter-Perl6 thing mostly to please myself. I don't imagine it'll ever have a huge effect, but it puts me in contact with people who have at least shown a moderate interest. and I like that. | 09:44 | ||
and that's why I think alester's message mostly depressed me -- not because I think I'm doing anything *useful* by trying to reform trolls, but because I like it and I feel it sometimes pays off in unexpected ways. | 09:47 | ||
mathw | Do what you like with that, I think | 09:48 | |
You're not going around screaming at people for no reason | |||
So carry on :) | |||
And sometimes it does work nicely | |||
09:49
tzhs joined
|
|||
masak | talking to Twitterpeople is a bit like Dan and Laurie taking the Owl in the middle of the night and saving a bunch of people in a burning building. doesn't have anything to do with the bad guys, doesn't move the movie forward, but it feels pretty nice. | 09:50 | |
09:52
agentzh left
|
|||
mathw | actually it was hugely important for their character development, ultimately leading them to do what they did later :P | 09:53 | |
but it's better in the comic | |||
So the question is, are you getting good character development out of Twitter engagement :D | 09:54 | ||
masak | I think so. the meetings don't lead to long-lasting friendships, but sometimes to people saying "huh! didn't know that. cool!" | 09:55 | |
(and yes, the comic is better. I figured more people had seen the movie, though.) | |||
09:57
Trashlord left
09:58
yahooooo left
09:59
Trashlord joined
10:00
QinGW left
|
|||
dalek | ecza: 5037384 | sorear++ | / (3 files): [v6] Add dotnet backend |
10:01 | |
sorear | doesn't quite pass testsuite yet though. | ||
mathw | masak: I think it's part of what makes Twitter great, the occasional random person who comments helpfully on one's exclamations | 10:06 | |
what makes it less great is a whole load of people who put @maw in their messages but have no connection with me whatsoever | |||
often on the end of a retweet chain where it's a truncated username | 10:07 | ||
but recently more people deliberately writing @MAW as if it's a location or something people are expected to recognise | |||
probably not realising that there might be a Twitter user... | |||
masak | mathw: my nick doesn't have that problem. maybe you should change your nick. | ||
mathw | I can't, all the ones I'd want are taken now | 10:08 | |
I wanted to change it to mathw but someone else has that | |||
various other variants also seem to be taken | |||
so I decided to just stick with it | |||
it's only one or two a day usually, I just block them | |||
jnthn | morning, #perl6 | 10:10 | |
mathw | oh hai jnthn | 10:11 | |
masak | lolitsjnthn! | ||
10:12
ded joined
10:13
ded is now known as Fuad
|
|||
Fuad | hi all | 10:13 | |
masak | Fuad! \o/ | ||
Fuad | masak !! | ||
How are you bro? | 10:14 | ||
masak | :) fine, thanks. | ||
and you... bro? | |||
Fuad | Im great thanks. Glad to mee you bro;) | 10:15 | |
mathw | Hello | ||
sorear | our friend dd070 is still trolling #moose | 10:16 | |
snarkyboojum | yay.. niecza builds on HEAD :D thanks sorear++ | 10:20 | |
dalek | ecza: a8e90fd | sorear++ | v6/ (3 files): [v6] Autoconfigure paths from ApplicationBase |
10:21 | |
sorear | niecza on perl 6 is now fully functional as a compiler... except for the bugs and lack of a build system | 10:22 | |
masak | cool. | ||
snarkyboojum | sorear: what was the milestone tipping niecza over to a "fully functional" compiler? | 10:37 | |
masak | snarkyboojum: sorear is talking about 'niecza on perl 6' specifically. he's rewriting parts of niecza in Perl 6. | 10:39 | |
snarkyboojum | masak: cool - picked up on that over the last few days.. still have my question tho :D | 10:40 | |
guesses it has something to do with the "Add dotnet backend" commit :) | 10:42 | ||
moritz_ | previously niecza would compile to C# | 10:43 | |
now it uses a code generation API | |||
(iiuc) | |||
10:45
woosley1 joined
|
|||
sorear | yes, but that's not related | 10:45 | |
I was moving the code generation API hooks from the Prl5 to the Perl 6 with that commit | |||
the milestone tipping was auto-configuration | 10:46 | ||
moritz_ | ok | ||
sorear | it's now possible to run Niecza.exe from any current directory | ||
10:46
woosley left
|
|||
mathw | \o/ | 10:47 | |
sorear | std: q:to/FOO/;Hi | 10:48 | |
p6eval | std 625303c: OUTPUT«===SORRY!===Couldn't find delimiter for heredoc at /tmp/DpBTQTea2e line 2 (EOF):------> Hi⏏<EOL>Parse failedFAILED 00:01 118m» | ||
sorear out | |||
masak | interesting to read how Google Chrome does releases: docs.google.com/present/view?id=dg...&pli=1 | 10:54 | |
mathw | perhaps we should have auto-updating Rakudo :P | 10:55 | |
mathw can already hear the screams | |||
colomon | auto-updating source code ought to be pretty easy to do.... ;) | 11:02 | |
moritz_ | run('git pull') | 11:03 | |
11:09
cafesofie left
11:31
Fuad left
11:33
gimix joined
11:36
nakashiman left
11:38
nakashiman joined
11:43
TiMBuS joined
|
|||
arnsholt | Is gather-take over something that is generated from gather-take still a problem? | 12:03 | |
flussence | ok 6 - nested gather works (two levels) | 12:04 | |
ok 7 - nested gather works (three levels) | |||
works according to t/ | 12:05 | ||
12:05
snearch left
|
|||
arnsholt | Hmm. Then it's something else I've done wrong | 12:06 | |
Cheers! | |||
masak | golf your code and your expectations. :) | 12:09 | |
arnsholt | Good quote! | 12:10 | |
I loled. I really did ^_^ | |||
This is another problem with coding for a competition. I can't give the code that blows up | 12:11 | ||
I have to actually reduce the test-case | |||
masak | that's a good thing. | ||
arnsholt | Yeah, it usually means I find the problem on my own =) | ||
masak | yes. | 12:12 | |
arnsholt | I think you mentioned something similar when you talked about November in Oslo | ||
masak | yes. | ||
half of the time, the problem *goes away* or is reduced to an already reported bug. | |||
in the former case, I just vow to be better and move on. in the latter case, I usually rant a bit here on #perl6 about the bug not being fixed yet. | 12:13 | ||
arnsholt | Sounds like a good plan | 12:16 | |
Incidentally, my problem turned out to be a forgotten | to flatten an arglist | |||
masak | it's a good thing you have tests to catch such minor issues. | 12:18 | |
arnsholt | Whatever you say ;) | 12:19 | |
I'm still a bad TDD practicioner, unfortunately =) | |||
I usually do manual testing until I'm fairly certain the API/protocols are more or less sane and usable | 12:20 | ||
masak | no harm in that. | 12:22 | |
arnsholt | ATM I'm just trying to make the basic game logic (for p4) work without exploding all the time =) | ||
masak | :) | ||
arnsholt | Still haven't decided how it'll communicate with the UI part of the problem | 12:23 | |
colomon | :) | 12:25 | |
tadzik | o/ | ||
phenny | tadzik: 01:45Z <snarkyboojum> tell tadzik - what is neutro designed to do if you want to install a module who's name clashes with one of the neutro commands e.g. 'list' or 'install' etc? | ||
colomon is currently overhauling his internal logic and tests for p4. | 12:26 | ||
masak | "doctor, it hurts when I do this." | ||
tadzik | snarkyboojum: it will show the list. Probably shouldn't though | ||
12:26
coldhead left
|
|||
masak | tadzik: in the presence of a "list" module, how would one use the "list" subcommand? | 12:26 | |
12:27
masak left
|
|||
tadzik | phenny: one won't :) That's probably a misfeature atm | 12:30 | |
moritz_ | tadzik talks to bots! | 12:31 | |
12:34
tzhs left
12:36
avuserow joined
12:44
pmurias joined
|
|||
takadonet | morning all | 12:47 | |
colomon | o/ | 12:48 | |
12:49
roen_ joined
|
|||
dalek | ecza: 3318e17 | pmurias++ | niecza: fix executable name in ./niecza |
12:52 | |
13:02
holzbit joined
|
|||
tadzik | :< | 13:14 | |
phenny: tell masak one won't :) That's probably a misfeature atm | |||
phenny | tadzik: I'll pass that on when masak is around. | ||
pmurias | snarkyboojum: i fixed the bug you found | 13:15 | |
13:17
gbacon joined
13:23
MayDaniel joined
13:30
mberends joined
|
|||
arnsholt | Time to figure out this protocol thing, I think | 13:32 | |
13:34
MayDaniel left
13:40
cosimo left
13:45
roen_ left,
roen_ joined
13:49
mberends left
|
|||
arnsholt | Is there any reason a gather-take would modify my array? | 14:07 | |
Er, never mind | |||
This is what I get for naming one of my subs take ^_^ | |||
I'm sure naming it pick instead won't get me into any trouble later on =D | 14:13 | ||
14:15
plobsing left
|
|||
VXZ | I there some metaop or something in perl 6 to override the precedence of an operation? Like a number enclosed in some weird unicode bracket characters next to the operator, to set the precedence level of that operation to the specified number. | 14:16 | |
flussence | it's probably doable by messing with the parser, but I'd just use ()s | 14:17 | |
14:17
bbkr joined
|
|||
moritz_ | VXZ: our precedence levels aren't numbered, but relative to each other | 14:18 | |
VXZ: ie you can insert precedence levels | |||
so numbers aren't very meaningful | |||
14:19
rhr joined
14:20
cosimo joined
|
|||
VXZ | moritz_: So, the metaop could just specify the precedence, relative to the current precedence? | 14:20 | |
14:21
mkramer1 left
|
|||
arnsholt | I don't really see the use-case here | 14:21 | |
Why are parens inadequate? | |||
VXZ | I just think it might come in handy in places. But you're probably right. | 14:23 | |
14:23
mkramer joined
|
|||
arnsholt | Unrelated, I <3 the fact that loop control works in the dynamic scope | 14:23 | |
flussence | rakudo: sub a { last; ] | 14:25 | |
p6eval | rakudo ca62f2: OUTPUT«===SORRY!===Unable to parse blockoid, couldn't find final '}' at line 22» | ||
flussence | whoops | ||
rakudo: sub a { last; }; for 1..10 { *.say; a } | |||
p6eval | rakudo ca62f2: ( no output ) | ||
flussence | rakudo: sub a { last; }; for 1..10 { $_.say; a } | ||
p6eval | rakudo ca62f2: OUTPUT«1» | ||
flussence | wow, I've found myself wanting to do that in p5 several times... had to make the code look ugly more often than not | 14:27 | |
arnsholt | Actually, I'm pretty sure that works in p5 as well | ||
At least for some loops | |||
VXZ | Yeah, in p5 a bare block is a loop that only runs once. So 'last' works. | 14:30 | |
Doesn't work that way on subs, do, or some other stuff, though. | |||
14:30
plobsing joined
14:31
risou joined
14:32
pmurias left
14:37
mkramer left
14:39
tzhs joined
|
|||
moritz_ | block can be left with leave() in Perl 6 (though NYI in rakudo, iirc) | 14:39 | |
14:40
gbacon left
14:45
sol1tude joined
14:52
kaare_ left
14:54
woosley1 left
15:03
mkramer joined,
cosimo left
15:05
Patterner left
15:07
Psyche^ joined,
Psyche^ is now known as Patterner
15:13
bacek left
15:14
cjk101010 left
15:18
wtw left
15:19
MayDaniel joined
15:24
sol1tude left
15:26
bacek joined
15:27
_twitch joined,
plobsing left,
kaare_ joined
15:28
sol1tude joined
15:35
mtk joined
|
|||
takadonet | what is p6 version of perldoc.perl.org/functions/ord.html | 15:38 | |
moritz_ | rakudo: say ord("A") | 15:40 | |
p6eval | rakudo ca62f2: OUTPUT«65» | ||
moritz_ | rakudo: say ords("Abc").perl | ||
p6eval | rakudo ca62f2: OUTPUT«(65, 98, 99)» | ||
takadonet | .... | ||
moritz_ | !!! | 15:41 | |
takadonet | sometime i should just try it before asking | ||
15:41
plobsing joined
15:42
araujo left
15:43
araujo joined
15:46
Patterner left
15:49
Psyche^ joined,
Psyche^ is now known as Patterner
|
|||
moritz_ is amazed at how much you can do wrong in a single, one-page document | 15:52 | ||
moritz_ tries to submit an abstract to a scientific conference | |||
takadonet | which conference? | 15:53 | |
PerlJam | spelling, grammar, punctuation, spacing, font choice, font size, ... there are lots of knobs to twiddle. :) | ||
moritz_ | takadonet: CLEO Europe | 15:54 | |
PerlJam: and then plots... | |||
don't forget content, title and affilitations | |||
15:57
spq1 joined
|
|||
flussence is sitting at $dayjob wishing p5 had a ql() operator (i.e. $str.indent(*).lines) | 15:58 | ||
15:59
justatheory joined
|
|||
moritz_ | std: ql/ab/ | 15:59 | |
p6eval | std 625303c: OUTPUT«===SORRY!===Bogus term at /tmp/fLO82RuQEt line 1 (EOF):------> ql/ab/⏏<EOL>Undeclared routines: 'ab' used at line 1 'ql' used at line 1Parse failedFAILED 00:01 120m» | ||
flussence | (I'd go write that, but right now my .indent(*) test fails with bizarre output) | 16:01 | |
16:02
jaffa4 joined
|
|||
jaffa4 | hi | 16:02 | |
I have problem with trying out the latest perl | |||
moritz_ | which perl? | ||
PerlJam | jaffa4: If you mean Perl 5.x, then you probably want #perl or #perlhelp or something | 16:03 | |
16:03
araujo left
|
|||
jaffa4 | no perl6 | 16:03 | |
moritz_ | which perl6? | ||
jaffa4 | I get Could not load oplib `perl6_ops' | ||
16:03
araujo joined
|
|||
moritz_ | which perl6? | 16:03 | |
rakudo? | 16:04 | ||
jaffa4 | yes | ||
december version | |||
moritz_ | did you install it, as the README says? | ||
jaffa4 | no I used parrot-32 download site | ||
to download compiled parrot.exe and perl6.exe | 16:05 | ||
and merged them in the same directory | |||
Also, I tried to install it using msys using the source distribution but I did not get far | |||
moritz_ | sorry, I don't know anything about the windows binaries | 16:07 | |
PerlJam | jaffa4: what is "parrot-32 download site"? | ||
moritz_ | you'd have to contact the one who provided the binaries | ||
jaffa4 | you must know about perl6_ops | ||
flussence | sounds like a mis-installed parrot | 16:08 | |
PerlJam | or the provided perl6 doesn't know where the installed parrot lives | ||
(i.e. it may need to live in a specific dir, but it was placed in another dir) | |||
jnthn | jaffa4: You need to install those in the default directory. | 16:09 | |
Dunno why the installer offers the option to do different. | |||
They aren't relocatable. | 16:10 | ||
jaffa4 | what is the default directory? | ||
16:11
nakashiman left
|
|||
jnthn | jaffa4: The one the installer wants to put it in | 16:11 | |
(I don't know off hand what it is.) | |||
jaffa4 | ok | ||
you are right | 16:13 | ||
the reality confirms you. | |||
PerlJam | heh | 16:14 | |
colomon is somewhat mystified at how moritz_ can have p4 solution that works on everything but 10... | 16:15 | ||
16:16
gbacon joined
16:18
jlaire joined
16:21
GinoMan left
|
|||
jaffa4 | Has anyone tried to convert perl6 into exe? | 16:21 | |
16:24
GinoMan joined
16:26
tzhs left
|
|||
jaffa4 | I do not understand why there is no one installer for it | 16:27 | |
parrot+rakudo | |||
takadonet | jaffa4: for which type of system? windows? linux? | 16:35 | |
jaffa4 | windows. | ||
takadonet | that be a jnthn question then... | 16:36 | |
jaffa4 | Is it true that pbc to exe does not convert pbc , just it embeds pbc in an exe file? | ||
PerlJam | jaffa4: something like that | ||
jaffa4 | Does it convert pbc into something else? | 16:37 | |
PerlJam | no | ||
Are you looking to write stand-alone Perl 6 apps ? | 16:38 | ||
jnthn | fwiw, .exe files produced by the .Net CLR do *exactly* the same thing. :) | ||
jaffa4 | maybe | 16:39 | |
jnthn | jaffa4: There's probably no single installer because nobody has the time to produce/maintain it yet. | ||
jaffa4: No not maybe I'm telling you that's how it works. :) | 16:40 | ||
oh, sorry, maybe that was to PerlJam :) | |||
jaffa4 | for now, I could give you an installer | ||
it does not take long to make one... | |||
jnthn | jaffa4: Then please, go ahead. It'd be much appreciated. :) | ||
PerlJam | jaffa4: that would be great! | ||
jaffa4 | I know innosetup | 16:41 | |
tadzik | seen x3nu | ||
aloha | x3nu was last seen in #perl6 61 days 18 hours ago joining the channel. | ||
jaffa4 | if that is ok | ||
jnthn | jaffa4: Works for me. | ||
tadzik | iirc he was writing and using the window installers | ||
jaffa4 | I use one only for a while, innosetup | 16:42 | |
jnthn | jaffa4: I did one for the initial Rakudo * but it wasn't scripted or anything like that...built it using Visual Studio. But an inno one is probably easier to set up and maybe even add a Makefile target for. | ||
inno works fine for me, anyway :) | 16:43 | ||
jnthn goes to the shop, bbiab | |||
16:46
estrabd joined
|
|||
jaffa4 | ok | 16:54 | |
I have the installer | |||
Who wants to download it? | |||
17:00
ashleydev joined
17:05
kanishka joined
|
|||
tadzik | jaffa4: just post the url here or on the perl6-users mailing list | 17:09 | |
jaffa4 | Where can I upload it ? | ||
tadzik | if someone can verify it we can maybe put it into the rakudo download page | ||
hmm, do you have a github account? | 17:10 | ||
jaffa4 | yes, I think so | ||
tadzik | you can put it there then | 17:12 | |
shortcircuit | flussence: Simple question...If you're motivated to create the Gentoo ebuild for Rakudo, will you be motivated to maintain it? | 17:14 | |
takadonet | shortcircuit: how much work is involved to maintain it? | 17:16 | |
shortcircuit | I really don't know. Never tried myself. | ||
tadzik | that'd also require caring about Parrot | ||
17:16
rgrau joined
|
|||
shortcircuit | At a minimum, it'd be obvious things like marshaling bug reports upstream. | 17:16 | |
17:17
Vlavv left
|
|||
shortcircuit | I read flameeyes' blog, where I hear stories about other headaches that come from maintaining gentoo ebuilds, but most of that seems to stem from uncooperative upstreams. | 17:17 | |
takadonet | wonder how hard to be added to ubuntu | 17:19 | |
17:19
envi left
|
|||
daxim | what's the url for q{Patrick's "Cool Perl 6"} talk mentioned in <github.com/schwern/perl5i/issues#issue/144>? | 17:20 | |
tadzik | my PM pal has an overlay with more-less-recent rakudos in Ubuntu | ||
PerlJam | daxim: www.pmichaud.com/2010/pres/yapcna-p...start.html | 17:23 | |
daxim | thanks, PerlJam++ | ||
PerlJam | daxim: I assume you're going to update the issue with that URL so that I don't have to? :) | 17:25 | |
daxim | yes, I'll do it | ||
17:30
daxim left,
Vlavv_ joined
17:32
holzbit left
17:41
REPLeffect joined
|
|||
moritz_ | colomon: you misunderstood me. 10 is the first number where I know my solution not to work | 17:42 | |
colomon: it's not necesarily the only one | |||
17:45
kanishka left
17:46
dakkar left
17:47
gottreu joined
|
|||
colomon | moritz_: oh. | 17:47 | |
17:50
kensanata left
|
|||
jaffa4 | daxim | 17:52 | |
not as easy as it sounds | 17:53 | ||
tadzik | is it possible for a subroutine to generate a Proper USAGE sub? | 18:00 | |
I'm thinking about something like pod2usage | 18:01 | ||
moritz_ | hm | ||
it can export one | |||
I guess | |||
PerlJam | Doesn't MAIN give usage information? | 18:05 | |
tadzik | nah, but when you declare MAIN, USAGE gets generated | 18:06 | |
but if you want your own USAGE, you can write your own | |||
PerlJam | ah. | 18:07 | |
18:11
plobsing left
18:14
GinoMan left
18:18
GinoMan joined
|
|||
tadzik | hrm, is MAIN known to get lost in case of a big list of args? | 18:19 | |
oh, nvm, my bad | |||
jnthn | #phasers is int...40 mins? | 18:20 | |
moritz_ | jnthn: aye | 18:22 | |
18:23
risou left
|
|||
colomon | thanks for the reminder | 18:23 | |
18:24
MayDaniel left
18:26
risou joined,
roen_ left
|
|||
tadzik | can't one call USAGE() from MAIN()? | 18:33 | |
18:35
sol1tude left
|
|||
sorear | good * #perl6 | 18:44 | |
diakopter | * | ||
18:47
plobsing joined
18:58
kanishka joined
19:06
ashleydev left
19:08
cjk101010 joined
19:09
masak joined
|
|||
masak | ahoy, #perl6! | 19:09 | |
phenny | masak: 13:14Z <tadzik> tell masak one won't :) That's probably a misfeature atm | ||
jnthn | masak: #phasers! ;) | ||
masak | ooh! | ||
jnthn | ;) | ||
jaffa4 | ok | 19:10 | |
here it is | |||
github.com/jaffa4/Parrot-and-Perl-...udo-36.exe | |||
get it if you can | |||
tadzik | jaffa4++ | 19:11 | |
19:11
kjeldahl joined
|
|||
masak | jaffa4: hi! long time no see! :) | 19:12 | |
dalek | kudo: ea8c88a | moritz++ | docs/ChangeLog: update ChangeLog |
19:13 | |
tadzik | masak: stupid options handling in neutro fixed | ||
jaffa4 | hi masak! | ||
diakopter | jaffa4: hi from me also | 19:14 | |
19:21
kanishka left
19:26
risou left
19:32
Chillance joined,
cjk101010 left
19:34
mtk left
19:38
ashleydev joined,
mtk joined
19:39
rindolf joined
|
|||
rindolf | Hi all. | 19:39 | |
tadzik | hi | 19:40 | |
takadonet | rindolf: yo | 19:41 | |
rindolf | What's up? | 19:42 | |
moritz_ | many servers are up | ||
tadzik | the sky | ||
HA! I've been waiting weeks to have an opportunity to say that :) | 19:43 | ||
masak is up | |||
jnthn | ...tmi. :P | ||
mkramer | hey - does anyone remember where the cumulative differ lives? | 19:44 | |
oops, wrong channel | |||
19:50
shi joined
|
|||
flussence | shortcircuit: hm, I dunno. It's usually very little effort to maintain once it's been written though. | 19:50 | |
sorear | my $foo = "a\n b"; | 19:52 | |
say qq:to/bar/ ; | |||
$foo | |||
bar | |||
er | |||
bar | |||
what does this print? | |||
PerlJam | you mean, what *should* it print? | 19:53 | |
masak | sorear: "a\n b"? | ||
er, "a\n b\n" | |||
PerlJam | sorear: "a\n b\n" I'd think | ||
sorear | PerlJam: well, yes, as nobody handles trimming yet | ||
except STD-on-viv, and that doesn't really count | |||
20:02
doddo is now known as hasspetter,
hasspetter is now known as doddo
20:03
mtk left
|
|||
flussence | I should mention that PHP's heredocs discard the trailing \n, which in my experience is missing the point of heredocs. | 20:04 | |
it's easier to trim an unwanted \n (which is pretty rare) than concatenate one on the end. | |||
dalek | ecza: 4afcf98 | sorear++ | v6/ (2 files): [v6] Fix heredoc parsing |
20:06 | |
20:08
masak left
20:12
WonTu joined,
WonTu left
20:16
_twitch left
20:19
mtk joined
20:20
Exodist left
20:22
exodist joined
20:25
molaf_ left,
masak joined
20:30
hercynium joined
20:39
dju_ joined,
jlaire left,
araujo left,
spq1 left,
bacek left,
bbkr left,
pothos left,
Chillance left
20:40
Chillance joined,
eternaleye joined,
pothos joined
20:42
jlaire joined,
araujo joined,
spq1 joined,
bacek joined,
bbkr joined,
flatwhatson_ joined,
s1n joined,
sftp joined,
lamstyle joined,
kent\n joined,
rbuels joined,
simcop2387 joined,
Grimnir_ joined,
Raynes joined,
Woody4286 joined,
rblackwe joined,
gabiruh joined,
breinbaas joined,
nsh- joined,
krunen_ joined
20:45
ashleydev left
20:58
yahooooo joined
21:03
plobsing left
21:06
ashleydev joined,
c9s joined
21:07
mtk left
21:08
[hercynium] joined
|
|||
masak | rakudo: sub y2i($adjective) { $adjective.substr($adjective.chars - 1) eq "y" ?? $adjective.substr(0, $adjective.chars - 1) ~ "i" !! $adjective }; sub compare($adjective) { say ", ".join: $adjective, $adjective.&y2i ~ "er", $adjective.&y2i ~ "est" }; say compare("funny") | 21:08 | |
p6eval | rakudo ea8c88: OUTPUT«No applicable candidates found to dispatch to for 'join'. Available candidates are::(Mu : Any $separator = { ... };; *%_) in 'compare' at line 22:/tmp/13m9KS9KqS in main program body at line 22:/tmp/13m9KS9KqS» | ||
masak | ouch. Python-think. :) | 21:09 | |
rakudo: sub y2i($adjective) { $adjective.substr($adjective.chars - 1) eq "y" ?? $adjective.substr(0, $adjective.chars - 1) ~ "i" !! $adjective }; sub compare($adjective) { say join(", ", $adjective, $adjective.&y2i ~ "er", $adjective.&y2i ~ "est") }; say compare("funny") | |||
p6eval | rakudo ea8c88: OUTPUT«funny, funnier, funniestBool::True» | ||
masak | rakudo: sub y2i($adjective) { $adjective.substr($adjective.chars - 1) eq "y" ?? $adjective.substr(0, $adjective.chars - 1) ~ "i" !! $adjective }; sub compare($adjective) { join(", ", $adjective, $adjective.&y2i ~ "er", $adjective.&y2i ~ "est") }; say compare("funny") | 21:10 | |
p6eval | rakudo ea8c88: OUTPUT«funny, funnier, funniest» | ||
masak | \o/ | ||
21:10
hercynium left
|
|||
tadzik | oh wow | 21:11 | |
21:11
hercynium joined,
hercynium left,
hercynium joined
|
|||
masak | I'm sure it can be written nicelier. | 21:12 | |
21:12
[hercynium] left
21:13
mtk joined
|
|||
masak | rakudo: sub y2i($adjective is copy) { s/y$/i/ given $adjective }; sub compare($adjective) { join(", ", $adjective, $adjective.&y2i ~ "er", $adjective.&y2i ~ "est") }; say compare("funny") | 21:18 | |
p6eval | rakudo ea8c88: OUTPUT«funny, funnier, funniest» | ||
masak | much better :) | ||
21:19
MayDaniel joined
|
|||
masak | rakudo: sub y2i($adjective is copy) { s/y$/i/ given $adjective }; sub compare($adjective) { [$_, .&y2i ~ "er", .&y2i ~ "est"].fmt("%s", ", ") given $adjective }; say compare("funny") | 21:19 | |
p6eval | rakudo ea8c88: OUTPUT«funny, funnier, funniest» | ||
tadzik | s/y$/i/ given $adjective – nice one | ||
jnthn | Now write me one for Russian. :P | 21:20 | |
tadzik | but why not just $adjective ~~ s/y$/i/? | ||
masak | rakudo: sub y2i($adjective is copy) { $adjective ~~ s/y$/i/ }; sub compare($adjective) { join(", ", $adjective, $adjective.&y2i ~ "er", $adjective.&y2i ~ "est") }; say compare("funny") | ||
p6eval | rakudo ea8c88: OUTPUT«funny, Bool::Trueer, Bool::Trueest» | ||
masak | o.O | ||
jnthn | lol | ||
masak submits rakudobug | |||
jnthn | masak: Is it bug? | ||
tadzik | :DD | 21:21 | |
masak | jnthn: I declare it a bug. | ||
jnthn | rakudo: my $x = "lol"; say $x ~~ s/o/0/; | ||
p6eval | rakudo ea8c88: OUTPUT«Bool::True» | ||
masak | based on tadzik's expectations, and the lack of spec. | ||
jnthn | That's...curious. :) | ||
tadzik | it certainly isn't DWIM | ||
jnthn | No | ||
wtf. :/ | |||
rakudo: my $x = "lol"; say ($x ~~ s/o/0/).WHAT; | |||
p6eval | rakudo ea8c88: OUTPUT«Bool()» | ||
jnthn | Wow | 21:22 | |
I thought it was doing something with a match object that it was getting back somehow | |||
But...not even that. | |||
21:22
plobsing joined
|
|||
masak | definitely something for RT. | 21:22 | |
jnthn | aye | ||
Not sure what the spec is, but the above outcome is awfulest. | |||
masak | see, kids? and I didn't even *plan* to discover a rakudobug this time! | ||
21:23
pmurias joined
|
|||
moritz_ | p5 people want to write if $x ~~ s/foo/bar/ { ... } | 21:23 | |
21:23
ashleydev left
|
|||
moritz_ | anyway, 'night | 21:23 | |
diakopter | 'nite | ||
jnthn | night, masak | 21:24 | |
masak isn't going to bed yet :) | |||
tadzik | rakudo: my $a = "foo"; if $a ~~ s/foo/bar/ { say "yas" } | ||
p6eval | rakudo ea8c88: OUTPUT«yas» | ||
jnthn | oh | ||
tab fail :) | |||
tadzik | night moritz_ | 21:25 | |
masak | I understand moritz_' explanation, but I don't like it. | ||
tadzik | anyways, won't Match object evaluate to true anyway? | ||
and if the match fails, there will be no object, no? | |||
jnthn | Yes | ||
colomon has just been hit with the sudden strong belief he's seen the pattern of numbers coming up in p4 somewhere before.... | |||
jnthn | tadzik: a false match object | 21:26 | |
tadzik | . o O (4 8 15 16 23 42) | ||
jnthn: good too | |||
masak | tadzik: I don't want it to return the match object. I'd like it to return the resulting Str. | 21:29 | |
21:29
rindolf left
|
|||
masak | tadzik: if it returned the match object in my case above, it'd stringify to 'y' | 21:29 | |
jnthn | masak: I'm sure you know the counter case though. $x = 'x'; if $x ~~ s/x// { ... } | 21:30 | |
masak | right. | ||
jnthn | It successfully substituted, but the resulting string is empty and thus false. | ||
masak | I see that. | ||
jnthn | Maybe we just gotta choose our wart. | 21:31 | |
masak | and an obvious patch to that would be to do 'but True' on the Str... | ||
...but I am reluctant to propose that. | |||
jnthn | I was gonna suggest that but then didn't because I worry about it propagating, or confusion over "the return value of it is now true but $x isn't...wtf" :) | ||
masak | right. | 21:32 | |
jnthn | And because I don't really want to create a mixed-in string for every substitution. | ||
Given that but is a clone. | |||
masak | nodnod | ||
jnthn | (yes, it'd re-use the string buffer, but still...) | ||
masak | honestly, I could live with the Str sometimes boolifying to false. | ||
that might even come in handy once in a while. | |||
jnthn | True | 21:33 | |
masak | while s/(.)$// { ... } | ||
jnthn | I can imagine use cases where that's actually nice. | ||
Hmm. So maybe I don't really object to it returning the resulting string at all :) | 21:34 | ||
21:34
mberends joined
|
|||
masak | mberends! \o/ | 21:35 | |
21:36
pmurias left
|
|||
tadzik | mberends: o/ | 21:38 | |
mberends: that may interest you: github.com/tadzik/Bailador/blob/master/app.pl | |||
21:40
bacek left
|
|||
szabgab | mberends: ping | 21:49 | |
21:52
mtk left
21:53
bacek joined
21:59
molaf joined
|
|||
mberends | szabgab: pong | 22:00 | |
tadzik++: ooh! excitement! | 22:02 | ||
tadzik | mberends: even #dancers got a bit interested | ||
mberends | :-) | ||
tadzik | @franck | tadzik: I'm starting to write some code for http::server::simple | 22:03 | |
so mission complete :) | |||
mberends | hooray! there will be lots of LHF after the initial breakthrough. | ||
tadzik | I think so | 22:04 | |
IF it moves forward | |||
I'd start from porting Dancer::Test | |||
mberends | yes, good plan (sorry for the pun) | ||
tadzik | oh, punny! So let's get it done() | 22:05 | |
mberends | lol | ||
ok(1) | |||
tadzik | :D | ||
22:08
ashleydev joined
|
|||
masak | "let's get it done()" clearly has a better ring to it than "let's get it done_testing()" | 22:08 | |
tadzik | :) | ||
22:08
jaffa4 left
22:12
MayDaniel left,
fuad joined
|
|||
tadzik | 'night | 22:26 | |
diakopter | nite | 22:27 | |
mberends | o/ | 22:28 | |
fuad | mberends, hello bro! | 22:29 | |
mberends | hi fuad, welcome back | ||
22:29
spq1 left
22:31
fuad left
22:32
kaare_ left
22:33
coldhead joined
22:36
simcop2387 is now known as simcop[hireme],
coldhead left
22:37
coldhead joined,
cafesofie joined
22:41
masak left
22:45
fhelmberger joined
22:46
gbacon left
22:54
plobsing left
|
|||
snarkyboojum | phenny: tell tadzik, so in that case it might be worth moving your commands to --<command> switches? a la cpanm etc | 22:55 | |
phenny | snarkyboojum: I'll pass that on when tadzik is around. | ||
22:55
carlos joined
|
|||
szabgab | mberends: FOSDEM? Perl 6 talk? | 23:02 | |
mberends: I would like to finish the schedule of the Perl dev room at FOSDEM and I'd like to have at least one Perl 6 talk | 23:06 | ||
I also would like to go to sleep now so I leave you with the URL: www.socialtext.net/perl5/index.cgi...011_fosdem | 23:07 | ||
23:12
hercynium left
|
|||
mberends | szabgab: if $work and $travel permits I'll be there, and am willing to talk. I think such a prominent event deserves some fresh presentation material, I could do with some input for that. | 23:12 | |
dalek | p-rx/nom: fac4f86 | jonathan++ | src/ (2 files): Pass name along to meta-object so classes know how they're called. |
||
p-rx/nom: cbd0747 | jonathan++ | src/stage0/ (3 files): Update bootstrap with recent changes. |
|||
p-rx/nom: ab3a2a5 | jonathan++ | / (3 files): Add a barebones NQPMu and make it the default base class for anything declared with NQPClassHOW. |
|||
23:16
fhelmberger left
23:17
woosley joined
|
|||
dalek | p-rx/nom: 5821a4c | jonathan++ | t/nqp/28-subclass.t: Correct a test (also previously corrected in 6model repo copy of the test suite). |
23:20 | |
p-rx/nom: 67bb846 | jonathan++ | src/NQP/ (2 files): Switch the class package declarator to use 6model. There are a couple of regressions out of this. One is of multis, which I don't care about since they're getting re-done Real Soon Now. The other is the :vtable trait handling, which I'll fix at some point, but is low priority. At this point, just grammars are left using P6metaclass. |
|||
23:20
plobsing joined
23:37
cafesofie left,
cafesofi_ joined,
cafesofi_ is now known as cafesofie
|
|||
dalek | p-rx/nom: d357201 | jonathan++ | src/stage0/ (3 files): Update bootstrap with class declarator using 6model, so class_6m elimination can start. |
23:38 | |
p-rx/nom: 09ed288 | jonathan++ | src/ (7 files): Remove usage of class_6m. |
|||
23:40
woosley left
|
|||
dalek | ecza: 507d055 | sorear++ | lib/CLRBackend.cs: Fix codegen bug on .NET with diakopter++ help |
23:52 | |
ecza: b891411 | sorear++ | v6/ (3 files): [v6] Error on missing modules, add build scripts |
|||
p-rx/nom: f0b00d8 | jonathan++ | src/NQP/ (2 files): Remove last remains of class_6m from the grammar/actions. |
|||
p-rx/nom: 013ebe2 | jonathan++ | src/metamodel/how/NQPClassHOW.pm: Publish type cache (pretty much directly taken from 6model/common). |
|||
p-rx/nom: 80c8322 | jonathan++ | src/metamodel/how/NQPMu.pm: A cheating NQPMu.ACCEPTS. Need multi-dispatch done to do the non-cheating version that we have in nqpclr. It's enough to reclaim a regressed test file, for now. |
|||
diakopter | wow | ||
sorear | me? | 23:54 | |
diakopter | just the combined sudden rush | ||
23:56
plobsing left
23:57
icwiener joined
|