Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-01-20

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:02 felliott left #perl6
00:08 impious left #perl6
00:11 rgrau left #perl6
00:13 mberends left #perl6
00:19 mtk left #perl6
00:19 felliott joined #perl6
00:23 GinoMan joined #perl6
00:27 mtk joined #perl6
00:38 stkowski left #perl6
00:39 thundergnat joined #perl6
00:40 cogno left #perl6
00:41 aindilis joined #perl6
00:42 cogno joined #perl6
00:46 QinGW joined #perl6
00:49 molaf_ joined #perl6
00:50 saaki left #perl6
00:51 cafesofie left #perl6
00:51 cafesofie joined #perl6
00:53 molaf left #perl6
00:55 saaki joined #perl6
00:58 felliott left #perl6
01:02 awwaiid joined #perl6
01:04 felliott joined #perl6
01:07 dalek niecza: a058b70 | sorear++ | lib/ (2 files):
01:07 dalek niecza: Remove some redundant Perl 6 definitions
01:07 dalek niecza: review: https://github.com/sorear/niecza/commit/a058b70819
01:09 awwaiid left #perl6
01:10 felliott left #perl6
01:11 awwaiid joined #perl6
01:17 Chillance left #perl6
01:27 huf left #perl6
01:27 stkowski joined #perl6
02:01 plobsing joined #perl6
02:01 noganex_ joined #perl6
02:01 cosimo left #perl6
02:04 noganex left #perl6
02:05 awwaiid left #perl6
02:07 awwaiid joined #perl6
02:08 stkowski left #perl6
02:17 huf joined #perl6
02:18 felliott joined #perl6
02:38 am0c joined #perl6
02:53 felliott left #perl6
02:53 smrf joined #perl6
03:06 gimix joined #perl6
03:09 spinclad joined #perl6
03:11 arlinius joined #perl6
03:16 gimi joined #perl6
03:22 envi joined #perl6
03:24 gimi left #perl6
03:27 satyavvd joined #perl6
03:33 smrf left #perl6
03:36 snarkyboojum dobar dan #perl6
03:36 colomon \o
03:37 snarkyboojum loving the p1 solutions
03:37 felliott joined #perl6
03:37 cafesofie left #perl6
03:38 felliott left #perl6
03:46 snarkyboojum phenny: tell tadzik, when is the metainfo branch of neutro going to replace master? :)
03:46 phenny snarkyboojum: I'll pass that on when tadzik is around.
03:50 QinGW1 joined #perl6
03:50 QinGW left #perl6
03:51 dalek niecza: f5d2a4a | sorear++ | / (5 files):
03:51 dalek niecza: Make item, list, hash primitive contexts
03:51 dalek niecza: review: https://github.com/sorear/niecza/commit/f5d2a4a74d
03:58 thundergnat rakudo: warn 'wtf!';
03:58 p6eval rakudo 388eed: OUTPUT«wtf!  in <anon> at line 22:/tmp/NmI0nXWG70␤»
03:59 thundergnat rakudo: try { die 'omg!'; CATCH { say 'wtf!'; } };
03:59 p6eval rakudo 388eed: OUTPUT«wtf!␤»
03:59 thundergnat rakudo: try { die 'omg!'; CATCH { warn 'wtf!'; } };
03:59 p6eval rakudo 388eed: OUTPUT«(timeout)»
03:59 thundergnat That last one dumps core locally. :(
04:00 thundergnat Parrot VM: PANIC: Out of mem!
04:10 thundergnat left #perl6
04:15 bacek_ left #perl6
04:18 QinGW1 left #perl6
04:19 cafesofie joined #perl6
04:19 QinGW joined #perl6
04:23 _jaldhar joined #perl6
04:23 Su-Shee_ joined #perl6
04:25 JimmyZ_ joined #perl6
04:27 Su-Shee left #perl6
04:28 bacek_ joined #perl6
04:48 IRSeekBot left #perl6
04:50 orafu left #perl6
04:51 ponbiki left #perl6
04:53 ponbiki joined #perl6
04:56 cogno left #perl6
04:59 QinGW left #perl6
04:59 QinGW joined #perl6
05:01 cogno joined #perl6
05:03 IRSeekBot joined #perl6
05:05 am0c left #perl6
05:09 QinGW left #perl6
05:11 QinGW joined #perl6
05:13 JimmyZ_ left #perl6
05:26 REPLeffect left #perl6
05:29 QinGW left #perl6
05:30 QinGW joined #perl6
05:43 Patterner left #perl6
05:44 kaare_ joined #perl6
05:45 Psyche^ joined #perl6
05:45 Psyche^ is now known as Patterner
05:49 QinGW left #perl6
05:50 QinGW joined #perl6
06:11 cafesofie left #perl6
06:14 cafesofie joined #perl6
06:15 cogno left #perl6
06:19 cogno joined #perl6
06:23 lue phenny: tell masak    s/custum/custom/    on  http://strangelyconsistent.org/p6cc2010/p1-util/  (under "Clarity of Intent")
06:23 phenny lue: I'll pass that on when masak is around.
06:30 sorear hello lue
06:32 masonkramer joined #perl6
06:35 masonkramer_ joined #perl6
06:35 masonkramer left #perl6
06:35 masonkramer_ is now known as masonkramer
06:37 agentzh joined #perl6
06:40 cogno left #perl6
06:46 cogno joined #perl6
06:51 cogno left #perl6
06:56 moritz_ good *, #perl6
07:03 wtw joined #perl6
07:08 dalek niecza: af8228c | sorear++ | / (3 files):
07:08 dalek niecza: Implement mostly eager map and [] primitives
07:08 dalek niecza: review: https://github.com/sorear/niecza/commit/af8228c2a0
07:23 cafesofie left #perl6
07:30 QinGW left #perl6
07:31 QinGW joined #perl6
07:38 cafesofie joined #perl6
07:41 dalek 6model: 3ced6a4 | (Martin Berends)++ | java/compiler/Makefile:
07:41 dalek 6model: [java/compiler/Makefile] add a test target for unixy systems - thanks to debugging by jnthn++, 6model/java passes 45 of the 299 nqp tests that 6model/dotnet passes!
07:41 dalek 6model: review: https://github.com/jnthn/6model/commit/3ced6a4605
07:43 mberends joined #perl6
07:51 pnu left #perl6
07:51 dalek niecza: bf31133 | sorear++ | lib/ (2 files):
07:51 dalek niecza: Add mostly-eager grep primitive
07:51 dalek niecza: review: https://github.com/sorear/niecza/commit/bf31133ce3
07:56 Su-Shee_ is now known as Su-Shee
07:56 pnu joined #perl6
08:05 mtk left #perl6
08:08 dalek niecza: bb55e22 | sorear++ | / (2 files):
08:08 dalek niecza: Rewrite map, grep, [] calls to use the new primitives
08:08 dalek niecza: review: https://github.com/sorear/niecza/commit/bb55e228ea
08:08 drbean joined #perl6
08:11 am0c joined #perl6
08:14 mtk joined #perl6
08:18 rod_ joined #perl6
08:18 cafesofie left #perl6
08:18 Axius joined #perl6
08:19 justatheory left #perl6
08:19 rod_ left #perl6
08:20 rod_ joined #perl6
08:23 rod_ msg\ rakudo: say time (3:4)
08:23 rod_ msg/ rakudo: say time (3:4)
08:23 diakopter ?
08:24 rod_ just nothing.....
08:24 rod_ my apology..
08:25 diakopter :)
08:25 rod_ im waiting for a friend..
08:27 jnthn Morning, #perl6
08:27 rod_ ;)
08:28 cjk101010 joined #perl6
08:28 jnthn mberends++ # yay
08:29 mberends hi jnthn, back in NL today, a bit of time for hacking :)
08:30 rod_ NL?
08:31 mberends Netherlands
08:31 rod_ ok.. im getting educated here.. :)
08:31 rod_ huching...hmm.. a hucker... you are?
08:32 mberends not a hooker, if that's what you were thinking ;)
08:32 jnthn lol :)
08:33 rod_ just  jowking......... :)
08:33 rod_ i mean hucker...?
08:33 rod_ are you..??
08:33 mberends probably not, since the word hucker is unknown to me in any language
08:34 rod_ hmmm. why using it.. since...your dictionary denied it..
08:35 rod_ so whats the word hucking does mean to you....in anyway....!
08:35 mberends rod_: I said hacking with an A. This off topic conversation is closed.
08:36 mberends jnthn: for 6model/java I am considering a emit switch with possible values java/jasmin/bytecode.
08:36 mberends jnthn: does that align with your possible plans for backend options?
08:37 rod_ ok..... i just offened an offender.................Xp
08:37 nadim_ left #perl6
08:37 nadim_ joined #perl6
08:38 Axius left #perl6
08:40 rod_ rakudo: say
08:40 p6eval rakudo 388eed: OUTPUT«␤»
08:40 jnthn mberends: I see no problem with that - I guess it's just picking a different JST2X
08:40 f00li5h left #perl6
08:41 rod_ rakudo: say  1+1
08:41 am0c left #perl6
08:41 p6eval rakudo 388eed: OUTPUT«2␤»
08:41 rod_ rakudo: say  night1+night2
08:41 p6eval rakudo 388eed: OUTPUT«Could not find sub &night1␤  in main program body at line 22:/tmp/UuVZZ6hkga␤»
08:42 rod_ rakudo: say  45%(86+46+56){465-400}
08:42 p6eval rakudo 388eed: OUTPUT«Method 'Bridge' not found for invocant of class 'Failure'␤  in 'infix:</>' at line 3706:CORE.setting␤  in 'infix:<%>' at line 3711:CORE.setting␤  in main program body at line 22:/tmp/_KAQT288Dz␤»
08:43 rod_ rakudo: say  45%(86+46+56){deluge}
08:43 p6eval rakudo 388eed: OUTPUT«Could not find sub &deluge␤  in main program body at line 22:/tmp/Fclo7aPZGq␤»
08:44 rod_ rakudo: say  45%(86+46+56){deluge}/anode-24
08:44 p6eval rakudo 388eed: OUTPUT«Could not find sub &deluge␤  in main program body at line 22:/tmp/cUONgDxWgf␤»
09:05 dalek 6model: 1e7f3cb | (Martin Berends)++ | java/runtime/Rakudo/ (3 files):
09:05 dalek 6model: [java/runtime] sync with dotnet/ and clean out some debugging code
09:05 dalek 6model: review: https://github.com/jnthn/6model/commit/1e7f3cb079
09:07 kaare_ left #perl6
09:10 kaare_ joined #perl6
09:11 QinGW left #perl6
09:12 QinGW joined #perl6
09:16 TiMBuS left #perl6
09:25 IllvilJa joined #perl6
09:27 IllvilJa colomon: REPENT! I SAW YOUR BLOG! YOU MENTIONED THE "Real.sin" METHOD IN IT!! HOW COULD YOU? :-)
09:27 IllvilJa Oh, BTW, hello everyone!
09:27 colomon you don't believe in sin?
09:28 IllvilJa Perl 5 and 6 are strange languages, you can bump into bless($self) as well as Real.sin...
09:28 flussence rakudo: (1i).sin
09:28 p6eval rakudo 388eed:  ( no output )
09:28 flussence there's that too...
09:28 colomon rakudo: say (1i).sin
09:28 p6eval rakudo 388eed: OUTPUT«0 + 1.1752011936438i␤»
09:29 IllvilJa I think we need to implement Unreal.sin!
09:29 colomon yes, there is also imaginary sin in Perl 6.
09:29 rod_ i'd like to give sympathy to the sinner (colomon)
09:29 IllvilJa You mean as in "dirty thoughts"?
09:29 IllvilJa I assume fractional sin is an option too...
09:31 colomon rational sin is an option, yes.
09:31 * colomon is going back to bed.  afk
09:31 TiMBuS joined #perl6
09:32 c9s left #perl6
09:36 klunky left #perl6
09:38 kensanata joined #perl6
09:40 c9s joined #perl6
09:48 hanekomu joined #perl6
09:57 dakkar joined #perl6
10:03 QinGW left #perl6
10:10 jlaire left #perl6
10:12 jlaire joined #perl6
10:33 am0c joined #perl6
10:34 cogno joined #perl6
10:39 rod_ left #perl6
10:41 rod_ joined #perl6
10:43 mica_ella_tuazon joined #perl6
10:44 rod_ gnu:assert
10:45 mica_ella_tuazon gnu:deluge
10:45 mica_ella_tuazon raduko: say 1414-143 {assert6}
10:46 mica_ella_tuazon raduko: say 1414-143 {assert6}
10:46 mica_ella_tuazon raduko: say1414-143 {assert6}
10:47 mica_ella_tuazon png: assert
10:48 jnthn rakudo, not raduko :)
10:48 rod_ example: 2456150 last three time 2 = price
10:49 mica_ella_tuazon total 300 con. by 200
10:50 mica_ella_tuazon you have no idea... so shut up... NOBS
10:55 masak joined #perl6
10:55 masak oh hai, #perl6!
10:55 phenny masak: 06:23Z <lue> tell masak    s/custum/custom/    on  http://strangelyconsistent.org/p6cc2010/p1-util/  (under "Clarity of Intent")
10:55 jnthn masak: Getting up earlier FAIL? :)
10:55 masak lue: thanks :)
10:55 masak lue++
10:55 masak jnthn: aye :/
10:55 jnthn :/
10:55 * jnthn grudgingly managed
10:57 masak at ~2:00 am, I felt it was too warm indoors. turned off the radiators. now it's... freezing-ish inside. :)
10:57 jnthn D'oh.
10:57 jnthn The temperature has decidedly dropped overnight too.
11:01 arnsholt_ Ah, the joys of Scandinavian living =)
11:01 arnsholt_ is now known as arnsholt
11:02 arnsholt (I have the same problem, incidentally)
11:02 arnsholt Especially since I live in an old building and my room has single glazed windows
11:02 masak having tried settings 5 (too warm) and 0 (goosebumps), I'm now exploring 3.
11:03 masak arnsholt: I think people here in Sweden are silently proud of almost everything being triple-glassed.
11:03 * masak czechs how many layers his apartment has
11:05 f00li5h joined #perl6
11:06 tzhs joined #perl6
11:06 mathw I was impressed when I was in Sweden with the glazing and insulation
11:06 mathw I was there in a very hot summer, and the buildings somehow managed to stay bearable
11:07 mathw while still being obviously constructed to handle a horribly cold winter
11:07 mathw in the UK, we build buildings which are suitable for neither winter nor summer
11:07 huf insulation is insulation, goes either way
11:07 mathw the only thing they are good at is keeping the rain outside
11:07 mathw and some of them struggle with that
11:08 mathw it really is quite shameful
11:08 huf you dont get extreme summers/winters though?
11:08 mathw they do happen
11:08 mathw but they're not predictable
11:09 mathw but if you build here to, say, Swedish norms, you can heat the place by lighting a single candle (almost)
11:09 huf :)
11:09 mathw so shouldn't we be doing that
11:09 mce_ro joined #perl6
11:09 masak yes, you should.
11:09 mathw modern houses are better insulated, there are rules
11:09 mathw but they're still not as good
11:09 masak I say this having stayed in some UK buildings.
11:10 flussence my house is so waterproof that I just wrote "hose" and didn't notice until I was trying to think of a suitable analogy.
11:10 huf i still prefer the older houses, although upgrading the windows is a must
11:10 mathw I'm trying to persuade my landlord to upgrade the windows
11:10 mathw but this seems unlikely to happen
11:10 mathw since it's kind of expensive
11:11 huf they built proper walls back in the 1910-1930 timespan
11:11 arnsholt masak: So are most Norwegians. Unfortunately I don't think my building has seen much renovation the last three or four decades :/
11:11 huf (at least here)
11:11 arnsholt But at least the rent is cheap =)
11:12 masak as far as I can see, my windows are double-glassed.
11:13 huf yes, but are the two layers stuck together or each in their separate frame?
11:13 mathw mine are double-glazed... with about a 4mm gap between the panes
11:14 mathw my parents have rather more modern windows, with a 20mm gap - and perhaps more importantly, frames that don't admit draughts
11:15 huf i used to have the old-style wooden frame, double window thing. that was horrible
11:15 huf now it's nice plastic frame, thermo glass
11:15 flussence I have one of those :(
11:15 flussence the rope's broken on it.
11:15 huf now the only place my room vents is above the windows, through the casing of the blinds
11:16 huf rope? on a window? how?
11:17 mathw sash window? ow
11:17 mathw those are expensive to get fixed
11:17 huf the kind that dont open but slide up? ow
11:17 huf i hated those when we had them (in the us)
11:19 flussence yeah, my house is pretty terrible for insulation. The wooden frame on our back door is rotting away too, but it's a nonstandard size so it's impossible to get fixed.
11:19 flussence (and I keep banging my head on the top of it.)
11:20 mathw doh
11:34 coldhead left #perl6
11:44 Alias joined #perl6
11:45 masak Rakudo release day today?
11:52 jnthn Believe so.
11:53 masak and ++tadzik is the one to do the releasing. \o/
11:53 frettled masak: why are you using prefix ++?  :)
11:53 * frettled seems to have missed a memo.
11:55 cogno left #perl6
12:10 cjk101010 left #perl6
12:17 cjk101010 joined #perl6
12:19 gfldex left #perl6
12:19 gfldex joined #perl6
12:19 c9s left #perl6
12:21 agentzh left #perl6
12:32 masak frettled: pre-incrementing people who haven't performed the kudosworthy act yet?
12:33 arthur-_ left #perl6
12:34 frettled masak: ahaha, clever.
12:34 frettled ++masak for that upcoming blog post :D
12:34 masak hah
12:34 frettled It's almost fiendishly mst-ish.
12:37 JimmyZ joined #perl6
12:38 satyavvd left #perl6
12:40 JimmyZ left #perl6
12:46 felliott joined #perl6
12:56 takadonet morning all
12:58 colomon o/
13:06 masak \o
13:16 flussence evil code time!
13:16 flussence rakudo: say "LOLOLOL!1"~!!111 but not so ....fail
13:16 p6eval rakudo 388eed:  ( no output )
13:17 rod_ hahahah.. evil... exist???
13:18 rod_ evil.. rakudo.......self   ternatination......
13:19 MayDaniel joined #perl6
13:20 rod_ im begging for maple syrrup...
13:22 drbean left #perl6
13:23 colomon mmmmm.... maple syrup.  sorry, don't have enough to share.
13:37 MayDaniel left #perl6
13:50 c9s joined #perl6
14:11 tadzik o/
14:11 phenny tadzik: 03:46Z <snarkyboojum> tell tadzik when is the metainfo branch of neutro going to replace master? :)
14:11 tadzik snarkyboojum: one day, yes :)
14:11 kaare_ left #perl6
14:12 tadzik ah, when? Dunno, maybe when masak's modules will arive
14:12 tadzik it's release time!
14:12 tadzik any last words?
14:12 PerlJam tadzik: good luck!  :)
14:12 tadzik :)
14:13 cafesofie joined #perl6
14:13 takadonet tadzik: how many modules have meta.info file?
14:13 envi left #perl6
14:13 tadzik takadonet: like 60% so far
14:14 kaare_ joined #perl6
14:14 takadonet nice
14:14 jnthn Go tadzik! :)
14:14 felliott left #perl6
14:14 tadzik :}
14:15 tadzik jnthn: how about a one-sentence review of the caching that speeds up everything? For the NEWS
14:15 tadzik it's a hit, people like performance
14:15 tadzik oh, what PM group?
14:15 tadzik ok, can be BristolBath
14:15 jnthn tadzik: Hmm
14:17 jnthn Implemented nominal type check caching in signature binding, giving a large performance improvement, especially for programs that are call-heavy.
14:17 jnthn ...it's a long sentence. :)
14:17 kaare_ left #perl6
14:18 plainhao joined #perl6
14:19 tadzik does `perl tools/update-tai-utc.pl src/core/tai-utc.pm` takes ages to run for you too?
14:20 flussence it's doing ftp-ey stuff in there, I've always found the speed of such things is very hit-and-miss.
14:20 tadzik bah, ETOORESTRICTIVEFIREWALL
14:20 tadzik can someone run this for me?
14:21 envi joined #perl6
14:21 PerlJam tadzik: I would if my local clone wasn't behaving strangely.
14:21 PerlJam a "git pull" is taking forever for no apparent reason.
14:22 fhelmberger joined #perl6
14:23 tadzik why BristolBath btw?
14:24 tzhs left #perl6
14:24 PerlJam no new leap seconds.
14:24 masak tadzik: I've also asked that once. got no reply.
14:24 tadzik alright
14:25 PerlJam BristolBath is the name that gets used when no one can think of a better name?  :)
14:25 masak it's currently the only suggestion in the list of suggestions in the release guide.
14:25 masak so, in a sense, yes.
14:26 tadzik it'd be nice to have some nice words about it
14:26 am0c left #perl6
14:27 PerlJam perl.bristolbath.org has some Perl 6 stuff on it, but it all looks incomplete or old
14:27 plobsing left #perl6
14:30 tadzik any idea who is "quihw"?
14:31 JimmyZ joined #perl6
14:32 redicaps joined #perl6
14:32 masak tadzik: sounds familiar.
14:33 masak tadzik: you can always write just the nick.
14:33 tadzik that's what I'll do
14:38 dalek rakudo: a7d5f19 | tadzik++ | unknown:
14:38 dalek rakudo: Added announcement for 2011.01
14:38 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/a7d5f19f9e
14:39 tadzik any last-minute additions/changes?
14:39 Alias__ joined #perl6
14:39 * masak reads
14:39 Alias left #perl6
14:39 PerlJam tadzik: I think quihw is a misspell for Hongwen Qui's nick
14:40 PerlJam er, I did it too!   Qiu
14:40 Alias joined #perl6
14:40 Alias_ left #perl6
14:40 PerlJam qiuhw == Hongwen Qiu
14:40 tadzik PerlJam: it came from "quihw++" in moritz's commit
14:40 * masak was thinking the same thing
14:41 masak should be qiuhw++, then.
14:41 masak but could be a typo.
14:41 PerlJam According to google, that commit is the only place that nick appears in the #perl6 logs
14:41 tadzik fixed
14:42 * masak is surprised that he hasn't contributed this month
14:42 masak oh well, something to do better till next release :)
14:42 tadzik oh
14:43 PerlJam I wonder if we should include commit stats (and authors) for roast in this announcement too
14:44 PerlJam Those are indirect contributions to Rakudo, but maybe more appropriate for R*
14:44 masak they are indirect contributions to all implementations...
14:45 PerlJam indeed.
14:45 dalek rakudo: fc2ffd7 | tadzik++ | VERSION:
14:45 dalek rakudo: [release] bump VERSION
14:45 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/fc2ffd73a2
14:45 dalek rakudo: 0289d97 | tadzik++ | docs/announce/2011.01:
14:45 dalek rakudo: Small fix in release announcement
14:45 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/0289d97f49
14:45 PerlJam I'd rather every implementation mention them than none mention them because they aren't implementation specific.
14:49 JimmyZ So release roast?
14:49 masak interesting notion.
14:50 masak question is how to motivate the extra work/administration that entails.
14:52 JimmyZ I think no implementations pass all roast
14:52 masak correct. that'd be the day.
14:53 JimmyZ most whenever
14:53 masak going with the strict interpretation of "pass[ing] all of roast", I would guess that no implementation ever will.
14:54 masak if there ever is one, so much the better.
14:54 masak but usually there are a couple of TODOs or SKIPs in every project, even very complete ones.
14:54 JimmyZ yes
14:55 tadzik release done!
14:55 flussence postincrement!
14:55 PerlJam If an implementation passes all of roast, I think that's a good indication that roast needs more tests :)
14:56 JimmyZ I'd like define roast version, So implemetation can say 'we pass roast 1.1', or 'we pass roast 1.5', something like C89 and C99
14:58 JimmyZ or like java?
14:58 PerlJam masak: sounds like JimmyZ has the requisite motivation already ;)
14:58 masak :)
14:58 masak tadzik++
15:00 JimmyZ PerlJam: just got inspiration from you :)
15:00 tadzik (check if it runs)
15:01 PerlJam JimmyZ: good deal!  I'm like that sometimes.   I make sparks here and there and sometimes they create fire  :)
15:01 JimmyZ PerlJam: hehe
15:02 JimmyZ something like "火上浇油'
15:03 masak fuel?
15:03 JimmyZ yep
15:03 masak "pouring oil on fire" :P
15:04 JimmyZ most means "you're unhappy and I make you more unhappy", it's not good words in china
15:05 JimmyZ 哈哈
15:05 masak JimmyZ: you make us happy \o/
15:05 redicaps left #perl6
15:05 JimmyZ thanks :)
15:07 kaare_ joined #perl6
15:08 cognominal joined #perl6
15:08 spq1 joined #perl6
15:12 masak today's mini-challenge: write a multi join that special-cases the separator between the last two elements (if any): "A, B, C, D, E, and F" (the separator being ', and' between E and F.
15:12 masak this was brought up during Advent 2009, but I think that nicer solutions can be wrought than the one I did then.
15:18 pmichaud good morning #perl6
15:18 jnthn multi method join(*@ [$cur, *@rest]) { self[0..*-2].join(|@rest) ~ $cur ~ self[*-1] }
15:18 masak pmichaud! \o/
15:18 jnthn o/ pmichaud
15:20 masak jnthn: yes, that was what I had in mind. nice with the use of a nested signature. wouldn't that one collide with the regular &join, though?
15:21 jnthn Why?
15:21 jnthn Oh, if it gets exported...
15:21 felliott joined #perl6
15:21 masak because it also has that signature.
15:21 masak I think the special last separator needs to be a required named parameter.
15:21 jnthn Well, I had it that way so you could have as many separators as you want :)
15:21 masak ooh :)
15:22 masak that's over-solving the problem, though :)
15:22 jnthn A, B, C, D or E or even F
15:22 jnthn :P
15:22 jnthn I know but I wanted to show off my 1337 sig skillz, you see. :)
15:22 jnthn But yes, it is overkill perhaps. :)
15:23 masak jnthn: you have 1337 sig skillz. now try to solve the problem so that your new &join multi can co-exist with the regular one. that's part of the problem. :)
15:24 jnthn I'll think about it on the way to systemet. :)
15:24 * jnthn bbiab :)
15:25 flussence meep.
15:25 flussence ok 2 - Fancy .join works
15:25 MayDaniel joined #perl6
15:27 pmichaud jnthn: ping
15:27 masak flussence++ # TDD
15:27 jnthn pmichaud: argh... :)
15:27 jnthn pmichaud: I didn't leave yet. :)
15:27 * jnthn can go in a little bit ;)
15:28 jnthn pmichaud: pong ;)
15:28 pmichaud I may be a bit delayed on looking at code -- we're back in the emergency room again this morning :-|
15:28 jnthn pmichaud: Oh no. :-( Very sorry to hear that. :(
15:29 jnthn pmichaud: And of course, the code can wait. Always.
15:31 pmichaud I'm sure this morning will be spent waiting for test results and the like
15:32 pmichaud tadzik++  # rakudo release #37
15:32 pmichaud do we have release managers in place for the next few months?
15:33 slavik1 joined #perl6
15:35 tadzik has anyone checked yet if it works?
15:35 jnthn pmichaud: No, all slots are vacant at the moment.
15:35 jnthn pmichaud: I'm sure somebody will step up for them though.
15:36 pmichaud tadzik: I'll set it up for checking
15:36 pmichaud just a sec
15:37 * jnthn really afk for 15 mins or so
15:40 plobsing joined #perl6
15:42 risou joined #perl6
15:43 cognominal left #perl6
15:48 mberends pmichaud: will you permit me give one of your Rakudo talks to FOSDEM (Brussels 5-6 February)
15:50 wamba joined #perl6
15:51 masak mberends++ # going to FOSDEM
15:51 REPLeffect joined #perl6
15:53 mberends if szabgab++ gets hold of you there is no escape ;)
15:53 colomon I'm planning on giving a p6 talk at Penguicon in April.  Hadn't really considered giving one of pmichaud's talks, but I might borrow heavily if that's okay.
15:55 pmichaud it's okay
15:55 pmichaud mberends: please feel free to steal liberally
15:55 pmichaud I wish I was going to FOSDEM.  I had so much fun when I went in 2008
15:56 mberends thank you, it will be the appropriate amount of fun :)
15:56 PerlJam github seems to be having problems today.  I keep getting "Something went wrong" while browsing repos and my "git pull" of rakudo took like 3 minutes for 7 objects
15:56 pmichaud mberends / colomon :   let me know if you need any additional materials for the talks
15:56 cognominal joined #perl6
15:56 pmichaud PerlJam: yes, I got an angry unicorn a bit earlier when trying to download #37
15:57 colomon pmichaud: thanks!
15:57 PerlJam and, yeah, I get the unicorn occasionally too
15:58 * pmichaud idly wondered if angry unicorns had anything to do with angry birds.
15:58 wtw left #perl6
16:01 JimmyZ left #perl6
16:05 * jnthn back
16:06 yves_ left #perl6
16:07 yves joined #perl6
16:21 mce_ro left #perl6
16:24 __rnddim__ joined #perl6
16:25 lue left #perl6
16:26 bacek_ left #perl6
16:35 plobsing left #perl6
16:36 risou left #perl6
16:38 risou joined #perl6
16:42 wamba left #perl6
16:44 pmurias joined #perl6
16:45 sorear good * #perl6
16:45 masak \o
16:45 pmurias sorear: hi
16:47 kensanata left #perl6
16:47 orafu joined #perl6
16:50 masak hm. consider a code analysis tool. it sees a call to a multi method. it wants to try to figure out *which* multi will bind, if any.
16:50 masak ...there's probably a Halting Problem involved, since types are involved...
16:51 masak ...but it's essentially the same as the runtime will have to do, except with possibly slightly less information available.
16:51 pmurias the runtime has more information available
16:51 pmurias much more
16:51 masak that's what I said.
16:51 masak minus the "much" :)
16:52 masak the multi call could be late-bound by intent.
16:52 pmurias but we have to do that to get even vaguely resonable performance on numerics
16:52 masak in that case, we won't ever get *one* candidate to fall out of the analysis. but it's not necessarily a conflict.
16:53 masak it's more of a case-by-case analysis.
16:53 pmurias you have to do type inference
16:53 pmurias but of a different kind that you do during typechecking
16:53 slavik1 left #perl6
16:54 slavik1 joined #perl6
16:54 masak aye.
16:54 sorear yesterday's changes were a substantial improvement, but not quite substantial enough
16:54 pmurias it should be possible to do that vi
16:54 pmurias sorry
16:54 pmurias sorear: what changes?
16:54 masak I'm thinking in the context of code path analysis.
16:55 pmurias dataflow analysis should do that
16:55 sorear pmurias: primitive @(), [], mostly-eager grep and map
16:55 pmurias sorear: i thought you were refering to infering multis
16:56 pmurias masak: with a framework like hoopl it should be even possible to combine them together
16:56 pmurias so that my $foo = 123; if 0 {$foo = "hi"}; say $foo + 12 # the correct multi for addition is determined at compile time
16:57 masak cool.
16:57 masak slightly useless example, but I get it.
16:58 masak 'if some-real-condition() {$foo = "hi"}' is probably vastly more common.
16:59 envi left #perl6
16:59 masak hm, if the correct multi for addition is determined at compile time, the addition could be *made* (and persisted) at compile-time.
16:59 masak basically, constant folding across statements.
16:59 pmurias yes that would be done
16:59 pmurias too
17:00 pmurias what i meant is that it should be possible to combine type-inference, constant folding and dead branch elimination and other stuff together
17:01 justatheory joined #perl6
17:05 masak aye.
17:05 slavik1 left #perl6
17:05 masak I can see how that would be useful/awesome.
17:05 slavik1 joined #perl6
17:07 jnthn masak: There's a big difference in the amount of analysis we can do in multi subs vs multi methods.
17:08 jnthn masak: With multi subs, in a given lexical scope we know the candidate list statically.
17:08 masak aye.
17:08 jnthn With multi-methods, we don't know the candidate list.
17:08 plobsing joined #perl6
17:08 pmurias unless we know the type of the invocant
17:08 masak it strongly parallels the case with only subs and only methods.
17:08 masak pmurias: even then...
17:08 pmurias and the class is closed
17:08 jnthn pmurias: Doesn't help though
17:09 masak right, when the class is closed, it's a different story.
17:09 jnthn pmurias: Right, the closed is needed.
17:09 masak but that's not the default in Perl 6.
17:09 jnthn But you can't close a class individually. So it's left for full program optimization to worry about.
17:10 jnthn Which is tricky because it's then cross-module optimization so you may have to re-compile modules specifially for the way they're used in a given whole program.
17:10 masak if we can somehow rule out that anon subclassing has taken place, we might also be able to do some more analysis.
17:10 jnthn Well, yeah
17:10 masak like, if the object was created in the same scope.
17:10 masak (and nothing suspicious happened since then)
17:10 jnthn Closedness only gives you more room for analysis because it forbids the anonymous subclassing.
17:11 jnthn But what if the program relies on it? Well, then it's a trickier issue. :)
17:11 masak right.
17:11 masak you can't have the dynamism cake and eat it, too.
17:11 jnthn Decidedly not. It causes terrible indigestion if you try.
17:12 masak jnthn, the destroyer of metaphors. :P
17:12 masak jnthn: you could put that on your business card!
17:12 * PerlJam wonders what's the point of having a cake  but not being able to eat it.
17:13 jnthn masak: :P
17:13 masak PerlJam: it produces cake envy in all people nearby.
17:13 jnthn masak: I'm still sad I couldn't get "Implementationalist Elder" :P
17:13 masak "Elder" is so much better than "Senior" :)
17:13 frettled mm
17:13 masak "Elder Being of Implementation"
17:14 frettled jnthn: Have you tried getting «Elder Horror»?
17:14 masak ooh
17:14 jnthn :P
17:14 frettled Oh, you young people today.  :D
17:15 frettled Add «OYYPT» to the calling card.
17:15 cognominal left #perl6
17:16 * masak fails to get that one
17:16 * jnthn too :)
17:17 jnthn Well, need to find myself a job title by next week. :)
17:17 noganex joined #perl6
17:17 * masak too
17:18 jnthn Heh, then I can't be an Elder. You're elder than me. :P
17:18 masak maybe something with "craftman" in it?
17:19 jnthn Hmm...yeah
17:19 jnthn Want something non-boring. :)
17:20 masak troo
17:20 noganex_ left #perl6
17:20 masak well, we've got a week :)
17:21 TimToady Master Brewer
17:21 masak that's jnthn, no doubt.
17:21 masak "Master" is not too bad.
17:21 perigrin I should change my title from CEO to "Responsible Party"
17:21 masak Master $Something, more exactly.
17:22 TimToady Master Cylinder
17:22 perigrin Master Mold
17:22 noganex_ joined #perl6
17:22 sorear no, that's pmurias
17:22 perigrin Master of Puppets?
17:23 perigrin Pastor of Muppets?
17:23 jnthn .oO( I wonder if I can find a pun job title... )
17:23 TimToady that would be me
17:23 perigrin TimToady: good point.
17:23 Tedd1 left #perl6
17:24 noganex left #perl6
17:24 perigrin jnthn: "Remover of Vowels" ?
17:24 jnthn :)
17:25 jnthn Why'd y sggst tht?
17:25 TimToady Vwlrmvr
17:25 masak Hh
17:25 sbp otherwise known as the Hebraist
17:25 perigrin though then people might confuse you for a vowel mover ... and that migth imply the job was crappy
17:25 masak sbp: I think you've got causation turned around there :)
17:25 TimToady if you have the right font you can see the little chickenscratches around "jnthn"
17:26 masak perigrin: people might not want to think about Vowel Movements when they see you :)
17:26 perigrin masak: I can't help that though ... I've got such an impact upon people ... viscerally.
17:27 MayDaniel left #perl6
17:27 TimToady Phase Shifter
17:27 noganex joined #perl6
17:27 perigrin Metaclass Janitor
17:27 TimToady +1
17:28 perigrin "Got a MOP and a set of Hash Buckets"
17:28 jnthn :D
17:28 PerlJam perigrin: you're in good form today :)
17:29 masak :)
17:29 perigrin PerlJam: have pun, will travel.
17:29 noganex_ left #perl6
17:29 cdarroch joined #perl6
17:29 cdarroch left #perl6
17:29 cdarroch joined #perl6
17:30 PerlJam Does that make #perl6 a punnery?
17:30 masak more like a punastery, in that case.
17:30 PerlJam and jnthn would be Priest of Pun  (but maybe that applies more to TimToady than jnthn :)
17:30 jnthn No, no, he'd be the Puntiff.
17:31 PerlJam Our very own Pun See
17:31 perigrin jnthn: that would make you the BishMOP
17:31 perigrin if this were lisp you'd get to be an Arc BishMOP
17:32 PerlJam He's certainly a punter in any case
17:32 perigrin but I think Paul Grahm got there first
17:32 TimToady he's just a pundit
17:33 diakopter with spunk
17:35 PerlJam jnthn: why do you need a title?
17:35 perigrin he already has a job?
17:35 perigrin er jot?
17:35 Tedd1 joined #perl6
17:36 [Coke] I assume business cards are being printed!
17:36 jnthn PerlJam: Getting some business cards done. Turns out they should have a job title on or something. ;)
17:36 [Coke] . o O (Nun of the Above)
17:37 PerlJam jnthn: can you get hexagonal business cards?
17:37 jnthn ...
17:37 PerlJam jnthn: or just put a blank line on the card for you to write-in your title du jour.
17:37 * diakopter suggests mobius strips
17:38 jnthn PerlJam: True. :)
17:38 TimToady someone should have a job title of IR Clogger
17:38 TimToady moritz_++ I suppose
17:39 * PerlJam waits for a plumbing pun
17:39 diakopter if IR meant intermediate repr, then Perl 6 could be... er
17:41 PerlJam for some reason this whole conversation has me thinking of "An Exaltation of Larks"
17:43 perigrin PerlJam: possibly because some of us are just having a lark.
17:43 diakopter PerlJam: it's not a coincidence; we're all Pointers of Veneries, apparently
17:44 molaf_ left #perl6
17:45 diakopter heh. meta-punning on a term about punning on pairs of terms with multiple meanings.
17:47 Tedd1 left #perl6
17:47 mica_ella_tuazon k
17:47 mica_ella_tuazon bored me.....
17:48 mica_ella_tuazon -----;{@
17:49 felliott left #perl6
17:52 hercynium joined #perl6
17:52 sorear niecza: say 2 + 2
17:52 p6eval niecza v1-149-g56c80b0: OUTPUT«4␤»
17:53 sorear looks like a clean rebuild is all it took
17:53 Tedd1 joined #perl6
17:54 cafesofie left #perl6
17:56 pyrimidine left #perl6
17:56 diakopter sorear: !! wow.
17:57 * diakopter goes to commit the evalbot.pl changes
18:02 pmichaud tadzik: rakudo release built fine and passed all spectests on my system    tadzik++
18:03 dalek evalbot: cf1752c | (Perl 6 Evalbot)++ | / (2 files):
18:03 dalek evalbot: fixes for niecza rebuild & p6eval
18:03 dalek evalbot: review: https://github.com/perl6/evalbot/commit/cf1752c184
18:03 dalek evalbot: 06afa15 | (Perl 6 Evalbot)++ | /:
18:03 dalek evalbot: Merge branch 'master' of github.com:perl6/evalbot
18:03 dalek evalbot:
18:03 dalek evalbot: Conflicts:
18:03 dalek evalbot: evalbot.pl
18:03 dalek evalbot: review: https://github.com/perl6/evalbot/commit/06afa15d05
18:04 impious joined #perl6
18:04 impious left #perl6
18:06 masak mica_ella_tuazon: I'm sorry to hear you are bored. maybe a bit of Perl 6 will cheer you up?
18:07 Cyrus It really does work. Even for other things like cuts and scrapes. Scraped knee? Rub some Perl 6 on it and it feels better. :)
18:09 mica_ella_tuazon :)
18:09 mica_ella_tuazon a better cheer from u...:)
18:09 masak rakudo: role Times[$type] { method Str { "$type times" } }; say "mica_ella_tuazon, may you live in {Times["interesting"].new}!"
18:09 p6eval rakudo 388eed: OUTPUT«mica_ella_tuazon, may you live in interesting times!␤»
18:09 masak there, how about that?
18:09 * masak hides
18:10 mica_ella_tuazon tnx....
18:11 mica_ella_tuazon i hav no reason to get bored..
18:11 * tadzik is back
18:11 mica_ella_tuazon may be im to young to this scripting thing..
18:11 c9s left #perl6
18:11 mica_ella_tuazon hahaha...
18:11 mica_ella_tuazon but tnx for the cheer..
18:11 c9s joined #perl6
18:12 cafesofie joined #perl6
18:12 masak it was sincere.
18:12 gottreu joined #perl6
18:13 PerlJam that's one thing #perl6 probably has in excess as compared with most other IRC channels:  sincerity.
18:14 pmichaud and sometimes we're even sincerely humorous.
18:14 dakkar left #perl6
18:16 cafesofie left #perl6
18:16 kst` left #perl6
18:16 kst` joined #perl6
18:22 dukeleto left #perl6
18:22 dukeleto joined #perl6
18:24 stkowski joined #perl6
18:26 Tedd1 left #perl6
18:31 cogno joined #perl6
18:32 TimToady mica_ella_tuazon: no one is too *young* for scripting; if Camelia scares you, it means you're too *old* for scripting
18:32 masak :)
18:33 PerlJam I have a doodle of Camelia with red eyes and fangs that looks pretty scary.
18:35 TimToady and quitefantatic did: wall.org/~larry/camelia-angry.pdf
18:35 TimToady *quietfanatic
18:35 masonkramer left #perl6
18:38 mtk left #perl6
18:38 cogno left #perl6
18:43 dukeleto left #perl6
18:43 Tedd1 joined #perl6
18:44 dukeleto joined #perl6
18:46 mtk joined #perl6
18:48 mtk left #perl6
18:49 pmurias left #perl6
18:53 mtk joined #perl6
18:55 MayDaniel joined #perl6
19:01 TimToady rakudo: say 1i.sin
19:01 p6eval rakudo 388eed: OUTPUT«0 + 1.1752011936438i␤»
19:01 TimToady rakudo: say i.sin
19:02 p6eval rakudo 388eed: OUTPUT«0 + 1.1752011936438i␤»
19:02 * masak .oO( imaginary sin is a complex thing... )
19:03 PerlJam rakudo: say i.virtue
19:03 p6eval rakudo 388eed: OUTPUT«Method 'virtue' not found for invocant of class 'Complex'␤  in main program body at line 22:/tmp/JrJI8Y4Spt␤»
19:03 bacek_ joined #perl6
19:04 TimToady we need a .robot method
19:04 TimToady me wonders if roman numerals are imaginary
19:05 PerlJam you'll invoke the law of unintended consequences for sure.
19:07 TimToady I prefer unindented consequences
19:08 masak I like inundated consequences.
19:08 TimToady .oO(flooding algorithms)
19:11 cogno joined #perl6
19:16 frettled Using the waterfall method?
19:17 * masak .oO( they mentioned logging, but never this... )
19:19 PerlJam masak: you need to listen to the timber of their voices
19:21 masak ><
19:21 [Coke] PerlJam: Do you really think that wood help?
19:23 rindolf joined #perl6
19:23 rindolf Hi all.
19:30 PerlJam [Coke]: only if he carved enough.
19:30 masak hola, rindolf.
19:35 rindolf masak: what's up?
19:35 colomon /me wishes he could write 1, 1.5 ... 3 that easily in C++...
19:35 masak rindolf: pancakes! \o/
19:35 rindolf masak: nice.
19:35 masak yep. life's good.
19:41 cogno left #perl6
19:45 MayDaniel left #perl6
19:56 plobsing left #perl6
19:58 cogno joined #perl6
20:00 dukeleto left #perl6
20:01 dukeleto joined #perl6
20:02 moritz_ hello zebras!
20:02 tadzik hello moritz_!
20:05 masak hello koala.
20:05 rindolf Hi moritz_
20:05 * moritz_ grunts
20:06 moritz_ being a father can be quite exhausting, even if the small one(s) aren't at home
20:06 [Coke] aye.
20:06 PerlJam Usually for the father, it's not the little one that's the source of the exhaustion  ;)
20:08 cogno left #perl6
20:09 * masak tries to compute whether that counts as sexism by Swedish norms
20:10 moritz_ if you call somebody with an insulting but true name, is that an insult?
20:13 tadzik it's just impolite then I thik
20:13 tadzik but some would say that's disputable
20:14 Tene moritz_: If you call somebody with an insulting but false name, is that an insult?  To me, it's just nonsense.
20:14 c9s left #perl6
20:15 c9s joined #perl6
20:15 TimToady ooh, we now have 2**8 - 1 Perl 6 entries on rosettacode
20:15 Tene Although there's also the question of whether the potential-insulter believes it or not.
20:23 _jaldhar left #perl6
20:24 TimToady I like the French approach of getting rid of all the guesswork by just saying "I insult you."
20:24 cogno joined #perl6
20:25 takadonet the french Canadian way would to say "I insult you, but I'm sorry"
20:25 masak takadonet: are they?
20:25 takadonet masak: yes :)
20:26 tadzik that reminded me of the joke with 3 cowboys entering the bar
20:26 TimToady wouldn't that have to be a saloon?
20:26 tadzik oh, probably
20:28 * masak has a feeling we didn't get to the punchline yet
20:28 TimToady they were really 3 cowgirls walking into a salon
20:28 tadzik oh well, it's not That good
20:29 masak tadzik: hey! you can't do this to hundreds of people! :)
20:29 Su-Shee aren't the girls usally already waiting _in_ the salon?
20:29 TimToady not cowgirls
20:29 cogno left #perl6
20:29 masak they're waiting on cows.
20:30 cogno joined #perl6
20:30 Su-Shee in germany, you insult girls by calling them cows.
20:30 TimToady fershure there's no waiters in a saloon
20:30 tadzik so the first cowboys gets into the bar, spins his fellow Colt on his finger, shots the middle of the dart target and says "Hey, I'm Lucky Luke!". Then the second gets into the bar, spins a Colt on his finger, shots the middle of the bottle on the bar and says "Hey, I'm Billy Kid!"
20:30 * TimToady waits for it
20:31 tadzik then the last one enters the bar, spins his fellow Colt, then shots the bartender in the middle of the head, and says "Hey! I'm sorry!"
20:31 plobsing joined #perl6
20:31 tadzik (toldya it's not so good)
20:31 cjk101010 left #perl6
20:32 Su-Shee well back to the cows then. ;)
20:32 plainhao left #perl6
20:32 masak tadzik: it was clearly relevant :)
20:33 tadzik it now reminded me of the joke with Inf mathematicians walking into the bar... ah
20:33 masak crowded place.
20:34 TimToady is that the bar at the Hilbert Hotel
20:34 tadzik so the infinite number of mathematicians walk into the bar, the first orders a beer, the second orders half a beer, the third orders quater and so on... The bartender says "you're all stupid" and pours two beers
20:34 TimToady you sure it wasn't 1.99999... beers?
20:35 tadzik hmm
20:35 tadzik rakudo: say [+] (1, 0.5, 0.25 ... 0)
20:36 p6eval rakudo 388eed: OUTPUT«2␤»
20:36 tadzik see? Rakudo makes a good bartender
20:36 tadzik or bad, depends on how you look at it
20:36 tadzik pugs: say [+] (1, 0.5, 0.25 ... 0)
20:36 p6eval pugs: OUTPUT«*** ␤    Unexpected "0"␤    expecting operator or ")"␤    at /tmp/w0PhKzTjjD line 1, column 27␤»
20:36 Su-Shee you usally look at the looks of a bartender ;)
20:36 slavik joined #perl6
20:37 slavik1 left #perl6
20:37 flussence the bartender should just give them the ingredients for 2 beers and tell them to go integrate them themselves
20:39 tadzik integrating two beers should give many, many beers
20:39 tadzik for when you derive beer, you get the amount of beer you can buy from selling the empty bottles
20:39 tadzik and a good party is when the second deriv... something is > 0
20:39 Su-Shee no tadzik, that's not a good party. ;)
20:39 tadzik well, they say so ;)
20:40 TimToady that doesn't rule out the jerks
20:41 TimToady "Your third derivative is > 0!!!"
20:41 moritz_ at least 0!!! == 0!
20:41 clkao left #perl6
20:43 TimToady that's a 3-dimensional factorial
20:43 * masak brane hertz
20:44 cogno left #perl6
20:45 TimToady that's because you've been cowed
20:46 moritz_ Mu
20:46 masak ow.
20:46 TimToady job title for a cow that doesn't give milk:
20:46 TimToady Milk Dud
20:46 TimToady Udder Failure
20:47 cogno joined #perl6
20:48 rod_ left #perl6
20:48 mica_ella_tuazon left #perl6
20:48 * colomon is very impressed that [+] (1, 0.5, 0.25 ... 0) actually worked
20:48 coldhead joined #perl6
20:48 TimToady relies on FP underflow, I suspect
20:49 masak rakudo: say (1, 0.5, 0.25 ... 0).elems
20:49 TimToady and perhaps printf rounding
20:49 p6eval rakudo 388eed: OUTPUT«1076␤»
20:49 masak :)
20:49 takadonet rakudo: say (1, 0.5, 0.25 ... 0)
20:49 p6eval rakudo 388eed:
20:49 p6eval ..OUTPUT«10.50.250.1250.06250.031250.0156250.00781250.003906250.0019531250.00097656250.000488281250.0002441406250.00012207031256.103515625e-053.0517578125e-051.52587890625e-057.62939453125e-063.814697265625e-061.9073486328125e-069.5367431640625e-074.76837158203125e-072.38418579101562e-071.1…
20:50 TimToady I'd rather have 1075, thank you
20:50 TimToady 1076 is phosgene
20:52 TimToady oddly, milk doesn't have a UN number
20:54 TimToady just before Christmas I passed a truck full of 1970: Krypton, refrigerated liquid (cryogenic liquid)
20:55 [particle] it powers his sleigh.
20:55 kst` left #perl6
20:55 [particle] you know who.
20:55 TimToady Superman?
20:55 kst` joined #perl6
20:56 Su-Shee now I understand the red cape.
20:57 TimToady they're really the same person, y'see
20:57 * moritz_ thinks that Krypton is execeptionally bad at powering anything
20:57 moritz_ only topped by He, Ne and Ar
20:57 TimToady the whole kryptonite thing is a ruse to get his enemies to mail him more krypton
20:57 rgrau joined #perl6
20:58 TimToady and the movies that show Supes flying by himself are really to divert attention from the reindeer droppings
20:58 [particle] "pay no attention to the reindeer behind the cape."
21:00 tadzik did the announcement email hit the perl6-compiler ML?
21:00 * TimToady wonders what it means that Kr is bottomed by Xe, Rn, and Uuo...
21:01 jnthn tadzik: I sore it
21:01 jnthn er
21:01 * TimToady also wonders what they'll do with all the Xe when they stop filling light bulbs with it
21:01 jnthn *saw
21:01 cogno left #perl6
21:02 moritz_ TimToady: XePtF6 -- what else could you make of it? :-)
21:03 diakopter well that's sad.
21:04 diakopter vmware esxi comes with python on its host but not perl
21:04 colomon rakudo: say [+] (1, 0.5, 0.25 ... 0)[^40]
21:04 diakopter but .. a lot of their remote api stuff is in perl
21:04 p6eval rakudo 388eed: OUTPUT«1.99999999999818␤»
21:05 colomon rakudo: say [+] (1, 0.5, 0.25 ... 0)[^45]
21:05 p6eval rakudo 388eed: OUTPUT«1.99999999999994␤»
21:05 colomon rakudo: say [+] (1, 0.5, 0.25 ... Rat)
21:05 p6eval rakudo 388eed: OUTPUT«1.5␤»
21:05 colomon rakudo: say [+] (1, 0.5, 0.25 ... Num)
21:05 moritz_ huh?
21:05 p6eval rakudo 388eed: OUTPUT«1.99999999953434␤»
21:05 moritz_ ah
21:06 colomon first is Int, second one is Rat, so 1 + .5 = 1.5
21:07 obra joined #perl6
21:07 masak ooh! '... Num' -- that's... emergent.
21:08 TimToady we noticed it a month or two ago, so it's re-emergent
21:08 TimToady the ... 0 is also emergent, or convergent, or something
21:10 TimToady rakudo: say [+] 1, 2, 4 ... Inf;
21:10 p6eval rakudo 388eed: OUTPUT«Inf␤»
21:10 TimToady wow, rakudo is FAST!!
21:10 masak ...optimized for infinite loops...
21:11 masak rakudo: say [+] 0, 0, 0 ... Inf;
21:11 p6eval rakudo 388eed: OUTPUT«(timeout)»
21:11 masak heh.
21:11 TimToady rakudo: say [+] 0, 0, 0 ... 0;
21:11 diakopter masak solved the halting problem
21:11 p6eval rakudo 388eed: OUTPUT«0␤»
21:11 masak diakopter: I knew I would acheive greatness some day. :P
21:12 colomon rakudo: say ~(1, 2, 4 ... Inf);
21:12 p6eval rakudo 388eed: OUTPUT«1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8388608 16777216 33554432 67108864 134217728 268435456 536870912 1073741824 2147483648 4294967296 8589934592 17179869184 34359738368 68719476736 137438953472
21:12 p6eval ..274877906944…
21:12 masak or is that "achieve"? I keep mixing those up.
21:12 colomon that sequence ends 4.49423283715579e+307 8.98846567431158e+307 Inf on my MBP.
21:13 TimToady didn't you know?  that's Inf/2
21:13 masak talk about taking a shortcut.
21:13 colomon but that one will not work once we have arbitrary precision Ints, alas.
21:13 diakopter quick, write a test
21:14 TimToady better, write a quick test
21:14 masak or at least one that doesn't loop forever...
21:20 fhelmberger left #perl6
21:22 TimToady 1, 10**1000, 10**2000 ... Inf will fail much faster, I suspect
21:23 plobsing left #perl6
21:24 * TimToady now imagines a machine that uses the cloud for swapspace...
21:24 colomon rakudo: say ~(1, 10**1000, 10**2000 ... Inf)
21:24 p6eval rakudo 388eed: OUTPUT«1 Inf␤»
21:24 colomon that's about what I expected there.
21:24 diakopter cloud 9
21:24 TimToady that's in outer space
21:24 masak from outer swap space.
21:24 TimToady no, it's *from* outer space
21:25 TimToady masak++ beat me to it
21:25 diakopter thought it was from outta space
21:25 TimToady no, that's where it's to
21:26 diakopter OUTATIME
21:26 TimToady of course, the compiler should just realize what's going on there and turn it into 10 X** (0,1000,2000...Inf)
21:26 kst` left #perl6
21:26 klunky joined #perl6
21:27 kst` joined #perl6
21:27 masak TimToady: that'll make it... fail slower...?
21:27 [particle] depends on hardware. how fast is **?
21:28 TimToady rakudo: say ~( 10 X** (0,1000,2000...Inf) )
21:28 p6eval rakudo 388eed: OUTPUT«(timeout)»
21:28 TimToady rakudo: .say for 10 X** (0,1000,2000...Inf)
21:29 colomon rakudo: say ~( (10, 10 ... *) Z** (0,1000,2000...Inf) )
21:29 kst` is now known as kst
21:29 p6eval rakudo 388eed:
21:29 p6eval ..OUTPUT«(timeout)␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf␤Inf�
21:29 p6eval rakudo 388eed: OUTPUT«(timeout)»
21:29 rindolf left #perl6
21:29 colomon oh, much slower fail
21:30 colomon I'm actually impressed it got that far
21:30 TimToady mine at least gave some answers
21:30 colomon oh, I missed that you'd gotten one in there as well.
21:30 TimToady pity the (timeout) covered the first one
21:31 colomon huh.  are you sure that's yours there with the printout?  There's a strange lack of newlines...
21:31 TimToady why does that happen, anyway?
21:31 colomon why does what happen?
21:31 TimToady mine has newlines
21:31 TimToady why does the (timeout) block the early answer
21:32 diakopter sometimes it does; sometimes it doesn't
21:32 TimToady rakudo: .say for 1..10000000
21:32 p6eval rakudo 388eed:
21:32 p6eval ..OUTPUT«(timeout)␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤52␤53␤54␤55␤56␤57␤58␤59␤60␤61␤62␤63␤64␤65␤66␤67␤68␤69␤70␤71␤72␤73␤74␤75␤76␤77␤78␤79␤80␤81␤82␤83␤84␤85␤86␤87␤
21:32 obra left #perl6
21:32 TimToady like that
21:33 TimToady two different file pointers into the same disk file, I guess
21:33 colomon very weird.
21:34 * TimToady wonders if stderr should be opened for append
21:35 TimToady really, should be sent to a different file and combined by the bot
21:35 plobsing joined #perl6
21:35 TimToady rakudo: .say for 1..10; note "oops"
21:35 p6eval rakudo 388eed: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤oops␤»
21:36 TimToady strange
21:36 TimToady rakudo: .say for 1..10; warn "oops"
21:36 p6eval rakudo 388eed: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤oops  in <anon> at line 22:/tmp/PSWkg8UR_B␤»
21:36 TimToady maybe the (timeout) is supplied by the bot
21:37 TimToady if so, I think it's a bug that it overrides the output
21:37 TimToady it should append the message on the end instead
21:38 TimToady and color it, or make it flash, or something...
21:49 diakopter the (timeout) is supplied by the bot
21:49 diakopter sometimes it overrides any output; sometimes it doesn't
21:54 TimToady whether it overrides is probably just buffering
22:04 dalek roast: 8447ca8 | (Kodi Arfer)++ | S03-operators/inplace.t:
22:04 dalek roast: [inplace.t] Added tests for RT #70676.
22:04 dalek roast: review: https://github.com/perl6/roast/commit/8447ca80b0
22:14 kaare_ left #perl6
22:15 flatwhatson_ left #perl6
22:17 arthur-_ joined #perl6
22:17 flatwhatson_ joined #perl6
22:22 spq1 left #perl6
22:27 kfo_ joined #perl6
22:27 cdarroch left #perl6
22:27 masak 'night, #perl6
22:27 masak left #perl6
22:30 kfo left #perl6
22:32 slavik1 joined #perl6
22:32 slavik left #perl6
22:37 MayDaniel joined #perl6
22:42 dalek nqp-rx/nom: 4d75922 | jonathan++ | src/metamodel/knowhow_bootstrapper.c:
22:42 dalek nqp-rx/nom: The find_method op throws method not found exceptions, and the API is for find_method v-table not to; make the KnowHOW.^find_method play that way.
22:42 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/4d759228f4
22:42 dalek nqp-rx/nom: 26ac097 | jonathan++ | src/metamodel/reprs/P6opaque.c:
22:42 dalek nqp-rx/nom: Get P6opaque most of the way to consuming the storage spec provided by a REPR. In theory, this means it can allocate storage for natively typed attributes. In practice, there's no way to test this just yet.
22:42 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/26ac097bf7
22:44 pmurias joined #perl6
22:47 slavik1 left #perl6
22:48 aindilis left #perl6
22:48 slavik joined #perl6
22:57 c9s left #perl6
22:59 lichtkind_ joined #perl6
22:59 lichtkind_ tschuldige hatte noch revert zu checken
22:59 lichtkind_ sorry wrong win
23:00 jnthn sleep &
23:00 lichtkind_ good night
23:00 ponpon joined #perl6
23:00 ponpon left #perl6
23:00 ponpon joined #perl6
23:01 ponbiki left #perl6
23:01 ponpon left #perl6
23:01 ponbiki joined #perl6
23:12 plobsing left #perl6
23:24 stkowski left #perl6
23:28 estrabd is now known as estrabd_afk
23:32 slavik left #perl6
23:32 dorlamm joined #perl6
23:42 MayDaniel left #perl6
23:43 snarkyboojum full names in the rakudo release announcements now eh? :D
23:43 snarkyboojum guten moaning all
23:44 lamstyle left #perl6
23:44 lichtkind_ snarkyboojum: haha
23:44 snarkyboojum lichtkind_: :)
23:44 risou left #perl6
23:45 snarkyboojum I don't have commit access to the rakudo repo, but I'd be happy to do a release if people are looking for future release boffins :)
23:45 snarkyboojum though I suppose commit access is a prerequisite :D
23:46 lichtkind_ i think so too :)
23:47 * [Coke] supposes he should volunteer for another one.
23:48 [Coke] maybe after dayjob stops being nightjob also.
23:49 * snarkyboojum is between dayjobs atm
23:53 rgrau left #perl6
23:56 mkramer1 joined #perl6
23:58 mkramer left #perl6

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

Perl 6 | Reference Documentation | Rakudo