Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-07-01

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:06 pugs_svnbot r16785 | Darren_Duncan++ | trunk:
00:06 pugs_svnbot : LICENSE/ : reverted any whitespace cleanup I may have done so that the files should be bitwise identical to the source copies, in case that matters
00:06 pugs_svnbot diff: http://perlcabal.org/svn/pugs/revision?rev=16785
00:07 prism joined #perl6
00:14 vel joined #perl6
00:32 DarkWolf84 joined #perl6
00:46 uno_be joined #perl6
00:52 lidden ?eval sub postfix:<!> ($n) { [*] 1..$n }; 4!
00:52 evalbot_r16777 changed the nick to evalbot_r16785
00:52 evalbot_r16785 24
00:52 lidden ?eval sub postfix:<!> ($n) { [*] 1..$n }; 4 !
00:52 evalbot_r16785 24
00:53 lidden ?eval sub postfix:<!> ($n) { [*] 1..$n }; -1!
00:53 evalbot_r16785 1
00:53 lidden ?eval sub postfix:<!> ($n) { [*] 1..$n }; -(1!)
00:53 evalbot_r16785 -1
00:55 lidden ?eval sub postfix:<!> my $a = 2; $a++; $a
00:55 evalbot_r16785 Error: ␤Unexpected "my"␤expecting "handles", "is", bare trait, subroutine parameters, trait or block
00:55 lidden ?eval  my $a = 2; $a++; $a
00:55 evalbot_r16785 \3
00:55 lidden ?eval  my $a = 2; $a ++; $a
00:55 evalbot_r16785 \3
01:08 Limbic_Region joined #perl6
01:14 dduncan left #perl6
01:15 dduncan joined #perl6
01:36 miyagawa joined #perl6
01:43 prism joined #perl6
01:54 nperez joined #perl6
02:01 pugs_svnbot r16786 | Darren_Duncan++ | trunk:
02:01 pugs_svnbot : ext/Muldis-DB/ : split up Language.pod 7 ways into itself and 6 other Language/*.pod files
02:01 pugs_svnbot diff: http://perlcabal.org/svn/pugs/revision?rev=16786
02:02 dduncan that bot message looks even more useful than the last one
02:04 nperez joined #perl6
02:10 bonesss joined #perl6
02:11 ProperNoun joined #perl6
02:17 diakopter_afk changed the nick to diakopter
02:19 ProperNoun joined #perl6
02:23 zechs_merquise joined #perl6
02:23 cl_dulce joined #perl6
02:23 havoc[uk] joined #perl6
02:23 blissed- joined #perl6
02:23 muschetarul joined #perl6
02:23 wallhoper joined #perl6
02:25 ekim|irc joined #perl6
02:26 RichiH joined #perl6
02:26 lidden I have written a little test. Can I get a commit bit?
02:26 SamB lidden: when someone who can give you one hears you, yes ;-)
02:27 lidden :-)
02:29 xinming This bot is specific... Maybe some ruby or python guys. :-)
02:29 xinming hmm, no flamewar. Just guessing. :-)
02:30 nperez the crapflooding seems to be on the rise
02:30 xinming Oops, an PHP guy after backloging.
02:31 Sandy_Bell^ joined #perl6
02:31 diakopter lidden: sure
02:31 Method_M joined #perl6
02:31 bardun joined #perl6
02:31 lidden Here What do you need to know?
02:33 * xinming smells kicker around.
02:34 diakopter joined #perl6
02:35 araujo mmm.....
02:35 SamB python programmers are unlikely to feel threatened by perl6 -- no offense ;-)
02:36 diakopter ugh...
02:36 diakopter where'd dalekbot go
02:37 diakopter who needed a commitbit?
02:37 lidden I did
02:37 diakopter can you nopaste the test you wrote please? :)
02:38 lidden yes. Where?
02:38 diakopter see the channel topic - http://sial.org/pbot/perl6
02:39 lidden Proxy Error :-(
02:40 diakopter interesting
02:40 diakopter :)
02:40 diakopter ok, then, paste it :)
02:40 lidden sub postfix:<!> ($n) { return [*] 1..$n;} is( -1!, -1 , "Sould be parsed as '-(1!)");
02:40 lidden Should
02:41 diakopter PM me your email address and preferred username...
02:42 Patterner What's wrong with being jewish anyway?
02:43 SamB Patterner: nothing, unless you run into anti-semetics
02:43 SamB er. spelled better.
02:43 lidden Nothing but the world is full of idiots :-(
02:43 Patterner Are you anti-semantic..?
02:43 SamB well, aside from the fact that it's better to be messianic jewish.
02:44 SamB Patterner: no. I just spell badly ;-)
02:44 * araujo is anti-java
02:44 * diakopter misses dalekbot
02:45 SamB araujo: who isn't?
02:45 araujo Indeed indeed.
02:45 mncharity left #perl6
02:46 Patterner well, Java's still better than PHP or BASIC.
02:48 * araujo doesn't consider PHP a language
02:48 pugs_svnbot r16787 | lidden++ | trunk:
02:48 pugs_svnbot : Test for precedence of postfix operator.
02:48 pugs_svnbot diff: http://perlcabal.org/svn/pugs/revision?rev=16787
02:55 TristinD what is a good resource for perl 6 tutorials.
02:56 dalekbot joined #perl6
02:57 dalekbot joined #perl6
02:58 dalekbot joined #perl6
03:01 dalekbot joined #perl6
03:04 dalekbot joined #perl6
03:04 diakopter changed the nick to diakopter_afk
03:08 dalekbot joined #perl6
03:08 diakopter_afk changed the nick to diakopter
03:08 diakopter yo
03:09 araujo o
03:09 dalekbot joined #perl6
03:10 diakopter wb, dalekbot
03:11 buu diakopter: I used 'unshift' instead of 'shift'
03:11 buu So it kept track of EVERYTHING.
03:11 buu And so it ran out of memory =[
03:11 buu While I wasn't here
03:11 nperez heh
03:11 buu Suck.
03:11 diakopter hee
03:12 buu I'd been waiting so long to for it to kill things.
03:12 diakopter changed the nick to diakopter_afk
03:56 dalekbot joined #perl6
04:26 pasteling joined #perl6
04:27 pasteling joined #perl6
04:47 gaal ?eval 1
04:47 evalbot_r16785 changed the nick to evalbot_r16787
04:47 evalbot_r16787 1
04:50 Alias_ joined #perl6
05:26 weinig joined #perl6
05:26 jisom joined #perl6
05:34 bonesss joined #perl6
05:40 TimToady_ changed the nick to TimToady
05:48 GabrielVieira2 joined #perl6
06:02 elmex joined #perl6
06:08 uno_be changed the nick to unobe
06:09 unobe changed the nick to unobe_away
06:09 unobe_away changed the nick to unobe
06:22 Aankhen`` joined #perl6
07:10 monomorph joined #perl6
07:13 dduncan left #perl6
07:43 baest_ joined #perl6
07:44 meppl good morning
07:57 mjk joined #perl6
08:03 unobe changed the nick to unobe_away
08:45 iblechbot joined #perl6
08:48 uno_be joined #perl6
08:50 ntgrl changed the nick to integral
09:35 barney joined #perl6
09:38 jedai joined #perl6
09:48 ofer joined #perl6
09:53 xerox joined #perl6
09:53 b_jonas joined #perl6
10:18 chris2 joined #perl6
10:19 ayrnieu I wonder how PHP people could get so annoyed with Perl6, when *every other language* is better than theirs.  Why don't they against Emacs Lisp?
10:20 ayrnieu also, rail against.
10:20 Alias_ I think it might just be that the exploit used is in phpbb
10:20 Alias_ griefers are griefers
10:21 lumi ayrnieu: Rail against? Is that a pun?
10:22 isaacd joined #perl6
10:24 barney joined #perl6
10:25 ayrnieu lumi - no.
10:26 ayrnieu although I had to read across your question for a fourth time to see that you didn't ask if it was a *gun* -- it is not a pun.
10:26 lumi Not a rail gun, a Rails pun
10:27 lumi What exploit is that?
10:27 Alias_ no idea
10:27 Alias_ #perl on irc.perl.org was mentioning it
10:30 ayrnieu lumi - from the talk since these attacks began, these griefers use PHP, advocate PHP, harasss some !PHP... via exploits in deployed, representative PHP projects.
10:30 lumi Oh, they connect to IRC via a PHPBB exploit?
10:30 ayrnieu makes you want to stop sinning and take up PHP right now, doesn't it?
10:31 lumi Not really fair, there could be exploits on any widely deployed software
10:32 lumi I'm always much more impressed by good PHP code than good $something_else code
10:32 Alias_ Because it's so hard?
10:32 lumi Exactly
10:35 ayrnieu lumi - no: just as all languages are not equal in power, so are all languages not equal in security.
10:37 ayrnieu Subshelling: many systems give you a wrapper to 'system', as PHP does, and tell you to be careful.  Better systems give you an as-easy wrapper to 'execve'.
10:38 Alias_ execve?
10:38 ayrnieu Database access: PHP's mysql API (contrast: their postgresql api) doesn't have placeholders.
10:40 lumi Instead, they SQL escape form input, ISTR
10:40 ayrnieu lumi - yes, which is an utterly crap ideaa.
10:41 ayrnieu alias - invoke a program with given (even unto $ARGV[0]) argv  and envp.
10:41 Alias_ ah
10:41 Alias_ handy that
10:41 Alias_ Do we have that?
10:41 Alias_ I could actually use that
10:42 ayrnieu Alias - Perl's system() and exec() take %ENV and don't allow for a given $ARGV[0]
10:42 Alias_ lumi: It gets better
10:42 Alias_ lumi: I talked to rasmus
10:42 Alias_ At linux conf au
10:42 Alias_ And he decided that tainting sucked
10:42 Alias_ So instead he implemented a "data firewall"
10:43 Alias_ Which means, by default, PHP simply doesn't accept any characters outside of
10:43 Alias_ \w as input
10:43 Alias_ And you have to "turn on" support for various characters
10:43 Alias_ *head*desk*
10:45 b_jonas ouch. that sucks.
10:47 buetow joined #perl6
10:48 lumi They're very good at finding wrong solutions to problems, I guess
10:51 b_jonas though of course I'm quite good at that as well
10:51 b_jonas I had a cgi written in shell and awk and other shell utils that let you download files from a tree
10:51 b_jonas and list directories
10:51 b_jonas the same thing as the webserver does anyway
10:52 b_jonas except much more unsecurely of course
10:52 b_jonas and I wrote a stupid webpage loader without LWP once that spawned netcat to make the connection
10:52 b_jonas well that was really stupid of me
10:53 b_jonas that letter one was in perl
10:54 utopia joined #perl6
11:00 Alias_ I just discovered today I've been using $^X badly
11:01 Alias_ Since you aren't supposed to use $^X to call "the perl currently running"
11:19 utopia changed the nick to utopia_
11:32 hakobe changed the nick to hkb_bath
11:32 hkb_bath changed the nick to hkb_furo
11:33 baest joined #perl6
11:56 isaacd_ joined #perl6
12:01 daxim_ changed the nick to daxim
12:10 jedai joined #perl6
12:13 marmic joined #perl6
12:40 |Jedai| joined #perl6
12:41 hkb_furo changed the nick to hakobe
12:45 idiotmax joined #perl6
12:50 DarkWolf84 joined #perl6
13:08 dvorak joined #perl6
13:13 ludan joined #perl6
13:13 hakobe changed the nick to hkb_zz
13:13 ludan hola
13:39 nalioth_ joined #perl6
14:18 nalioth_ changed the nick to nalioth
14:23 drupek1248 joined #perl6
14:29 mico joined #perl6
14:34 drupek1248 left #perl6
14:56 mico joined #perl6
15:04 xerox joined #perl6
15:09 b_jonas joined #perl6
15:15 drupek12 joined #perl6
15:18 broquaint joined #perl6
15:34 mico joined #perl6
15:39 franck__ joined #perl6
15:41 mico left #perl6
16:19 amnesiac joined #perl6
16:33 rindolf joined #perl6
16:33 rindolf avar: can you tell me what is 'set' magic in the context of http://perldoc.perl.org/perlapi.html ?
16:47 TimToady set magic is what makes magic variables have extra semantics.  for example, setting an environment variable also modifies the process's environment, and setting elements of %SIG changes your signal handlers
16:51 TimToady lidden: pugs should not accept 4 ! with a space; that's a bug by the current spec, though it was correct by an ancient version of the spec, before we made a hard rule about no space before postfix
16:51 bonesss joined #perl6
16:52 TimToady also -1! is incorrect; it should be parsed as -(1!), since postfix should default to same prec as ++
16:53 TimToady and, of course $a ++ is also illegal
16:57 zamolxes joined #perl6
16:57 TimToady lidden: by the way, welcome aboard!
16:57 vel joined #perl6
17:00 TimToady hmm, I see you already checked in a test for -1!.  I'm behind in the news, it would seem...
17:03 weinig joined #perl6
17:06 vel_ joined #perl6
17:11 kanru joined #perl6
17:13 Psyche^ joined #perl6
17:18 vel joined #perl6
17:19 isaacd__ joined #perl6
17:23 lidden Thanks. Yes I know the space is a bug I will add a test when I have figured were to put it and how the test should be written.
17:24 vel_ joined #perl6
17:29 TimToady just added a test
17:29 pugs_svnbot r16788 | lwall++ | trunk:
17:29 pugs_svnbot : Correct test count, add test that 4 ! doesn't see user-defined postfix:<!>.
17:29 pugs_svnbot diff: http://perlcabal.org/svn/pugs/revision?rev=16788
17:30 Psyche^ changed the nick to Patterner
17:35 nusgnaf joined #perl6
17:38 TristinD what is the site for the pugs svn
17:40 b_jonas joined #perl6
17:41 offby1 joined #perl6
17:42 rindolf TristinD: http://www.pugscode.org/ - see "How to get the code"
17:44 nperez joined #perl6
17:47 chris2 joined #perl6
17:47 Limbic_Region joined #perl6
17:48 Eidolos joined #perl6
17:54 nusgnaf left #perl6
18:01 rhr joined #perl6
18:05 r0bby_ joined #perl6
18:14 uno_be changed the nick to unobe
18:32 franck__ joined #perl6
18:47 devogon joined #perl6
19:18 obra TimToady: ping?
19:18 Schwern joined #perl6
19:21 obra TimToady: nevermind
19:39 weinig changed the nick to weinig|bbl
19:42 |Jedai| changed the nick to jedai
20:03 ron_ joined #perl6
20:03 bonesss changed the nick to bones`banho
20:13 [particle] joined #perl6
20:39 ibrown joined #perl6
20:43 riffraff joined #perl6
20:46 ibrown left #perl6
20:46 ibrown joined #perl6
21:10 vel joined #perl6
21:14 jisom joined #perl6
21:15 vel_ joined #perl6
21:22 prism joined #perl6
21:27 Bebota joined #perl6
21:29 vel joined #perl6
22:00 vel joined #perl6
22:12 justatheory joined #perl6
22:18 weinig|bbl changed the nick to weinig
22:28 buubot joined #perl6
22:57 isaacd__ joined #perl6
22:59 ludan 'night
23:05 Aankhen`` joined #perl6
23:06 hcchien joined #perl6
23:17 daxim_ joined #perl6
23:18 SCalimlim joined #perl6
23:21 mncharity joined #perl6
23:44 daxim_ changed the nick to daxim

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

Perl 6 | Reference Documentation | Rakudo