pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | <stevan> Moose... it's the new Camel ":P | .pmc == PPI source filters!
Set by Alias_ on 16 March 2006.
00:21 rashakil_ joined 00:43 jserv-- joined 00:51 Quell joined 01:00 FurnaceBoy_ joined 01:21 sri__ joined 01:39 mako132_ joined
meppl gute nacht 01:56
02:01 justatheory joined 02:04 Quell joined 02:15 fish joined, fish is now known as fishb0t 02:20 fishb0t joined 02:21 SamB joined
fishb0t did ! replace : as the secondary sigil for private instance vars? 02:22
ie. has $!foo is rw; # <- private? 02:23
02:31 azuroth joined 02:41 weinig joined, weinig is now known as weinig|sleep 02:49 kanru joined 03:04 Khisanth joined 03:07 kanru joined 03:20 FurnaceBoy joined
lisppaste3 Free Ringtones pasted "Free Ringtones" at paste.lisp.org/display/20201 03:22
azuroth wow, I suddenly feel like buying ringtones 03:23
fishb0t you don't need to, they are free 03:24
azuroth well I'll pay them for their effort, anyway 03:25
fishb0t only fair. 03:26
03:32 kanru joined 04:23 beppu joined 04:28 YetAnotherEric joined 04:29 nothingmuch joined
YetAnotherEric anyone know of a perl5 attempt at given/when that doesn't use source filters? 04:29
I saw Damian's Switch.pm 04:30
scratchcomputing.com/tmp/given_when.pl (just a first hack at syntactic sugar)
04:31 justatheory joined
YetAnotherEric now I guess I just need to steal Damian's if() and $::_S_W_I_T_C_H = statements 04:32
azuroth hmm. leet 04:34
YetAnotherEric I suppose it could have {} instead of [] if when did something inside-outish to allow for the flattening of hash keys 04:36
azuroth interesting 04:37
audreyt YetAnotherEric: Perl 5.9 has it builtin. 04:48
use feature 'switch'; 04:49
# search.cpan.org/~rgarcia/perl-5.9.3...feature.pm
04:58 justatheory joined
YetAnotherEric cool. is this bolt-on too horrid for pre-5.9? 05:00
05:02 Quell joined
YetAnotherEric and what happens to i18n when ~~ comes into play? :-( 05:02
beppu how would that affect i18n ?
YetAnotherEric print ~~"Hello, $world"; 05:05
I guess the parser will get over that ok. 05:06
beppu YetAnotherEric: I didn't know there was an i18n pragma. (search.cpan.org/~autrijus/i18n-0.07/) It doesn't seem compatible with smart match, does it? 05:07
YetAnotherEric well, if one is binary and the other unary, that should work 05:08
YetAnotherEric thinks smartmatch is binary anyway
beppu but then when it sees you trying to use it like a unary operator, what'll happen? 05:09
Someone who has perl 5.9.3+ should try it out.
YetAnotherEric string negation (or overloaded if use i18n is on)
beppu Does i18n actually overload ~ ? 05:10
YetAnotherEric that's how I understand it, at least to the extent that I understand it.
beppu I guess it does... (just checked source) 05:11
That's some clever shit. ;-)
YetAnotherEric :-)
beppu In light of that, we may have gotten lucky. Perhaps both forms of ~~ can co-exist.
(maybe...) 05:12
audreyt it could 05:27
and where it couldn't i18n.pm is a far less worthy cause :)
in $job I happiuly use _()...
(it's Jifty::I18N's default loc() function)
automatically exported to all packages, because that's what &_ does in perl5.
i18n.pm is one of those audrey-ingy collaborations that warps perl5, but it's among the less successful ones :) 05:28
beppu I didn't know it existed. 05:38
I'm not on IRC all the time, so it's hard to stay current with what's new. 05:39
audreyt it's 2004 :) 05:46
bbiab
beppu ;) 05:51
YetAnotherEric _() is less popular in my book 05:52
beppu, you have to read CPAN 4 hours per day to keep up 05:53
beppu I just subscribed to the new modules rss feed. I should have done this a long time ago. 05:54
05:58 aedwards323 joined
svnbot6 r10385 | spinclad++ | - JudyHS: a version of JudyHS.c with most of JudyHSIter filled in; may compile, won't run yet. 06:02
06:14 bjoern_ joined
spinclad (doesn't compile, obviously, and still partly stubbed out. next version should be in shouting range of filled in and compiling.) 06:17
06:21 victori joined
victori so pugs is ahead of parrot in perl6 implementation? 06:21
azuroth I thought pugs _was_ the parrot implementation..? 06:28
for now, at least 06:29
arcady there's so many implementations that it's hard to keep track what does what 06:33
but pugs I think is the most complete perl 6 to parrot compiler 06:34
YetAnotherEric compiler? I thought it was a runtime. 06:41
parrot is parrot right?
azuroth pugs is a compiler with multiple backends: the default just runs it 06:42
some spew javascript, PIR, etc 06:43
07:12 masak left 07:14 SM_ax joined, SM_ax_ joined 07:15 SM_ax_ left 07:28 Ymmv joined 07:38 iblechbot joined 07:49 kcwu joined 08:22 ruz joined 08:23 azuroth left 08:26 azuroth joined 08:36 larsen joined, elmex joined 09:04 SetCool joined
bjoern_ ?eval [**] 2..3 09:31
evalbot_10383 8/1
bjoern_ huh?
azuroth ?eval 2..3 09:32
evalbot_10383 (2, 3)
bjoern_ ?eval 2**3
azuroth ?eval 2 ** 3
evalbot_10383 8/1
azuroth guess it just uses rationals for that. weird. 09:33
bjoern_ ?eval 2**(1/2)
evalbot_10383 1.4142135623730951
azuroth ?eval 4 ** (1/2) 09:34
evalbot_10383 2.0
09:41 DaGo joined
bjoern_ trying to eval [**] 6..8 pugs consumes 99% CPU for 3 minutes now with no end in sight... 09:48
wilx 6**7**8? 09:52
09:52 Ymmv joined
bjoern_ yes 09:52
for other values like 7**8**9 it returns gives Inf quickly...
09:53 wilx left 09:54 froh-doh joined 10:00 bjoern_h joined
bjoern_h trying to calculate 6**5764801 but not 7**134217728 is a bit odd... 10:08
3**1024 should have ~500 digits already...
% pugs -e "say 6**(9999999)" crashes after some seconds on win32 10:12
% pugs -e "say 6**(9999999+1)" gives Inf after some seconds
10:19 bjoern_h is now known as bjoern_
bjoern_ ?eval [/] 1..36 10:22
evalbot_10383 1/371993326789901217467999448150835200000000
Juerd ?eval [/] 1.0..36.0 10:31
evalbot_10383 1/371993326789901217467999448150835200000000
Juerd Annoying :)
bjoern_ -e "say [/] 1..36" just gives 0 10:32
Juerd Same version?
bjoern_ yes
Juerd evalbot keeps up with revisions, doesn't do releases.
bjoern_ I'm running r10385 10:33
Juerd I have no idea then
But note that this kind of detail is very haskell related, and no attempts are made at this point to make it more perl-like (afaik)
10:35 ludan joined
ludan hi 10:36
azuroth hey 10:37
buubot hey is probably someone form the shattered projekt in here?
Juerd Stupid bot. 10:39
azuroth I have a funny feeling I've talked to it before, not really realising it was a bot... 10:41
meppl guten morgen
10:45 masak joined
drbean_ I need to use svk to keep p6bible up to date on synopsis changes 11:33
I was just making /usr/lib/perl5/site_perl/5.8.3/Perl6/Bible a checked-out directory of svn.perl.org's synopsis repository 11:34
Using svn, and then copying the apos and exes from somewhere into the same directory. 11:36
11:36 Ymmv joined
drbean_ But I see that synopsis 26 on kwid is not at svn.perl.org 11:37
I guess I could copy it from somewhere.
Cleaner would be to use the vendor branch approach to import 3rd party sources 11:39
11:40 elmex joined 11:44 iblechbot joined 12:02 rashakil__ joined 12:06 kanru joined 12:10 weinig|sleep joined 12:36 cnhackTNT joined 12:37 cnhackTNT joined 12:41 froh-doh joined 12:42 gdickie joined
azuroth wonders what apps ion users use. 12:50
webmind korganiser, firefox, urxvt, psi, screen, vim, kontact 12:52
er
s/kontact/kopete/
and inkscape and gimp 12:53
azuroth kopete? hmm, I'll try it
is urxvt good? I'm just using xterm, and it seems decent. definitely seems better than gnome-term or konsole 12:57
13:03 cnhackTNT left 13:07 cnhackTNT joined
Gothmog_ urxvt, screen, vim, irssi, centericq, opera, evolution 13:08
azuroth opera++ 13:09
I'm just trying to figure out.. what programs are good for this wm model, really 13:10
Gothmog_ I got one of the free registrations they gave away at the 10 year anniversary party. :-) 13:11
13:11 kcwu joined, szbalint joined
Gothmog_ Primarily apps which like keyboard users. :-) 13:11
azuroth I like the alt+space thing in ion. it's really useful. 13:15
13:19 cnhackTNT joined 13:22 Aankhen`` joined 13:25 hexmode joined 13:27 cnhackTNT left
Gothmog_ ion has many useful features. 13:30
azuroth what sound daemon do you use..? 13:35
13:46 jsiracusa joined 13:49 iblechbot joined 14:16 mako132_ joined 14:20 justatheory joined 14:31 Limbic_Region joined 14:43 SM_ax left 14:53 aufrank joined 15:05 mako132_ joined 15:10 mako132_ joined 15:22 larsen joined 15:33 weinig joined 15:39 xern joined 15:40 particle_ joined 15:50 weinig is now known as weinig|away 15:51 mako132_ joined 16:00 elmex joined 16:10 cnhackTNT joined 16:16 weinig|away is now known as weinig 16:33 SlaSauS joined 16:46 fglock joined 16:51 chrizmo joined 16:53 Quell joined
svnbot6 r10386 | fglock++ | PCR - RuleInline.pl renamed to benchmark.pl 16:54
17:08 SlaSauS left 17:16 rashakil_ joined
svnbot6 r10387 | fglock++ | PCR - all :ratchet tests pass 18:00
18:12 hexmode joined 18:21 macroron joined, weinig joined 18:25 larsen_ joined 18:30 shachaf joined 18:31 larsen__ joined
svnbot6 r10388 | fglock++ | PCR - updated POD, TODO, ChangeLog 18:36
18:51 justatheory joined 19:51 Quell joined 19:56 larsen__ is now known as larsen 20:09 fglock joined
fglock Pugs-Compiler-Rule-0.03 uploaded to CPAN 20:11
20:11 Quell joined 20:31 frederico joined 20:36 larsen joined 21:05 hexmode joined 21:08 clkao_ is now known as clkao 21:24 justatheory joined 21:28 nothingmuch joined
aedwards323 Where can I find a list of new feature in perl6? 21:37
21:55 bjoern_ is now known as Lordi12p 22:25 Khisanth joined
wolverian aedwards323, dev.perl.org/perl6/doc/synopsis.html is the canonical set of design documents. I don't know of a comparison with perl5, besides the various slides people have online. 22:38
22:42 kanru joined
svnbot6 r10391 | fglock++ | PCR :ratchet - quantified captures always create Array of match 22:49
23:26 hexmode joined, agmk joined 23:46 rawr joined, rawr is now known as SubStack 23:53 SubStack left 23:56 SubStack joined