@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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 32 33



Comments:

<0> but yes, in fact, that code will work
<1> ispy_: delete( @scale_bpp{$i} ); ? why @
<2> _Lewellyn: Dunno.
<2> _Lewellyn: mscpp?
<2> clpp?
<3> ispy_: you have an odd indentation style
<4> that's why I hope Perl 6 will have some kind of preprocessor ability
<0> "indent until you run out!"
<5> :) well, that's just rough code, i'll clean it up later obviously :)
<1> PerlJam: I used the "tidy up a bit" option to be able to read it, :)
<6> PerlJam: it looks like "I pasted into vi" indentation style
<7> buu: that doesn't answer the real question: why does perldoc give broken examples?
<4> I always indent two spaces
<2> _Lewellyn: Because satan has tainted it.
<0> Hmm. You delete it, but then reference it below
<0> that seems odd



<0> if your unless is true, you've deleted the item
<6> so does only ever printing \n at the beginning of a line ;)
<0> and then you reference the NOW DELETED item in the code below
<3> Teratogen: perl6 will have a fully mutable syntax and grammar. You'll be able to use all of the power of perl6 to warp it to suit whatever perversion you desire.
<5> although the code says otherwise, what i really want to do is sort through all the values, and only select the one that is closes to 0.240
<5> that's basicly the end state of what this is supposed to do.
<0> you're sure doing it the hard way
<5> granted i don't know how :)
<7> buu: so i need a saint who's actually familiar with integrating perl and C to help exorcise this :)
<1> ispy_: we already told you how, :)
<5> i know... :)
<6> ispy_: then why are you doing ANY of that?
<6> ispy_: since there's no "sort", no "closest", and no "0.240" in that code!
<5> that's what i had before i started reading.
<1> ispy_: you need to do abs(0.24 - $_) for each of your ratioes and the smallest one is closest to .24
<2> _Lewellyn: Verify the return value of get_Sv
<5> ok
<5> this is by far the most complicated thing i've done in perl, which just shows you i'm a total noob :) so thanks for your patience guys :)
<1> ispy_: and don't delete stuff after th efact, just don't add it in the first place if it is out of range...
<5> ok
<2> _Lewellyn: I will note that the example code works perfectly for me.
<7> buu: using get_sv("a", TRUE) does the same thing, though it shouldn't return null
<2> _Lewellyn: Paste your full c, your exact compilation and your exact output from running it
<7> i had to do a bit of finagling to make PERL_SYS_INIT3 "work"
<4> PerlJam: A Perl 6 macro definition will look like a subroutine or method definition, and can operate on unparsed strings, an AST representing pre-parsed code, or a combination of the two
<3> Teratogen: yep. perl6 will be awesome when it's fully realized.
<4> so Perl 6 DOES have macros!
<8> these are not your grandfather's macros.
<9> Perl 6 has everything
<3> but no "preprocessor". It's all perl6.
<4> hehe
<4> ahhhh
<4> now I understand
<8> are you familiar with macros in Lisp? It's kinda like that. Only with syntax.
<4> Perl 6 is so good that it will never be finished.
<4> =/
<4> no release date, ever.
<0> perl 6 will come with template toolkit 3 bundled in
<0> and run alongside duke nukem forever
<0> and CGI::Prototype 1.0
<0> and POE 1.0 :)
<7> merlyn: and i hear it will consider PalmOS a first-cl*** platform, too! ;)
<0> now you're just getting silly
<7> one can always dream
<10> well
<10> python people still saying you crazy to develop project of any size in perl
<10> is this bs or real problem?
<0> python people say that.
<0> python people also say that they don't need closures
<7> serpentor: "it depends" :)
<0> or multiple levels of scopes
<0> guido is a nice guy, and all that. but I think he needed more real world experience before committing to a language.
<11> serpentor: It is bull**** that you'd be crazy to use Perl for something large.
<0> python arguing that perl people are crazy are like mysql people arguing that you don't really need transactions because they slow things down
<4> I often thing about writing a postfix notation threaded interpretive language with some crazy-*** syntactic sugar
<11> serpentor: That doesn't mean that Perl is automatically always the best choice. There are cases when Python, Ruby, or another language may be better suited than Perl.
<4> but then I grew up with HP calculators
<11> serpentor: In most cases, though, Perl is a very good choice.
<0> you had no actual friends?



<0> just calculators?
<4> I was pretty much a loner all my life Randall
<0> serpentor - Perl is behind many of the largest web sites that you probably use each day.
<4> had severe ADD as a kid
<7> merlyn: conversely, perl people arguing that python people are crazy is akin to oracle people claiming postgres people are crazy :)
<4> before they even knew what ADD was I think
<0> Yahoo makes half its money with Perl.
<11> Except Google :)
<11> Google uses Perl, but not for the web.
<11> (afaik)
<4> was a loner in grade school, junior high, and high school
<4> I discovered computers in high school
<4> so I made a few friends that way
<12> Teratogen: Catch up with xmath, re crazy-***ed threaded interpreted languages.
<13> GumbyBRAIN: pie?
<14> A mag pie.
<11> dngor: Are you sure the universe can handle that?
<15> I am SO glad I have a sane ***.
<13> Gah. Boring.
<4> is that the one that's based on the hp-22c calculator or something like that?
<12> Juerd: I, for one, am willing to take that risk. :)
<0> dngor - the other day, someone asked me about version numbers of heavily used CPAN modules, and I had to use the POE version number as an example.
<11> dngor: I wish I were as brave as you are
<12> merlyn: POE 1.00 is part of the GSoC!
<0> GSoC?
<8> "It must be junk. It has not even made 1.0 yet."
<0> "that poe thing is just a fad."
<11> cfedde: I have seriously considered using alphabetical version numbers.
<8> how about teh TeX version numbers?
<11> Unfortunately, the CPAN indexer doesn't really handle that well :)
<16> hello everyone
<11> Another option is to simple start at 1
<11> And increase with 1
<12> merlyn: Google Summer of Code.
<4> CPAN should have BUILD NUMBERS
<4> =D
<11> To entirely remove the meta-information from the version info.
<0> let's remove *all* info from the version.
<8> Juerd: I agree. too much semantics tied to version numbers.
<0> each release just comes out as $VERSION = 1.000
<0> with successive additional 0's
<15> I think named versions would be nicer.
<11> merlyn: You'd need quotes then :)
<12> Acme::Phlegethoth went out as 1.00 last night. Already 1.01
<11> Maybe just rename the distribution every release.
<15> $VERSION = "Morris Stienmetz"
<10> hey merlyn are you randall l schwartz?
<17> Google Summer of Code.
<0> Oh
<15> $VERSION = "Fenwick P. Witherbottom"
<10> I think I have a book sitting here by you
<0> serpentor - I most certainly am not
<11> our $VERSION = "XP Enterprise Edition 2006 SP5"
<0> my mom spelled my first name with *one* L
<0> unlike as you just typed it
<10> randal
<10> Randal L. Schwartz
<0> Yeah, that's closer
<11> merlyn: Oh, is THAT why you include the additional "L."?
<10> heh
<0> spot on, in fact.
<10> so you know more than a little perl
<8> just use time/1_000_000_000
<10> heh
<0> I include the middle initial because there's another Randal Schwartz author
<0> he has only one book, but he's in the lib of congress.
<10> oh?
<10> how bizarre
<16> does anyone have some insight on why you wouldnt want to sort to find the max number in an array
<0> herbivourous plants
<0> I saw him on the mike douglas show years ago too
<11> I'm sure my (***umed) name is unique enough.
<0> and said "he, that's my namee!"


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

#css
#lisp
#debian
sysv-rc-conf replacement
#kde
#linux
#perl
#debian
#css
seanmeir



Home  |  disclaimer  |  contact  |  submit quotes