|
07:48
[particle]1 joined
10:23
[particle]1 joined,
moritz_ joined,
zarah joined
11:22
masak joined
|
|||
| masak | ok, on line 40 of p6w/Text/Markup/Wiki/Minimal.pm we have 'Text::Markup::Wiki::Minimal::Syntax::paragraph' | 11:26 | |
| I would like to be able to write &($?PACKAGE)::Syntax::paragraph there instead | |||
| but I don't think Rakudo supports that yet | |||
| moritz_ | eval to the help! | 12:25 | |
| masak | that's a though... | 12:30 | |
| s/\\./t./ | |||
| but since I intend it as an _improvement_ to readability... :) | 12:31 | ||
| actually, depending on how it looks, it might be better with eval than the current state of things | |||
| moritz_ | given that $?PACKAGE isn't implemented... forget it | 12:32 | |
| masak | true | 12:33 | |
| how hard would it be to implement? | |||
| is the information available already, only not through the variable $?PACKAGE? | |||
| how does a class know its own name through .WHAT? | |||
| moritz_ | that's totally unrelated | 12:34 | |
| masak | packages and classes? | ||
| moritz_ | implementation-wise, I mean | ||
| masak | I thought they belonged to the same hierarchy of container-like things in Perl 6 | ||
| moritz_ | classes create a proto object | 12:35 | |
| and that stores the class name, I think | |||
| which can be accessed via method calls | |||
| masak | I'm just thinking of from where to instruct the information about the current package | ||
| s/instruct/extract/ | |||
| moritz_ | whereas $?PACKAGE would have to install a read-only lexical variable at compile time for every class/module/package definition | 12:36 | |
| masak | hm | ||
| would `class A { print $?PACKAGE }` print "A"? | |||
| moritz_ | I think so, yes | 12:37 | |
| masak | moritz_: agree. that's a very different thing from what .WHAT does | ||
| masak emails rakudobug about $?PACKAGE | 12:38 | ||
| moritz_ | but again, the relationship between classes, packages and types is a bit outside my area of expertise | ||
| masak | mine too, but I'm learning | 12:39 | |
| hm, spec.pugscode.org 403s for me | |||
| moritz_ | try again | 12:40 | |
| masak | same thing | ||
| moritz_ | on Sunday I was reading through the Perl 6 part of "Perl 6 and Parrot Essentials" | ||
| works here | |||
| masak | perlcabal.org/syn/ works, though | ||
| moritz_ | and I corrected small things here and there... | ||
| masak | in the book? | ||
| moritz_ | and then I hit chapter 7 about rules/regexes | 12:41 | |
| and it's all out of date | |||
| I didn't even know where to start | |||
| masak | I can imagine | ||
| much has changed in that area | |||
| moritz_ | masak: yes, it's open sourced | ||
| masak | mainly because of PGE, I guess :) | ||
| moritz_: oh. cool. | |||
| moritz_ | the perl 6 part lives in the pugs repo in docs/tutorial/ | 12:42 | |
| the parrot part in the parrot repo in docs/book/ | |||
| masak | (open source)++ | 12:43 | |
| moritz_ | anyway, even if we neglect out-of-date-ness, it's much too fast for anybody who doesn't know regular expressions | 12:44 | |
| and even if somebody knows about them, the calls to subrules aren't explained all that well, so it's not obvious for the reader what the powerful part of the regexes is | 12:45 | ||
| and the match object isn't explained at all | |||
| masak | much to be done in the area of documentation, it seems. | ||
| it's also important to actually _use_ the cool features, so that we know what realistic examples to give | 12:46 | ||
| is this correct Perl 6? `package P; say $?PACKAGE` | 12:47 | ||
| moritz_ would parse mathematic expressions, but he uses that example far too often anyway | |||
| masak: yes, it's correct, but there can only be one package $name; expression in a file | |||
| masak | let's say there is in this case :) | ||
| does Rakudo support that only-one-per-file form yet? | |||
| or am I better of just using class blocks in my examples in the email to rakudobug? | 12:48 | ||
| apparently it's not supported yet :) | |||
| moritz_ detects a lack of p6eval in #november-wiki | 12:49 | ||
| masak | indeed | ||
| fixable? :) | |||
| moritz_ | sure | ||
| masak | yay! | 12:50 | |
| moritz_ | I just have to find the correct config file | ||
|
12:50
p6eval joined
|
|||
| masak | ...and once again, the population of bots equals the population of humans in #november-wiki | 12:50 | |
| rakudo: say "hello Perl 6!" | |||
| p6eval | rakudo 31507: OUTPUT[hello Perl 6!ā¤] | ||
| moritz_ detects: lack of p6eval solved | |||
| masak | moritz_++ | 12:51 | |
| moritz_ counts two bots only, two speakers and two lurkers | |||
| masak | zarah: did he count you as a bot or a human? | ||
| zarah | masak: are you making fun of me? | ||
| masak | zarah: yes. | ||
| zarah | masak: I see. | ||
| moritz_ | uhm | 12:52 | |
| masak | karma moritz | ||
| zarah | moritz has a karma of 0 | ||
| masak | karma moritz_ | ||
| zarah | moritz_ has a karma of 1 | ||
| moritz_ | ok, not easily recognizable as a bot | ||
| is that a non-nerving version of purl? ;-) | |||
| masak | zarah: you may be a bot, but you are the cute one! | ||
| zarah | masak: no, YOU are the cute one! | ||
| masak | :) | 12:53 | |
| moritz_: yes, she is | |||
| moritz_ | oh, and charming as well | ||
| PHP? | |||
| masak | Perl 5 :) | ||
| moritz_ | zarah: PHP? | ||
| zarah | moritz_: are you talking to *me*? | ||
| masak | she's written in POE | 12:54 | |
| moritz_ | so not just an infobot? | ||
| zarah, PHP is swahili for "child molestor" | |||
| zarah | moritz_: I did not understand that | ||
| masak | moritz_: well, she doesn't do that thing that purl does with remembering loose data, no | 12:55 | |
| (I hate that) | |||
| moritz_ | ah, ok | ||
| masak | but she does respond automatically to certain harmless patterns | ||
| three cheers for certain harmless patterns! | |||
| zarah | hooray! hooray! hooray! :) | ||
| masak | botnsack | ||
| er, botsnack | |||
| moritz_ | masak: I think remembering loose data is OK as long as you talk directly to the bot | ||
| masak | botsnack | ||
| zarah | ;) | ||
| masak | moritz_: it could be, yes | 12:56 | |
| I haven't felt the need for it so far | |||
| moritz_ | ok | ||
| masak | she is mostly used by people who already know the loose data | ||
| moritz_ | ;-) | ||
| masak | zarah: tell moritz_ zarah has messaging capability, though | 12:57 | |
| zarah | Consider it noted. | ||
| masak | ...just like lambdabot | ||
| moritz_ | ORLY? | ||
| masak | zarah: help | ||
| zarah | moritz_: You have new messages. Write '@messages' to read them. | ||
| masak: avaliable commands are boo botsnack clear-messages google help hi karma messages restart seen slap tell thanks | |||
| moritz_ | @massages | ||
| zarah | moritz_: masak said zarah has messaging capability, though | ||
| masak | :P | ||
| I thought of that | 12:58 | ||
| moritz_ | even with levenstein distance, or whatever ;) | ||
| masak | huh? no, certainly not :) | ||
| moritz_ | @a = (1, 2, 3) | ||
| masak: just special cases? | |||
| masak | ouch | ||
| aye | |||
| don't know if good or bad | |||
| in this case, good :) | |||
| moritz_ | good! | ||
| masak | but might be bad if a command was mis-spelled | 12:59 | |
| moritz_ | but I think with the possiblity of having Perl 6 examples in this channel a usage message would be more annoying | ||
| masak | aye | 13:00 | |
| it sometimes is annoying in #perl6 | 13:01 | ||
| zarah: you're the non-annoying one! | |||
| zarah | masak: no, YOU'RE the non-annoying one! | ||
| masak | :) | ||
| masak is a strong believer in narrow AI | 13:04 | ||
| s/ie/ei/ | |||
| moritz_ settled on a topic for his diploma thesis today | 13:06 | ||
| masak | let's hear it | ||
| moritz_ | or rather, on a professor and a field | ||
| it's about spin hall effect in semiconductors | 13:07 | ||
| masak hits Wikipedia | |||
| moritz_ | we have a new chair for theoretical nano physics | 13:08 | |
| masak | how does this Spin Hall effect affect the performance of semiconductors? | ||
| moritz_ | not significantly, I think | 13:09 | |
| unless in weird semiconductors like TeHg | 13:10 | ||
| but the question is, can you build transistors that work with spin instead of charge? | |||
| masak | spintronics! | ||
| masak has read something about that in Scientific American | |||
| moritz_ | it's all weird stuff, and I know next to nothing about it yet | 13:11 | |
| ask me again in two months, and I can tell you more ;) | 13:12 | ||
| masak | it's a deal | ||
| good luck! | |||
| moritz_ | thanks | ||
| but the exams go first :( | |||
| they are far less exciting | |||
| masak | well, good luck with them, too | ||
| moritz_ | thanks again | 13:13 | |
| masak is currently writing Chinese characters over and over again, studying for a test | 13:14 | ||
| moritz_ | sounds like just as much fun as trying to understand the quantization of the magnetic field | 13:15 | |
| masak | it's one of those things which are not in themselves fun, but the fruits of the labour is | ||
| it's very rewarding to be able to read Mandarin Chinese | 13:16 | ||
| but this repetition business gives me much respect for millions of Chinese school children | |||