Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-04-25

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:07 specbot6 r14379 | larry++ | Clarification suggested by TheDamian++
00:11 diakopter I accidentally committed something to my svk local mirror; how do I commit the previous revision of that file so when I push, the file doesn't get committed upstream at all?
00:16 rissy joined #perl6
00:17 diakopter downstream, I mean, I guess.
00:26 jrockway diakopter: delete the branch and start over
00:26 jrockway or you can svk cp from an older revision
00:26 jrockway and push with --lump
00:27 jrockway there's no good "forget this commit" comman though
00:27 jrockway both will mess up merge tracking, i think
00:27 jrockway *think*
00:27 jrockway (not 100% sure)
00:31 diakopter jrockway: thanks
00:36 kunwon1 joined #perl6
00:50 TimToady joined #perl6
00:54 hcarty joined #perl6
01:01 nipotan changed the nick to nipotaway
01:09 specbot6 r14380 | larry++ | Clarifications to CANDO suggested by TheDamian++
01:30 specbot6 r14381 | larry++ | Clarifications to module naming suggested by TheDamian++.
01:53 penk joined #perl6
02:12 bonesss joined #perl6
02:16 nperez joined #perl6
02:24 veritos joined #perl6
02:24 veritos hey guys
02:24 veritos ingy! how ya doing?
02:28 veritos and everyone else too i guess...
02:36 geoffb_ joined #perl6
02:53 mako132_ joined #perl6
02:55 LCamel joined #perl6
03:07 dolmans joined #perl6
03:16 sili joined #perl6
03:19 justatheory joined #perl6
03:29 amnesiac joined #perl6
04:15 rissy joined #perl6
04:15 TimToady joined #perl6
04:19 veritos joined #perl6
04:19 nekokak joined #perl6
04:20 TimToady joined #perl6
04:21 pasteling "evalbot_r16119" at 194.145.200.126 pasted "Pugs build failure" (379 lines, 21K) at http://sial.org/pbot/24479
04:23 veritos was _ the old concat operator and they just changed it to ~ in order to appeace C++ progs?
04:26 tokuhirom joined #perl6
04:33 miyagawa joined #perl6
04:45 dduncan no
04:45 dduncan veritos, . was the old concat, and ~ is the new
04:57 SubStack joined #perl6
05:13 specbot6 r14382 | larry++ | Clarifications suggested by TheDamian++
05:13 specbot6 r14382 | larry++ | Killed "next METHOD", now just use nextsame etc.
05:13 specbot6 r14382 | larry++ | Defined "lastcall" to allow return from final candidate.
05:13 specbot6 r14382 | larry++ | Set up WHENCE mechanism for undefined prototype objects to autovivify lazily.
05:22 specbot6 r14383 | larry++ | typos
05:23 rfordinal joined #perl6
05:27 KingDiamond joined #perl6
05:32 elmex joined #perl6
05:39 baest joined #perl6
05:46 ofer joined #perl6
06:12 rfordinal joined #perl6
06:24 elmex joined #perl6
06:24 nekokak_ joined #perl6
06:27 nekokak__ joined #perl6
06:31 SubStack joined #perl6
06:38 devogon joined #perl6
06:48 SubStack_ joined #perl6
06:48 SubStack changed the nick to SubStack_
06:55 franck__ joined #perl6
07:10 minsu joined #perl6
07:20 buetow joined #perl6
07:24 dvorak joined #perl6
07:26 premshree_ joined #perl6
07:26 jisom joined #perl6
07:29 iblechbot joined #perl6
07:29 premshree__ joined #perl6
07:56 elmex joined #perl6
08:05 wolv joined #perl6
08:05 PerlPilot joined #perl6
08:06 wolverian changed the nick to wolv
08:19 buetow joined #perl6
08:37 jisom_ joined #perl6
08:45 drupek12 joined #perl6
08:58 polettix joined #perl6
09:17 rfordinal joined #perl6
09:21 ayrnieu joined #perl6
09:30 Lunchy joined #perl6
09:33 TimToady joined #perl6
09:33 rissy joined #perl6
09:33 lisppaste3 joined #perl6
09:33 charsbar_ joined #perl6
09:33 rlb3 joined #perl6
09:33 lumi joined #perl6
09:33 Loro_ joined #perl6
09:33 Juerd joined #perl6
09:33 theorbtwo joined #perl6
09:33 qmole joined #perl6
09:35 rfordinal joined #perl6
09:37 benny joined #perl6
09:41 andara joined #perl6
09:52 rhr re: spec r14382, should Collar.new(Tag.new) be something like Collar.new(:tag(Tag.new)) ?
09:53 BooK joined #perl6
10:00 rissy joined #perl6
10:00 demq joined #perl6
10:01 rissy joined #perl6
10:15 dduncan it would be if the default new() were used
10:15 dduncan of Collar
10:15 dduncan but an explicitly declared new() in Collar could do something else
10:16 dduncan personally, I prefer to stick with the default named args for most constructors
10:17 dduncan that is, I always declare explicit BUILD, which have named args, and the new() implicitly matches them, which I leave
10:50 RHainsworth joined #perl6
10:51 RHainsworth left #perl6
10:53 drupek12 joined #perl6
11:09 dduncan left #perl6
11:18 sunnavy joined #perl6
11:22 rindolf joined #perl6
11:33 nipotaway changed the nick to nipotan
11:44 iblechbot joined #perl6
11:44 devogon joined #perl6
11:57 mako132_ joined #perl6
12:08 drupek12 joined #perl6
12:21 forsaken joined #perl6
12:24 roanbrasil joined #perl6
12:27 buetow joined #perl6
12:33 rindolf joined #perl6
12:42 cognominal joined #perl6
12:53 mako132_ joined #perl6
13:18 the_dormant joined #perl6
13:33 pmurias joined #perl6
13:33 pmurias hi
13:34 pmurias rindolf: why did you choose Henry Ford as an example of a supreme value producer?
13:36 jerrylee joined #perl6
13:36 rindolf pmurias: because he was.
13:37 rindolf pmurias: and he was also known to be very unfriendly.
13:37 pmurias rindolf: what valueble thing did he produce?
13:37 rindolf pmurias: cars.
13:37 pmurias cars--
13:37 rindolf pmurias: and buses and stuff.
13:37 nothingmuch and rubber
13:38 rindolf pmurias: you need to look at inventions at their context.
13:38 rindolf pmurias: some car companies also make buses and trucks.
13:38 rindolf pmurias: I don't have a driver's licence.
13:38 rindolf But I still appreciate Henry Ford.
13:39 [particle] joined #perl6
13:39 rindolf pmurias: Henry Ford also pioneered the 40 hours work week.
13:39 pmurias i personaly belive cars are the worst invetion on earh
13:39 rindolf pmurias: no, they're not.
13:39 rindolf pmurias: and let's s/cars/automobiles/
13:40 pmurias they are the only real threat to my life
13:40 rindolf pmurias: we may transcend cars someday.
13:40 rindolf Just like we transcended horses or fax machines.
13:41 pmurias Eistain rindolf: what is a worse invention (not counting weapons)?
13:41 pmurias s/Eintain//
13:42 rindolf Einstein.
13:42 rindolf pmurias: I don't think inventions can be bad.
13:42 rindolf pmurias: if something can be invented then by inventing it (and developing it, etc.) it may prove useful to someone.
13:42 rindolf "A worse invention"?
13:42 rindolf Do you mean "The worst invention"?
13:43 pmurias yes
13:43 rindolf pmurias: OK.
13:44 rindolf pmurias: so I think the worst invention is meaningless.
13:44 rindolf You can talk about the greatest inventions:
13:44 rindolf Writing, the Alphabet, electricity, etc.
13:44 rindolf the Internet, computers.
13:45 ayrnieu I liked Chivalry: you could then build knights.
13:45 rindolf ayrnieu: heh.
13:45 rindolf ayrnieu: Civilisation?
13:46 ayrnieu rindolf - yes.  Sim City also has powerful metaphores.
13:47 ayrnieu rindolf - e.g., did you know that the way to make money is to build public services and then underfund them?
13:48 pmurias can you have negative public service spending?
13:49 jerrylee joined #perl6
13:49 ayrnieu no, you have a dial between 0% and 100% of funding for each Police and Fire station.  Every % below 100 goes into your own coffers, which you can use to build more interesting facilities -- air ports!
13:51 pmurias i thought you got many from the taxpayers and they just demand so much stuff that you can't get a substancial income
13:52 ayrnieu Yes, you can beat that by underfunding public services.
13:52 * ayrnieu &
13:52 pmurias thanks
13:54 ayrnieu well, I'll stay long enough to say: governments -really do- make money this way, by raising taxes 'to fix the roads', pilfering the income from that tax, and then coming back five years later to raise taxes again over how bad the roads are.  Also, governments -really do- use their police as a form of taxation, by e.g. installing red-light cameras, raising red-light fines, and then shortening yellow-light duration.
13:54 * ayrnieu &
13:56 fglock joined #perl6
13:57 pmurias hi fglock
14:03 fglock pmurias: hi
14:08 buetow joined #perl6
14:12 vel joined #perl6
14:14 bonesss joined #perl6
14:50 TimToady But..but...but...  If cars hadn't been invented, we couldn't have car chase scenes in movies...
14:51 moritz TimToady: then we had to do all these scenes with helicopters ;-)
14:59 lumi How many horses would have suffered making _The Blues Brothers_ :(
15:05 offby1-urbana joined #perl6
15:14 forsaken joined #perl6
15:18 forsaken joined #perl6
15:23 forsaken joined #perl6
15:25 PerlJam changed the nick to PerlPilot
15:32 baest joined #perl6
15:53 DarkWolf84 joined #perl6
15:53 shay|p6 joined #perl6
15:53 pjcj joined #perl6
15:53 sri_ joined #perl6
15:53 takanori_ joined #perl6
15:53 ingy joined #perl6
15:53 spinclad joined #perl6
15:53 BooK joined #perl6
15:53 beppu joined #perl6
15:53 gugod joined #perl6
15:53 mr_ank joined #perl6
15:53 audreyt joined #perl6
15:53 jjore-w joined #perl6
15:53 gaal joined #perl6
15:53 integral joined #perl6
15:53 orafu joined #perl6
15:53 polettix joined #perl6
15:53 nekokak joined #perl6
15:53 marmic joined #perl6
15:53 [particle] joined #perl6
15:53 kane_ joined #perl6
15:53 OwlEye joined #perl6
16:03 fglock joined #perl6
16:08 amnesiac joined #perl6
16:42 buetow joined #perl6
16:42 thepler joined #perl6
16:44 franck__ joined #perl6
16:49 andara left #perl6
16:50 araujo joined #perl6
16:51 bernhard joined #perl6
17:09 allbery_b joined #perl6
17:24 pasteling "evalbot_r16124" at 194.145.200.126 pasted "Pugs build failure" (7 lines, 316B) at http://sial.org/pbot/24495
17:26 wolverian http://blogs.zdnet.com/microsoft/?p=404 "Microsoft to roll out dynamic-language layer for .Net"
17:27 lambdabot Title: » Microsoft to roll out dynamic-language layer for .Net | All about Microsoft |  ...
17:28 rindolf Hi wolverian
17:28 wolverian heo
17:28 wolverian er, hello
17:28 wolverian keyboard isn't quite working properly
17:29 rindolf wolverian: OK.
17:29 rindolf wolverian: what's up?
17:29 wolverian jsp coding, unfortuately
17:29 wolverian argh! unfortunately.
17:30 rindolf wolverian: OK.
17:30 rindolf BTW, I went to Office Depot the other day and they had a rather poor selection of keyboards.
17:31 rindolf I recall being in a shop with much more.
17:31 rindolf And they moved the "\" and "|" key.
17:33 weinig joined #perl6
17:33 justatheory joined #perl6
17:43 Psyche^ joined #perl6
17:43 buetow joined #perl6
17:47 DHGE joined #perl6
17:47 Patterner changed the nick to Psyche^
17:54 rashakil joined #perl6
17:56 fglock joined #perl6
17:56 fglock how would you call an operation that, given a Regex and a Match, returns a Str?
17:57 moritz fglock: reverse matching?
18:00 ozo_ joined #perl6
18:02 fglock moritz: in a single word (subroutine name)
18:03 moritz fglock: so what should it do?
18:03 [particle] my question precisely
18:03 [particle] does it generate strings that match a regex?
18:05 [particle] or, generate the smallest possible string from the passed Match, created from the passed Regex
18:07 laye joined #perl6
18:07 Southen joined #perl6
18:07 fglock it should generate a string that uses all the data in the Match, and all the Regex (it's a template function)
18:08 moritz "unroll"?
18:08 fglock  template( /nums:\d+/, Match.new( positionals => [1..3] ) )  # nums:123
18:09 fglock oops
18:09 fglock  template( /nums:(\d)+/, Match.new( positionals => [1..3] ) )  # nums:123
18:09 rindolf fglock: isn't it Ruby?
18:10 fglock rindolf: dunno
18:11 rindolf fglock: where do you see this code?
18:11 fglock hmm - in my head?
18:11 fglock just an idea
18:12 wolverian did you search CPAN? :)
18:12 fglock wolverian: it could be a module under Pugs::Compiler::Rule
18:21 avar fglock: does anything you've written implement :rw on p5?
18:21 veritos joined #perl6
18:22 veritos hey...i realised that i had a problem with miniperl6-on-python.
18:22 veritos you can't write a function called print.
18:22 veritos def print is a syntax error, since print is a keyword.
18:23 veritos it's apparently just like writing one called def if.
18:23 fglock avar: rw parameters? v6.pm uses Data::Bind
18:23 [particle] veritos: time for name mangling
18:23 veritos [particle]: def perlfn_print(params)?
18:24 [particle] that'll work
18:24 fglock veritos: I've been renaming functions to 'Code_'~$name
18:24 veritos k...
18:24 [particle] def Code... fglock beat me to it
18:24 veritos brb, i need to log in in screen.
18:25 SubStack joined #perl6
18:25 veritos joined #perl6
18:30 fglock I'm making a wishlist for next kp6 version
18:30 fglock I'm trying to list features that may be delaying 6-on-6
18:32 g0tchi joined #perl6
18:32 g0tchi left #perl6
18:32 avar ?eval 1
18:32 evalbot_r16126 changed the nick to evalbot_r16111
18:32 evalbot_r16126 1
18:33 avar ?eval my Str $str = "y hlo"; $str ~~ /^^(y) hlo/; $0 = "o"; $str
18:33 evalbot_r16126 Error: Can't modify constant item: VUndef
18:33 avar ?eval my Str $str = "y hlo"; $str ~~ /$<x> := [(y)] hlo/; $0 = "o"; $str
18:33 evalbot_r16126 *** Cannot parse regex: $<x> := [(y)] hlo␤*** Error: ␤Error: Can't modify constant item: VUndef
18:34 avar hrmp
18:36 fglock ?eval my Str $str = "y hlo"; $str ~~ /$<x> := [y] \s hlo/; $/<x>
18:36 evalbot_r16126 *** Cannot parse regex: $<x> := [y] \s hlo␤*** Error: ␤\undef
18:38 fglock it works here
18:40 sapir joined #perl6
18:43 jisom joined #perl6
18:45 lisppaste3 joined #perl6
18:51 geoffb joined #perl6
18:58 devogon joined #perl6
19:22 electrogeek joined #perl6
19:38 Caleb1 joined #perl6
19:38 Caleb1 left #perl6
19:42 gnuzoo joined #perl6
19:42 gnuzoo left #perl6
19:45 fglock joined #perl6
19:47 fglock I need help with a shell command; I'm trying to replace MiniPerl6 "::Obj(...)" with "Obj.new(...)"
19:47 fglock find lib -name '*.pm' | xargs perl -pe 's/::(\w+)\(/$1.new(/g'
19:48 moritz fglock: I think you need a -i.orig
19:48 [particle] \.new\(
19:48 moritz fglock: the way you do it the files don't change
19:48 [particle] oops
19:48 moritz [particle]: not in the replace part
19:48 [particle] right
19:49 fglock moritz: thanks!
19:50 moritz did it work?
19:50 fglock yes
20:13 veritos joined #perl6
20:14 zamolxes joined #perl6
20:14 DHGE left #perl6
20:16 rashakil joined #perl6
20:49 fglock left #perl6
20:58 nwc10 joined #perl6
21:04 dduncan joined #perl6
21:25 BooK joined #perl6
21:25 jjore-w joined #perl6
21:42 larsen_ joined #perl6
21:52 Aankhen`` joined #perl6
21:59 perlbot joined #perl6
22:06 justatheory joined #perl6
22:09 antrophos joined #perl6
22:30 elmex joined #perl6
23:00 mako132_ joined #perl6
23:02 nperez joined #perl6
23:09 buubot joined #perl6
23:24 BooK_ joined #perl6
23:26 Khisanth joined #perl6
23:45 veritos joined #perl6

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

Perl 6 | Reference Documentation | Rakudo