| |
| |
| |
|
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 30 31
Comments:
<0> merlyn: LESLIE NIELSEN <1> it's a building with sick people, but that's not important now! <0> alexp: The sooner you stop caring, the easier your life will be. <0> merlyn: He's like 25 and in columbo <2> buu: I care about having to install modules on 80+ machines when there's something in core which will do it for me. <1> Yeah, he did a lot of serious work before being selected for Airplane <0> alexp: Get better management? <1> in fact, that's why it worked so well in Airplane, and pales a bit with later uses. <0> merlyn: I am shocked. <2> buu: Tell you what, I'll stop listening to you now :) <1> there are probably more people who know him as a parody actor than a serious actor now <0> merlyn: You ever watch tango and cash? <0> merlyn: I must have blinked and missed the serious phase. <0> He did a hell of a lot of tv shows <0> T&C is awesome. <3> merlyn: did you see my question? I can't find the source code download link for http://www.oreilly.com/catalog/intermediateperl/
<1> I think I've seen pieces of T&C <1> I didn't see your question no. <0> merlyn: With Stallone and Ruseel. It is beyond awesome. <1> Yeah - I'm familiar with the movie, just never had time or opportunity to see the whole thing <1> Nola_ - write nuts@ora.com and they'll respond quickly <0> merlyn: 80's ridiculous action becomes even more excellent when they get to play off each other <3> merlyn: I just wrote to booktech@oreilly.com ... pressed send just as I saw you wake up :) <1> Yeah, that's the same address. <1> it goes into the general "help me with a book" pile <1> but nuts@ora.com was the original, and short to type. :) <1> originally, pre-internet, it was ...!ora!nuts <3> Cool. I really like this book. <1> like my address was ...!teleport!merlyn <0> merlyn: Honoes, the girl shot him. <4> morning merlyn <5> alexp: perlmodlib <6> Hi merlyn, Teratogen, yrlnry, Nola_, buu, alexp <3> Hi rindolf :) <7> Hey. Question. When someone uses $::VARIABLE is that just using a variable in the default namespace? <5> fennec: Yes. it's synonymous with $main::VARIABLE. <5> Fennec: and "main" is the package that's in force in the absence of "package" declarations. <7> Could you later access it with, say, 'our $VARIABLE'? <5> Only in package main. <3> hey, that reminds me.. when do you use local ?? <5> Nola_: Short answer: never. <5> Nola_: Longer answer: http://perl.plover.com/local.html <3> thanks :) <7> now, when you set $::VARIABLE - since you're using the namespace, you don't need any of the my/our/local stuff that you might otherwise when 'use strict' is in force? <6> Nola_: what's up? <6> perlbot: local <6> perlbot: local is local: "my" is usually preferable to local, but see http://perl.plover.com/local.html <8> added local to the database <4> I hope Perl 6 has local <7> 'local' is like 'my' but preinitializes the variable to an already-existing global-type variable of the same name? <9> Teratogen, yes, it's called 'temp' <10> Hello, yrlnry. <4> coolness <5> Hello, Yaakov. <5> Hi rindolf. <5> Fennec: local is not actually anything like my. <7> mmm, okay <5> Fennec: "my" creates a local variable. "local" doesn't. <11> rindolf: sorry, got bumped to high speed on my wireless broadband. It always kicks me off. Did you get my message? <5> Fennec: local temporarily saves the value of a global variable, and arranges for the old value to be automatically restored at the end of the current block. <7> hmm. Okay. <7> that's an interesting thing to do. <10> Sorry, it seemed like it could be fun. <11> :) <6> Nola__: which one? <2> yrlnry: That looks helpful, thanks <6> yrlnry: what's up? <5> EXN <11> rindolf: one what? wireless broadband? Cingular ... though can't get it to work in linux .. yet. <5> Fennec: You may want to read http://perl.plover.com/FAQs/Namespaces.html , which discusses all of these things in complete but brief detail. <6> Nola__: no, which message? <6> <11> rindolf: sorry, got bumped to high speed on my wireless broadband. It always kicks me off. Did you get my message? <11> rindolf: oh, sorry. I said I was doing good... and had 6 more days left of php. Then I have a week at new perl job .. then yapc.. so pretty excited. <1> wow. the lion's commentary on unix source code has been released again! <1> damn - I gotta get me one of those
<1> ... http://www.amazon.com/gp/product/1573980137 <6> Nola__: where is your new job? <11> rindolf: for Mortgage Desk, they make website applications for mortgage companies. <6> Nola__: I see. <12> if you access a file as a list, each line will have a \n at the end right? <1> a filehandle, yes <1> unless you've messed with $/ <11> rindolf: they will let me work at home some of the time, so its pretty cool. <1> if you set it to say, "a", then each "line" will end in "a". :) <11> rindolf: and I'll have co-workers! .. I've been coding alone pretty much for 6 years. <1> my @fonzie = do { local $/ = "a"; <HANDLE> }; <13> heh heh <13> "a" <1> probably *not* that useful. :) <12> oh but humm, it seems i can chomp the whole list? <14> GumbyBRAIN: the #perl tribe ? <15> Of the tribe of joseph were sealed twelve thousand. Of the tribe of nephthalim were sealed twelve thousand. Of the tribe of juda, the root of david, and the name of my mouth. <1> Yes - you can chomp the whole list <1> you're rediscovering things that are thoroughly covered in the llama <1> perhaps you should borrow a copy and read that. <1> I mean, I don't need your $1.25, but I think you'll save time reading a book that puts all the beginning things together. <5> I've been using my $x = do { ... } ; quite a lot lately for some reason. <1> that's why I said "borrow. :) <1> Yeah, I've used a lot of that too. <1> mostly for things that should return values "out the left" but insist on a "side effect" return value <1> do { open my $x, ...: $x } <5> Now I can't think of an example. <1> do { (my $out = $in) =~ s/foo/bar/; $out }; <1> do { read HANDLE, my $buf, 1024; $buf }; <11> merlyn: all you get is $1.25 from each book? <5> Yeah, it wasn't exactly any of those, but it was stuff like that./ <1> from that book, yes. <1> the authors split about 10% of the wholesale price of the book <1> that's typical royalities <1> wholesale is 20% to 40% below the retail as well <5> Nola_: of the cover price, half goes to the bookstore and distributor; the other half goes to the publisher. Then the writer gets 10-15% of what the publisher gets. <1> so for a $40, the writers split about $3 <11> wow.... i mean, I know authors don't get rich typically... <1> and on the llama, I had a lot of help. :) <5> Nola_: http://www.plover.com/blog/book/book-economics.html <11> oh yeah, I saw that link before... <1> Nola_ - typically, a technical book *may* earn the author the equivalent of "minimum wage" <11> well time to get off train... <1> if he's lucky <11> or she :) <1> and people ask me why I haven't written more books. I can't afford it. :) <11> i hear pragprog give their authors 50% <1> I've had some of the best-selling books in the perl community, and I'm still necessarily working for a living. <7> and I've never heard of pragprog. <7> so. <1> 50% of what? <5> merlyn: : There's a math problem for which the mathematician Paul Erdos used to offer $3000 to anyone who could solve it, more than for any other problem. But he's give talks in which he said that the $3000 was a joke, because the per-hour pay at that rate would be minuscule. <5> merlyn: I sometimes feel that way about the money I've made from HOP. <1> yrlnry - yeah, that's the way it works. <1> (re $3000) <7> merlyn: is the Prestige worth much to you? :D <10> I had one best-selling book on CD-ROM some time ago, it sold 40K copies, I made about 20K on it. <10> That was a good contract, and the last one I signed. <1> well - I wrote the llama and alpaca because they were easy to write, being essentially transcripts of the courseware we had already invested money to write <1> so in a sense, I got to get payback twice on that material - once in the cl***room, and again in the bookstore. <1> but just writing a brand new book doesn't appeal much to me. <7> fun fun <1> it was leverage more than anything else. <5> merlyn: maybe three times, because those books are probably the best advertising you could possibly have for your training business. <1> and after the second or third book, there's a diminishing credential return <7> so you're Randal, not Tom? :) <10> I made MUCH more money from the courseware I wrote than from books. <10> But I had to teach to get most of that. <1> Yes - the llama + alpaca are a great ad for our courseware <7> yeah, I have the llama.... <1> Fennec - what does /whois merlyn say? :) <7> it says you're a felon, omg <1> the first camel was a labor of love... I never expected to make much cash off of it, and yet it was actually making the house payment for the first year.
Return to
#perl or Go to some related
logs:
apt-cache what provides debian css underlapping hover contract tablle #gentoo Joedetic fuse and qcow fc5 rv370 Cannot find a valid baseurl for repo: update Centos #qmail Fatal signal: Segmentation Fault (SDL Parachute Deployed) alsactl
|
|