»ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by Juerd on 28 August 2009.
00:01 M_o_C left 00:03 PacoLinux left 00:07 r0bby_ joined 00:09 DakeDesu joined 00:10 beggars left 00:11 KyleHa left 00:18 DakeDesu left, r0bby left 00:22 KatrinaTheLamia left 00:24 quietfanatic left 00:27 anfedorov left
colomon rakudo: say 360.sin; 00:32
p6eval rakudo 0d4fe0: OUTPUT«Method 'sin' not found for invocant of class 'Int'␤»
colomon rakudo: say 360.0.sin;
p6eval rakudo 0d4fe0: OUTPUT«0.958915723414307␤»
colomon rakudo: say 360.0.sin('degrees');
p6eval rakudo 0d4fe0: OUTPUT«-2.44921270764475e-16␤»
colomon rakudo: say 360.0.sin('radians'); 00:34
p6eval rakudo 0d4fe0: OUTPUT«0.958915723414307␤»
colomon rakudo: say (360.0).sin('radius');
p6eval rakudo 0d4fe0: OUTPUT«0.958915723414307␤»
00:38 PacoLinux joined 00:48 colomon left 01:00 synth joined 01:02 snarkyboojum joined 01:04 snarkyboojum left 01:05 snarkyboojum joined 01:11 rhr_ joined, quietfanatic joined 01:24 rhr left
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:27
01:33 scud left 01:38 rindolf joined
rindolf Hi all. 01:38
01:41 tak11 joined 01:53 rhr joined 01:56 nbrown left
pugs_svn r28118 | quietfanatic++ | [perl6.org] Realigned header by shrinking it a little 02:03
quietfanatic It's been bothering me long enough.
02:06 rhr_ left 02:17 justatheory joined 02:26 SmokeMachine joined 02:40 quietfanatic left, KyleHa joined, tak11 left 02:42 Makoryu left 02:45 quietfanatic joined 02:58 tak11 joined 02:59 nbrown joined 03:02 Whiteknight joined 03:05 frew joined 03:07 justatheory left
s1n nuts, i just noticed i restarted my ironman status earlier this month 03:07
03:12 scud joined 03:18 nbrown_ joined, Whiteknight left
pugs_svn r28119 | kyle++ | label the tests for RT #68726 03:20
03:23 KyleHa left 03:30 rhr_ joined 03:36 nbrown left 03:37 scud left 03:43 rhr left 03:48 JimmyZ joined 03:50 JimmyZ left 03:54 mepplock joined 03:56 Makoryu joined 04:04 anfedorov joined 04:10 meppl left
diakopter interested that perl6.org is not url-shortened by Twitter 04:26
04:38 anfedorov left 04:40 anfedorov joined 04:48 mepplock left 04:58 frew left 05:07 khoh joined 05:09 khoh left 05:22 eMaX joined
pugs_svn r28120 | leto++ | [t/spec] Add tests for hyperop version of min/max 05:26
05:29 lambdabot left 05:37 beggars joined 05:43 quietfanatic left 05:57 nihiliad left, abra joined 05:59 eMaX left 06:08 anfedorov left 06:13 anfedorov joined
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)␤»
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
s/does it does is/does it/
06:35 Woodi joined
Woodi hallo, is Rakudo official perl6 ? 06:36
06:38 jaldhar left 06:39 zloyrusskiy joined
TimToady Woodi: anything that passes the official test suite is official Perl 6 06:40
(nothing does yet) 06:41
06:45 jaldhar joined 06:47 mr_ank joined
dukeleto Woodi: i think the last time I heard, rakudo was passing about %68 of the spec test suite. rakudo.org/status 06:47
Woodi ppls in #perl seems to be strongly hating p6 idea... 06:49
mr_ank You mean Camelia?
dukeleto Woodi: #perl is a different world
pugs_svn r28121 | leto++ | [t/spec] Add test for sorting floats with Inf/NaN in S32-list/sort.t
TimToady #perl likes to strongly hate lots of things
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.
Woodi heh. i think that better will win :) 06:51
mr_ank you mean stuff like Moose?
Or Catalyst?
I'm confused, what exactly have you produced?
TimToady I've produced confusion :) 06:52
TimToady is pretty good at that...
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
they hurt baby!
06:56 Schmeckr joined
snarkyboojum last I heard perl6 was mostly a volunteer effort :) 06:57
06:57 Schmeckr left
Woodi and what about parrot - someone started optimizing it for performance ? 06:58
dukeleto Woodi: that would be many people, but chromatic is very active in that area 07:01
07:12 mr_ank left 07:14 sri_kraih_ joined 07:16 carlin joined
pugs_svn r28122 | leto++ | [t/spec] Add test for sqrt(-0.0) 07:28
07:30 sri_kraih left, sri_kraih_ is now known as sri_kraih
dukeleto t/spec/TODO mentions a file t/deprecated-syntax.pod that doesn't seem to exist any more 07:36
07:39 cahek joined 07:41 tak11 left 07:43 xinming_ joined 07:47 zloyrusskiy left 07:48 azawawi joined
azawawi hi 07:48
07:49 azawawi left
sjohnson hey 07:50
oops, too late
(´ー` )
07:57 iblechbot joined 08:00 xinming left 08:03 molaf joined 08:10 Su-Shee joined
Su-Shee good morning. :) 08:10
rindolf Su-Shee: morning. 08:16
Su-Shee: how is Sunday called?
en.wikipedia.org/wiki/Frederick_P._Brooks - hmmm.... he won the Turing Award. 08:17
carlin dukeleto: svn.pugscode.org/pugs/t/deprecated-syntax.pod 08:18
08:18 colomon joined
dukeleto carlin++ 08:18
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?
Su-Shee rindolf: ah :)) 08:20
rindolf: planning and coding day.
rindolf Su-Shee: ah.
08:20 iblechbot_ joined
rindolf Su-Shee: someone quoted Reddit about perl6.org on #perlcafe 08:21
Su-Shee rindolf: the manly gay feminine part? ;)
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 ;)
rindolf www.reddit.com/r/programming/commen...rg/c0cjjil - this one.
Su-Shee I can add blink tags and marquees. ;)
rindolf Su-Shee: does perl6.org has some nifty :hover effects? 08:23
Nothing too intrusive just background colour change, etc.
Su-Shee rindolf: pugs main developer is transgender, so a little gay vibe seems perfectly reasonable to me. (that comment I really like.)
(but it's a woman..)
carlin -4 points 08:24
08:25 molaf left
rindolf Su-Shee: you should also add -webkit-rounded-corners 08:26
Su-Shee: too bad Opera doesn't have something like that.
sjohnson how's it going carlin ?
hi Su-Shee
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 :)
Su-Shee rindolf: I have border-radius for both. 08:28
rindolf Su-Shee: ah.
Su-Shee: perl-begin.org/temp/ - Alan Haggai worked on that with my input.
Stretchy. 08:29
carlin the css validator doesn't like browser-specific border radii :(
rindolf Fluid.
Munctional!
carlin: yes, it's kinda inane.
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
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:30
carlin true 08:33
08:34 iblechbot left
Su-Shee (did anyone realize how nice the page looks in lynx? :) 08:35
carlin Except the alt-text on camelia it looks quite good :p 08:38
08:38 iblechbot_ left
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...
carlin Oh, nice 08:42
Su-Shee carlin: and many male techies will never like anything remotely "cute" or brightly colored..
carlin Is their a preview of the new live anywhere?
Su-Shee carlin: alway at sushee.no-ip.org/p6p/ 08:43
carlin: but it's really pre-pre-pre (until I've finished my coffee :)
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
that'll make everyone happy
Su-Shee *hihihi* ok :)) easily done :))
08:45 cahek left 08:47 lambdabot joined, charsbar left 08:48 charsbar joined 08:49 M_o_C joined
rindolf Su-Shee: I don't see the download link. 08:49
cognominal I wonder if color choices are only cultural bias 08:50
Su-Shee rindolf: in lynx?
rindolf But I like the briefer discussions.
Su-Shee: no - here - sushee.no-ip.org/p6p/
Su-Shee cognominal: of course they are. ask what everyone besides israel thinks about light blue in the middle east. ;)
rindolf Su-Shee: I suggest making the colours more pastelly.
Su-Shee: and the fonts of the headers larger. 08:51
Su-Shee rindolf: I've tried. Rejected by commitee :)
rindolf Su-Shee: and perhaps not phrase them as questions.
But rather "Download"
Or "About"
Or "Contribute"
Su-Shee rindolf: ah, the pre-version.. please wait a little until I got more..
08:52 Whiteknight joined
carlin and on the male techie version replace Camelia with an Atlas moth 08:54
cognominal and for the litterary kind a link toward nabokov? 08:55
carlin in true timtowtdi fashion, the homepage is a portal which branches to a site layed out differently based on preference 08:56
08:58 ejs joined 08:59 xinming_ is now known as xinming
carlin also need a version for entomophobiacs 08:59
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
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.
Su-Shee: or convert Latemp to p6.
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.
Su-Shee (blog engine, cms, wiki, forum, microblogging engine, web framework..)
rindolf Su-Shee: how do you maintain a navigation menu across pages?
Su-Shee rindolf: good question, next question. ;) 09:08
rindolf Su-Shee: in Latemp, it's a no-brainer.
Su-Shee: I never maintain a site as raw HTML. 09:09
I always use Latemp or something.
TT2 is also nice.
nothingmuch: I saw your comment on my &zip blog post.
Su-Shee rindolf: I even don't know latemp. 09:10
rindolf Su-Shee: then learn - web-cpan.berlios.de/latemp/
Su-Shee: though it has a steep learning curve. 09:12
Su-Shee: I love how all the borders on that page are perfectly aligned.
I used pt offsets.
09:19 Whiteknight left 09:27 snarkyboojum left 09:29 snarkyboojum joined 09:31 snarkyboojum left 09:33 snarkyboojum joined 09:35 snarkyboojum left 09:37 snarkyboojum joined 09:50 Grrrr left, Grrrr joined 09:53 Chillance joined 09:58 abra left 09:59 beggars left 10:09 Chillance_ joined
sjohnson ( `ー´) 10:10
10:11 Chillance left 10:15 jauaor joined
carlin the silence is broken by a 10:15
umm
what is that?
jauaor me 10:16
10:16 anfedorov left
carlin ah no, a little ascii drawing by sjohnson, right before you joined 10:17
sjohnson i call it, "the fatface" 10:20
Su-Shee sleeping cat?
10:27 Front_slash joined
rindolf Su-Shee: sleeping cat(1)? 10:27
carlin man cat?
rindolf cat man.
echo cat
cat echo
carlin cat: man: No such file or directory
sjohnson TimToady said it was a sleeping cat too 10:28
carlin and who are we to question his judgement?
Su-Shee tail missing, but it really looks like it. :)
rindolf carlin: you should try it in /usr/bin
sjohnson ~( `ー´)
there u go Su-Shee
carlin rindolf: nice, I'm sure vim could find a way to syntax highlight that output
rindolf $ file /usr/bin/man 10:29
/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
Su-Shee sjohnson: "can it purr?" ;)
rindolf Emacs has a hex editing mode.
rindolf is taking a break from refactoring some C code. 10:30
Why is it /bin/cat and /bin/tiger ? 10:31
10:31 JimmyZ joined
rindolf Why is it /bin/cat and not /bin/tiger ? 10:31
10:31 iblechbot joined
sjohnson ~( `ー´) purr!! 10:32
thats as good as i am with ascii art
rindolf Hmmm... Frenglish is fun. 10:33
sjohnson: isn't it Unicode art?
sjohnson yeah
i call it Franglais too
rindolf sjohnson: that it's not ASCII.
sjohnson: Frenglish is in English ; Franglais is in French.
There's also Engrew.
Su-Shee ah. we have denglish. ;) 10:34
rindolf Hebrew with English paradigms.
Su-Shee: Denmark English?
Or deautch English?
Su-Shee de(utsch) english
rindolf There used to be something called Penglish (pinglish) - Palestinian English.
Su-Shee: ah.
huf dont all programmers speak in a $local_lang/English mix?
rindolf There's also Chinglish and Engrish. 10:35
They are really off.
Su-Shee huf: here, the newspapers are constantly complaining about the imported english words.. ;)
huf Su-Shee: oh yeah, that's also constant ;) 10:36
funny how they never complain about all the latin and german and french and .... words
Su-Shee huf: yeah. 200 years ago they complained about the massive invasion of french words :))
rindolf en.wikipedia.org/wiki/Franglais
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.
rindolf Su-Shee: ah.
huf Su-Shee: and that is the correct approach imho
rindolf Su-Shee: it happens to me with Hebrew too.
huf i *really* hate translating technical terms, which means that when we talk code, large parts of the sentence are in badly-pronounced english :)
rindolf Su-Shee: I think most Israelis I know make many grammatical/etc. Hebrew mistakes.
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.
rindolf Though spelling modern Hebrew is difficult.
And such mistakes were found in archaelogical excavations.
Su-Shee huf: me too. and microelectronics for example I plainly don't know in german anymore.
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.
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.
Su-Shee huf: I hear you. 10:40
rindolf Su-Shee: yes, that's what I meant.
Su-Shee: vocabulary.
Su-Shee: not the grammar/syntax/etc.
I hate localised error messages.
Su-Shee OHYES!
me too!
rindolf They make reading many Google posts difficult.
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 :)
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. ;)
huf but how to force this on the public? 10:42
rindolf Su-Shee: heh.
M_o_C Another disadvantage is that when googling for a solution you'll only get posts containing the localised error message...
Su-Shee huf: luckily, many people adopt the english-based internet/tech slang.
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 :)
Su-Shee M_o_C: and on top of all that a distribution-specific solution if it's linux. 10:43
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.."
huf Su-Shee: yeah, that's also a handy trick :)
"get out of fixing-everyone's-boxen free card" 10:44
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...
huf Su-Shee: yeah, because "they dont understand it" 10:45
as if it required fucking magic...
10:45 pmurias joined
huf i need a wizzard hat. 10:45
carlin nope, all you need is a flowchart
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. ;)
carlin xkcd.org/627/
huf rindolf: is the spelling still hard in hebrew if you use the latin letters? 10:46
rindolf huf: well...
huf Su-Shee: i got my own computer at age 16. i'm heavily handicapped ;)
rindolf huf: most people don't follow the right transliteration.
Like they use k instead of "q".
huf: and some letters in Hebrew don't have a good transliteration.
M_o_C Meh, github http downloads are darn slow today...
huf rindolf: oh? 10:47
carlin github is always slow :(
rindolf huf: for example it's Al-Quran - not Al-Kuran.
huf: or Qur'an rather.
huf: Al-Qadim too.
huf: And it's not kwa.
10:48 abra joined
rindolf That was the original use of the word in the Phoenician alphabet. 10:48
A "q" sound.
huf hmm, sounds are so hard to talk about on irc...
rindolf huf: yes. 10:51
huf: think is - many Hebrew speakers say "k" instead of "q" in everyday speech.
huf so you have dialects
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.. ;)
huf Su-Shee: eh?
rindolf huf: we have some dialects and variations.
Su-Shee huf: aren't you hungarian? ;)
huf yeah, but how do dialects enter into this :)
we have a few but they're very minor 10:53
nothing like german or english has
rindolf huf: but Hebrew doesn't have a diglossia yet.
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)
rindolf: s/hebrew/$local_language/ and yeah, i agree ;)
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.
huf: but I'm talking about bad grammar.
huf hmm... is that because hebrew is so recently resurrected? 10:56
or is that just general ignorance
Su-Shee here, bad grammar is a question of "class" and education... 10:57
huf same
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
huf: which you either get right or not and that's determined by your environment. 10:59
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:00
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.
huf rindolf: i dont thin the people of rome spoke latin back in the day 11:02
it was probably a vulgar dialect ;)
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.
M_o_C: at least they get some nasty grammar fuckups right :)
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.
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.
huf Su-Shee: but that latin is not the same as the latin romans spoke ;) not exactly, anyway
Su-Shee recommends the tv series "ROME" :) 11:06
quote: "mother, it was just an orgy.." :)
huf they live in esher? 11:07
rindolf Su-Shee: I heard it was awful.
Su-Shee rindolf: it was totally brilliant, I _loved_ it.
rindolf Su-Shee: ah.
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
laughed of course. ;)
rindolf: marcus antonius and cleopatra totally stoned... watch it. :) 11:14
rindolf Su-Shee: Cleopatra was a bitch, BTW.
She was one of the most Evil women in history , IMO.
Su-Shee rindolf: well what do you expect from an imperial ruler and politician? ;) 11:15
rindolf Su-Shee: I guess.
Though some rulers were noble.
Su-Shee: Cleopatra was also Macedonian in origin. 11:16
She just married the the king Ptolmey of Egypt. 11:17
Ptolmey (sp?)
Ptolemy 11:18
Modern Hebrew speakers can understand a large part of the Bible. 11:20
Not all the words there.
But most of them.
Even though the grammar there is very different. 11:21
for example you said "And he will go" for "he went"
Or "and he went" for "he will go"
And it's Verb ; Subject ; Object
11:24 mikehh_ joined 11:25 bionoid left
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␤»
carlin from the CLI that works fine for me, if I paste that into a file and run it, it segfaults 11:31
11:38 mikehh left
carlin can anyone confirm? / is it known? Seems strange 11:39
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:47 cognominal left 11:48 snarkyboojum left 11:49 snarkyboojum joined 11:50 snarkyboojum left 11:51 snarkyboojum joined 11:53 elmex left 11:54 elmex joined 12:03 Chillance joined 12:10 Chillance_ left, Guest3027 left 12:12 jan_ joined 12:17 sevvie left 12:20 svarg joined
rindolf This is a nice album - www.jamendo.com/en/album/51099 12:21
12:24 iblechbot left
rindolf Su-Shee: maybe you'd like www.youtube.com/watch?v=bUpRPMkLGc4 12:45
It's a skit about an Israeli Arab Teacher of English. 12:46
12:58 mikehh_ is now known as mikehh 13:04 maerzhase joined 13:14 payload left 13:22 maerzhase left 13:40 ejs left 13:50 rindolf left 14:04 maerzhase joined, maerzhase left, maerzhase joined 14:05 payload joined 14:15 nihiliad joined 14:19 _jaldhar joined, Psyche^ joined 14:20 Patterner left, Psyche^ is now known as Patterner 14:29 snarkyboojum left 14:30 snarkyboojum joined 14:31 jaldhar left 14:33 ruoso left 14:36 ruoso joined
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)␤»
JimmyZ rakudo: (4/2).say; 14:38
p6eval rakudo 0d4fe0: OUTPUT«2␤»
JimmyZ rakudo: ( 'f', 'foo', 'bar')>>.say; 14:39
p6eval rakudo 0d4fe0: OUTPUT«f␤foo␤bar␤»
JimmyZ rakudo: ( 'f', 'foo', 'bar')>>.print; 14:40
p6eval rakudo 0d4fe0: OUTPUT«ffoobar»
ruoso missing :ignoreaccent in Perl 5 14:43
14:44 payload left 14:49 molaf joined 14:52 abra left 14:56 anfedorov joined, anfedorov left 14:57 cognominal joined 14:59 rindolf joined 15:01 JimmyZ left 15:03 sri_kraih left, sri_kraih joined
rindolf Hi all. 15:08
15:09 JimmyZ joined
Su-Shee I hate C. I hate Gtk. I want a native Perl widget set. 15:09
15:09 meppl joined
rindolf Su-Shee: :-) 15:09
15:09 carlin left
rindolf Su-Shee: including a native Perl XLib? 15:09
Su-Shee Yes, please. 15:10
rindolf Su-Shee: coming right up.
Su-Shee: not sure how fast it will be.
Juerd While you're at it, make it web hybrid :)
rindolf I think gtk+ tends to be kinda verbose.
Su-Shee: have you tried Qt?
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
and while I'm at complaining: sometimes I really hate re-use as well... this is a list of dependencies plainly killing me...
rindolf Su-Shee: slackware sucks. 15:12
Su-Shee: in Mandriva installing gtk+ is a simple urpmi command away.
Su-Shee: or upgrading it.
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.
Su-Shee: then why don't you use a package manager to install the deps?
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.
Su-Shee: then why don't you build it against the glib/gobject/etc of /usr?
Su-Shee rindolf: because I need them differently and elsewhere for a specific build enviroment...
rindolf Su-Shee: ah.
Did you write scripts for that?
Su-Shee not yet, it's the first build up to actually see what I really _have_ to package and script later. 15:15
15:23 JimmyZ left, cognominal left 15:24 sri_kraih left 15:28 cognominal joined 15:29 xomas left 15:31 rfordinal left 15:33 smuj joined, sri_kraih joined 15:34 sri_kraih left, sri_kraih joined
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.
smuj perl6: say "yep" if 'aaa' ~~ 'aa'..'ab'
p6eval pugs, rakudo 0d4fe0: ( no output )
..elf 28122: OUTPUT«No viable candidate for call to multimethod infix__126_126($,$,$) at (eval 130) line 3␤ at ./elf_h line 5881␤»
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␤»
..pugs, rakudo 0d4fe0: OUTPUT«yep␤»
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:38
15:39 iblechbot joined 15:40 smuj_ joined
pmichaud good morning, #perl6 15:42
15:43 JimmyZ joined
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;
rakudo: my @array = 1, 2, 3; my $a = @array; say $a.WHAT;
p6eval rakudo 0d4fe0: OUTPUT«Array()␤»
JimmyZ rakudo: my @array = 1, 2, 3; ^@array.say; 15:44
p6eval rakudo 0d4fe0: OUTPUT«123␤»
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)␤»
JimmyZ rakudo: my @it'array = 1, 2, 3; ^@it'array.say;
p6eval rakudo 0d4fe0: ( no output )
JimmyZ Hyphens ' and dashes - are allowed as part of identifiers 15:46
Juerd ' is an apostrophe, - is a hyphen 15:48
They're allowed in identifiers only if followed by an alphanumeric character.
JimmyZ Juerd: perlcabal.org/syn/Differences.html
Juerd Oh, s/alphanumeric/alphabetic/ indeed. 15:49
JimmyZ I copied it from there.
smuj_ rakudo: my @it's; push @it's, 'button'; 15:52
p6eval rakudo 0d4fe0: ( no output )
smuj_ didn't know about apostrophes ... kewl!
JimmyZ rakudo: my $a = ['a','b','c'] && $a.perl.say; 15:54
p6eval rakudo 0d4fe0: OUTPUT«undef␤»
JimmyZ rakudo: my $a = ['a','b','c']; $a.perl.say;
p6eval rakudo 0d4fe0: OUTPUT«["a", "b", "c"]␤»
15:55 pmurias left
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)␤»
JimmyZ rakudo: my @a = 'a','b','c',; @a.perl.say;
p6eval rakudo 0d4fe0: OUTPUT«["a", "b", "c"]␤»
15:56 mberends left
JimmyZ rakudo: my $a = ['a','b','c']; $a.[1].say; 15:57
rakudo: my $a = ['a','b','c']; $a[1].say;
p6eval rakudo 0d4fe0: OUTPUT«b␤»
15:57 M_o_C left, smuj left 16:00 mberends joined 16:04 sevvie joined
JimmyZ rakudo: my $a-b = ['a','b','c']; $a-b[1].say; 16:05
p6eval rakudo 0d4fe0: OUTPUT«b␤»
JimmyZ rakudo: my $a'b = ['a','b','c']; $a'b[1].say;
p6eval rakudo 0d4fe0: OUTPUT«b␤»
16:05 sharada joined
sharada why no audreyt :( 16:08
JimmyZ sharada: He left Pugs 16:12
ruoso sharada, there's a rumor on her return to Perl 6 16:13
sharada thi isn't pugs ??
JimmyZ sharado: But I don't why.
pugs_svn r28123 | pmichaud++ | [t/spec]: The brackets metaoperator is "reduce", not "hyper".
ruoso .oO( A rumor herself started, I must say )
cognominal meaning rakudo or pugs? 16:14
JimmyZ ruoso: should be him, I think.
ruoso JimmyZ, I'm sorry, but that's not for you to decide
JimmyZ 唐宗汉? 16:16
16:16 smuj__ joined
ruoso JimmyZ, I don't have the font to show that characters 16:16
JimmyZ ruoso: yes.
ruoso but I wouldn't probably understand it anyway...
sharada hi how is elf doing? 16:17
JimmyZ the chinese name of audreyt, I think.
cognominal c'est du chinois pour moi :)
sharada JimmyZ: I don't know what you are pushing
16:17 maerzhase left
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...
JimmyZ ruoso: I have not discussed any life of him
or her.
TimToady she prefers her, so you should honor that 16:19
sharada such a annoying man JimmyZ lol
why not stop instead of telling me to ignore it
JimmyZ And then let's stopping talking about it.
good night to sharada and ruoso. 16:20
16:20 smuj__ left
cognominal about her? :) 16:20
TimToady urgh
ruoso wishes to take back the last 2 minutes from his life
(maybe 10) 16:21
sharada I just read "My hobby: Troll hugging."
and I remembered about perl 6
16:22 smuj_ left
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)
sharada It's been ages since I had been following Perl 6 I bet I missed out a lot
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?
ruoso you know it's failing when you got drown?
sharada hey TimToady that sounds nothing but good
JimmyZ TimToady: sorroy for that, I don't about it. in china, we use he. 16:24
cognominal perl gives yourselve enough rope rope the hang yourself, and now enough water to drown? 16:25
JimmyZ TimToady: s/sorroy/sorry/g
TimToady JimmyZ: no need to apologize for "it", I was urghing cognominal's bad joke
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
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?
cognominal in French I would have been unable to make such a stupid joke...
rindolf TimToady: did you see our earlier discussion about languages?
sharada before it was using a ruby program for parsing I think
16:28 JimmyZ left
sharada hurmm I am just causing problems here 16:32
mberends sharada: development of elf has stalled
sharada aww
why is that?
mberends the "bus number" was only 1, mncharity++ I think 16:33
TimToady not exactly stalled; mncharity is one of our "hares", as opposed to a tortoise 16:35
he just has a longer cycle than most
sharada: if you are the sort of person that worries about causing problems, then we *certainly* want you around here 16:36
16:39 _jaldhar left 16:40 carlin joined
ruoso 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
svarg anyone on a dell using BSD?
maybe not 16:43
16:46 abra joined 16:48 carlin left 16:50 xomas joined
ruoso feels a bit proud by being the one who suggested :ignorecase and :ignoreaccent as regex modifiers :P 16:52
synth i'm still waiting for INSERT QUARTER .. 16:54
16:59 abra left 17:04 root_ joined, root_ left
moritz_ back 17:10
rindolf moritz_: hi.
pmichaud moritz_: wb
(afk, lunch) 17:11
rindolf TimToady: BTW, which OS+distro are you running?
TimToady can't talk now; teaching Sunday School 17:12
ruoso are you teaching Perl on Sunday School? :) 17:14
ruoso run and hides
17:18 anfedorov joined
Su-Shee hi moritz. 17:19
moritz_ good evening gentlmen and -women
17:21 tylerni7 left, Guest84939 left 17:22 maerzhase joined, maerzhase left, maerzhase joined
rindolf moritz_: gentlemen and gentleladies. 17:24
moritz_ rindolf: in your book, maybe.
Su-Shee is pretty much working class anyway. ;)
17:25 mookee joined 17:26 sharada left, mookee left
rindolf Su-Shee: a gentleman should treat every woman like a queen. 17:27
If not more.
Unless she's Cleopatra.
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
rindolf Hmm... there's such a word as gentlewomen . 17:29
How strange.
Englishwomen
Frenchwomen
Valid words in my en_UK dictionary. 17:30
17:30 M_o_C joined
rindolf Frenglishwomen. 17:30
Frenglishmen.
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
rindolf Su-Shee: my C code has memleaks. 17:31
Su-Shee rindolf: also a nice day I see..
rindolf Su-Shee: :-) 17:32
Do you mean it's not unusual?
Su-Shee C.. I hate C.. I want perl-os. 17:33
moritz_ with encoding aware file names
rindolf Su-Shee: a Lisp machine. 17:34
Su-Shee: down to a hardware which C cannot run on too well. 17:35
Su-Shee: have you looked at Squeak Smalltalk?
Su-Shee: we'll also need to create a Perl-based vim clone.
Su-Shee: while normally I find Perl preferable, I can sometimes tolerate and enjoy writing C code. 17:36
Su-Shee rindolf: yes, I played with Squeak a little and yes I'd like a vim clone written in perl. 17:39
17:40 abra joined 17:42 rbaumer left, rba_ is now known as rbaumer, abra left
Makoryu Why isn't there one already, then? 17:42
(A vim clone in Perl) 17:43
Su-Shee good question. there's one in javascript :) 17:44
rindolf Su-Shee: actually , it's a vi clone. 17:48
Writing a vi clone is much easier than writing a vim clone. 17:49
Just like writing a Scheme clone is much easier than writing a Perl 6 implementation.
Unless you're Chuck Norris.
17:49 abra joined
Su-Shee rindolf: darn.. he already write a vim in perl6? 17:51
wrote.
17:51 abra left 17:52 abra joined
moritz_ no, he scared K&R into writing it ;-) 17:52
17:52 abra left
rindolf Su-Shee: Chuck Norris is the ghost author of the entire Debian GNU/Linux distribution. 17:52
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 17:55 abra left
rindolf Chuck Norris read the entire Wikipedia. Twice. 17:55
araujo the second time includes fixing all its errors 17:56
moritz_ but he didn't commmit his changes, it seems
rindolf moritz_: heh.
LOL.
www.youtube.com/watch?v=63ymR74im40 - Lamas (= llamas) Millionaire Quiz. 17:57
It's insanely funny.
17:57 mikehh_ joined
rindolf It's the Dutch version of "Who's Line is it anyway?" 17:58
17:58 rbaumer left 17:59 abra joined
araujo Chuck Norris doesn't commit changes, the changes commit for me 17:59
17:59 tak11 joined
araujo for him* 17:59
:)
rindolf Code is too scared of Chuck to be wrong. 18:00
It is generated right in the first time.
18:01 abra left
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... ;)
rindolf Su-Shee: :-)
18:01 abra joined 18:02 maerzhase left
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:03
18:04 terje_ joined, terje_ is now known as bionoid, maerzhase joined
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. :)
rindolf dukeleto: LOL. 18:05
Perl 6 - Kicks ass like Chuck.
Su-Shee rakudo - chuck's choice ;) 18:06
18:06 Front_slash left
rindolf www.shlomifish.org/humour/fortunes/...rlsixifies 18:07
But today's session was funnier I think.
And also www.shlomifish.org/humour/fortunes/...refactorer 18:08
Su-Shee well, camelia and chuck norris go well together. ;)
rindolf OK.
Of course everybody know Chuck Norris is a real programmer. 18:09
He designs machines by combining individual atoms. 18:10
Using his thought.
Atoms obey Chuck Norris.
18:11 mikehh left
Su-Shee rindolf: you obviously have been starved and deprived of super hero comics in your childhood :) 18:11
rindolf Su-Shee: :-) 18:12
Su-Shee: I don't read a lot of comics.
Su-Shee: except Asterix, etc.
Su-Shee yeah, that's what I'm saying :))
rindolf Su-Shee: oh! And cartoons. 18:13
Su-Shee Asterix rocks big time. I still laugh about them every time.
rindolf Like Ozy&Millie, Garfield, Grand Avenue, etc.
Su-Shee: ah.
Su-Shee: do you read them in French?
Su-Shee rindolf: or in german.
rindolf I was told the Hebrew translation is better than the English one.
Or something like that.
Su-Shee I don't see "asterix in britain" being funny in english. ;) 18:14
rindolf Su-Shee: ah.
rindolf writes a Asterix does Asterisk comic.
The PBX.
18:15 bubbles joined
rindolf Some obnoxious German lawyer sued the Mobilix site for being too similar a name to Obelix. 18:15
18:15 bubbles left, synth left
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
There was also the think about KIllustrator.
Su-Shee: have you met any German KDE developers? 18:17
tuxmobil.org/mobilix_asterix.html
Su-Shee rindolf: I know one or two from conferences or such. 18:19
rindolf Su-Shee: ah.
Su-Shee: which ones?
pugs_svn r28124 | moritz++ | test that existing operators can be overloaded 18:31
18:32 rfordinal joined
rindolf www.youtube.com/watch?v=iekEyKHPtgA - hmmm... I always thought it was "Pie in the sky" 18:32
18:33 moritz_ sets mode: -o pugs_svn
pugs_svn r28125 | moritz++ | [t/spec] new operator multis should not interfere with existing ones 18:35
18:42 tylerni7 joined
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 18:51 rfordinal left
moritz_ mp6: say("test") 18:57
it seems I dropped mp6 support from p6eval some time ago 18:58
19:05 nbrown_ left
colomon moritz_: I discovered this morning that the abs function seems to have the same issue the operators did... 19:32
moritz_ colomon: that you can't add multis? 19:34
colomon Yes. Does a Null PMC.
moritz_ that should be easily fixed by moving it to the setting 19:35
care to write a patch for that?
ouch
abs is a prefix ops right now
colomon I don't know where to move it from?
I wondered about that! 19:36
moritz_ wonders if that's correct
colomon TimToady said something about sin being an operator, and I extended it in my head....
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:37
pmichaud many of Rakudo's builtins need to be moved into the setting 19:38
abs is actually prefix:<abs>
colomon Does that imply if you overload it, it also needs to be a prefix? 19:39
moritz_ where is that specced?
pmichaud STD.pm:3762
moritz_ ok
pmichaud token prefix:abs ( --> Named_unary) { <sym> » <?before \s*> }
I'm not sure how that should reconcile with 19:40
our Num multi method abs ( Num $x: ) is export # S32-numeric
moritz_ by the prefix dispatching to the method?
pmichaud sure, we could do that
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
src/parser/grammar-oper.pg
75:proto prefix:<abs> is precedence('o=') is subname('abs') { ... }
pmichaud yes; rakudo was just following STD.pm here
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)
for example, what about exp() and log() ?
or sin() ? 19:43
moritz_ is in favour of having them all as ordinary subs
colomon Seems to me that if any of them are, all of them are.
pmichaud the problem with "ordinary subs" is that you lose the unariness
moritz_ I know
pmichaud i.e., sin $foo + 3
so perhaps we really do need both, and the prefix just redispatch to the method/function form 19:44
I'd go for that
colomon I don't see the benefit of having them be an operator, but I think TimToady had a reason...
moritz_ that reads ambiguously for me anway
pmichaud if abs $x > 0 { ... } 19:45
colomon Wonder if this is why I've been having trouble overloading sin....
pmichaud in this case you want abs to be prefix:<abs> and not a listop
because as a listop it parses as abs($x > 0) 19:46
colomon: you cannot overload any rakudo builtin that is written in PIR
moritz_ unless maybe with inline PIR 19:47
colomon Ah, and sin still is?
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
colomon There is a Num.sin in the setting, and in fact I think I may have managed to write Complex.sin...
pmichaud checks
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
moritz_ (assuming you have ack installed. If not, it's high time to do so now :)
colomon "ack: command not found"
pmichaud it does look as though sin has been written in multiple locations. that might be a problem.
colomon where might I get ack? 19:49
19:49 abra left
moritz_ from CPAN 19:49
pmichaud cpan App::Ack is what i use
afk for a bit
moritz_ debian has the 'ack-grep' package
colomon MacPorts does not have it, alas. 19:52
But I will take a stab at just installing it from CPAN in a few minutes.
moritz_: Re: fixing these things myself -- what's the best way of handling the version control with that? 19:55
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?
moritz_ then you make a patch from it: 'git format-patch HEAD^'
colomon Ah! 19:57
I didn't know you could do that.
moritz_ then send that to [email@hidden.address] with [PATCH] included in the subject
after that I usually reset my repo to the previous state
git reset --hard HEAD^
svarg a quit is equivalent to a die()? 19:58
moritz_ no
afaict there's no quit() function in perl 6
svarg ah 19:59
19:59 smuj joined
svarg thats not what i meant 19:59
19:59 sevvie left, snarkyboojum left, ceci left, IRSeekBot left, sevvie joined
colomon moritz_++ 20:00
20:00 ceci joined
svarg moritz_ die() is what i mean 20:01
moritz_ then I don't understand the question
svarg i meant a quit is equivalent to die();
a die() function no? 20:02
just some humour
svarg shakes up moritz_
20:03 IRSeekBot joined
moritz_ non-obvious humour carries badly over IRC without smilies 20:05
svarg lol
20:08 Confield_ joined 20:12 Tene left 20:16 payload left, payload joined 20:19 Confield left, FCO joined 20:24 smuj left
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:40
moritz_ sure, I'll try to give feedback asap 20:41
pmichaud colomon: did you send it yet?
#66864, looks like 20:42
colomon Yes.
(Don't know if that is the number, but I sent it about 5 minutes ago.)
pmichaud patch looks fine to me
colomon Is the e-mail okay? 20:43
pmichaud looks correct to me
colomon Danke.
moritz_ spectests 20:44
20:45 maerzhase left, maerzhase joined
colomon I'm definitely starting to like git. 20:46
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
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
M_o_C And how would that syntactically look like?
(When calling that function)
moritz_ sub infix:<foo> is assoc<list> (*@args) { ... }; 1 foo 2 foo 3 foo 4 20:51
M_o_C Ah, ok
moritz_ infix:<,> is the prime example of a list associative operator 20:52
20:58 nbrown joined
moritz_ @seen masak 20:59
lambdabot I saw masak leaving #perl6 4d 23h 15m 59s ago, and .
21:00 dduncan joined 21:03 nbrown left, nbrown joined
dalek kudo: 80fdc48 | [email@hidden.address] | src/setting/Complex.pm:
Implement Complex version of **.
21:10
pugs_svn r28126 | moritz++ | [t/spec] unfudge some newly passing tests for complex powers
21:10 cotto left 21:23 anfedorov left
svarg just wondering 21:25
1 ne 2 is correct in perl? 21:26
the syntax
ne being not equal
moritz_ rakudo: say 1 ne 2
p6eval rakudo 0d4fe0: OUTPUT«1␤»
svarg meaning?
moritz_ "1 is not equal 2" is true 21:27
colomon surely want 1 != 2 ?
svarg so we can use 1 ne 2?
and it works?
woah
so moritz_ ne has something to do with strings only? 21:29
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
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
svarg but moritz_ using 1 ne 2 didnt look wrong here 21:37
so we're good to go then
basically 1 ne 2 it only works for strings not ints does it?
21:37 Confield_ left, Su-Shee left
svarg if ("xx xx" ne "xx xx ") { 21:38
rather than ints, being
ie: if (1 != 2) {
right?
moritz_ well, 1 and 2 are inequal both when compared as numbers and as strings 21:39
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.
ah
i believe it actually compares their ascii values, though not sure. 21:41
moritz_ not quite
it compares graphemes, in theory
svarg ah 21:42
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
no?
moritz_ no, the other way round.
svarg or vice versa
moritz_ you can just try those things out: 21:44
rakudo: say "1.0" == "1"
p6eval rakudo 0d4fe0: OUTPUT«1␤»
moritz_ rakudo: say "1.0" eq "1"
p6eval rakudo 0d4fe0: OUTPUT«0␤»
svarg ah
ok
i get it
21:45 lambdabot left 21:48 dukeleto left 21:49 lambdabot joined, dukeleto joined, rindolf left 21:52 carlin joined, rbaumer joined 21:53 maerzhase left, maerzhase joined 21:54 iblechbot left 22:21 Makoryu left 22:24 M_o_C left
dalek kudo: 9fff158 | pmichaud++ | src/setting/Rat.pm:
First-draft implementation of Rat datatype.
22:25
22:29 SmokeMachine left
dalek kudo: cfb7d8d | pmichaud++ | build/Makefile.in:
Forgot to commit updated Makefile.
22:31
22:31 stu42j joined 22:44 jauaor left
colomon pmichaud: Do you want help with that? Rats are much more friendly than Complexes. ;) 22:45
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:46
22:48 tak11 left 22:52 maerzhase left
colomon pmichaud: A couple of quick questions, then before I take out the garbage and hit the pub. 22:58
Is it intended to be in simplified form? So that 1/4 + 1/4 == 1/2 instead of 2/4s? 22:59
pmichaud haven't gotten that far yet 23:00
I'm thinking it probably should, yes.
colomon I'm thinking simplify in Rat.new?
23:00 Whiteknight left
pmichaud that'd be where I start, yes. 23:01
(sorry if I sound a little short -- other things happening in the background here) 23:05
colomon No worries, I'm doing my own share of running around here. 23:08
If no one else has already done it, I'll look at taking a crack at it post-pub. 23:09
(Are there tests already?)
23:09 synth joined
pmichaud there are some Rat tests already, I think. Pugs had the Rat datatype 23:09
wayland76 has an image of a pug with a rat in its mouth :) 23:15
23:19 Chillance left 23:20 ihrd joined 23:21 dduncan left 23:22 colomon left
dalek kudo: 0712c33 | pmichaud++ | src/setting/ (2 files):
Move Int-based operators into src/setting/Int.pm .
23:28
23:33 payload left
literal oh, you guys got perl6.org 23:36
nice
23:45 ihrd1 joined 23:47 PZt left 23:53 ihrd left
dalek kudo: 8772e90 | pmichaud++ | src/setting/Int.pm:
Some more conversions (Int.Num, Int.Rat, Int.Int).
23:57