| |
| |
| |
|
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
Comments:
<0> Place Value = (base)^(n-1) <1> Bundle::Math::Base lists a pile <2> ew73: that's overly complicated really :) <3> with DBI, is there a way to reset the connection handler? <0> So in the first place, in base 5, the value is 5^0, the second if 5^1, 5^3, etc. <0> Dude. It's a for loop and an array. :P <1> ew73: I know how it works .. as I said, I've written it .. I was just looking for a more robustly tested solution <4> pm2: close() and connect()? ;) why do you think you need to do it <2> ew73: yeah, and still more math and more storage than you need <5> How can i write a nagion plugin for perl <3> dkr, just having issues that I'm having a hard time resolving with a script... <5> any modules <5> ? <0> Because in perl, we spend so much time optimizing for memory and storage space. :P <1> I'm having to use bigint though for some of my stuff :) <6> close_to_debian: what is nagion? and what do you mean a plugin for perl, perl doesn't have plugins
<6> GumbyBRAIN: nipples <7> simcop2387: I want you to say that the spirit beneath, and that being placed above the ordinary manner, he produces a letter adapted to his nipples in stuff. <4> maybe he means nagios <6> dunno <4> GumbyBRAIN: aardvark <7> dkr: My eldest brother had a feeling of irrepressible reverence and awe, but husky and almost innumerable instances of the group of cavemen on skates though. <6> a group of cavement on skates.... <0> Captain CAAAAVEEEMANNNN <8> WoodsDog, why don't you make a module based on it? <2> Woosta: actually... <1> Math::BaseCnv is apparently 'fast' <9> FASTER THAN CHINESE PEOPLE? <5> simcop2387: I have a backup script i need to create a nagios plugin do that i can report script status <6> Botje: only on a quad core quintuple cpu amd xeon proc system <3> I'm having issues with DBI, and I can't figure out where I'm screwing up. Let me paste some code... sometimes, depending on when/how often the sub{} is called, it loops forever with that while() loop - why would it do that? <10> "pm2" at 66.180.175.30 pasted "dbi issue" (21 lines) at http://erxz.com/pb/678 <5> backupscript <2> Woosta: you might just be able to subcl*** Math::BigInt to provide the feature in-place. It's already got hex and bin <9> simcop2387: of course! how silly of me. <11> simcop2387 you wouldn't happen to know how i can "skip" a handler, for certain filetypes? <0> pm2: I like to use ->fetchrow_(whatever)ref; and get the data that way. <0> ->fetchrow_hashref will return a hash with the column names (from the db) as the keys, and the values as the data. <6> janhaa: what do you mean skip? <12> ew73: but it's slower than bind_columns <11> i don't want modper to handle requests made to $r->uri =~ /\.txt$/ <3> ew73, but is there anything wrong with what I have there? <0> True. Most of the time, I'm shoving that has directly into another data structure, so it's really 6-or-1-half-dozen-of-another. <6> janhaa: not sure how to deny it from doing that <11> ok. <12> janhaa: you can use a <Files> block in your apache conf to limit the handler to files that p*** a regex <9> did my link drop? <11> friedo, i want to do it the other way around... since there's so many more files i want to handle with mod_perl than not :) <6> Botje: yes <12> janhaa: i'm pretty sure a <Files> block can handle a "not" regex <9> so it did . :| <11> friedo, bummer :) i'll try that <6> Botje: which link anyway? <9> my .. connection <8> Woosta, have you checked out Math::BaseCnv and Math::BaseCalc ? <9> I mis-typed a /ignore <5> I have a backup script i need to create a nagios plugin do that i can report script status <2> pm2: it should be alright <6> Botje: yea your really not here <3> hmmm <13> "m1chael" at 64.252.44.172 pasted "weird variable results... small script" (9 lines, 207B) at http://sial.org/pbot/16102 <6> damn its 5pm already? <9> m1chael: wtf .. <2> pm2: Any particular reason you're using sqlite2 rather than 3? <9> 1) why are you using eq on a number? <3> hobbs, no - just what my distro installed for me <3> I doubt that's the problem <9> 2) where does $row_ary come from? <6> m1chael: 3) read this too <6> perlbot coping with scoping <14> Coping with Scoping - http://perl.plover.com/FAQs/Namespaces.html <9> 3) did you read the caveat on $sth->rows as it applies to DBD::SQLite ? <12> janhaa: you should be able to do something like <Files ~ "(?!\.txt)$"> <0> pm2: Yeah, it looks good. Check perldoc DBD::SQLite2 to make sure bind works the way you think it does? <0> Or whatever the proper docs for SQLite's driver are. <11> friedo, i'll give it a try.
<3> Botje, are you talking to me? <6> pm2: no, he's talking to m1chael <9> no. to m1chael <3> oh, good <11> friedo, i can't have it inside <Location... <11> neither on outside :) <12> hrmm, yeah, might only work in a <VirtualHost> or the main config :( <11> friedo, i'll try some LocationMatch magic... <12> that might do it <2> friedo: I don't think that regex is quite right either ;) <12> janhaa: also it would probably be helpful to ask in #apache <12> hobbs: you're right... <11> friedo, good idea. <15> re the channel topic, note also #PerlNet for discussion of http://perl.net.au/wiki/Main_Page . <6> perlbot cpan DBI <14> Documentation for 'DBI' can be found here: http://xrl.us/j9fy <6> perlbot cpan Apache::DBI <14> Documentation for 'Apache::DBI' can be found here: http://xrl.us/j9fz <15> my fuzzy recollection is that a way exists to break $/ 's magic. Ie, to make it so $/ can be used as a normal variable. (it's the match result variable in p6). anyone know how to do it? <16> well, you can ***ign to */ if you'd like <16> there's nothing stopping you from using $/ <17> seems to work <18> putter: are you writing a proggggie? <16> you just must be aware that, if you read from a filehandle, it will pay attention to $/'s value <3> what format for the image should a Gtk2::Image be? <17> $ echo fooXbarXbaz | perl -wlne 'BEGIN {*/ = \"X"} print "[$_]"' <17> [fooXbarXbaz] <0> pm2: My first guess would be "anything gtk2 can handle" which would probably be "anything imlib2 can handle" <16> mauke - the */ gets around the magic <17> awesome <16> my "read from a filehandle comment" was about using $/ instead of */ <15> Yaakov: "proggggie"? <18> Yes, putters run them. <18> Oh wait, that's "puter". <9> YAAKOV! YOU LIVE! <18> And proggie. <18> Sorry. <15> perl -we 'our $x; local */ = *x; $/="s"; while(<>){print $_,"\n";}' success. :) thank you japhy <18> Hello, barcher. <9> putter: you're not solving the 2nd "how's your perl" aren't you? :P <18> SNMP may turn me into a Luddite. <18> It is craptastic. <9> Yaakov: I like you better as a male. <19> Yaakov: do you sleep mate :p <20> hi all <18> LadyNikon: Yes, at night I sleep. <18> LadyNikon: Or try to. <15> Botje: "how's your perl"? no, just trying to allow users to create a p6 regex environment in p5. <18> LadyNikon: But I get up very early. <9> oh. <18> LadyNikon: 4:15AM <20> I've done a POST http request with LWP::UserAgent and I've got a 302 http docuent moved , I saw with ethereal that in the http information there a Location : www.url.com that I need to follow the redirect, how can I get that utl from LOcation ? <20> thank u <9> it's a quiz on perlmonks which had an answer like the one you were asking about <15> ah, neat <9> Blues-Man: LWP::UserAgent *FOLLOWS* redirects <9> afaik. <17> putter: http://perlmonks.org/?node=How's+your+Perl? <20> Botje: yes but <18> 302 is not moved, 302 is "found". <20> I've got an error cause I need the url <20> in that Location part <17> Blues-Man: eh, why don't you just make POST redirectable? <18> Blues-Man: I think LWP::UA can follow redirects. <20> in fact I've got an error such as : Url Not Available <20> mauke: I tried <17> how? <20> I put this <20> push @{ $ua->requests_redirectable }, 'POST'; <20> before doing request <20> and I've got an error page Url Not Available from IIS 5 <20> instead of an html page with Success string <20> so I used ethreal to see
Return to
#perl or Go to some related
logs:
#debian #ubuntu burn ngr ubuntu truetype fonts on Debian ironroses #gimp #math notice nuxil dive into python popen eileen montesin naked
|
|