Camelia, the Perl 6 bug

IRC log for #perl6, 2009-08-30

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:07 r0bby_ joined #perl6
00:09 DakeDesu joined #perl6
00:32 colomon rakudo: say 360.sin;
00:32 p6eval rakudo 0d4fe0: OUTPUT«Method 'sin' not found for invocant of class 'Int'␤»
00:32 colomon rakudo: say 360.0.sin;
00:32 p6eval rakudo 0d4fe0: OUTPUT«0.958915723414307␤»
00:32 colomon rakudo: say 360.0.sin('degrees');
00:32 p6eval rakudo 0d4fe0: OUTPUT«-2.44921270764475e-16␤»
00:34 colomon rakudo: say 360.0.sin('radians');
00:34 p6eval rakudo 0d4fe0: OUTPUT«0.958915723414307␤»
00:34 colomon rakudo: say (360.0).sin('radius');
00:34 p6eval rakudo 0d4fe0: OUTPUT«0.958915723414307␤»
00:38 PacoLinux joined #perl6
01:00 synth joined #perl6
01:02 snarkyboojum joined #perl6
01:04 snarkyboojum left #perl6
01:05 snarkyboojum joined #perl6
01:11 rhr_ joined #perl6
01:11 quietfanatic joined #perl6
01:27 s1n pmichaud: my logs don't show anything, so the test may have just consumed every bit of my memory and the kernel never killed the app
01:38 rindolf joined #perl6
01:38 rindolf Hi all.
01:41 tak11 joined #perl6
01:53 rhr joined #perl6
02:03 pugs_svn r28118 | quietfanatic++ | [perl6.org] Realigned header by shrinking it a little
02:03 quietfanatic It's been bothering me long enough.
02:17 justatheory joined #perl6
02:26 SmokeMachine joined #perl6
02:40 KyleHa joined #perl6
02:45 quietfanatic joined #perl6
02:58 tak11 joined #perl6
02:59 nbrown joined #perl6
03:02 Whiteknight joined #perl6
03:05 frew joined #perl6
03:07 s1n nuts, i just noticed i restarted my ironman status earlier this month
03:12 scud joined #perl6
03:18 nbrown_ joined #perl6
03:20 pugs_svn r28119 | kyle++ | label the tests for RT #68726
03:30 rhr_ joined #perl6
03:48 JimmyZ joined #perl6
03:54 mepplock joined #perl6
03:56 Makoryu joined #perl6
04:04 anfedorov joined #perl6
04:26 * diakopter interested that perl6.org is not url-shortened by Twitter
04:40 anfedorov joined #perl6
05:07 khoh joined #perl6
05:22 eMaX joined #perl6
05:26 pugs_svn r28120 | leto++ | [t/spec] Add tests for hyperop version of min/max
05:37 beggars joined #perl6
05:57 abra joined #perl6
06:13 anfedorov joined #perl6
06:32 dukeleto rakudo: say (1i,-2i).min
06:32 p6eval rakudo 0d4fe0: OUTPUT«Multiple Dispatch: No suitable candidate found for 'cmp', with signature 'PP->I'␤in sub Any::_block1486 (src/gen_setting.pm:245)␤called from method Any::min (src/gen_setting.pm:254)␤called from Main (/tmp/VFGkiehQgK:2)␤»
06:34 dukeleto what would the preferred behavior be there, since complex numbers are not ordered? NaN ? or does it does is return the number with minimum abs() ?
06:34 dukeleto s/does it does is/does it/
06:35 Woodi joined #perl6
06:36 Woodi hallo, is Rakudo official perl6 ?
06:39 zloyrusskiy joined #perl6
06:40 TimToady Woodi: anything that passes the official test suite is official Perl 6
06:41 TimToady (nothing does yet)
06:45 jaldhar joined #perl6
06:47 mr_ank joined #perl6
06:47 dukeleto Woodi: i think the last time I heard, rakudo was passing about %68 of the spec test suite. http://rakudo.org/status
06:49 Woodi ppls in #perl seems to be strongly hating p6 idea...
06:49 mr_ank You mean Camelia?
06:49 dukeleto Woodi: #perl is a different world
06:49 pugs_svn r28121 | leto++ | [t/spec] Add test for sorting floats with Inf/NaN in S32-list/sort.t
06:49 TimToady #perl likes to strongly hate lots of things
06:50 TimToady the discouragement of hate in Perl 6 is one of the things they hate :)
06:50 dukeleto Woodi: people there like to spread negativity, but they don't seem to actually produce anything other than trolling.
06:51 Woodi heh. i think that better will win :)
06:51 mr_ank you mean stuff like Moose?
06:51 mr_ank Or Catalyst?
06:51 mr_ank I'm confused, what exactly have you produced?
06:52 TimToady I've produced confusion :)
06:52 * TimToady is pretty good at that...
06:55 mr_ank i wish i could be paid to produce that for 10 years :P
06:55 sjohnson people in #perl are kind of mean
06:55 sjohnson they hurt baby!
06:56 Schmeckr joined #perl6
06:57 snarkyboojum last I heard perl6 was mostly a volunteer effort :)
06:57 Schmeckr left #perl6
06:58 Woodi and what about parrot - someone started optimizing it for performance ?
07:01 dukeleto Woodi: that would be many people, but chromatic is very active in that area
07:12 mr_ank left #perl6
07:14 sri_kraih_ joined #perl6
07:16 carlin joined #perl6
07:28 pugs_svn r28122 | leto++ | [t/spec] Add test for sqrt(-0.0)
07:36 dukeleto t/spec/TODO mentions a file t/deprecated-syntax.pod that doesn't seem to exist any more
07:39 cahek joined #perl6
07:43 xinming_ joined #perl6
07:48 azawawi joined #perl6
07:48 azawawi hi
07:50 sjohnson hey
07:50 sjohnson oops, too late
07:50 sjohnson (´ー` )
07:57 iblechbot joined #perl6
08:03 molaf joined #perl6
08:10 Su-Shee joined #perl6
08:10 Su-Shee good morning. :)
08:16 rindolf Su-Shee: morning.
08:16 rindolf Su-Shee: how is Sunday called?
08:17 rindolf http://en.wikipedia.org/wiki/Frederick_P._Brooks - hmmm.... he won the Turing Award.
08:18 carlin dukeleto: http://svn.pugscode.org/pu​gs/t/deprecated-syntax.pod
08:18 colomon joined #perl6
08:18 dukeleto carlin++
08:19 Su-Shee rindolf: literal translation: sonn (sonne/sun) tag (day)
08:19 rindolf Su-Shee: no, I mean if Sat is Su-Shee's slacking day - what is Sunday?
08:20 Su-Shee rindolf: ah :))
08:20 Su-Shee rindolf: planning and coding day.
08:20 rindolf Su-Shee: ah.
08:20 iblechbot_ joined #perl6
08:21 rindolf Su-Shee: someone quoted Reddit about perl6.org on #perlcafe
08:21 Su-Shee rindolf: the manly gay feminine part? ;)
08:22 rindolf Su-Shee: hmm... it was said by EvanCarroll
08:22 carlin we should make camelia flash different colours, that'd give them something to complain about ;)
08:22 rindolf http://www.reddit.com/r/programming/comments/9​f7yt/new_main_perl_6_website_perl6org/c0cjjil - this one.
08:22 Su-Shee I can add blink tags and marquees. ;)
08:23 rindolf Su-Shee: does perl6.org has some nifty :hover effects?
08:23 rindolf Nothing too intrusive just background colour change, etc.
08:23 Su-Shee rindolf: pugs main developer is transgender, so a little gay vibe seems perfectly reasonable to me. (that comment I really like.)
08:23 Su-Shee (but it's a woman..)
08:24 carlin -4 points
08:26 rindolf Su-Shee: you should also add -webkit-rounded-corners
08:26 rindolf Su-Shee: too bad Opera doesn't have something like that.
08:26 sjohnson how's it going carlin ?
08:26 sjohnson hi Su-Shee
08:27 rindolf Su-Shee: I once read a fortune cookie that said "I'm a Lesbian born in a man's body."
08:27 carlin Hi sjohnson :)
08:28 Su-Shee rindolf: I have border-radius for both.
08:28 rindolf Su-Shee: ah.
08:28 rindolf Su-Shee: http://perl-begin.org/temp/ - Alan Haggai worked on that with my input.
08:29 rindolf Stretchy.
08:29 carlin the css validator doesn't like browser-specific border radii :(
08:29 rindolf Fluid.
08:29 rindolf Munctional!
08:29 rindolf carlin: yes, it's kinda inane.
08:29 Su-Shee carlin: yes. it's upcoming css3 which is supported by all major relatively recent browsers and will change to "border-radius" then. but it's not valid css2.x
08:30 Su-Shee carlin: the next years will be somewhat fuzzy because all browsers are nowadays very much faster with implementing standards than the w3c actually releasing them.
08:33 carlin true
08:35 Su-Shee (did anyone realize how nice the page looks in lynx? :)
08:38 carlin Except the alt-text on camelia it looks quite good :p
08:41 * carlin wishes sites like reddit could provide constructive feedback rather than "it causes seizures"
08:41 Su-Shee carlin: I have a new version in the making anyway...
08:42 carlin Oh, nice
08:42 Su-Shee carlin: and many male techies will never like anything remotely "cute" or brightly colored..
08:42 carlin Is their a preview of the new live anywhere?
08:43 Su-Shee carlin: alway at http://sushee.no-ip.org/p6p/
08:43 Su-Shee carlin: but it's really pre-pre-pre (until I've finished my coffee :)
08:44 carlin have a link saying "if you are a male techie click here" which changes the website to a black background with white monospace text
08:44 carlin that'll make everyone happy
08:44 Su-Shee *hihihi* ok :)) easily done :))
08:47 lambdabot joined #perl6
08:48 charsbar joined #perl6
08:49 M_o_C joined #perl6
08:49 rindolf Su-Shee: I don't see the download link.
08:50 cognominal I wonder if color choices are only cultural bias
08:50 Su-Shee rindolf: in lynx?
08:50 rindolf But I like the briefer discussions.
08:50 rindolf Su-Shee: no - here - http://sushee.no-ip.org/p6p/
08:50 Su-Shee cognominal: of course they are. ask what everyone besides israel thinks about light blue in the middle east. ;)
08:50 rindolf Su-Shee: I suggest making the colours more pastelly.
08:51 rindolf Su-Shee: and the fonts of the headers larger.
08:51 Su-Shee rindolf: I've tried. Rejected by commitee :)
08:51 rindolf Su-Shee: and perhaps not phrase them as questions.
08:51 rindolf But rather "Download"
08:51 rindolf Or "About"
08:51 rindolf Or "Contribute"
08:51 Su-Shee rindolf: ah, the pre-version.. please wait a little until I got more..
08:52 Whiteknight joined #perl6
08:54 carlin and on the male techie version replace Camelia with an Atlas moth
08:55 cognominal and for the litterary kind a link toward nabokov?
08:56 carlin in true timtowtdi fashion, the homepage is a portal which branches to a site layed out differently based on preference
08:58 ejs joined #perl6
08:59 carlin also need a version for entomophobiacs
09:01 Su-Shee someone could do me the favor and start coding a little sleek cms in perl 6. ;)
09:01 carlin What, actually do work? But it's so much easier to just criticise on IRC
09:03 Su-Shee well if we're actually offering a central site for everyone to go to about everything perl 6 related, this is going to be very fast a rather large thing..
09:03 rindolf Su-Shee: maybe code an off-line CMS.
09:03 rindolf Su-Shee: or convert Latemp to p6.
09:05 Su-Shee rindolf: I can manage with pure html and vi for a rather long time, so no hurry. but "a p6 cms" is something on the top 10 killer app list anyway.
09:05 rindolf Su-Shee: ah.
09:05 Su-Shee (blog engine, cms, wiki, forum, microblogging engine, web framework..)
09:05 rindolf Su-Shee: how do you maintain a navigation menu across pages?
09:08 Su-Shee rindolf: good question, next question. ;)
09:08 rindolf Su-Shee: in Latemp, it's a no-brainer.
09:09 rindolf Su-Shee: I never maintain a site as raw HTML.
09:09 rindolf I always use Latemp or something.
09:09 rindolf TT2 is also nice.
09:09 rindolf nothingmuch: I saw your comment on my &zip blog post.
09:10 Su-Shee rindolf: I even don't know latemp.
09:10 rindolf Su-Shee: then learn - http://web-cpan.berlios.de/latemp/
09:12 rindolf Su-Shee: though it has a steep learning curve.
09:12 rindolf Su-Shee: I love how all the borders on that page are perfectly aligned.
09:12 rindolf I used pt offsets.
09:29 snarkyboojum joined #perl6
09:33 snarkyboojum joined #perl6
09:37 snarkyboojum joined #perl6
09:50 Grrrr joined #perl6
09:53 Chillance joined #perl6
10:09 Chillance_ joined #perl6
10:10 sjohnson ( `ー´)
10:15 jauaor joined #perl6
10:15 carlin the silence is broken by a
10:15 carlin umm
10:15 carlin what is that?
10:16 jauaor me
10:17 carlin ah no, a little ascii drawing by sjohnson, right before you joined
10:20 sjohnson i call it, "the fatface"
10:20 Su-Shee sleeping cat?
10:27 Front_slash joined #perl6
10:27 rindolf Su-Shee: sleeping cat(1)?
10:27 carlin man cat?
10:27 rindolf cat man.
10:27 rindolf echo cat
10:27 rindolf cat echo
10:27 carlin cat: man: No such file or directory
10:28 sjohnson TimToady said it was a sleeping cat too
10:28 carlin and who are we to question his judgement?
10:28 Su-Shee tail missing, but it really looks like it. :)
10:28 rindolf carlin: you should try it in /usr/bin
10:28 sjohnson ~( `ー´)
10:28 sjohnson there u go Su-Shee
10:28 carlin rindolf: nice, I'm sure vim could find a way to syntax highlight that output
10:29 rindolf $ file /usr/bin/man
10:29 rindolf /usr/bin/man: setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
10:29 Su-Shee sjohnson: "can it purr?" ;)
10:29 rindolf Emacs has a hex editing mode.
10:30 * rindolf is taking a break from refactoring some C code.
10:31 rindolf Why is it /bin/cat and /bin/tiger ?
10:31 JimmyZ joined #perl6
10:31 rindolf Why is it /bin/cat and not /bin/tiger ?
10:31 iblechbot joined #perl6
10:32 sjohnson ~( `ー´) purr!!
10:32 sjohnson thats as good as i am with ascii art
10:33 rindolf Hmmm... Frenglish is fun.
10:33 rindolf sjohnson: isn't it Unicode art?
10:33 sjohnson yeah
10:33 sjohnson i call it Franglais too
10:33 rindolf sjohnson: that it's not ASCII.
10:33 rindolf sjohnson: Frenglish is in English  ; Franglais is in French.
10:33 rindolf There's also Engrew.
10:34 Su-Shee ah. we have denglish. ;)
10:34 rindolf Hebrew with English paradigms.
10:34 rindolf Su-Shee: Denmark English?
10:34 rindolf Or deautch English?
10:34 Su-Shee de(utsch) english
10:34 rindolf There used to be something called Penglish (pinglish) - Palestinian English.
10:34 rindolf Su-Shee: ah.
10:34 huf dont all programmers speak in a $local_lang/English mix?
10:35 rindolf There's also Chinglish and Engrish.
10:35 rindolf They are really off.
10:35 Su-Shee huf: here, the newspapers are constantly complaining about the imported english words.. ;)
10:36 huf Su-Shee: oh yeah, that's also constant ;)
10:36 huf funny how they never complain about all the latin and german and french and .... words
10:36 Su-Shee huf: yeah. 200 years ago they complained about the massive invasion of french words :))
10:36 rindolf http://en.wikipedia.org/wiki/Franglais
10:37 huf Su-Shee: well, what can you do with people who think a language is a static structure...
10:37 Su-Shee what's really nasty is the more I chat in english and read documentation in english, the more I start to mix german and english while actually speaking, because I don't know certain terms in german.
10:37 rindolf Su-Shee: ah.
10:37 huf Su-Shee: and that is the correct approach imho
10:37 rindolf Su-Shee: it happens to me with Hebrew too.
10:37 huf i *really* hate translating technical terms, which means that when we talk code, large parts of the sentence are in badly-pronounced english :)
10:37 rindolf Su-Shee: I think most Israelis I know make many grammatical/etc. Hebrew mistakes.
10:38 rindolf And some even Spelling.
10:38 Su-Shee turkish girls here have perfected the language mix. for the sake of the communication flow, they use arabic, turkish and german in a rapid flow of speech.
10:38 rindolf Though spelling modern Hebrew is difficult.
10:38 rindolf And such mistakes were found in archaelogical excavations.
10:38 Su-Shee huf: me too. and microelectronics for example I plainly don't know in german anymore.
10:39 rindolf Su-Shee: doesn't most of the Turkish vocab come from Arabic?
10:39 Su-Shee rindolf: no. totally different language family. but of course there's a large arabic corpus.
10:39 huf my belief is that computers should be in english. your data could (but shouldnt, if at all possible) be in some weird provincial language you happend to grow up with, but the UI/code/docs/jargon should always be english.
10:40 Su-Shee huf: I hear you.
10:40 rindolf Su-Shee: yes, that's what I meant.
10:40 rindolf Su-Shee: vocabulary.
10:40 rindolf Su-Shee: not the grammar/syntax/etc.
10:40 rindolf I hate localised error messages.
10:40 Su-Shee OHYES!
10:40 Su-Shee me too!
10:40 rindolf They make reading many Google posts difficult.
10:41 rindolf I mean stuff you find while STFWing.
10:41 huf of course, we dont find it odd that a computer requires a special language to interact with :)
10:41 Su-Shee rindolf: I'm the one who's called by non-techie friends in the evening and ask to give a dignose based on those messages. ;)
10:42 huf but how to force this on the public?
10:42 rindolf Su-Shee: heh.
10:42 M_o_C Another disadvantage is that when googling for a solution you'll only get posts containing the localised error message...
10:42 Su-Shee huf: luckily, many people adopt the english-based internet/tech slang.
10:42 huf Su-Shee: i just claim very loudly that i dont understand hungarian error messages, whenever the subject comes up, so they know i wont/cant help :)
10:43 Su-Shee M_o_C: and on top of all that a distribution-specific solution if it's linux.
10:43 Su-Shee huf: I look sad and say "oh, gee, I'm so sorry, but I don't have a mac (windows) - I really have no idea.."
10:43 huf Su-Shee: yeah, that's also a handy trick :)
10:44 huf "get out of fixing-everyone's-boxen free card"
10:45 Su-Shee huf: especially if those are people which usally don't even have the patience to even listen to what I'm telling them...
10:45 huf Su-Shee: yeah, because "they dont understand it"
10:45 huf as if it required fucking magic...
10:45 pmurias joined #perl6
10:45 huf i need a wizzard hat.
10:45 carlin nope, all you need is a flowchart
10:45 Su-Shee huf: I usally have a nice killer argument.. because I'm also no technician and I also didn't grow up with computers. ;)
10:45 carlin http://xkcd.org/627/
10:46 huf rindolf: is the spelling still hard in hebrew if you use the latin letters?
10:46 rindolf huf: well...
10:46 huf Su-Shee: i got my own computer at age 16. i'm heavily handicapped ;)
10:46 rindolf huf: most people don't follow the right transliteration.
10:46 rindolf Like they use k instead of "q".
10:46 rindolf huf: and some letters in Hebrew don't have a good transliteration.
10:46 M_o_C Meh, github http downloads are darn slow today...
10:47 huf rindolf: oh?
10:47 carlin github is always slow :(
10:47 rindolf huf: for example it's Al-Quran - not Al-Kuran.
10:47 rindolf huf: or Qur'an rather.
10:47 rindolf huf: Al-Qadim too.
10:47 rindolf huf: And it's not kwa.
10:48 abra joined #perl6
10:48 rindolf That was the original use of the word in the Phoenician alphabet.
10:48 rindolf A "q" sound.
10:48 huf hmm, sounds are so hard to talk about on irc...
10:51 rindolf huf: yes.
10:51 rindolf huf: think is - many Hebrew speakers say "k" instead of "q" in everyday speech.
10:51 huf so you have dialects
10:52 rindolf huf: but still, some Israeli arabs told me that learning to read and write Hebrew was much easier for them than learning Written Arabic.
10:52 Su-Shee .oO(says the fellow with the nastily inflected language.. ;)
10:52 huf Su-Shee: eh?
10:52 rindolf huf: we have some dialects and variations.
10:52 Su-Shee huf: aren't you hungarian? ;)
10:52 huf yeah, but how do dialects enter into this :)
10:53 huf we have a few but they're very minor
10:53 huf nothing like german or english has
10:53 rindolf huf: but Hebrew doesn't have a diglossia yet.
10:54 rindolf huf: though sometimes I'm flabbergasted by the broken Hebrew that some people have.
10:54 huf Su-Shee: mostly our dialects center around slight differences in vowel pronuniciation plus how they dealt with the loss of a vowel sound (the 'e' in men)
10:54 huf rindolf: s/hebrew/$local_language/ and yeah, i agree ;)
10:55 Su-Shee huf: I liked hungarian. if you really just go with it, it's not even illogic.
10:55 rindolf huf: I'm not talking about slang. I like a lot of slang.
10:55 rindolf huf: but I'm talking about bad grammar.
10:56 huf hmm... is that because hebrew is so recently resurrected?
10:56 huf or is that just general ignorance
10:57 Su-Shee here, bad grammar is a question of "class" and education...
10:57 huf same
10:58 huf and it only comes out in complex sentences. everyone can perform simple ones correctly.
10:58 Su-Shee huf: here it's certain very specific constructions in simple sentences
10:59 Su-Shee huf: which you either get right or not and that's determined by your environment.
11:00 huf well, not really. no matter what stratum of society you grew up in, you're constantly exposed to the correct grammar. there's no excuse for not knowing that
11:01 Su-Shee huf: you can avoid pretty well to be exposed to good newspapers or news and if you end up only with really bad reality shows on tv...
11:01 rindolf I think that the misunderstanding of Latin by the vulgars has made the grammar of Romance languages.
11:02 huf rindolf: i dont thin the people of rome spoke latin back in the day
11:02 huf it was probably a vulgar dialect ;)
11:03 M_o_C Su-Shee: Even newspapers contain more errors than one thinks they should...
11:03 Su-Shee huf: sure they did - many of them badly of course. there's an entire corpus of people's latin.
11:03 Su-Shee M_o_C: at least they get some nasty grammar fuckups right :)
11:04 huf Su-Shee: wel yes, but even today latin and italian are mutually intelligible, so... latin can be said to be a literary form of italian :)
11:04 rindolf huf: yes, they evolved from Vulgar Latin.
11:05 pmurias ruoso: hi
11:05 Su-Shee well yes and no. as latin was the main written language in entire europe up until.. leibniz I think, there's the line of written latin and the change of people actually speaking and evolving with latin.
11:05 huf Su-Shee: but that latin is not the same as the latin romans spoke ;) not exactly, anyway
11:06 * Su-Shee recommends the tv series "ROME" :)
11:06 Su-Shee quote: "mother, it was just an orgy.." :)
11:07 huf they live in esher?
11:07 rindolf Su-Shee: I heard it was awful.
11:07 Su-Shee rindolf: it was totally brilliant, I _loved_ it.
11:07 rindolf Su-Shee: ah.
11:09 Su-Shee rindolf: I really loved my ass off, they had the exact right amount of disrespect for "uuuh ahhh culture! old languages! latin!" ;)
11:09 Su-Shee laughed of course. ;)
11:14 Su-Shee rindolf: marcus antonius and cleopatra totally stoned... watch it. :)
11:14 rindolf Su-Shee: Cleopatra was a bitch, BTW.
11:14 rindolf She was one of the most Evil women in history , IMO.
11:15 Su-Shee rindolf: well what do you expect from an imperial ruler and politician? ;)
11:15 rindolf Su-Shee: I guess.
11:15 rindolf Though some rulers were noble.
11:16 rindolf Su-Shee: Cleopatra was also Macedonian in origin.
11:17 rindolf She just married the the king Ptolmey of Egypt.
11:17 rindolf Ptolmey (sp?)
11:18 rindolf Ptolemy
11:20 rindolf Modern Hebrew speakers can understand a large part of the Bible.
11:20 rindolf Not all the words there.
11:20 rindolf But most of them.
11:21 rindolf Even though the grammar there is very different.
11:21 rindolf for example you said "And he will go" for "he went"
11:21 rindolf Or "and he went" for "he will go"
11:21 rindolf And it's Verb ; Subject ; Object
11:24 mikehh_ joined #perl6
11:30 carlin rakudo: class Foo { method bar { my @a = 1..10; for @a { say pop @a } } }; say Foo.bar;
11:30 p6eval rakudo 0d4fe0: OUTPUT«10␤9␤8␤7␤6␤5␤4␤3␤2␤1␤»
11:31 carlin from the CLI that works fine for me, if I paste that into a file and run it, it segfaults
11:39 carlin can anyone confirm? / is it known? Seems strange
11:47 carlin rakudo: class Foo { method bar { my @a = 1; undefine @a; } }; say Foo.bar;
11:47 p6eval rakudo 0d4fe0: OUTPUT«Null PMC access in type()␤in Main (/tmp/FY6ElFiRdQ:2)␤»
11:49 snarkyboojum joined #perl6
11:51 snarkyboojum joined #perl6
11:54 elmex joined #perl6
12:03 Chillance joined #perl6
12:12 jan_ joined #perl6
12:20 svarg joined #perl6
12:21 rindolf This is a nice album - http://www.jamendo.com/en/album/51099
12:45 rindolf Su-Shee: maybe you'd like http://www.youtube.com/watch?v=bUpRPMkLGc4
12:46 rindolf It's a skit about an Israeli Arab Teacher of English.
13:04 maerzhase joined #perl6
14:04 maerzhase joined #perl6
14:04 maerzhase joined #perl6
14:05 payload joined #perl6
14:15 nihiliad joined #perl6
14:19 _jaldhar joined #perl6
14:19 Psyche^ joined #perl6
14:30 snarkyboojum joined #perl6
14:36 ruoso joined #perl6
14:37 JimmyZ rakudo: (4/2).say; (4 div 2).say;
14:37 p6eval rakudo 0d4fe0: OUTPUT«2␤infix:<div> not yet implemented in Rakudo, sorry␤in sub infix:div (src/gen_setting.pm:1592)␤called from Main (/tmp/RfY2SosfcB:2)␤»
14:38 JimmyZ rakudo: (4/2).say;
14:38 p6eval rakudo 0d4fe0: OUTPUT«2␤»
14:39 JimmyZ rakudo: ( 'f', 'foo', 'bar')>>.say;
14:39 p6eval rakudo 0d4fe0: OUTPUT«f␤foo␤bar␤»
14:40 JimmyZ rakudo: ( 'f', 'foo', 'bar')>>.print;
14:40 p6eval rakudo 0d4fe0: OUTPUT«ffoobar»
14:43 * ruoso missing :ignoreaccent in Perl 5
14:49 molaf joined #perl6
14:56 anfedorov joined #perl6
14:57 cognominal joined #perl6
14:59 rindolf joined #perl6
15:03 sri_kraih joined #perl6
15:08 rindolf Hi all.
15:09 JimmyZ joined #perl6
15:09 Su-Shee I hate C. I hate Gtk. I want a native Perl widget set.
15:09 meppl joined #perl6
15:09 rindolf Su-Shee: :-)
15:09 rindolf Su-Shee: including a native Perl XLib?
15:10 Su-Shee Yes, please.
15:10 rindolf Su-Shee: coming right up.
15:10 rindolf Su-Shee: not sure how fast it will be.
15:10 Juerd While you're at it, make it web hybrid :)
15:10 rindolf I think gtk+ tends to be kinda verbose.
15:10 rindolf Su-Shee: have you tried Qt?
15:11 Su-Shee rindolf: I don't have any qt apps so I don't use it.. right now I'm only at "trying to compile a more recent gtk version" ;)
15:11 Su-Shee and while I'm at complaining: sometimes I really hate re-use as well... this is a list of dependencies plainly killing me...
15:12 rindolf Su-Shee: slackware sucks.
15:12 rindolf Su-Shee: in Mandriva installing gtk+ is a simple urpmi command away.
15:12 rindolf Su-Shee: or upgrading it.
15:13 Su-Shee rindolf: please don't annoy me now with assumptions about slackware. ;)
15:13 rindolf Su-Shee: and on Mandriva/Debian/etc. I dislike polluting the main parition wiith installed files.
15:13 rindolf Su-Shee: then why don't you use a package manager to install the deps?
15:14 Su-Shee I don't pollute anything, I'm installing another gtk version into somewhere else for some experimental stuff.
15:14 rindolf Su-Shee: I see.
15:14 rindolf Su-Shee: then why don't you build it against the glib/gobject/etc of /usr?
15:14 Su-Shee rindolf: because I need them differently and elsewhere for a specific build enviroment...
15:14 rindolf Su-Shee: ah.
15:14 rindolf Did you write scripts for that?
15:15 Su-Shee not yet, it's the first build up to actually see what I really _have_ to package and script later.
15:28 cognominal joined #perl6
15:31 rfordinal left #perl6
15:33 smuj joined #perl6
15:33 sri_kraih joined #perl6
15:34 sri_kraih joined #perl6
15:34 * araujo was told that mac osx sl now includes some AppleScript bindings for Cocoa
15:34 lambdabot araujo: You have 2 new messages. '/msg lambdabot @messages' to read them.
15:34 smuj perl6: say "yep" if 'aaa' ~~ 'aa'..'ab'
15:34 p6eval pugs, rakudo 0d4fe0:  ( no output )
15:34 p6eval ..elf 28122: OUTPUT«No viable candidate for call to multimethod infix__126_126($,$,$) at (eval 130) line 3␤ at ./elf_h line 5881␤»
15:35 smuj perl6: say "yep" if 'aa' le 'aaa' le 'ab'
15:35 p6eval elf 28122: OUTPUT«No viable candidate for call to multimethod infix_le($,$,$) at (eval 128) line 3␤ at ./elf_h line 5881␤»
15:35 p6eval ..pugs, rakudo 0d4fe0: OUTPUT«yep␤»
15:38 M_o_C Amazon really scares me. Yesterday I was browsing Wikipedia for category theory and functional languages, today I visited Amazon because I wanted to track an order and first thing it suggests me is Basic Category Theory for Computer Scientists. And I did not look for that kind of book previously on Amazon...
15:39 iblechbot joined #perl6
15:40 smuj_ joined #perl6
15:42 pmichaud good morning, #perl6
15:43 JimmyZ joined #perl6
15:43 * cognominal understands why TimToady has choosed biblic scriptures as name for Perl 6 specs. Each time I open the spec,  I have a new reading of it
15:43 JimmyZ my @array = 1, 2, 3; my $a = @array; say $a.WHAT;
15:43 JimmyZ rakudo: my @array = 1, 2, 3; my $a = @array; say $a.WHAT;
15:43 p6eval rakudo 0d4fe0: OUTPUT«Array()␤»
15:44 JimmyZ rakudo: my @array = 1, 2, 3; ^@array.say;
15:44 p6eval rakudo 0d4fe0: OUTPUT«123␤»
15:45 JimmyZ rakudo: my @array' = 1, 2, 3; ^@array'.say;
15:45 p6eval rakudo 0d4fe0: OUTPUT«Statement not terminated properly at line 2, near "' = 1, 2, "␤in Main (src/gen_setting.pm:3454)␤»
15:45 JimmyZ rakudo: my @it'array = 1, 2, 3; ^@it'array.say;
15:45 p6eval rakudo 0d4fe0:  ( no output )
15:46 JimmyZ Hyphens ' and dashes - are allowed as part of identifiers
15:48 Juerd ' is an apostrophe, - is a hyphen
15:48 Juerd They're allowed in identifiers only if followed by an alphanumeric character.
15:48 JimmyZ Juerd: http://perlcabal.org/syn/Differences.html
15:49 Juerd Oh, s/alphanumeric/alphabetic/ indeed.
15:49 JimmyZ I copied it from there.
15:52 smuj_ rakudo: my @it's;    push @it's, 'button';
15:52 p6eval rakudo 0d4fe0:  ( no output )
15:52 * smuj_ didn't know about apostrophes ... kewl!
15:54 JimmyZ rakudo: my $a = ['a','b','c'] && $a.perl.say;
15:54 p6eval rakudo 0d4fe0: OUTPUT«undef␤»
15:54 JimmyZ rakudo: my $a = ['a','b','c']; $a.perl.say;
15:54 p6eval rakudo 0d4fe0: OUTPUT«["a", "b", "c"]␤»
15:55 JimmyZ rakudo: my @a = 'a','b','c',; $a.perl.say;
15:55 p6eval rakudo 0d4fe0: OUTPUT«Symbol '$a' not predeclared in <anonymous> (/tmp/DaWUbZlBGG:2)␤in Main (src/gen_setting.pm:3454)␤»
15:55 JimmyZ rakudo: my @a = 'a','b','c',; @a.perl.say;
15:55 p6eval rakudo 0d4fe0: OUTPUT«["a", "b", "c"]␤»
15:57 JimmyZ rakudo: my $a = ['a','b','c']; $a.[1].say;
15:57 JimmyZ rakudo: my $a = ['a','b','c']; $a[1].say;
15:57 p6eval rakudo 0d4fe0: OUTPUT«b␤»
15:57 p6eval rakudo 0d4fe0: OUTPUT«b␤»
16:00 mberends joined #perl6
16:04 sevvie joined #perl6
16:05 JimmyZ rakudo: my $a-b = ['a','b','c']; $a-b[1].say;
16:05 p6eval rakudo 0d4fe0: OUTPUT«b␤»
16:05 JimmyZ rakudo: my $a'b = ['a','b','c']; $a'b[1].say;
16:05 p6eval rakudo 0d4fe0: OUTPUT«b␤»
16:05 sharada joined #perl6
16:08 sharada why no audreyt :(
16:12 JimmyZ sharada: He left Pugs
16:13 ruoso sharada, there's a rumor on her return to Perl 6
16:13 sharada thi isn't pugs ??
16:13 JimmyZ sharado: But I don't why.
16:13 pugs_svn r28123 | pmichaud++ | [t/spec]:  The brackets metaoperator is "reduce", not "hyper".
16:13 * ruoso .oO( A rumor herself started, I must say )
16:14 cognominal meaning rakudo or pugs?
16:14 JimmyZ ruoso: should be him, I think.
16:14 ruoso JimmyZ, I'm sorry, but that's not for you to decide
16:16 JimmyZ 唐宗汉?
16:16 smuj__ joined #perl6
16:16 ruoso JimmyZ, I don't have the font to show that characters
16:16 JimmyZ ruoso: yes.
16:16 ruoso but I wouldn't probably understand it anyway...
16:17 sharada hi how is elf doing?
16:17 JimmyZ the chinese name of audreyt, I think.
16:17 cognominal c'est du chinois pour moi :)
16:17 sharada JimmyZ: I don't know what you are pushing
16:18 JimmyZ sharada: just ignore it.
16:18 ruoso JimmyZ, I really think the personal life of audrey doesn't need to be discussed here... specially in her absense...
16:18 JimmyZ ruoso: I have not discussed any life of him
16:18 JimmyZ or her.
16:19 TimToady she prefers her, so you should honor that
16:19 sharada such a annoying man JimmyZ lol
16:19 sharada why not stop instead of telling me to ignore it
16:19 JimmyZ And then let's stopping talking about it.
16:20 JimmyZ good night to sharada and ruoso.
16:20 smuj__ left #perl6
16:20 cognominal about her? :)
16:20 TimToady urgh
16:20 * ruoso wishes to take back the last 2 minutes from his life
16:21 ruoso (maybe 10)
16:21 sharada I just read "My hobby: Troll hugging."
16:21 sharada and I remembered about perl 6
16:22 cognominal nice to hear about her being back
16:22 TimToady audreyt has had to learn to pace herself to stay healthy; it's a tough lesson (I know from experience)
16:22 sharada It's been ages since I had been following Perl 6 I bet I missed out a lot
16:23 TimToady it continues to develop via a sort of flooding algorithm :)
16:23 sharada pace herself in terms of working too hard on programming projects?
16:23 ruoso you know it's failing when you got drown?
16:23 sharada hey TimToady that sounds nothing but good
16:24 JimmyZ TimToady: sorroy for that, I don't about it. in china, we use he.
16:25 cognominal perl gives yourselve enough rope rope the hang yourself, and now enough water to drown?
16:25 JimmyZ TimToady: s/sorroy/sorry/g
16:25 TimToady JimmyZ: no need to apologize for "it", I was urghing cognominal's bad joke
16:26 sharada Camelia is new to me
16:26 * ruoso still missing :ignoreaccent in Perl 5... how do I get the position of the match in the replace part of a s/W/here/ge in Perl 5?
16:26 jaldhar_ joined #perl6
16:27 * ruoso have to use Text::Unaccent, then match against the normalized string while modifying the original string
16:27 sharada has elf bootstapped the parser now?
16:27 cognominal in French I would have been unable to make such a stupid joke...
16:27 rindolf TimToady: did you see our earlier discussion about languages?
16:27 sharada before it was using a ruby program for parsing I think
16:32 sharada hurmm I am just causing problems here
16:32 mberends sharada: development of elf has stalled
16:32 sharada aww
16:32 sharada why is that?
16:33 mberends the "bus number" was only 1, mncharity++ I think
16:35 TimToady not exactly stalled; mncharity is one of our "hares", as opposed to a tortoise
16:35 TimToady he just has a longer cycle than most
16:36 TimToady sharada: if you are the sort of person that worries about causing problems, then we *certainly* want you around here
16:40 carlin joined #perl6
16:40 ruoso http://scsys.co.uk:8001/33224 -- implementing :ignoreaccent by hand in Perl 5
16:40 cognominal ack++ # so useful to find ones way in big hierarchies
16:40 svarg anyone on a dell using BSD?
16:43 svarg maybe not
16:46 abra joined #perl6
16:50 xomas joined #perl6
16:52 * ruoso feels a bit proud by being the one who suggested :ignorecase and :ignoreaccent as regex modifiers :P
16:54 synth i'm still waiting for INSERT QUARTER ..
17:04 root_ joined #perl6
17:04 root_ left #perl6
17:10 * moritz_ back
17:10 rindolf moritz_: hi.
17:10 pmichaud moritz_: wb
17:11 pmichaud (afk, lunch)
17:11 rindolf TimToady: BTW, which OS+distro are you running?
17:12 TimToady can't talk now; teaching Sunday School
17:14 ruoso are you teaching Perl on Sunday School? :)
17:14 * ruoso run and hides
17:18 anfedorov joined #perl6
17:19 Su-Shee hi moritz.
17:19 moritz_ good evening gentlmen and -women
17:22 maerzhase joined #perl6
17:22 maerzhase joined #perl6
17:24 rindolf moritz_: gentlemen and gentleladies.
17:24 moritz_ rindolf: in your book, maybe.
17:24 * Su-Shee is pretty much working class anyway. ;)
17:25 mookee joined #perl6
17:27 rindolf Su-Shee: a gentleman should treat every woman like a queen.
17:27 rindolf If not more.
17:27 rindolf Unless she's Cleopatra.
17:28 rindolf On the other hand Cleopatra was a queen.
17:28 moritz_ since "gentlemen" sounds one step nicer than "men", it's either "ladies" or "gentlewomen". "gentleladies" would be two steps, and thus unfair against the men
17:29 rindolf Hmm... there's such a word as gentlewomen .
17:29 rindolf How strange.
17:29 rindolf Englishwomen
17:29 rindolf Frenchwomen
17:30 rindolf Valid words in my en_UK dictionary.
17:30 M_o_C joined #perl6
17:30 rindolf Frenglishwomen.
17:30 rindolf Frenglishmen.
17:31 Su-Shee rindolf: I settle for treated nicely, I don't like to live on pedestals. ;)
17:31 rindolf Su-Shee: OK.
17:31 rba_ joined #perl6
17:31 rindolf Su-Shee: my C code has memleaks.
17:31 Su-Shee rindolf: also a nice day I see..
17:32 rindolf Su-Shee: :-)
17:32 rindolf Do you mean it's not unusual?
17:33 Su-Shee C.. I hate C.. I want perl-os.
17:33 moritz_ with encoding aware file names
17:34 rindolf Su-Shee: a Lisp machine.
17:35 rindolf Su-Shee: down to a hardware which C cannot run on too well.
17:35 rindolf Su-Shee: have you looked at Squeak Smalltalk?
17:35 rindolf Su-Shee: we'll also need to create a Perl-based vim clone.
17:36 rindolf Su-Shee: while normally I find Perl preferable, I can sometimes tolerate and enjoy writing C code.
17:39 Su-Shee rindolf: yes, I played with Squeak a little and yes I'd like a vim clone written in perl.
17:40 abra joined #perl6
17:42 Makoryu Why isn't there one already, then?
17:43 Makoryu (A vim clone in Perl)
17:44 Su-Shee good question. there's one in javascript :)
17:48 rindolf Su-Shee: actually , it's a vi clone.
17:49 rindolf Writing a vi clone is much easier than writing a vim clone.
17:49 rindolf Just like writing a Scheme clone is much easier than writing a Perl 6 implementation.
17:49 rindolf Unless you're Chuck Norris.
17:49 abra joined #perl6
17:51 Su-Shee rindolf: darn.. he already write a vim in perl6?
17:51 Su-Shee wrote.
17:52 abra joined #perl6
17:52 moritz_ no, he scared K&R into writing it ;-)
17:52 rindolf Su-Shee: Chuck Norris is the ghost author of the entire Debian GNU/Linux distribution.
17:53 rindolf Su-Shee: and he wrote it in 24 hours, while taking snack breaks.
17:53 Su-Shee rindolf: yes, I know - he published slackware under the pseudonym patrick volkerding...
17:54 abra joined #perl6
17:55 rindolf Chuck Norris read the entire Wikipedia. Twice.
17:56 araujo the second time includes fixing all its errors
17:56 moritz_ but he didn't commmit his changes, it seems
17:56 rindolf moritz_: heh.
17:56 rindolf LOL.
17:57 rindolf http://www.youtube.com/watch?v=63ymR74im40 - Lamas (= llamas) Millionaire Quiz.
17:57 rindolf It's insanely funny.
17:57 mikehh_ joined #perl6
17:58 rindolf It's the Dutch version of "Who's Line is it anyway?"
17:59 abra joined #perl6
17:59 araujo Chuck Norris doesn't commit changes, the changes commit for me
17:59 tak11 joined #perl6
17:59 araujo for him*
17:59 araujo :)
18:00 rindolf Code is too scared of Chuck to be wrong.
18:00 rindolf It is generated right in the first time.
18:01 rindolf Bugs are too afraid to reproduce on Chuck Norris' computer.
18:01 Su-Shee .o(I see a chuck norris release on the horizon... ;)
18:01 rindolf Su-Shee: :-)
18:01 abra joined #perl6
18:03 Su-Shee we could ask chuck norris if he's willing to promote the star release.. ;)) (which probably kill the entire internet due to laughter.. :)
18:04 terje_ joined #perl6
18:04 maerzhase joined #perl6
18:04 araujo Perl 6 - A Chuck Norris like language
18:04 dukeleto Chuck Norris has actually been using Perl 6 since 1987, and has been waiting for Larry to play catch-up. :)
18:05 rindolf dukeleto: LOL.
18:05 rindolf Perl 6 - Kicks ass like Chuck.
18:06 Su-Shee rakudo - chuck's choice ;)
18:07 rindolf http://www.shlomifish.org/humour/fortune​s/shlomif.html#chuck-norris-perlsixifies
18:07 rindolf But today's session was funnier I think.
18:08 rindolf And also http://www.shlomifish.org/humour/fortunes/shlomif.​html#sharp-sharp-perl-chuck-norris-as-a-refactorer
18:08 Su-Shee well, camelia and chuck norris go well together. ;)
18:08 rindolf OK.
18:09 rindolf Of course everybody know Chuck Norris is a real programmer.
18:10 rindolf He designs machines by combining individual atoms.
18:10 rindolf Using his thought.
18:10 rindolf Atoms obey Chuck Norris.
18:11 Su-Shee rindolf: you obviously have been starved and deprived of super hero comics in your childhood :)
18:12 rindolf Su-Shee: :-)
18:12 rindolf Su-Shee: I don't read a lot of comics.
18:12 rindolf Su-Shee: except Asterix, etc.
18:12 Su-Shee yeah, that's what I'm saying :))
18:13 rindolf Su-Shee: oh! And cartoons.
18:13 Su-Shee Asterix rocks big time. I still laugh about them every time.
18:13 rindolf Like Ozy&Millie, Garfield, Grand Avenue, etc.
18:13 rindolf Su-Shee: ah.
18:13 rindolf Su-Shee: do you read them in French?
18:13 Su-Shee rindolf: or in german.
18:13 rindolf I was told the Hebrew translation is better than the English one.
18:14 rindolf Or something like that.
18:14 Su-Shee I don't see "asterix in britain" being funny in english. ;)
18:14 rindolf Su-Shee: ah.
18:14 * rindolf writes a Asterix does Asterisk comic.
18:14 rindolf The PBX.
18:15 bubbles joined #perl6
18:15 rindolf Some obnoxious German lawyer sued the Mobilix site for being too similar a name to Obelix.
18:15 bubbles left #perl6
18:16 rindolf The German law allows anyone to sue people for alleged trademark violations and then if you succeed, you can demand service pay from the trademark owner.
18:16 rindolf There was also the think about KIllustrator.
18:17 rindolf Su-Shee: have you met any German KDE developers?
18:17 rindolf http://tuxmobil.org/mobilix_asterix.html
18:19 Su-Shee rindolf: I know one or two from conferences or such.
18:19 rindolf Su-Shee: ah.
18:19 rindolf Su-Shee: which ones?
18:31 pugs_svn r28124 | moritz++ | test that existing operators can be overloaded
18:32 rfordinal joined #perl6
18:32 rindolf http://www.youtube.com/watch?v=iekEyKHPtgA - hmmm... I always thought it was "Pie in the sky"
18:35 pugs_svn r28125 | moritz++ | [t/spec] new operator multis should not interfere with existing ones
18:42 tylerni7 joined #perl6
18:43 moritz_ phenny: tell azawawi I installed sbcl on feather
18:43 phenny moritz_: I'll pass that on when azawawi is around.
18:50 payload joined #perl6
18:57 moritz_ mp6: say("test")
18:58 moritz_ it seems I dropped mp6 support from p6eval some time ago
19:32 colomon moritz_: I discovered this morning that the abs function seems to have the same issue the operators did...
19:34 moritz_ colomon: that you can't add multis?
19:34 colomon Yes.  Does a Null PMC.
19:35 moritz_ that should be easily fixed by moving it to the setting
19:35 moritz_ care to write a patch for that?
19:35 moritz_ ouch
19:35 moritz_ abs is a prefix ops right now
19:35 colomon I don't know where to move it from?
19:36 colomon I wondered about that!
19:36 * moritz_ wonders if that's correct
19:36 colomon TimToady said something about sin being an operator, and I extended it in my head....
19:37 colomon I'm just now at the stage of messing around with the setting, I haven't peaked in any of the other Rakudo internals.
19:38 pmichaud many of Rakudo's builtins need to be moved into the setting
19:38 pmichaud abs is actually prefix:<abs>
19:39 colomon Does that imply if you overload it, it also needs to be a prefix?
19:39 moritz_ where is that specced?
19:39 pmichaud STD.pm:3762
19:39 moritz_ ok
19:39 pmichaud token prefix:abs ( --> Named_unary) { <sym> » <?before \s*> }
19:40 pmichaud I'm not sure how that should reconcile with
19:40 pmichaud our Num multi method abs ( Num $x: ) is export   # S32-numeric
19:40 moritz_ by the prefix dispatching to the method?
19:40 pmichaud sure, we could do that
19:41 pmichaud but I don't think we can/should have both  prefix:abs   and method abs() is export
19:41 moritz_ it's what rakudo does now anyway
19:41 moritz_ src/parser/grammar-oper.pg
19:41 moritz_ 75:proto prefix:<abs> is precedence('o=') is subname('abs') { ... }
19:41 pmichaud yes; rakudo was just following STD.pm here
19:42 moritz_ so should I preserve that while moving abs to the setting?
19:42 pmichaud I don't know.  I'm not sure how to decide which operators are prefix and which are normal "is export"  (more)
19:42 pmichaud for example, what about  exp() and log() ?
19:43 pmichaud or sin() ?
19:43 * moritz_ is in favour of having them all as ordinary subs
19:43 colomon Seems to me that if any of them are, all of them are.
19:43 pmichaud the problem with "ordinary subs" is that you lose the unariness
19:43 moritz_ I know
19:43 pmichaud i.e.,    sin $foo + 3
19:44 pmichaud so perhaps we really do need both, and the prefix just redispatch to the method/function form
19:44 pmichaud I'd go for that
19:44 colomon I don't see the benefit of having them be an operator, but I think TimToady had a reason...
19:44 moritz_ that reads ambiguously for me anway
19:45 pmichaud if abs $x > 0 { ... }
19:45 colomon Wonder if this is why I've been having trouble overloading sin....
19:45 pmichaud in this case you want abs to be prefix:<abs> and not a listop
19:46 pmichaud because as a listop it parses as   abs($x > 0)
19:46 pmichaud colomon: you cannot overload any rakudo builtin that is written in PIR
19:47 moritz_ unless maybe with inline PIR
19:47 colomon Ah, and sin still is?
19:47 pmichaud at present we can only overload things that are in the setting, or have been specially written to be reblessed into Perl6MultiSub instead of parrot's MultiSub
19:47 colomon There is a Num.sin in the setting, and in fact I think I may have managed to write Complex.sin...
19:47 * pmichaud checks
19:48 moritz_ colomon: in general just go into rakudo/src and then type 'ack -w sin'
19:48 pmichaud hmmm, I guess 'sin' isn't currently written in PIR
19:48 moritz_ (assuming you have ack installed. If not, it's high time to do so now :)
19:48 colomon "ack: command not found"
19:48 pmichaud it does look as though sin has been written in multiple locations.  that might be a problem.
19:49 colomon where might I get ack?
19:49 moritz_ from CPAN
19:49 pmichaud cpan App::Ack  is what i use
19:49 pmichaud afk for a bit
19:49 moritz_ debian has the 'ack-grep' package
19:52 colomon MacPorts does not have it, alas.
19:52 colomon But I will take a stab at just installing it from CPAN in a few minutes.
19:55 colomon moritz_: Re: fixing these things myself -- what's the best way of handling the version control with that?
19:56 moritz_ colomon: you make your changes, test them, if everything is fine you commit them 'git commit -a'
19:56 colomon Should I fork rakudo on github?
19:56 moritz_ then you make a patch from it: 'git format-patch HEAD^'
19:57 colomon Ah!
19:57 colomon I didn't know you could do that.
19:57 moritz_ then send that to rakudobug@perl.org with [PATCH] included in the subject
19:57 moritz_ after that I usually reset my repo to the previous state
19:57 moritz_ git reset --hard HEAD^
19:58 svarg a quit is equivalent to a die()?
19:58 moritz_ no
19:58 moritz_ afaict there's no quit() function in perl 6
19:59 svarg ah
19:59 smuj joined #perl6
19:59 svarg thats not what i meant
19:59 sevvie joined #perl6
20:00 colomon moritz_++
20:00 ceci joined #perl6
20:01 svarg moritz_ die() is what i mean
20:01 moritz_ then I don't understand the question
20:01 svarg i meant a quit is equivalent to die();
20:02 svarg a die() function no?
20:02 svarg just some humour
20:02 * svarg shakes up moritz_
20:03 IRSeekBot joined #perl6
20:05 moritz_ non-obvious humour carries badly over IRC without smilies
20:05 svarg lol
20:08 Confield_ joined #perl6
20:16 payload joined #perl6
20:19 FCO joined #perl6
20:24 smuj left #perl6
20:40 colomon moritz_: First patch should be coming through soon.  Please let me know if it looks like I got the formating okay and all.
20:41 moritz_ sure, I'll try to give feedback asap
20:41 pmichaud colomon: did you send it yet?
20:42 pmichaud #66864, looks like
20:42 colomon Yes.
20:42 colomon (Don't know if that is the number, but I sent it about 5 minutes ago.)
20:42 pmichaud patch looks fine to me
20:43 colomon Is the e-mail okay?
20:43 pmichaud looks correct to me
20:43 colomon Danke.
20:44 * moritz_ spectests
20:45 maerzhase joined #perl6
20:46 colomon I'm definitely starting to like git.
20:49 M_o_C Question: Does infix imply that a function (or does that term only exist for operators?) only takes two arguments? (In a theoretic context, independent from how perl6 does it)
20:49 moritz_ M_o_C: no
20:50 M_o_C s/(only) (exist)/\2 \1/
20:50 moritz_ M_o_C: if an infix is :assoc<list>, it can take an arbitrary number of arguments
20:50 M_o_C And how would that syntactically look like?
20:50 M_o_C (When calling that function)
20:51 moritz_ sub infix:<foo> is assoc<list> (*@args) { ... }; 1 foo 2 foo 3 foo 4
20:51 M_o_C Ah, ok
20:52 moritz_ infix:<,> is the prime example of a list associative operator
20:58 nbrown joined #perl6
20:59 moritz_ @seen masak
20:59 lambdabot I saw masak leaving #perl6 4d 23h 15m 59s ago, and .
21:00 dduncan joined #perl6
21:03 nbrown joined #perl6
21:10 dalek rakudo: 80fdc48 | last.of.the.careless.men@gmail.com++ | src/setting/Complex.pm:
21:10 dalek rakudo: Implement Complex version of **.
21:10 dalek rakudo: Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
21:10 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​0fdc4835ec664cd613cf24c3444ca5a0f550653
21:10 pugs_svn r28126 | moritz++ | [t/spec] unfudge some newly passing tests for complex powers
21:25 svarg just wondering
21:26 svarg 1 ne 2 is correct in perl?
21:26 svarg the syntax
21:26 svarg ne being not equal
21:26 moritz_ rakudo: say 1 ne 2
21:26 p6eval rakudo 0d4fe0: OUTPUT«1␤»
21:26 svarg meaning?
21:27 moritz_ "1 is not equal 2" is true
21:27 colomon surely want 1 != 2 ?
21:27 svarg so we can use 1 ne 2?
21:27 svarg and it works?
21:27 svarg woah
21:29 svarg so moritz_ ne has something to do with strings only?
21:32 M_o_C svarg: Rakudo already answered that question when you told it do compute 1 ne 2.
21:32 svarg oh its just that someone told me it wasnt right since it had something to dow ith strings
21:34 frettled joined #perl6
21:35 moritz_ svarg: yes, 'ne' converts both arguments to strings and then comparse them inequality
21:35 frettled Good evening (I hope)
21:37 Whiteknight joined #perl6
21:37 svarg but moritz_ using 1 ne 2 didnt look wrong here
21:37 svarg so we're good to go then
21:37 svarg basically 1 ne 2 it only works for strings not ints does it?
21:38 svarg if ("xx xx" ne "xx xx ") {
21:38 svarg rather than ints, being
21:38 svarg ie: if (1 != 2) {
21:38 svarg right?
21:39 moritz_ well, 1 and 2 are inequal both when compared as numbers and as strings
21:40 moritz_ whereas "0.0" and "0" are different when compared as strings, and equal when compared as numbers
21:40 svarg as i remember, there is a difference between comparing strings vs ints.
21:40 svarg ah
21:41 svarg i believe it actually compares their ascii values, though not sure.
21:41 moritz_ not quite
21:41 moritz_ it compares graphemes, in theory
21:42 svarg ah
21:43 svarg i do remember something as strings/ints are compared differently, so it may be that "ne" is for ints and "!=" is for strings
21:43 svarg no?
21:43 moritz_ no, the other way round.
21:43 svarg or vice versa
21:44 moritz_ you can just try those things out:
21:44 moritz_ rakudo: say "1.0" == "1"
21:44 p6eval rakudo 0d4fe0: OUTPUT«1␤»
21:44 moritz_ rakudo: say "1.0" eq "1"
21:44 p6eval rakudo 0d4fe0: OUTPUT«0␤»
21:44 svarg ah
21:44 svarg ok
21:44 svarg i get it
21:49 lambdabot joined #perl6
21:49 dukeleto joined #perl6
21:52 carlin joined #perl6
21:52 rbaumer joined #perl6
21:53 maerzhase joined #perl6
22:25 dalek rakudo: 9fff158 | pmichaud++ | src/setting/Rat.pm:
22:25 dalek rakudo: First-draft implementation of Rat datatype.
22:25 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/9​fff15880d11473fc480b6c167eca0df8bd5b02b
22:31 dalek rakudo: cfb7d8d | pmichaud++ | build/Makefile.in:
22:31 dalek rakudo: Forgot to commit updated Makefile.
22:31 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​fb7d8db3baf784ed0ebb775ef9f56f2917a64ce
22:31 stu42j joined #perl6
22:45 colomon pmichaud: Do you want help with that?  Rats are much more friendly than Complexes.  ;)
22:46 pmichaud colomon: I'm just making a few additional changes locally, but yes -- my intent was to simply get it started and then let others hack on it for a bit
22:58 colomon pmichaud: A couple of quick questions, then before I take out the garbage and hit the pub.
22:59 colomon Is it intended to be in simplified form?  So that 1/4 + 1/4 == 1/2 instead of 2/4s?
23:00 pmichaud haven't gotten that far yet
23:00 pmichaud I'm thinking it probably should, yes.
23:00 colomon I'm thinking simplify in Rat.new?
23:01 pmichaud that'd be where I start, yes.
23:05 pmichaud (sorry if I sound a little short -- other things happening in the background here)
23:08 colomon No worries, I'm doing my own share of running around here.
23:09 colomon If no one else has already done it, I'll look at taking a crack at it post-pub.
23:09 colomon (Are there tests already?)
23:09 synth joined #perl6
23:09 pmichaud there are some Rat tests already, I think.  Pugs had the Rat datatype
23:15 * wayland76 has an image of a pug with a rat in its mouth :)
23:20 ihrd joined #perl6
23:21 dduncan left #perl6
23:28 dalek rakudo: 0712c33 | pmichaud++ | src/setting/ (2 files):
23:28 dalek rakudo: Move Int-based operators into src/setting/Int.pm .
23:28 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/0​712c333bc0ebb73aa93e308517eb2e97cec31f0
23:36 literal oh, you guys got perl6.org
23:36 literal nice
23:45 ihrd1 joined #perl6
23:57 dalek rakudo: 8772e90 | pmichaud++ | src/setting/Int.pm:
23:57 dalek rakudo: Some more conversions (Int.Num, Int.Rat, Int.Int).
23:57 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​772e906286f4375e1847a52c4cd57e8aa2032df

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs