Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-05-05

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:01 cosimo joined #perl6
00:05 justatheory left #perl6
00:07 cognominal joined #perl6
00:14 [particle] left #perl6
00:15 [particle] joined #perl6
00:16 kcwu left #perl6
00:16 Moukeddar joined #perl6
00:16 Moukeddar hello
00:17 kcwu joined #perl6
00:17 bacek left #perl6
00:18 justatheory joined #perl6
00:18 bacek joined #perl6
00:19 aindilis left #perl6
00:19 aindilis joined #perl6
00:21 rlb3 left #perl6
00:23 lue hello! o/
00:24 Moukeddar how are you doing ?
00:26 spetrea I cooked some noodles, but they didn't really turn out how I wanted them
00:26 lue just fine.
00:26 spetrea I threw 2 eggs at those noodles while they were boilin
00:26 Moukeddar spetrea, try spaghetti :)
00:27 spetrea Moukeddar: I'm better with spaghetti
00:27 justatheory left #perl6
00:27 justatheory joined #perl6
00:27 lue rakudo: say  3/2*(1+2)
00:27 p6eval rakudo 6ae3c9: OUTPUT«4.5␤»
00:27 Moukeddar good :)
00:28 lue ... ō.o That's wrong.
00:28 spetrea http://bit.ly/jY4jDw <-- them noodles
00:28 Moukeddar haha
00:28 Moukeddar operators priority :)
00:28 lue rakudo: say 6/2*(1+2) # nvm, got the equation wrong :|
00:28 p6eval rakudo 6ae3c9: OUTPUT«9␤»
00:28 Moukeddar Russia :)
00:29 lue [previous statements redacted]
00:29 Moukeddar in soviet russia , Noodles cook you
00:29 spetrea Moukeddar: lol, I'm from .ro but the noodles are from the wrong country
00:29 spetrea they should be from .cn or .jp
00:29 spetrea but :(
00:29 Moukeddar haha
00:29 spetrea gotta see next time I'm in a market.. maybe I can find some good ones
00:29 Moukeddar i tried them once
00:30 Moukeddar didn't like them much
00:30 Moukeddar i prefer spaghetti with good sauce
00:30 spetrea I can make bolognese
00:30 spetrea I don't like carbonara, that's not for me
00:30 Moukeddar what's that?
00:30 spetrea which ?
00:31 Moukeddar bolognese/carbonara
00:31 justatheory left #perl6
00:32 spetrea just pasta
00:33 Moukeddar ko :)
00:33 Moukeddar not very good with names :)
00:33 spetrea actually bolognese is the sauce
00:33 spetrea http://en.wikipedia.org/wiki/Bolognese_sauce
00:34 spetrea :)
00:35 spetrea wait, was I suppose to dry those ?
00:35 spetrea can't remember, didn't actually read any recipe for them, thought it was too easy :)
00:36 Moukeddar ah i that's what i make too, except with less meat :p
00:36 Moukeddar i didn't read ane recipe either
00:36 Moukeddar i just mix things together and taste
00:36 Moukeddar till i get it right :p
00:37 Moukeddar it's a TDD :)
00:37 spetrea :))
00:37 spetrea TDD spaghetti
00:37 Moukeddar haha , ya
00:37 spetrea cooking is pretty much like programming and viceversa anyway :)
00:38 Moukeddar i'm a Born-To-Cook/Eat :)
00:42 spetrea isn't everyone
00:42 Moukeddar no
00:42 Moukeddar i'm Special
00:42 spetrea :)
00:42 Moukeddar my MOM always tell me that :p
00:42 Moukeddar and i believe her
00:42 * diakopter goes to re-up funds in p6eval's vps account
00:43 Moukeddar vps?
00:43 diakopter virtual private server
00:43 Moukeddar i know
00:43 Moukeddar but p6eval takes a whole vps?
00:44 diakopter sure, why not
00:44 Moukeddar wow
00:47 Moukeddar isn't it expensive?
00:47 Tene Moukeddar: know anyone who rents half of a vps?
00:48 Moukeddar lol
00:48 Moukeddar good one
00:48 [Coke] left #perl6
00:57 Moukeddar where's masak?
00:58 [Coke] joined #perl6
01:01 donri left #perl6
01:07 [Coke] left #perl6
01:08 Moukeddar left #perl6
01:09 justatheory joined #perl6
01:10 leprevost joined #perl6
01:11 [Coke] joined #perl6
01:13 [Coke] left #perl6
01:16 Helios left #perl6
01:17 [Coke] joined #perl6
01:19 Helios joined #perl6
01:19 cheako left #perl6
01:19 woosley joined #perl6
01:23 Helios left #perl6
01:26 awwaiid joined #perl6
01:31 Helios joined #perl6
01:42 whiteknight left #perl6
01:42 TiMBuS left #perl6
01:43 TiMBuS joined #perl6
01:59 mtk0 left #perl6
02:08 mtk0 joined #perl6
02:13 sorear good * #perl6
02:16 jevin left #perl6
02:18 jevin joined #perl6
02:29 sorear TimToady: ping
02:31 [Coke] .
02:31 sorear o/
02:32 sorear phenny: tell TimToady my $str = 'abcde'; my $view1 := substr($str,0,1); my $view2 := substr($str,4,1); $view1 = 'xyz'; $view2 = 'tuv'; say $str; # Result?
02:32 phenny sorear: I'll pass that on when TimToady is around.
02:43 alester joined #perl6
02:55 molaf joined #perl6
02:55 cognominal left #perl6
03:10 jevin left #perl6
03:19 alester left #perl6
03:19 nymacro joined #perl6
03:23 Su-Shee_ joined #perl6
03:27 Su-Shee left #perl6
03:27 benabik joined #perl6
03:29 jaldhar left #perl6
03:29 jaldhar joined #perl6
03:33 sftp left #perl6
03:34 am0c joined #perl6
03:45 molaf left #perl6
03:50 mjreed2 joined #perl6
03:50 mjreed2 Sanity check: neither the old <m,n> nor new ** m..n range quantifiers work in current Rakudo, right?
03:54 PerlJam mjreed2: incorrect.
03:59 mjreed2 hm.  I got an error about HyperWhatever. Must have been a syntax error somewhere.  Thanks.
04:00 PerlJam mjreed2: show the code.  Sounds like you used << or >> somewhere.
04:00 mjreed2 no longer have the code; rewrote it to avoid **.  :)  no worries, I see it works now, will fix.
04:06 Raynes left #perl6
04:07 Raynes joined #perl6
04:07 hudnix left #perl6
04:11 envi_ joined #perl6
04:13 satyavvd joined #perl6
04:14 envi left #perl6
04:16 mjreed2 left #perl6
04:20 [particle] left #perl6
04:51 kaare_ joined #perl6
05:26 kaare_ left #perl6
05:49 wtw joined #perl6
05:51 nymacro left #perl6
05:51 nymacro joined #perl6
05:56 justatheory left #perl6
05:58 envi_ left #perl6
05:59 envi_ joined #perl6
06:10 dalek niecza: 1f5854c | sorear++ | src/ (2 files):
06:10 dalek niecza: Fix error reporting error with if(1)
06:10 dalek niecza: review: https://github.com/sorear/niecza/commit/1f5854ca8d
06:21 Mowah joined #perl6
06:24 Su-Shee_ is now known as Su-Shee
06:31 envi_ left #perl6
06:36 risou left #perl6
06:37 envi joined #perl6
06:44 envi left #perl6
06:44 envi joined #perl6
06:48 risou joined #perl6
06:59 dalek niecza: 79a8315 | sorear++ | / (2 files):
06:59 dalek niecza: Implement lvalue substr
06:59 dalek niecza: review: https://github.com/sorear/niecza/commit/79a8315df9
07:10 fhelmberger joined #perl6
07:16 mj41 joined #perl6
07:29 envi left #perl6
07:29 envi joined #perl6
07:39 mathw \o
07:49 moritz good morning
07:49 moritz if mjreed2 got an error message about HyperWhatever NYI, it meant that he used it outside a regex
07:51 wamba joined #perl6
07:53 wamba left #perl6
07:53 wooden left #perl6
07:53 wamba joined #perl6
07:54 * mathw spent some time yesterday telling students that they need to learn stuff
07:59 nymacro how enlightening
08:06 lateau joined #perl6
08:08 mathw One of the lecturers thought what I said was interesting
08:09 mathw he accosted me afterwards and wanted to talk about how he can make the module he's teaching more relevant to the real world
08:09 jnthn morning o/
08:10 jedai_ joined #perl6
08:10 jedai left #perl6
08:10 mathw lo jnthn
08:11 * frettled first read that as "lol jnthn".
08:11 mathw I also now realise what I should have done as my PhD project, that I might actually have finished, and might even have been useful
08:11 frettled Good morning :)
08:15 dakkar joined #perl6
08:16 tadzik g'morning :)
08:17 tadzik moritz: http://rt.perl.org/rt3/Public/Bug/Display.html?id=79130 seems closable
08:29 Shozan joined #perl6
08:33 snearch joined #perl6
08:34 birdwindupbird joined #perl6
08:46 spetrea left #perl6
08:48 moritz tadzik: RT #79130 closed
08:49 tadzik moritz++
08:49 moritz tadzik++
08:51 moritz phenny: ask mberends if likes/fancies asparagus
08:51 phenny moritz: I'll pass that on when mberends is around.
08:55 am0c left #perl6
09:02 dalek rakudo/nom: 538aabd | moritz++ | build/Makefile.in:
09:02 dalek rakudo/nom: [build] fix a build failure on linux
09:02 dalek rakudo/nom:
09:02 dalek rakudo/nom: the shell does not look in the current directory unless told to do so
09:02 dalek rakudo/nom: I hope this does not break the windows build at the same time
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/538aabd91b
09:04 jnthn me too :P
09:04 jnthn Provided that / becomes a \ (think it does) then should be ok :)
09:08 wamba left #perl6
09:09 am0c joined #perl6
09:13 snearch left #perl6
09:16 mathw argh, builds
09:16 mathw argh
09:16 * mathw has been having trouble with Java building things today
09:16 jnthn Yeah, I hate it when Java builds things
09:17 mathw although it's not actually anything to do with Java as it turns out, it's extremely poor use of various Java-related build tools which have together created a mass capable of generating enough frustration to power central London for nearly four seconds
09:20 am0c left #perl6
09:21 arnsholt And editing XML files is enough to drive any normal man to cthulhu worship
09:22 mathw there's XML involved, as it uses ant scripts
09:22 mathw a bizarrely large number of them
09:22 mathw the overall impression is of something massively overengineered, but without any kind of coherent vision
09:22 mathw oh and it doesn't work either
09:26 arnsholt An excellent excuse to blow it all away and do something that works, then =)
09:27 arnsholt Maybe replace ant with make =)
09:27 mathw that's the plan... I'm going to try to persuade my boss to give me some time for it
09:27 mathw and give him a plan for a relatively minimal alteration that will make life a lot easier
09:27 mathw especially when I document it properly
09:27 arnsholt Making boss's life easier sounds like a good way to get it authorised =)
09:30 dr_df0 joined #perl6
09:34 am0c joined #perl6
09:41 mathw well I'd swear a lot less...
09:45 woosley left #perl6
09:46 Shozan i hear maven is "teh shit"
09:46 mtk0 left #perl6
09:55 mtk0 joined #perl6
09:56 pernatiy left #perl6
09:57 mathw Maven seems fine if you buy into how Maven does things
09:57 mathw but that's really a very Java-ish thing generally
09:58 mathw unfortunately I do not buy into the Java-ish way
10:03 woosley joined #perl6
10:05 Exodist left #perl6
10:05 cognominal joined #perl6
10:07 dr_df0 left #perl6
10:11 shabble left #perl6
10:16 Moukeddar joined #perl6
10:27 Moukeddar_ joined #perl6
10:30 Moukeddar left #perl6
10:30 Moukeddar_ is now known as Moukeddar
10:37 Tedd1^ left #perl6
10:38 donri joined #perl6
10:38 Tedd1 joined #perl6
10:48 pernatiy joined #perl6
10:54 Moukeddar left #perl6
11:01 wamba joined #perl6
11:08 Moukeddar joined #perl6
11:10 wamba left #perl6
11:10 miau joined #perl6
11:11 envi left #perl6
11:11 envi joined #perl6
11:13 lola_91 joined #perl6
11:20 pernatiy left #perl6
11:21 jnthn o/ lola_91 :)
11:22 Moukeddar the russian Dame
11:22 jnthn :D
11:23 miau left #perl6
11:23 lola_91 Prevet! B-)
11:23 Moukeddar what?
11:23 lola_91 Moukeddar: that was to jnthn
11:23 jnthn lola_91: Prevet! Kak dela? :)
11:23 tadzik Dobry dień
11:23 Moukeddar ok :p
11:23 Moukeddar vous parlez quoi ici ?
11:24 lola_91 Moukeddar: it means hello
11:25 jnthn lola_91: Ja budu v Rossije v nedelyu...yesli u minya budet visu!
11:25 jnthn gah, I should be less lazy and type cyrillic :)
11:25 Moukeddar so , this is the mutated russian ?
11:25 jnthn Given I'm speaking it, it's probably very mutated. :P
11:28 wamba joined #perl6
11:31 Moukeddar left #perl6
11:31 spetrea joined #perl6
11:31 lola_91 jnthn: u do it greatly.. almost like I text chat russian with english letters :)
11:32 lola_91 jnthn: so the papers not ready yet?
11:32 lola_91 :S
11:32 jnthn lola_91: Not yet. I submitted everything so...just waiting...
11:33 leprevost left #perl6
11:33 lola_91 jnthn: mmm... i hope it will not take long.. maybe if you tell them why are you going there they will help you ^_^
11:34 lola_91 jnthn: tell them: I am jnthn.. the perl6 hacker B-)
11:34 jnthn I'm pretty sure telling the Russian consulate I'm a hacker will not help my application. :)
11:34 Moukeddar joined #perl6
11:34 tadzik I remember going to the battle of Frydland in Kaliningrad region, we (me and the husband of my sister, what's the word again?) accidentally bought our visas for the week after the battle
11:35 tadzik so in the actual day we rush to the embassy asking for guidance
11:35 tadzik turns out they can't give us our visas for today, but there's this tourist agency on the other side of the street, and they're able to get us visas in a few hours time
11:36 jnthn Heh
11:36 jnthn They had a "special relationship" with the embassy, huh? :)
11:36 Moukeddar special?
11:37 tadzik probably
11:37 tadzik you know, a relationship they can really... value
11:37 lola_91 I hate using "special relations"
11:38 lola_91 and never accepted using them
11:38 lola_91 and never will..
11:38 Moukeddar i love using 'them'
11:38 jnthn lola_91: It's a crappy way to get things done, yes.
11:38 tadzik well, I don't know how did they do it under the hood, we can only suspect
11:38 lola_91 jnthn: exactly..
11:39 lola_91 jnthn: in past you could also buy a password with money or relations..
11:39 lola_91 ope
11:39 lola_91 passport
11:39 jnthn O_O
11:39 lola_91 getting confused with work :P
11:39 jnthn I'm sure you can buy passwords with the wrong kinds of relations too... :P
11:40 tadzik heh, we had a similar things in Poland few dozens of years before
11:40 Moukeddar hehe
11:40 Moukeddar we live in a corrupted world
11:40 tadzik buy a whiskey, pretend that you're a policeman, get a passport in a few days
11:40 lola_91 tadzik: loooool :D
11:40 lola_91 lola_91: not in Russia
11:40 lola_91 maybe in Ukraine..
11:41 Moukeddar is policeman something special ?
11:41 Moukeddar no
11:41 jnthn Moukeddar: That'll only change if people decide they really don't want it, rather than just saying "oh, it's a fact of life"
11:42 tadzik jnthn: ticket controllers in Poland usually wear those "I don't give, I don't take" badges
11:42 tadzik I've seen those as a stickers in a few...
11:42 tadzik phenny: "urząd"?
11:42 lola_91 tadzik: but do they? O_o
11:43 phenny tadzik: "office" (pl to en, translate.google.com)
11:43 tadzik pff. Yeah, offices too
11:43 tadzik lola_91: I haven't heard of the case for the last few years
11:43 tadzik before it was quite common to hear from a friend that he gave 50 PLN to a ticket controller not to get a 150 PLN penalty
11:44 lola_91 I wish I could be a queen of one of the countries.. I would turn it into the perfect world B-)
11:44 tadzik (:
11:44 tadzik gah, I broke my green tea :(
11:44 lola_91 tadzik: huh!
11:44 jnthn tadzik: How do you...break tea?
11:45 tadzik jnthn: you prepare it for 11 minutes instead of 3
11:45 jnthn Oops.
11:45 tadzik happens to me all the time
11:45 jnthn Yeah, same
11:45 jnthn It's like "oh, I'll make tea"
11:45 lola_91 tadzik: what a disaster :(
11:45 tadzik I must get to know with this KTeaTime wonder
11:45 jnthn pour water, hack hack hack...crap my tea's cold!
11:45 tadzik oh, that's a different story :)
11:46 Moukeddar left #perl6
11:46 * jnthn imagines lola_91 sat on a throne wearning an epic crown
11:47 * tadzik finds it hard without knowing how lola_91 looks
11:48 jnthn :)
11:49 lola_91 tadzik: mmmm... do you people want to see me? :p
11:50 bbkr_ hi. can I create META.info that has ICU lib in depends?
11:50 bbkr_ if not - how can I check in runtime if ICU is loaded?
11:51 tadzik bbkr_: I don't think that is supported. You can a) create a Configure.pl that will check that before building and complain, b) file a ticket for perl6/ecosystem for META.info to support things like that
11:51 tadzik preferably both
11:51 tadzik although I think I forgot to implement Configure.pl in panda, and I don't think I want to
11:51 tadzik lola_91: I like knowing who do I talk to :)
11:51 bbkr_ :)
11:52 tadzik but I don't mind if you don't, I know the faces of like 5-6 people on this channel probably, and seen 2 IRL :)
11:52 Moukeddar joined #perl6
11:52 tadzik bbkr_: I think that META.info should support C-like-lib dependencies along with the perl6-module ones
11:53 jnthn tadzik: 3 at least :)
11:53 tadzik one, two, three, oh, right!
11:53 lola_91 tadzik: ok will show you later.. You will know the real me B-)
11:53 tadzik :)
11:53 Moukeddar the real her
11:53 tadzik jnthn: I probably started counting from zero :)
11:53 jnthn :D
11:54 tadzik on my university there's a story about a professor who wanted 4 chairs, and then called and complained that he only got 3 "I'm counting, zero, one, two, three"
11:56 [particle] joined #perl6
11:59 nymacro left #perl6
11:59 satyavvd left #perl6
12:00 takadonet morning all
12:00 tadzik morning
12:00 jnthn o/ takadonet
12:00 tadzik whew, I almost thought this is this awkward silence moment :)
12:04 lola_91 left #perl6
12:04 * jnthn is quiet 'cus he's nomming :)
12:09 Moukeddar bon apetit
12:10 wamba left #perl6
12:11 jnthn Moukeddar: merci :)
12:11 Moukeddar vous nommez quoi exactement ?
12:12 pernatiy joined #perl6
12:13 jnthn Je nom en sandwich de framage... ;)
12:14 jnthn er, s/en/un/
12:14 Moukeddar Typical
12:14 Moukeddar so that's why you're cheezy
12:14 Moukeddar ;)
12:14 jnthn :P
12:15 bluescreen10 joined #perl6
12:16 woosley left #perl6
12:21 wamba joined #perl6
12:21 cognominal left #perl6
12:23 Holy_Cow joined #perl6
12:24 tzhs joined #perl6
12:25 Jdoneright joined #perl6
12:26 Jdoneright Hello!
12:26 Jdoneright I came here with some ideas.
12:27 Jdoneright Let's make Perl benefit from ideas of J programming language.
12:27 Jdoneright Perl even can be "J done right"
12:28 Moukeddar J ?
12:28 Jdoneright I for myself define Perl essence as "programming a smart robot"
12:29 Jdoneright yes, J
12:29 Moukeddar never heard of that
12:29 Jdoneright Smart robot is very smart, so he can do lots under very concise instructions
12:30 Lorn left #perl6
12:30 Jdoneright J programming language seems to take same direction, only to further extreme.
12:30 Patterner left #perl6
12:31 sftp joined #perl6
12:31 Jdoneright Perl already looks like J when you do "map sort grep" thing.
12:32 Jdoneright When you MAP instead of cycle.
12:32 Holy_Cow left #perl6
12:33 Psyche^ joined #perl6
12:33 Psyche^ is now known as Patterner
12:33 Jdoneright Well, J does not have cycles.
12:34 mathw http://en.wikipedia.org/wiki/J_%28programming_language%29 <- this one?
12:35 Jdoneright Serious drawback with J is, you can't learn it fast. Its keywords are calculator-like -- one or two punctuation symbols.
12:35 Jdoneright Yes.
12:36 flussence rakudo: sub avg { [+] @_ / +@_ }; say avg(1, 2, 3, 4)
12:36 p6eval rakudo 6ae3c9: OUTPUT«1␤»
12:36 flussence bah.
12:36 flussence rakudo: sub avg { ([+] @_) / +@_ }; say avg(1, 2, 3, 4)
12:37 p6eval rakudo 6ae3c9: OUTPUT«2.5␤»
12:37 mathw Jdoneright: So, what specifically could Perl 6 learn from J?
12:37 Jdoneright The idea behind J is, lets think of a program as chain of operations which makes output list from input list, and then lets code this chain from standard operations. Much like map-sort-map paradigm.
12:38 mathw so, the feed operators then
12:38 mathw we can do that
12:38 jnthn rakudo: (-1,2,5) ==> map * + 2 ==> grep * > 1 ==> say
12:38 p6eval rakudo 6ae3c9: OUTPUT«47␤»
12:38 mathw which is really just functional programming with a different coat on
12:38 Jdoneright mathw, for start I think of rich set of primitives in J.
12:39 flussence rakudo: say for 1, 2, *+* ... * >= 100
12:39 p6eval rakudo 6ae3c9: OUTPUT«␤␤␤␤␤␤␤␤␤␤␤»
12:39 Jdoneright so called "J vocabulary"
12:39 mathw hmm
12:39 flussence jeez, I'm half asleep today :/
12:39 flussence rakudo: .say for 1, 2, *+* ... * >= 100
12:39 p6eval rakudo 6ae3c9: OUTPUT«1␤2␤3␤5␤8␤13␤21␤34␤55␤89␤144␤»
12:39 mathw that's more like it :)
12:40 Jdoneright J uses grammar-related terms: "noun", "verb", "adverb"
12:40 mathw so what does its standard library have that Perl 6's setting doesn't and should have?
12:41 Jdoneright That should be answered after doing needed research work.
12:42 Jdoneright Concept of adverbs is another example. Those ase operations which modify operations.
12:44 mathw Are they able to do this without the operation explicitly supporting particular adverbs?
12:44 envi_ joined #perl6
12:44 Jdoneright Well, as I see it, J benefits greatly from its unified approach to data. All data there is array(list) of some dimensions.
12:44 mathw or are they just parameters to that operation
12:46 bbkr_ star: use MIME::Base64; MIME::Base64.encode_base64('zażółć gęślą jaźń'); # ooops :) any idea for workaround?
12:46 Jdoneright mathw, they look like parameters, but they are universal and very orthgonal. For example, adverb "/" means "insert that op between items of list"
12:46 p6eval star 2011.04: OUTPUT«FixedIntegerArray: index out of bounds!␤  in 'MIME::Base64::encode_base64' at line 7:/home/p6eval/rakudo-star-2011.04/install/lib/parrot/3.3.0/languages/perl6/lib/MIME/Base64.pm6␤  in main program body at line 22:/tmp/lHKTuCcZ6w␤»
12:48 envi left #perl6
12:48 mathw Jdoneright: oh, so they modify the way the operator is applied, rather than what it does
12:48 Lorn joined #perl6
12:48 Jdoneright Example: J program "+/ 1 2 3 4 5" computes sum of 1-5 numbers.
12:48 tadzik bbkr_: haha, that's funny :)
12:48 tadzik rakudo: say [+] 1..5
12:48 mathw rakudo: say [+] 1, 2, 3, 4, 5
12:48 p6eval rakudo 6ae3c9: OUTPUT«15␤»
12:48 p6eval rakudo 6ae3c9: OUTPUT«15␤»
12:48 mathw the [] metaoperator does that
12:49 tadzik bbkr_: MIME::Base64 is heavily Parrot-y, so what you experience may be a parrotbug of some sort
12:50 Jdoneright Exatly! Perl 6 meta-ops are very like them.
12:51 flussence bbkr_: try encoding it to a utf-8 buf first.
12:53 tadzik star: use MIME::Base64; MIME::Base64.encode_base64('no unicode')
12:53 p6eval star 2011.04:  ( no output )
12:53 bbkr_ tadzik: I'm analyzing this module right now. And to be honest I don't think it's parrot bug. Base 64 RFC does not specify how to handle unicode, so it's natural for method to expect something like Buf, not multibyte characters.
12:53 tadzik hmm
12:54 Shozan left #perl6
12:56 Jdoneright When I read about J, my thoughts were: "this is what they are adding to Perl in v6"
12:56 molaf joined #perl6
12:56 bbkr_ flussence: how do I do that conversion Str->Buf?  S32 is not helpful here.
12:57 am0c left #perl6
12:57 Jdoneright Authors of J call its specific "vector programming" as opposed to "scalar programming" like C
12:58 tadzik bbkr_: no, it is a Parrotbug
12:59 snearch joined #perl6
12:59 tadzik bbkr_: http://nopaste.snit.ch/43593
12:59 tadzik Parrot's MIME::Base64 seems to expect asciistrings
13:00 flussence bbkr_: Str.encode() should do it, iirc.
13:00 orafu left #perl6
13:02 bbkr_ star:use MIME::Base64; MIME::Base64.encode_base64( 'zażółć gęślą jaźń'.encode );
13:02 p6eval star 2011.04: OUTPUT«Nominal type check failed for parameter '$str'; expected Str but got Buf instead␤  in 'MIME::Base64::encode_base64' at line 1:/home/p6eval/rakudo-star-2011.04/install/lib/parrot/3.3.0/languages/perl6/lib/MIME/Base64.pm6␤  in main program body at line 22:/tmp/LVNVxbtq8n␤»
13:08 am0c joined #perl6
13:09 am0c left #perl6
13:09 orafu joined #perl6
13:09 am0c joined #perl6
13:10 larks joined #perl6
13:11 hudnix joined #perl6
13:13 Moukeddar left #perl6
13:19 satyavvd joined #perl6
13:21 satyavvd_ joined #perl6
13:24 satyavvd left #perl6
13:26 woosley joined #perl6
13:27 bbkr_ how can I iterate over Buf items? "ż".encode.perl gives Buf.new(197, 188), and index access "ż".encode.[0] works as expected. but map{.WHAT.say},"ż".encode does not provide series of Int but whole Buf() .
13:29 bbkr_ tadzik: I've re-read RFC and i'm sure it's not parrot bug. base64 should expect only ascii characters. unicode should be repacked into separate characters, something like [~]'zażółć'.encode>>.chr
13:31 satyavvd_ left #perl6
13:32 dakkar bbkr_: base64 expects *bytes*, not characters
13:32 dakkar if you are encoding, clearly
13:32 dakkar base64_encode: Buf → Str
13:33 dakkar base64_decode: Str → Buf
13:33 dakkar rakudo: Buf(1,2,3).bytes
13:33 p6eval rakudo 6ae3c9: OUTPUT«Could not find sub &Buf␤  in main program body at line 22:/tmp/TcaohsfNQl␤»
13:34 dakkar rakudo: Buf.new(1,2,3).bytes
13:34 p6eval rakudo 6ae3c9: OUTPUT«Method 'bytes' not found for invocant of class ''␤  in main program body at line 22:/tmp/Lj4bW9B3AQ␤»
13:34 dakkar hmm
13:34 * dakkar checks the spec
13:34 tadzik a-ha
13:36 Jdoneright left #perl6
13:40 ymasory_ joined #perl6
13:41 ymasory left #perl6
13:41 ymasory_ is now known as ymasory
13:43 demetro left #perl6
13:49 demetro joined #perl6
13:51 leprevost joined #perl6
13:54 Exodist joined #perl6
13:57 demetro left #perl6
14:04 bluescreen100 joined #perl6
14:04 bluescreen__ joined #perl6
14:07 jaldhar left #perl6
14:07 PerlJam rakudo:  my @a = 1..5; say @a Z @a[1..*]
14:07 p6eval rakudo 6ae3c9: OUTPUT«(timeout)»
14:16 hudnix left #perl6
14:21 hudnix joined #perl6
14:22 _twitch joined #perl6
14:24 tzhs left #perl6
14:25 MayDaniel joined #perl6
14:28 lateau left #perl6
14:29 miso2217_ joined #perl6
14:30 justatheory joined #perl6
14:30 bbkr_ rakudo: pack("H*", Buf.new()) # is it bug that pack( ) accepts not Iterable item as second param?
14:30 p6eval rakudo 6ae3c9: OUTPUT«Cannot take numeric value for object of type Buf␤  in 'Any::Numeric' at line 1482:CORE.setting␤  in 'infix:<%>' at line 7637:CORE.setting␤  in <anon> at line 4769:CORE.setting␤  in 'pack' at line 1␤  in main program body at line 22:/tmp/DwJpFAbAYY␤»
14:35 TiMBuS left #perl6
14:35 TiMBuS joined #perl6
14:40 plainhao joined #perl6
14:40 wtw left #perl6
14:47 bbkr_ star: use MIME::Base64; MIME::Base64.encode_base64("żółty".encode.unpack("A*")).say; # \o/
14:47 p6eval star 2011.04: OUTPUT«xbzDs8WCdHk=␤»
14:48 tadzik LTA, I must say :)
14:50 bbkr_ I still claim that it is MIME::Base64 bug. encode_base64 in parrot follows RFC spec and expects string composed of ASCII characters. It's Perl6 that must mangle unicode to be DWIM-y :)
14:50 spetrea left #perl6
14:51 bbkr_ tadzik: P5 base64 behaves the same way - you have to encode manually. which is awful to debug.
14:51 sorear observation: in Perl 5, substr($long, $big, 1) = $char is O(1)
14:52 * bbkr_ is back to Email::MIME hacking
14:52 tadzik bbkr_: I see
14:52 flussence does p6 have a concept of "default encoding" that Str.encode could use to simplify the base64 thing?
14:52 moritz sorear: even for strings with UTF8 flag?
14:52 * sorear wonders if the same can/should be true in Perl 6
14:52 sorear moritz: no
14:52 moritz flussence: it has, otherwise you'd have to write Str.encode("UTF-8")
14:53 moritz the questions is really if MIME::Base64 should do it automatically for you
14:54 flussence I'm of the opinion it should, and anyone wanting a different encoding should call .encode themselves...
14:54 bbkr_ moritz: IMO it should. every library in other languages and every converter does it automatically. I simply do not care about internals when I want to encode 'żółty'
14:55 moritz bbkr_: you do not want to care, but you should, because there's not one standard way
14:55 am0c left #perl6
14:55 moritz base64 really is a format for encoding octets in ascii
14:56 sorear moritz: does it always default to UTF-8, or to nl_langinfo(CHARSET)?
14:56 moritz not for encoding text in ascii
14:56 hercynium joined #perl6
14:56 moritz sorear: dunno
15:01 Juerd bbkr_: Base64 encoding encodes a string of *bytes* (not necessarily ASCII) to a string of ASCII characters.
15:02 Juerd bbkr_: There's no Unicode involved *at all*. If you have Unicode somewhere, you must first encode it. This could be done transparently but it still needs to be done.
15:02 * bbkr_ agrees now
15:03 Juerd In Perl 5, encode_base64 should try to downgrade its argument. If that fails, it should at the very least emit a warning.
15:03 Juerd I don't know if it's actually implemented like that.
15:09 am0c joined #perl6
15:11 kaare_ joined #perl6
15:12 bbkr_ Juerd: In this case it would be nice to overload MIME::Base64.encode_base64 ( Buf ) , so users can simply write encode_base64('żółć'.encode). It took me a while to figure out this repacking magic :)
15:16 slavik2 joined #perl6
15:18 slavik left #perl6
15:18 tadzik bbkr_: that's your call, patches welcome :)
15:19 tadzik star: use MIME::Base64; MEME::Base64.decode_base64('xbzDs8WCdHk=
15:19 p6eval star 2011.04: OUTPUT«===SORRY!===␤Unable to parse postcircumfix:sym<( )>, couldn't find final ')' at line 22␤»
15:19 tadzik star: use MIME::Base64; MEME::Base64.decode_base64('xbzDs8WCdHk=').decode.say
15:19 p6eval star 2011.04: OUTPUT«Cannot find sub MEME::Base64␤  in main program body at line 1␤»
15:19 tadzik gets me every time...
15:19 tadzik star: use MIME::Base64; MIME::Base64.decode_base64('xbzDs8WCdHk=').decode.say
15:19 p6eval star 2011.04: OUTPUT«Method 'decode' not found for invocant of class 'String'␤  in main program body at line 22:/tmp/698Gc39wYa␤»
15:19 Juerd bbkr_: Personally I'd love a somewhat more extensive encoding/decoding framework instead of a ton of modules with different syntaxes everywhere.
15:19 Juerd I usually need a few layers of encoding
15:20 Juerd Not uncommon: unicode -> html encoding -> utf-8 -> base64 -> gzip
15:21 Juerd In a dwimmy world you could do just $string.encode(<html utf8 base64 gzip>)
15:21 tadzik star: use MIME::Base64; MIME::Base64.decode_base64('xbzDs8WCdHk=').say
15:21 p6eval star 2011.04: OUTPUT«Å¼Ã³Å‚ty␤»
15:21 tadzik star: use MIME::Base64; MIME::Base64.decode_base64('xbzDs8WCdHk=').&decode.say
15:21 p6eval star 2011.04: OUTPUT«Could not find sub &decode␤  in main program body at line 22:/tmp/dlBmS8WSUW␤»
15:22 bbkr_ tadzik: try this
15:23 bbkr_ star: use MIME::Base64; MIME::Base64.decode_base64('xbzDs8WCdHk=').encode('UTF-8').decode.say
15:23 p6eval star 2011.04: OUTPUT«żółty␤»
15:24 moritz star: use MIME::Base64; $*OUT.write: MIME::Base64.decode_base64('xbzDs8WCdHk=').encode('UTF-8')
15:24 p6eval star 2011.04: OUTPUT«Å¼Ã³Å‚ty»
15:25 moritz star: use MIME::Base64; $*OUT.write: MIME::Base64.decode_base64('xbzDs8WCdHk=')
15:25 p6eval star 2011.04: OUTPUT«No candidates found to invoke for method 'write' on object of type 'IO'; available candidates have signatures:␤:(Mu : Buf $buf;; *%_)␤␤  in main program body at line 22:/tmp/D26dNl8TAK␤»
15:25 moritz why doesn't it work with .encode?
15:27 bbkr_ because decode_base64 returns string of bytes and you need decode to pack it back into chars, and decode is available on Buf type only so you need double Buf repacking?
15:28 moritz .oO( ??? )
15:28 tadzik rakudo: say so Any
15:28 p6eval rakudo 6ae3c9: OUTPUT«Bool::False␤»
15:29 moritz star: use MIME::Base64; say MIME::Base64.decode_base64('xbzDs8WCdHk=').WHAT
15:29 p6eval star 2011.04: OUTPUT«Str()␤»
15:29 bbkr_ star: use MIME::Base64; $*OUT.write: MIME::Base64.decode_base64('xbzDs8WCdHk=').encode('UTF-8').decode.encode
15:29 moritz so, it returns a Str
15:29 p6eval star 2011.04: OUTPUT«Å¼Ã³Å‚ty»
15:29 moritz (which IMHO is a bug)
15:29 moritz rakudo: $*OUT.write: 'möp'.encode
15:29 p6eval rakudo 6ae3c9: OUTPUT«möp»
15:29 moritz ok, why does this not work?
15:30 moritz rakudo: say 'möp'.encode.perl
15:30 p6eval rakudo 6ae3c9: OUTPUT«Buf.new(109, 195, 182, 112)␤»
15:30 envi_ left #perl6
15:30 envi_ joined #perl6
15:31 tadzik .u thumb
15:31 phenny tadzik: Sorry, no results for 'thumb'.
15:32 _twitch left #perl6
15:32 moritz rakudo: say Buf.^methods.grep(*.name eq 'write').signature.perl
15:32 p6eval rakudo 6ae3c9: OUTPUT«Method 'grep' not found for invocant of class 'ResizablePMCArray'␤  in main program body at line 22:/tmp/v5PmAxck1t␤»
15:32 jnthn meh.
15:32 moritz rakudo: say infix:<,>(Buf.^methods).grep(*.name eq 'write').signature.perl
15:32 p6eval rakudo 6ae3c9: OUTPUT«Method 'signature' not found for invocant of class 'List'␤  in main program body at line 22:/tmp/2V0d4z2CdY␤»
15:32 jnthn .oO( meh-taobject )
15:33 moritz rakudo: say infix:<,>(Buf.^methods).grep(*.name eq 'write').[0].signature.perl
15:33 p6eval rakudo 6ae3c9: OUTPUT«Method 'signature' not found for invocant of class ''␤  in main program body at line 22:/tmp/O868UyNd13␤»
15:33 tadzik this is my favourite class, this ''
15:34 moritz rakudo: say infix:<,>(Buf.^methods).grep(*.name eq 'write').[0].PARROT
15:34 p6eval rakudo 6ae3c9: OUTPUT«␤»
15:34 jnthn rakudo: say infix:<,>(Buf.^methods).grep(*.name eq 'write').[0].WHAT
15:34 p6eval rakudo 6ae3c9: OUTPUT«Any()␤»
15:34 orafu left #perl6
15:35 _twitch joined #perl6
15:38 molaf left #perl6
15:40 bbkr_ Buf write method is in src/core/IO.pm line 99 :)
15:41 moritz right
15:41 moritz not in Buf.
15:41 moritz rakudo: say infix:<,>($*OUT.^methods).grep(*.name eq 'write').[0].signature.perl
15:41 p6eval rakudo 6ae3c9: OUTPUT«get_attr_str() not implemented in class 'Perl6MultiSub'␤  in main program body at line 1␤»
15:42 jnthn .oO( one more error we won't get with protos... )
15:42 woosley left #perl6
15:43 tadzik "fixed in nom!"
15:44 jnthn :P
15:44 jnthn Didn't get to that bit of nom yet. ;)
15:44 jnthn Fixed in nqp though...apart from it doesn't have introspectable signatures. :)
15:44 Su-Shee_ joined #perl6
15:45 jnthn nqp: proto foo($x?) { say("before"); {*}; say("after"); }; multi foo() { say(1) }; multi foo($x) { say(2) }; foo(); foo("donkey");
15:45 p6eval nqp: OUTPUT«before␤1␤after␤before␤2␤after␤»
15:46 tadzik oh, so that's how those proto's work...
15:47 tadzik int eresting;
15:47 jnthn str essful; # to implement
15:48 Su-Shee left #perl6
15:48 mj41 left #perl6
15:49 tadzik $x? -- that could be a worthwhile fix for the comb() situation
15:49 envi_ left #perl6
15:49 envi_ joined #perl6
15:52 bbkr_ s = bb.'get_string_as'(binary:"") - hmm, if bb is ByteBuffer and get_string_as returns bb converted to binary string then "$*OUT.write: 'möp'.encode" is not expected to write unicode string, isn't it?
15:56 Trashlord left #perl6
15:58 Raynes left #perl6
16:02 tadzik moritz: around?
16:03 tadzik melange wants me to "Set 'additional info' for 'Pod parser for Rakudo'", do you know what might that be?
16:03 moritz tadzik: kinda
16:03 moritz no, I'll ask the boss
16:09 _twitch left #perl6
16:09 envi__ joined #perl6
16:12 envi_ left #perl6
16:15 Su-Shee_ is now known as Su-Shee
16:17 envi__ left #perl6
16:17 envi__ joined #perl6
16:18 bluescreen100 left #perl6
16:18 bluescreen10 left #perl6
16:18 bluescreen__ left #perl6
16:24 mj41 joined #perl6
16:34 birdwindupbird left #perl6
16:37 envi_ joined #perl6
16:37 cdarroch joined #perl6
16:37 cdarroch left #perl6
16:37 cdarroch joined #perl6
16:40 envi__ left #perl6
16:49 icwiener joined #perl6
16:52 plobsing_ left #perl6
16:53 envi_ left #perl6
16:53 envi_ joined #perl6
16:53 mj41 left #perl6
16:54 envi_ left #perl6
16:55 pernatiy left #perl6
16:58 justatheory left #perl6
17:07 justatheory joined #perl6
17:12 fhelmberger left #perl6
17:34 Trashlord joined #perl6
17:37 plobsing joined #perl6
17:40 pmurias joined #perl6
17:40 pmurias hi
17:41 takadonet pmurias: hi
17:52 mj41 joined #perl6
17:57 impious joined #perl6
17:57 impious left #perl6
17:58 mj41 left #perl6
18:02 justatheory left #perl6
18:02 masak joined #perl6
18:02 justatheory joined #perl6
18:02 masak y0, zebrz.
18:03 plobsing left #perl6
18:04 masak isn't it odd that the day after I post a J link on the channel, a person called 'Jdoneright' pops in and wants Perl to benefit from ideas in J? :)
18:05 jnthn o/ masak
18:05 masak probably just the usual froth of relatively unlikely events that are bound to happen with some frequency.... :)
18:05 moritz maybe somebody looked at referrers
18:05 masak could be. scary, backlinks on the web... ;)
18:05 masak jnthn: \o
18:07 justatheory left #perl6
18:13 bluescreen__ joined #perl6
18:17 Moukeddar joined #perl6
18:17 Moukeddar Hello
18:19 masak Moukeddar! \o/
18:19 mj41 joined #perl6
18:20 Moukeddar hello masak
18:20 Moukeddar my Hero
18:20 masak oh, knock it off. :P you know I can't handle flattery :)
18:20 Moukeddar that CQRS is very Enterprisy :)
18:20 Moukeddar i feel Corporatish
18:20 masak Moukeddar: if you ask for me and it's 2 am here, I might not reply immediately. :)
18:20 Moukeddar oh
18:21 Moukeddar where's that?
18:21 Moukeddar Sweden?
18:21 masak yeah.
18:21 masak Moukeddar: well, the "enterprisey" setting is a very common one.
18:21 Moukeddar masak, today i asked a teacher about the CQRS and the DDD
18:21 Moukeddar he said
18:21 Moukeddar what's that
18:21 Moukeddar lol
18:21 masak that doesn't surprise me.
18:22 masak it's not common knowledge.
18:22 Moukeddar he's an engineer :)
18:23 masak right. the good news hasn't reached everyone yet.
18:23 masak either that, or it's just a fad, and we're all high on the bubble. :)
18:23 Moukeddar who knows
18:23 spetrea joined #perl6
18:23 masak (nah!) :P
18:24 spetrea maybe hit the like button some more here -->  http://www.facebook.com/pages/Perl6/132425770129377   ?
18:24 Moukeddar but it's fun to learn that :)
18:24 Moukeddar spetrea, it's official ?
18:24 spetrea well it's teh wikipedia page so .. I guess it's official
18:24 spetrea I searched rakudo on facebook but found nothin
18:24 masak it's the official wikipedia page.
18:24 spetrea make a facebook thingie :)
18:25 Moukeddar i like that i can like stuff i like
18:25 Su-Shee there is a perl6 facebook thingie I think.
18:25 Eevee my life was not complete until I could push a button to announce to my friends that I like things
18:25 Eevee how would they know otherwise?!
18:25 r0b86 joined #perl6
18:25 Moukeddar haha
18:25 Moukeddar it's called speech
18:26 Moukeddar but if you do it in some other way
18:26 REPLeffect joined #perl6
18:26 r0b86 left #perl6
18:26 Su-Shee and that was called blank sarcasm ;)
18:26 Moukeddar you'll be the "Attention Wh*re"
18:26 Eevee conversations are for old people
18:26 Moukeddar is it ?
18:26 Moukeddar i still like to talk
18:26 Moukeddar less painful than typing
18:27 snearch left #perl6
18:27 awoodland left #perl6
18:28 Trashlord left #perl6
18:33 Chillance joined #perl6
18:34 justatheory joined #perl6
18:36 masak Moukeddar: did I mention that jnthn and I started writing a CQRS app?
18:36 Moukeddar sweeeeet
18:36 masak it's a game server. it's written in Perl 5/Moose.
18:36 Moukeddar how's it going ?
18:37 masak well, there's a blog post describing exactly that :)
18:37 Moukeddar GIMME
18:37 masak http://blog.edument.se/2011/05/04/trying-out-cqrs-and-es-for-a-day/
18:41 mj41 left #perl6
18:41 Moukeddar "He likes to work on healing systems"
18:42 masak aye.
18:43 Moukeddar that's you in the Pic ?
18:43 masak allegedly.
18:44 Moukeddar one thing i can think of
18:44 masak did you read the post itself? :)
18:44 Moukeddar Fight Club
18:44 Moukeddar i'm reading
18:44 Moukeddar why you didn't use a gamestart command?
18:45 masak a good question.
18:45 Moukeddar tha game automaticly starts when the two players join right ?
18:45 lue left #perl6
18:45 masak no, a game automatically starts when an Invitation is accepted.
18:45 lue joined #perl6
18:45 masak though you could see that as "two players joining", if you like.
18:46 masak but it's more of a mutual agreement.
18:46 Moukeddar ok , i see
18:46 Moukeddar Domain expert talking :)
18:46 masak yeah, I've seen about four such game servers at very close range. I know what I want from them. :)
18:47 jnthn Sadly, his architect was utterly incompetent. :)
18:47 masak don't listen to jnthn!
18:47 jnthn :P
18:47 masak the client tells me he was very impressed with the architect... :)
18:48 Moukeddar the clients are sometimes confused and don't know what they want
18:48 masak left #perl6
18:48 Moukeddar you said it yourself
18:51 Moukeddar pair-programming must be fun
18:52 Su-Shee it's insanely fast.
18:52 pernatiy joined #perl6
18:52 Moukeddar better than talking to a plushie
18:53 Moukeddar right?
18:54 Su-Shee no it's not the same as bouncing off ideas, it's less errors, more merge of knowledge, more social control over cleansiness of code..
18:54 Moukeddar indeed
18:56 icwiener left #perl6
18:56 Moukeddar there's a lot to learn
18:56 Moukeddar hope the summer will be enough
19:01 * TimToady is not entirely sure that backlogging while jetlagging is a good idea...
19:01 phenny TimToady: 02:32Z <sorear> tell TimToady my $str = 'abcde'; my $view1 := substr($str,0,1); my $view2 := substr($str,4,1); $view1 = 'xyz'; $view2 = 'tuv'; say $str; # Result?
19:01 ymasory_ joined #perl6
19:01 jnthn TimToady: What could possible go wrong? :)
19:02 TimToady anyhoo, we're in .br now
19:04 jnthn Nice! :)
19:05 jnthn All being well I'll be in .ru in a week or so... :)
19:05 * jnthn never made it to .br yet. Should do that some day.
19:05 miso2217 left #perl6
19:06 sbp first one to collect all the country level domains gets a clause of their choice inserted into the next version of the Artistic License
19:07 * TimToady should get to .pl and .pm someday
19:07 sbp hehe
19:09 alester joined #perl6
19:12 justatheory left #perl6
19:13 justatheory joined #perl6
19:13 mj41 joined #perl6
19:17 tadzik .pl is fun
19:17 jnthn Indeed. :)
19:18 Moukeddar is it ?
19:18 mj41 left #perl6
19:24 birdwindupbird joined #perl6
19:25 justatheory left #perl6
19:26 tadzik yep
19:27 * jnthn remembers it being fun :)
19:27 * jnthn remembers the wodka too :)
19:27 Moukeddar hehe , in a forum , a guy asks for a complete project
19:27 Moukeddar as his final
19:29 moritz happens every day :(
19:29 leprevost left #perl6
19:30 jnthn It's the student version of trolling freelancer sites by posting projects that boil down to the halting problem.
19:30 Moukeddar so sad
19:30 Moukeddar i mean it's not that hard
19:30 moritz the halting problem?
19:31 jnthn moritz: There are some people on freelancing sites who will bid for ANYTHING.
19:31 Moukeddar they should be burned alive with NAPALM for digracing the programming Race :p
19:31 jnthn moritz: "I want a program that works out if other programs terminate." "Oh yes, we can make that for you!"
19:31 moritz jnthn: I know, I've seen some of those examples
19:32 moritz jnthn: some even claim "I've solved the same problem for a previous project"
19:32 jnthn :D
19:32 Moukeddar even if i did freelance , i can't recieve paiments
19:32 jnthn Good way to weed out the people *not* to get to work on your project. :)
19:32 Moukeddar :(
19:32 PerlJam jnthn: indeed
19:34 PerlJam HR here has a questionaire thingy where you can build a set of questions to ask candidates then rank them based on their answers.  One of the options is "immediately disqualify if they answer X"    I really liked that one.
19:34 Moukeddar am i in danger ?
19:34 PerlJam Moukeddar: you are always in danger.
19:34 TimToady only if you answer X
19:34 Moukeddar what if i answer  "i don't know "
19:36 moritz that's often better than no answer at all
19:37 moritz erm
19:37 moritz I mean better than the totally wrong answer
19:37 moritz or better than talking for minutes without answering the question
19:37 Moukeddar i need to shut up more often
19:38 PerlJam It's easy to weed out liars like that "How many years experience do you have with Perl 6?"  a) 1-5 b) 6-10  c) 11-15 d) > 15
19:38 Moukeddar hehe
19:38 Moukeddar since when perl6 is around
19:38 moritz depends on what you mean by "around" :-)
19:39 PerlJam anyone who answers c had better be named "Larry"  :)
19:39 miso2217 joined #perl6
19:39 Moukeddar perl6 is pretty young :)
19:39 sbp hmm, I first mentioned perl6 on 2004-02-09 that I can find
19:39 * moritz thinks he might be nearing his 5th year of Perl 6
19:39 sbp from the same logs, a friend mentioned it on 2002-06-14
19:41 fglock joined #perl6
19:43 TimToady well, I can answer c if I can round to the nearest year...
19:46 TimToady or d if you allow working on the prototype for Perl 6 :P
19:47 PerlJam d is trickier to explain even if your name is Larry  :)
19:47 Vlavv_ left #perl6
19:47 am0c left #perl6
19:48 Moukeddar what if you have no name?
19:50 moritz then you should get one
19:50 moritz or give yourself one
19:50 Moukeddar for now on i'll be Sefnaj
19:50 am0c joined #perl6
19:51 alester left #perl6
19:51 Shozan joined #perl6
19:53 ymasory_ left #perl6
20:00 alester joined #perl6
20:00 masak joined #perl6
20:00 Moukeddar left #perl6
20:00 * masak arrives home
20:01 ofosos joined #perl6
20:02 justatheory joined #perl6
20:02 Vlavv_ joined #perl6
20:02 justatheory left #perl6
20:02 alester left #perl6
20:03 moritz masak: welcome back
20:03 masak grazie.
20:03 Moukeddar joined #perl6
20:04 masak [backlog] halting problem argument considered overused.
20:04 tadzik jnthn, jnthn! Is blizkost dirived from "bliskość"? It just came to my head today
20:04 alester joined #perl6
20:04 Moukeddar hi masak
20:04 masak hi.
20:04 masak some very fine, attackable problems boil down to the halting problem. and it's still very much worth it writing (partial) solutions to them.
20:05 Moukeddar like freelance projects ;)
20:05 Moukeddar i love trying to solve them
20:05 masak by the way, I saw an excellent analogy the other day.
20:05 miso2217 tadzik: it is from the slovak "blizkost" what is "bliskość" in polish i think
20:06 jnthn What miso2217 said, apart from I don't know hardly anything about Polish. But the Slovak bit is true. :)
20:06 miso2217 tadzik: with a few accents missing
20:06 masak Euclid proved, somewhat against intuition, that there are an infinity of necessary "basic integers". we call them prime numbers.
20:06 * PerlJam reframes the halting problem to guarantee haltingness.  :-)
20:06 masak Gödel similarly proved that there are an infinity of necessary "basic axioms".
20:06 masak I kinda like the symmetry there.
20:06 jnthn miso2217: Som lenivy... ;)
20:06 Moukeddar maths :p
20:06 miso2217 jnthn: Aj ja! :-)
20:07 tadzik ść aren't accents, but I get it :)
20:08 miso2217 tadzik: I said accents, as I don't know how it should be called in english, How do you call that in english?
20:08 tadzik miso2217: I don't :) They're just different letters
20:08 miso2217 tadzik: should be called some kind of accentuaion I think, no?
20:08 stkowski joined #perl6
20:09 tadzik nope
20:09 tadzik for example, you prononcu ś "si", ć, "ci
20:09 tadzik ", something like that
20:10 moritz more generally speaking they are marks
20:10 moritz or "combining characters"
20:10 miso2217 marks! that's it
20:10 tadzik like u umlaut, hm?
20:10 moritz right
20:10 tadzik oh, the little things in letters
20:10 tadzik they're "ogonki" :)
20:11 fglock left #perl6
20:11 tadzik "little tails" would be in english
20:11 [Coke] left #perl6
20:11 jnthn cute :)
20:11 miso2217 so there a few marks missing ont the "blizkost" to be the slovak blizkost, but as i have only french keyboard I can't easily write that correctly. I'll pase tit from google :-)
20:12 miso2217 Blízkosť
20:12 jnthn .oO( Pase tit from Google. That's the breat way. )
20:13 Mowah left #perl6
20:13 [Coke] joined #perl6
20:17 miso2217 jnthn: ok "it", tit could be also cool but I don't know how it would look in ascii art on irc :-)
20:18 jnthn miso2217: Let's not experiment. :)
20:18 miso2217 :)
20:19 tadzik oh, I have a few aliases with ascii arts :)
20:19 justatheory joined #perl6
20:19 tadzik and I think I already flooded the channel with'em once or twice
20:19 mj41 joined #perl6
20:21 [particle]1 joined #perl6
20:22 miso2217 left #perl6
20:23 [particle] left #perl6
20:24 masak rakudo: my $x = 'o'; $x = ($x, $x, ' ', $x, $x).join for ^4; say $x
20:24 p6eval rakudo 6ae3c9: OUTPUT«oo oooo oo oo oooo oooo oooo oo oo oooo oo oo oooo oo oo oooo oooo oooo oo oo oooo oooo oooo oo oo oooo oooo oooo oo oo oooo oo oo oooo oo oo oooo oooo oooo oo oo oooo oo oo oooo oo oo oooo oooo oooo oo oo oooo oo oo oooo oo oo oooo oooo oooo oo oo oooo oooo oooo oo oo oooo
20:24 p6eval ..oooo oo…
20:24 [Coke] left #perl6
20:24 masak I... don't really know why I did that... :)
20:25 flussence ooooooooo!
20:25 Moukeddar eeeeeeeeee!
20:25 TimToady got bit by a sierpinski?
20:25 miso2217 joined #perl6
20:25 masak I guess I had something Sierpinskish in mind.
20:26 PerlJam he would have needed to use "  " for more sierpinksiness
20:26 tadzik :D
20:26 [Coke] joined #perl6
20:26 masak rakudo: my $x = 'o'; $x = ($x, $x, '  ', $x, $x).join for ^3; say $x
20:26 p6eval rakudo 6ae3c9: OUTPUT«oo  oooo  oo  oo  oooo  oooo  oooo  oo  oo  oooo  oo  oo  oooo  oo  oo  oooo  oooo  oooo  oo  oo  oooo  oo␤»
20:26 Moukeddar left #perl6
20:28 masak rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:28 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:28 masak a slightly elongated Beethoven's fifth :P
20:28 PerlJam "Archeologists today uncovered an ancient magnetic disk that seems to contain only two characters.  Based on the encodings of the day, those two characters are space and the letter O.  It is unclear why those are the only two characters, but they do make an interesting pattern"
20:28 masak PerlJam: :D
20:30 tadzik rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:30 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:30 tadzik BOARing!
20:30 tadzik rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:30 masak huh!? the *same*?
20:30 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:30 tadzik rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:30 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:30 masak something's wrong.
20:30 anazawa joined #perl6
20:30 PerlJam seriously so
20:30 tadzik either roll's broken, or we're VERY lucky :)
20:31 * masak submits rakudobug
20:31 tadzik rakudo: say 1
20:31 p6eval rakudo 6ae3c9: OUTPUT«1␤»
20:31 tadzik rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:31 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:31 masak I can't get that jingle out of my head now. make it stop! :P
20:31 PerlJam rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:31 tadzik ba-dum tss!
20:31 PerlJam rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:31 PerlJam rakudo: say <ba da dup dee doodie>.roll(5).join(' ') ~ '!'
20:32 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:32 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:32 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤»
20:32 * PerlJam waits
20:32 PerlJam hrm. :(
20:32 jnthn rakudo: say <ba da dup dee doodie>.roll(10).join(' ') ~ '!'
20:32 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da ba ba dup dup dup!␤»
20:32 tadzik something brook
20:32 jnthn rakudo: say <ba da dup dee doodie>.roll(50).join(' ') ~ '!'
20:32 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da ba ba dup dup dup da doodie doodie dup dup ba dee ba da da doodie dup doodie dup doodie ba doodie dup ba doodie doodie ba doodie dee ba da ba da dee dee dee ba dee ba dee dee ba dup dup da!␤»
20:32 tadzik works locally
20:33 PerlJam Have their been changes to random numbers recently?
20:33 tadzik well, works. Doesn't look weird
20:33 masak jnthn: that will never become a popular hit.
20:33 PerlJam or mabye the bot is really really predictable
20:33 masak the random number seed doesn't get randomized.
20:33 masak it should.
20:34 jnthn rakudo: for 1..5 { say <ba da dup dee doodie>.roll(5).join(' ') ~ '!' }
20:34 p6eval rakudo 6ae3c9: OUTPUT«ba ba ba ba da!␤ba ba dup dup dup!␤da doodie doodie dup dup!␤ba dee ba da da!␤doodie dup doodie dup doodie!␤»
20:34 jnthn Looks like.
20:34 Shozan left #perl6
20:35 birdwindupbird left #perl6
20:35 ymasory left #perl6
20:35 masak 'night, #perl6.
20:35 masak left #perl6
20:37 anazawa left #perl6
20:37 anazawa joined #perl6
20:44 moritz rakudo: say rand
20:45 p6eval rakudo 6ae3c9: OUTPUT«3.90798504668055e-14␤»
20:45 moritz rakudo: say rand
20:45 p6eval rakudo 6ae3c9: OUTPUT«3.90798504668055e-14␤»
20:45 moritz rakudo: say rand
20:45 p6eval rakudo 6ae3c9: OUTPUT«3.90798504668055e-14␤»
20:46 plobsing joined #perl6
20:47 kaare_ left #perl6
20:50 dakkar left #perl6
20:51 pyrimidine left #perl6
21:02 silent_h_ joined #perl6
21:05 Trashlord joined #perl6
21:06 sftp left #perl6
21:10 mj41 left #perl6
21:11 MayDaniel left #perl6
21:16 Patt_ joined #perl6
21:17 Patt_ left #perl6
21:19 ggoebel joined #perl6
21:30 orafu joined #perl6
21:31 silent_h_ left #perl6
21:33 ofosos left #perl6
21:37 risou_ joined #perl6
21:38 risou left #perl6
21:41 ymasory joined #perl6
21:45 keeth joined #perl6
21:45 lue left #perl6
21:46 lue joined #perl6
21:55 slavik joined #perl6
21:56 slavik2 left #perl6
22:00 cognominal joined #perl6
22:00 alester left #perl6
22:01 anazawa left #perl6
22:02 hercynium left #perl6
22:02 anazawa joined #perl6
22:02 [Coke] left #perl6
22:04 [Coke] joined #perl6
22:09 anazawa left #perl6
22:11 dorlamm joined #perl6
22:14 keeth left #perl6
22:14 keeth joined #perl6
22:32 sivoais left #perl6
22:32 sivoais joined #perl6
22:49 skyheights joined #perl6
22:55 wamba left #perl6
22:56 donri left #perl6
22:57 athomason left #perl6
22:59 skyheights left #perl6
23:01 whiteknight joined #perl6
23:03 plainhao left #perl6
23:09 pmurias left #perl6
23:13 dorlamm left #perl6
23:15 noganex_ joined #perl6
23:17 risou_ left #perl6
23:18 noganex left #perl6
23:33 Chillance left #perl6
23:51 sorear good * #perl6
23:59 uniejo_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo