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