|
»ö« 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! Set by sorear on 4 February 2011. |
|||
|
00:08
cognominal joined
00:15
abcxyz left,
pmurias left
00:26
cognominal left
00:32
cognominal joined
00:35
spider-mario left
00:38
am0c left
00:40
rindolf left
00:47
cognominal left
00:57
cognominal joined
00:59
am0c_ joined
01:02
Chillance joined
01:03
cognominal_ joined
01:04
cognominal left
01:07
PacoAir left
01:09
cognominal_ left,
hypolin joined
01:17
MayDaniel left
01:19
cognominal_ joined
01:40
cognominal_ left
01:51
cognominal joined
01:53
sweet_kid joined
01:54
nyuszika7h left
01:55
anuby joined
01:57
nyuszika7h joined
02:08
am0c_ left
02:30
humbug joined,
humbug is now known as mst
02:48
Chillance left
02:55
cognominal left
03:00
cognominal joined
03:09
hypolin left
03:11
timotimo joined
03:22
hypolin joined
03:31
hlin_laptop joined
03:34
hypolin left
03:45
steve____ joined,
steve____ is now known as sbox
03:50
noggle_ joined
03:54
noggle left
03:58
sbox left
04:17
Pleiades` left
04:18
Pleiades` joined
04:33
lolage left
04:50
hlin__ joined
04:54
hlin_laptop left
04:56
odoacre left
04:57
odoacre joined
05:17
sftp left
05:20
hlin__ left
05:25
telex left
05:31
cognominal left
05:34
telex joined
05:36
cognominal joined
05:53
hypolin joined
05:56
cognominal left
06:04
cognominal joined
06:15
birdwindupbird joined
06:16
birdwindupbird left
06:28
daniel-s_ joined
06:43
aindilis left
06:46
SamuraiJack joined
06:47
cognominal left
06:51
skids joined
06:53
cognominal joined
07:14
xinming_ joined
07:17
rummik left,
xinming left
07:18
rummik joined
07:20
salparadise joined
07:21
cognominal left
07:22
anuby left
07:24
anuby joined
07:29
cognominal joined
07:44
cognominal left
07:49
cognominal joined
07:50
cognominal left
08:40
GlitchMr joined
|
|||
| diakopter | masak: back shortlog | 08:43 | |
|
09:18
kaare_ joined
09:24
FROGGS left
09:41
Psyche^ joined
09:44
Patterner left,
Psyche^ is now known as Patterner
|
|||
| Woodi | Happy Christmas for everyone here :) | 10:03 | |
|
10:04
hypolin left
|
|||
| sorear | o/ Woodi | 10:19 | |
| GlitchMr | This shortlog is really short | 10:22 | |
|
10:26
Celelibi left
10:29
Celelibi joined
|
|||
| moritz | \o | 11:08 | |
| phenny: tell masak about www.perlmonks.org/?node_id=1010193 (question about p6cc t3) | |||
| phenny | moritz: I'll pass that on when masak is around. | ||
|
11:20
anuby left
11:31
PacoAir joined
11:36
rummik left
11:38
rummik joined
11:42
orafu joined
12:01
PacoAir_ joined
12:03
PacoAir left,
PacoAir_ is now known as PacoAir
|
|||
| jokar Merry Christmas | 12:16 | ||
|
12:33
jokar left,
jokar joined
12:42
rindolf joined
12:59
jokar left
13:02
nebuchadnezzar joined
13:03
spider-mario joined
13:10
PacoAir left
13:11
PacoAir joined
13:37
rummik left,
MayDaniel joined
13:41
Chillance joined
13:51
SamuraiJack left
14:06
GlitchMr left
14:53
GlitchMr joined
15:15
MayDaniel left
15:36
MayDaniel joined
|
|||
| GlitchMr | rn: say e ** (pi * i) | 15:41 | |
| p6eval | rakudo c8de2e: OUTPUT«-1+1.22460635382238e-16i» | ||
| ..niecza v24-12-g8e50362: OUTPUT«-1+1.2246063538223773E-16i» | |||
| GlitchMr | Close enough | ||
| Except imaginary part shouldn't exist. | |||
|
15:42
MayDaniel left
|
|||
| moritz | Mathematica has a Chop function to get rid of such small numbers | 15:42 | |
| (and of course symbolical calculations to not get there in the first place) | |||
| GlitchMr | rn: say chop e ** (pi * i) | ||
| p6eval | rakudo c8de2e: OUTPUT«-1+1.22460635382238e-16» | 15:43 | |
| ..niecza v24-12-g8e50362: OUTPUT«-1+1.2246063538223773E-16» | |||
| GlitchMr | Well, at least I don't have imaginary part anymore | ||
|
15:51
cognominal joined
|
|||
| moritz | thanks to all the Perl 6 advent authors | 15:54 | |
| we've had pretty good posts this year, IMHO | |||
| and a baseline of about 400 views a day, and some notable spikes with ~2k views | 15:55 | ||
| tadzik | 18th and 19th is curious | 15:56 | |
| I wonder if 19th is just people from 18th catching up with reddit :P | |||
| moritz | probably the tail from 18th spike | 16:01 | |
|
16:03
telex left
16:04
telex joined
|
|||
| tadzik | yeah | 16:16 | |
|
16:20
rummik joined
|
|||
| cognominal | thx | 16:24 | |
| dalek | c: 7f27be4 | VZ++ | lib/Date.pod: Correct day-of-week return value documentation. At least with the latest Rakudo day-of-week returns 7 for Sunday, not 0. |
16:29 | |
| c: 31748bc | (Konrad Borowski)++ | lib/Date.pod: Merge pull request #11 from vadz/patch-1 Correct day-of-week return value documentation. |
|||
| rindolf | Hi all. | 16:35 | |
| And Happy Christmas. | |||
|
16:38
sftp joined
|
|||
| cognominal | rindolf: Happy Perlmas. we probably are in 1 BPE. 1 year Before Perl 6 Era. :) | 16:39 | |
| then, I don't know if we start to count from 0 or from 1. | 16:41 | ||
| rindolf | cognominal: OK. | 16:42 | |
| It's always 1 year before Perl 6 Era. | |||
| cognominal | speaking of era, the ethernet era is not over yet, I need to buy an ethernet adaptator for my macbook | 16:48 | |
| xenoterracide | the last advent reminds me... I noticed a distinctive lack of 'last_day_of_month' options in the temporal modules... and Date couldn't take now() to mean today (which, incidentally, also would make a better sane default than christmas ) | 16:55 | |
| moritz | cognominal: not over by far. Ethernet allows you to do cool stuff like VLANs :-) | 16:56 | |
| xenoterracide | I ultimately would need last_day_of_month for credit card objects. | 17:01 | |
| moritz | xenoterracide: then implement it, spec it, test it | 17:14 | |
| and spell it with last-day-of-month instead :-) | |||
|
17:22
FROGGS_ left
17:35
cognominal left
17:36
cognominal joined
17:41
cognominal_ joined
17:42
cognominal left
|
|||
| dalek | c: 3b5dbf4 | isBEKaml++ | lib/Str.pod: [doc] Add /some/ documentation for .subst |
17:44 | |
| spider-mario | I think I may have found a parser bug in Rakudo | 17:52 | |
| (1, 2, 3 ==> map * * 2).perl | |||
| oops | |||
| r: (1, 2, 3 ==> map * * 2).perl | |||
| p6eval | rakudo c8de2e: ( no output ) | ||
| spider-mario | r: (1, 2, 3 ==> map * * 2).perl.say | 17:53 | |
| p6eval | rakudo c8de2e: OUTPUT«(2, 4, 6).list» | ||
| spider-mario | r: any(2, 4, 6).perl.say | ||
| p6eval | rakudo c8de2e: OUTPUT«any(2, 4, 6)» | ||
| spider-mario | r: any(1, 2, 3 ==> map * * 2).perl.say | ||
| p6eval | rakudo c8de2e: OUTPUT«===SORRY!===Unable to parse expression in argument list; couldn't find final ')'at /tmp/3KE2uTvSmA:1------> any(1, 2, 3 ⏏==> map * * 2).perl.say expecting any of: postfix infix or meta-infix infix … | ||
| timotimo | so, Adventure::Engine exists, would i call mine Cardgame::Engine? | ||
| moritz | std: any(1, 2, 3 ==> map * * 2).perl.say | ||
| p6eval | std a8bc48f: OUTPUT«===SORRY!===Unable to parse argument list at /tmp/AScLK2x9jy line 1:------> any⏏(1, 2, 3 ==> map * * 2).perl.sayCouldn't find final ')'; gave up at /tmp/AScLK2x9jy line 1:------> any(1, 2, 3 ⏏==> map * * 2).perl… | ||
| spider-mario | oh. | ||
| how come? | 17:54 | ||
| moritz | std: 1, 2, 3 ==> map * * 2 | ||
| timotimo | oh, are feed operators supposed to work like that? | ||
| p6eval | std a8bc48f: OUTPUT«ok 00:00 43m» | ||
| moritz | maybe not inside argument lists? | ||
| timotimo | r: any((1, 2, 3 ==> map * * 2)).perl.say | ||
| moritz | I have no idea | ||
| p6eval | rakudo c8de2e: OUTPUT«any(2, 4, 6)» | ||
| timotimo | that works. | ||
| std: any(1, 2, 3 ==> map * * 2).perl.say | 17:55 | ||
| p6eval | std a8bc48f: OUTPUT«===SORRY!===Unable to parse argument list at /tmp/kaFdWNHGja line 1:------> any⏏(1, 2, 3 ==> map * * 2).perl.sayCouldn't find final ')'; gave up at /tmp/kaFdWNHGja line 1:------> any(1, 2, 3 ⏏==> map * * 2).perl… | ||
| timotimo | yeah, just add more parens and it'll work | ||
|
17:56
marloshouse left
17:58
cognominal_ left
|
|||
| dalek | c: 4f6552b | moritz++ | lib/Str.pod: [Str] subst documentation to the style usually used here * move to section Methods. It is a method after all * add a signature * add a small amount of formal description |
18:00 | |
|
18:01
marloshouse joined,
cognominal joined
18:10
FROGGS_ joined
18:11
cognominal left
18:17
cognominal joined,
pmurias joined
|
|||
| pmurias | hi | 18:17 | |
| jnthn: is there a way to attach info to objects that survives compiling to a .pbc? | 18:18 | ||
|
18:19
LlamaRider joined,
LlamaRider left
18:20
LlamaRider joined
18:27
LlamaRider left
|
|||
| pmurias | timotimo: if you want to use nqp-js for your card game I could work on making nqp-js emit javascript suitable for client side use | 18:30 | |
| timotimo | pmurias: i give you about half a year to make it to the first usable prototype of that feature :) | 18:31 | |
| dalek | c: 4b715a9 | moritz++ | lib/Str.pod: [Str] implement adverbs for .subst |
18:32 | |
|
18:32
AndChat|356841 joined
|
|||
| moritz | pmurias: can you give a short overview of what nqp-js supports? | 18:32 | |
| control flow? objects? bigints? grammars? | 18:33 | ||
|
18:34
spider-mario left
18:35
FROGGS_ left
18:36
GlitchMr left,
GlitchMr joined
|
|||
| moritz | huh, why do (nearly) all the links on doc.perl6.org have curly braces around them? | 18:38 | |
| mst | beecause they're block links | 18:44 | |
|
18:45
noggle_ left
|
|||
| cognominal | mst, what is a block link? | 18:49 | |
| mst cries | 18:50 | ||
|
18:50
noggle joined
|
|||
| cognominal | my compassion to mst does not help me much to understand what is a block link. | 18:54 | |
| mst | moritz was asking why the doc.perl6.org links all say {link} | 18:57 | |
|
19:02
GlitchMr left
|
|||
| cognominal | mst: you think you are joking about Perl but there is indeed something named a block link in html5. simplyaccessible.com/article/html5-block-links/ Like always dropping some context can help. You think you are smart, you act condescendant, and you come out as plain ignorant. | 19:03 | |
| mst | I made a pun based on the {} - it wouldn't've been a good pun if there wasn't such a thing as a block link | 19:04 | |
|
19:04
lolage joined
|
|||
| cognominal | I would be reductionnist if I said I just came with a good mst characterisation. :) | 19:05 | |
| mst | I was trying to avoid murdering a bad joke by explaining it; if you can manage to make people see the pun without fully explaining it then it's bad manners not to at least try | 19:06 | |
| "dropping some context" doesn't work for puns, it kills them stone dead | 19:08 | ||
| cognominal | thar art is about dropping enough context but not too much. | 19:09 | |
| mst | which I did, the second time you asked for a hint | 19:11 | |
| cognominal | s/that/the/ | ||
| pmurias | moritz: control flow,objects,grammar no bigints yet | ||
| * grammars | 19:12 | ||
| moritz: the grammars support is very partial | 19:13 | ||
| mst | then for some reason you decided to start insulting me, which I'm ignoring because #perl6 prefers to err on the side of politeness | ||
| and that's an important thing about the culture in here, so you'll find people who've been around for a while try their best to follow it | |||
| pmurias | moritz: the object support will be much better once I figure out a sane way of having a setting in nqp, and I can reuse the how's | 19:18 | |
|
19:27
cognominal left
19:28
FROGGS_ joined
19:30
cognominal joined,
cognominal left,
cognominal joined
|
|||
| moritz | mst: thanks for the block links hint | 19:31 | |
| mst | moritz: it was a terrible pun! | ||
| moritz: I've no idea other than that :( | |||
|
19:31
AndChat|356841 left
|
|||
| moritz | dammit :( | 19:31 | |
| probably some toolchain fuckup | 19:32 | ||
| mst | or "somebody thought they'd be pretty that way" | ||
| I just thought that clearly a link with {} round it must be a block link | |||
|
19:32
rummik left
|
|||
| moritz | seems to be a Pod::To::HTML thing | 19:34 | |
| r: my $x = 42; say qq{<a href="example.com">{$text}</a>} | 19:35 | ||
| p6eval | rakudo c8de2e: OUTPUT«===SORRY!===Variable $text is not declaredat /tmp/XJcwiGoQ8x:1------> 42; say qq{<a href="example.com">{$text⏏}</a>} expecting any of: postfix» | ||
|
19:35
cognominal left
|
|||
| moritz | r: my $x = 42; say qq{<a href="example.com">{$x}</a>} | 19:35 | |
| p6eval | rakudo c8de2e: OUTPUT«<a href="example.com">{42}</a>» | ||
| moritz | n: my $x = 42; say qq{<a href="example.com">{$x}</a>} | ||
| p6eval | niecza v24-12-g8e50362: OUTPUT«<a href="example.com">{42}</a>» | ||
| moritz | erm, is that correct? | ||
| rn: my $x = 42; say qq[<a href="example.com">{$x}</a>] | 19:36 | ||
| p6eval | rakudo c8de2e, niecza v24-12-g8e50362: OUTPUT«<a href="example.com">42</a>» | ||
| moritz | anyway, that's the reason for the curly braces | 19:37 | |
| old rakudo parsed the quotes differently | |||
|
19:40
FROGGS_ left
19:41
FROGGS joined
19:43
cognominal joined
|
|||
| Tim-Tom | Is the precedence of the set operators intended to be lower than that of assignment? | 19:44 | |
| r: my $a = set(<a b>) (-) set(<b c>); say $a | |||
| p6eval | rakudo c8de2e: OUTPUT«set(a, b)» | ||
| FROGGS | hi there | 19:45 | |
| Tim-Tom | Hi :) | ||
| moritz | no | 19:46 | |
| Tim-Tom | r: my $a = (set(<a b>) (-) set(<b c>)); say $a # in case it wasn't clear what was going on | ||
| p6eval | rakudo c8de2e: OUTPUT«set(a)» | ||
| moritz | but nobody really knows what the correct precedence is :( | ||
| otherwise I would have fixed it | |||
| cognominal | I forgot what is the difference between $() and () :( | ||
| moritz | github.com/perl6/specs/issues/25 | ||
| cognominal: $() is item context | |||
| Tim-Tom | Well I recommend tighter than assignment because I spent a good 15 minutes debugging it :) | ||
| FROGGS | Tim-Tom: I like this one, but I dont know if it 100% accurate: www.ozonehouse.com/mark/periodic/ | 19:47 | |
| dont know if it covers it though | |||
| Tim-Tom | Set operators were created after that table was created | 19:48 | |
| FROGGS | ahh, k | 19:49 | |
|
19:50
GlitchMr joined
|
|||
| cognominal | moritz: I understand that context can act on a value and returns another one, but I don't get the meaning of a value with context. | 19:51 | |
| moritz | cognominal: it just puts a value into a scalar container | ||
| r: my $count = 0; $count++ for 1, 2, 3; say $count | 19:52 | ||
| p6eval | rakudo c8de2e: OUTPUT«3» | ||
| moritz | r: my $count = 0; $count++ for $(1, 2, 3); say $count | ||
| p6eval | rakudo c8de2e: OUTPUT«1» | ||
| cognominal | moritz++ | ||
| I feel I have already tripped on that one. I am a slow learner. | 19:53 | ||
|
19:57
colomon left
|
|||
| diakopter | cognominal: I corrected a man's two puns (which he phrased as questions), which I only later realized were puns. :< | 20:09 | |
| two nights ago | |||
|
20:14
LlamaRider joined
|
|||
| timotimo | pmurias: do you have an estimation when nqp-js will be somewhat useful for front-end javascript work for browser/DOM scripting? | 20:21 | |
| i suppose there could be nqp modules to make using jquery or canvas or what ever exists in that shiny, strange and foreign world of JS in the browser ... | 20:22 | ||
| ... easier. | 20:23 | ||
| pmurias | timotimo: that depends on the definition of somewhat useful | 20:28 | |
| timotimo | because i quite don't know what i'm doing when it comes to HTML and JS. so you don't have to hurry anyway. or expect greatnes :D | ||
| pmurias | timotimo: it's far away from making things easier then with plain js (which I think would require rakudo-js) | 20:29 | |
| timotimo | so maybe i'd use something else instead? | ||
| pmurias | but I think I could get something usable for simple thing by tommorow ;) | 20:30 | |
| timotimo: js+jquery seems the simplest thing | |||
| timotimo | there's lots of higher level languages that 'compile' to js. maybe i'd try one of those. i thought perhaps nqp-js would be somewhat similar | 20:31 | |
| but i see the design goal is something different | |||
| pmurias | timotimo: why do you want to use a language that compiles to js? | 20:33 | |
| timotimo: making things easier? | 20:34 | ||
| timotimo | well, js in a browser seems to me the closest i get to a GU-like Interface without having to learn to use niecza and GTK# | ||
| pmurias | and you want to use Perl 6? | 20:35 | |
| timotimo | oh, that is the question? yes, i'd like things to be easier, because i'ven't ever done js+html properly before | ||
| and since this is a "learn perl6! yaaaay" project, and at the same time you talked about nqp-js, so i thought maybe there's some use ni that | 20:36 | ||
| anyway, it's about bedtime for me, so i'll better get going. have a good *, everyone :) | 20:37 | ||
|
20:37
colomon joined
|
|||
| pmurias | good night | 20:37 | |
|
20:38
Khisanth left
21:04
quester joined
21:09
sftp left
21:16
colomon left
21:19
hash_table joined
21:20
LlamaRider left
21:21
LlamaRider joined
21:26
colomon joined
21:29
geekosaur left,
rummik joined,
geekosaur joined
21:34
MayDaniel joined
21:35
GlitchMr left
21:37
LlamaRider left
21:54
fgomez left
|
|||
| cognominal | diakopter, :) | 21:55 | |
|
22:09
kaare_ left,
Ayiko joined
22:22
lolage left
22:26
rking joined
22:27
pmurias left
22:37
whiteknight joined
22:40
lolage joined
22:49
fgomez joined,
hash_table left
|
|||
| masak | good almost-midnight, #perl6 :) | 22:51 | |
| phenny | masak: 11:08Z <moritz> tell masak about www.perlmonks.org/?node_id=1010193 (question about p6cc t3) | ||
| masak | I see I have some backlogging to do. | ||
|
22:53
fgomez left,
fgomez joined
22:54
PacoAir left
|
|||
| masak | moritz: I replied. www.perlmonks.org/?node_id=1010291 | 22:57 | |
|
23:00
Khisanth joined
23:01
fgomez left
23:10
cognominal left
23:12
cognominal joined
|
|||
| felher | good slightly-past-midnight, masak. | 23:23 | |
| masak | o/ | 23:30 | |
| tadzik | hi hi | 23:37 | |
|
23:45
rummik left
|
|||
| sorear | o/ | 23:46 | |
| merry 25th to y'all. | |||
|
23:52
rummik joined
|
|||
| masak | happy Newtonmas. | 23:56 | |
| (though here it's already tomorrow) | |||
| flussence | it's today here for 5 more seconds | 23:59 | |