| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Comments:
<0> defcon8_ - you're bordering on trolling now <1> eval: $_='$';m/['#$]/ ? "Match" : "No Match" <2> Ani-_: Error: Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE '#5.008007/ at (eval 134) line 15. <3> merlyn, i'm not trying to be a troll <3> i just want to know what it is <4> for this, tie will work. thx merlyn, hobbs ! <0> OK - there has been plenty written up on perl v python <5> I comprehend lists. <1> So that's a yes. <6> defcon8_: list comprehensions are unnecessary when you have the basic building blocks to play with <0> don't make us repeat it here <7> hobbs, and for x in list? <0> list comprehensions are because Guido doesn't understand the value of a lambda expression <8> eval: $_='\\';m/['#\$]/ ? "Match" : "No Match"; <2> erikh: No Match <8> merlyn: thanks
<0> if he understood it, python would be a lot more powerful. :) <9> I don't think that's true.I M <0> but he doesn't exactly understand OO programming either <0> I know I've watched him try to code OO <10> pyeval: [x for x in 1,2] <2> buu: [1, 2] <10> YAY I know python! <9> List comprehensions were invented by the Haskell guys, and they absolutely do understand the value of a lambda expression better than anyone. <0> retardo - stop interjecting facts into this conversation. :) <11> it's a pain that they binned monad comprehensions, they're cooler <1> pyeval: print "Me too" <2> Me too Ani-_: <6> defcon8: you mean the enumerate one? Well you could write 'enumerate' in one line and put it in List::Util. Feel free. :) <10> retardo: This is the flame python hour. <1> output-- <9> So I don't think you can conclude that guido doesn't understand lambda just from his inclusion of list comprehensions on python. I think you can conclude it from the fact that python has this thing vcalled "lambda" that is cripped and useless. <10> Ani-_: Er, weird. Oh, I know why. <0> yeah - I was just mixing two unrelated items to rant better. <9> And from the fact that every time he talks about lambda expressions he makes totally plain that he doesn't understand them. <0> that's how rants are supposed to go. <9> Oh, sorry. <0> heh <0> no problem. :) <6> defcon8: well, you don't get the lazy aspect of it with cheap syntax, but we're waiting on p6 for that ;) <0> we obviously have a python fanboy in our midst that doesn't understand why perl still has any traction. <1> eval: "helllo\rhello"; <2> Ani-_: "helllo\x0dhello" <7> but the syntax ins't messy like perl <0> so I'm handwaving a lot. <7> perl looks very hard to read to me <0> greek is hard to read to me <6> defcon8: yes it is. It's just messy in a really sparse way :) <11> is perl still way, way faster than python? <0> anything you don't undersatnd is hard to read <0> wow. this is monday <10> It is indeed. <9> All day! <0> And I'm goofing off! <10> merlyn: Are you still yapcing? <12> i know, it ****s to be at work <0> I'm happily home <0> trying not to do any work <10> Ah. Nice. <0> but I keep irc'ing. :) <0> and answering questions <0> silly me <10> That's work? <0> in the way I work, yes. <0> actually - I gotta write two magazine articles <0> I think I'll do those tomorrow <9> Write while you sleep! <12> who for? <10> merlyn: BBB + yahoo-search <10> 10 lines of code. <10> (With 200 thousand lines of dependencies) <0> I've often been accused of writing while asleep. :) <13> merlyn: TO compensate, I sleep while reading your books. <0> if that works for you, you'll have to teach me! <5> Such is the circle of Perl
<1> You should write a book about it! <9> Does it work to put the book under the pillow and let the knowledge seep into your mind? <14> is YAML a good idea for storing Perl app data? <0> Storable is better <15> the tooth-fairy will just steal your book. <0> truth-fairy will ignore you. :) <5> gr00ber: If it fits and needs to be read by other things, that can be a good thing <16> retardo, that used to be my favorite way of studing for history tests in school <13> retardo: I think so. It is how I learned brain surgery. I have had NO complaints from patients. <17> retardo, pillows are way too thick for that, you can't have more than a half inch of foam between your head and the book, and even _that_ reduces throughput by up to 50% <9> It seems to work for a lot of people. <14> b0at, right <11> jsn: feather pillows <5> I like to bring YAML up whenever people are talking about stuffing stuff in XML. Serialization: the anti-markup! AWAY! <13> merlyn: Maybe you could do a Vomit Comet Perl Cruise... <18> marienz: if the command length is >=599 chars it always segfaults, and I dont think that this is a coincidence .. <14> b0at, anti-markup? <19> norc: beginning to sound like 'bash is broken'. Backtrace would be nice <19> norc: also, I think this is the wrong channel. <18> marienz: what might the right channel be? :S <15> the -Wall gcc flag was made for Larry >:) <20> w00t, i finished my guess-the-animal program <9> guess-the-animal++ <19> norc: well, this is #perl, and we're discussing bash segfaulting because of number or length of commandline args, which we were previously discussing on #gentoo :) <18> Ohh, sorry, my fault :) <18> Forgot I switched <21> norc: "obviously" #zsh is the right place <18> kspath: rather #gentoo :) <20> so is the until or while part of a do-loop not in the same scope as the do-block? <9> samu2: Unfortunately not. <9> perl "do" blocks are item #1134 on the list of Things About Perl that ****. <17> do block ****? <0> without do blocks, some other constructs would be harder though <17> s/k/ks/ <0> you'd have to write them as sub { ... }->() <17> how do do blocks ****? <0> and before 5.004, that'd be &{sub{ ... }} <0> do blocks with loop modifiers don't respect last/next/redo <0> that's part of it <0> do blocks look like a subroutine, but don't respect return <17> hmmm <0> anyting else, retardo? <9> anything else what? <0> regarding do blocks <0> those are the two key points <0> I can't recall *ever* writing a do-block while/until <0> I generally just write a naked block with a redo <0> { ...; redo if $cond } <0> then I can get out of it with last, etc <9> If only life were like that. <17> do { ...; redo if $cond } doesn't work, but { ...; redo if $cond } does. That is odd <0> yes - welcome to our world. :) <17> seems to save typing :) <6> ==> Auto-install the 41 mandatory module(s) from CPAN? [y] <22> POE does not thread at all right? ie I can't use $kernel->post to make something run in "background" while normal stuff is running? <23> row: POE kind of simulates threads <0> you can "run" things cooperatively <0> there are items in the cookbook that talk about that <0> basically, you need any heavy code to yield to itself until done <0> that lets other sessions to get a chance to fire <0> s/sessions/events/ <22> indeed. <0> if you can't do that, you can always fork with Wheel::Run <0> and then get your results back from the kid when he's done <22> cookbook as in OReilly? <0> poe.perl.org <22> ah <22> ta <24> quick question, are modules over at CPAN thrown to the mercy of some approval process? <0> "ta"? are you being charged by the character? <17> Hey, does poe.perl.org use a particular templating system? <0> kanzure - only peer review <0> by putting comments and ratings
Return to
#perl or Go to some related
logs:
debian enable smp kernel 2.6.8 python raw post data #math /var/spool/mqueue-client
qemu hardisk linux options kernel get_client_info perl #lisp xml_parser_create cacti squigly render hate.py
|
|