@# 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



Comments:

<0> <-- Historian.
<1> Why would (\w+)\s+(is) match (aakov) (is) instead of (Yaakov) (is) ?
<2> Odin-LAP: are you already chronicling Yaakov for future history? :)
<3> What's the correct way to connect to MySQL using DBI when mysql is on a nonstandard port?
<2> buu: something else matched the "Y"
<1> PerlJam: There is nothing else in the regex =/
<2> bloom: perldoc DBD::mysql
<0> PerlJam: Naaaah. Somebody decided you can't do that, you have to look up things *after* they happen. Kinda annoying, but, oh, well...
<4> PerlJam: not DBD::mYsQL?
<5> buu: previous match?
<4> or Dbd::MYSQL
<2> buu: you've twiddled your locale such that \w no longer matches uppercase characters?
<1> Botje: Eh?
<4> heh. confusing driver names.
<1> PerlJam: No..



<2> buu: give me the larger context then. (unless you want me to continue making stuff up)
<6> Need some advice. I have to design a program that keeps open a few http connections that refresh automatically. Then, later in the code the program has to call the same http server and login about 9 or 10 more times with different accounts. Here's the real scenario.
<3> PerlJam: thanks
<1> PerlJam: That was more or less it. The string was your comment about yaakov up there, and the regex is qr/(\w+)\s+(is|are|was)\s+(.+)/, it matched just after the Y in Yaakov..
<6> I take calls for a company... and when they call me... it's possible they will call me twice or three times at the same time... because their server isn't smart enough to know when I'm already on a call... so when one call comes in... I have to login to my other accounts and change my availability to "away not taking calls"
<6> I just need to build something to do this for me.
<7> POE.
<7> Chicago: use POE.
<2> Chicago: WWW::Mechanize might be handy.
<1> Chicago: WWW::PowerOfSatan works also.
<8> My manually build httpd with mod_perl is linking against the wrong libperl.so. I manually installed Perl with --prefix=/var/www/perl, and then for mod_perl I set my PATH to have /var/www/perl/bin/perl in the front, and did perl Makefile.PL. I expected my new httpd to link with /var/www/perl/lib/5.8.8/OpenBSD.i386-openbsd/CORE/libperl.so.8.8, but ldd shows that it links with /usr/lib/libperl.so.10.0. Why is that?
<6> integral: what's POE
<2> Chicago: poe.perl.org
<6> PerlJam: thanks.
<8> Chicago: check out http://search.cpan.org/~rcaputo/POE-0.35/lib/POE.pm too
<2> Chicago: POE is a cooperative multitasking system.
<9> Chicago: POE is really cool
<6> kick***.
<1> POE IS COCK ****ING.
<7> Chicago: Think of life before sliced bread, and imagine that instead of sliced bread they invented home bread makers first!
<6> so it will keep my http connects open like objects... and let me thread many of them?
<2> POE is Piece Of Excrement!
<9> Chicago: ine one way or another, yes
<10> Hey. There's a POE component for Asterisk.
<2> Chicago: well, you have to do *some* work, but yes, it can do that.
<7> asterisk-- # badly written C
<11> rutski89, you might wanna ask #apache
<6> immute: thanks.
<8> damir: hmm, yea; why not
<2> Is asterisk that telephony library?
<7> PerlJam: _application_, not library
<7> it sprawls.
<6> dngor: that's another whole side to this... I do answer these calls over a VoIP line...(sip based) but I haven't run it through asterisk... if I did that, then my setup would totally rock...
<8> PerlJam: http://en.wikipedia.org/wiki/Asterisk_PBX
<12> /quit
<7> like other hateful stuff such as nagios, it has a billion configuration files each with their own crap format.
<13> hello
<6> integral: PerlJam: you didn't tell me POE supports Tk and Gtk too! that's kick***.
<14> I wonder if life woul;d have been better if the Unix world had adopted Tcl as the universal format for configuration files?
<7> it also supports Win32, Wx and Qt
<15> anyone here in college or a college graduate? i'm doing an interview and i'd love to know if anyone here would like to help
<6> integral: too bad I didn't start looking this up in april... I could be done by now.
<16> interesting...
<4> configuration files are over-rated. make users happy by using wizards and gui things.
<8> people in #apache didn't know
<7> yrlnry: applications should just work.
<4> then store config in whatever you want.
<8> so nobody knows about my httpd linking thing?
<7> and aliases can be used to set flags
<14> sili:OK, and where does the wizard or the gui store the information that it gathers from the user, then?
<7> yrlnry: the other argument is that a daemon for example should have a control channel, and a prog to access said channel, so your config can be just a shell script, or *any* program.
<7> (viz /etc/rc.network
<14> integral: I'm not sure what argument you mean.
<17> knightrage I am a graduate
<18> hey how do I reset the urllist in cpan, anyone?
<19> wpa_supplicant takes that approach to a certain degree. You can use a conffile or you can do everything from wpa_cli (which is scriptable)
<15> f3ew can I private message you?
<4> yrlnry: in whatever format it wants
<14> sili: You mean in a file?
<8> hmm... is it wrong to do "sudo make install" instead of just "make install"? might that be confusing mod_perl's configuration phase?



<2> brettnem: o conf urllist
<17> sure
<4> yrlnry: sure, files are usually where stuff ends up
<14> sili: But these would not be configuration files?
<18> PerlJam: where do I find valid entries for this?
<4> yrlnry: they would be. i'm just saying that the format doesn't really matter
<2> brettnem: you mean for the URLs?
<18> PerlJam: yeah
<14> "configuration files are over-rated. just..."
<14> But then your "just..." suggestion does not eliminate the configuration files.
<2> brettnem: if you just want to run the initial config again, it's "o conf init"
<4> yrlnry: sorry.
<18> PerlJam: great, that'll do it
<20> is anyone familiar with the internals of Finance::Quote ? I'm just curious about something
<21> jpeg: what
<4> jpeg: ah, i spent last saturday memorizing every line.
<5> sili: quick! what's line 314!
<4>
<5> correct :/
<5> well, almost.
<20> the docs say you can get your info out of the hash via ".$info{"CML","price"}.
<5> it contains two spaces. you only typed one :P
<4> !!!!
<19> jpeg: the docs are dumb or you misread something :)
<20> And I've looped through the hash with keys(%info) - which prints keys as , say :AAPLprice: 34.94
<18> is there a better module to use for search engines than WWW::Search
<1> jpeg: I hope that doesn't work
<1> Unfortunately it looks like it does.
<20> actually hobbs, buu, it does.
<1> jpeg: So where's the question?
<2> What's the question?
<21> question please
<20> so I'm wondering what the internal structure is.. what *is* the hash key?
<20> is the hash a hash of hashes or something?
<21> jpeg: Data::Dumper, perhaps
<19> jpeg: something that looks like ":AAPLprice: 34.94"
<2> jpeg: it's a concatenated key consisting of all of the things inside the {} joined by $;
<20> thanks hobbs. I'm glad you were here.
<19> jpeg: hash keys are strings. :)
<18> is there a better module to use for search engines than WWW::Search
<2> jpeg: it's the same as if you'd done $foo{join $;, "CML", "price"}
<21> brett:: Your::Custom::Module, perhaps??
<18> doh!
<20> that makes sense
<19> Is there a better client to use for incessantly repeating on IRC than mIRC?
<1> jpeg: It is very perl4.
<21> is there a better medium for wasting time than IRC?
<5> hobbs: telnet.
<2> centosian: frozen-bubble!
<19> it's even in perl.
<20> hobbs: before my time.
<21> oh ****e I'm not even going to *start* playing any new games
<2> buu: It still has its uses in perl5. (I use it occasionally)
<22> irsi
<20> aahhhhh
<1> PerlJam: For.. what?
<1> Hrm.
<1> Now I do evil.
<14> I wonder what software might break if $; were changed from FS to ",".
<7> mine.
<23> yrlnry: all perl software?
<7> I use it as a easy way to get FS
<24> hello! i have a question..
<23> And we don't have the answer..
<25> perlbot: ask
<26> One day, Kn00bie joined #perl, and asked, "Tell me, is it proper to ask first whether one should ask a question, or do ye not require such things?" One of the masters raised his hand, and a towering bot descended from the heavens and knocked Kn00bie to the ground, leaving a large wet spot. Lying there, head spinning, Kn00bie became Enlightened.
<24> i have a list of numbres
<7> matt_: Read this channel's message: "Don't ask to ask, just ask"
<27> how do I trim a string of leading + trailing whitespace + newlines? Is there a function to do this, or do I just regex it ?
<7> sheesh, that's just baroque.
<4> perlbot: trim
<26> to trim, do: s/^\s+//, s/\s+$// for $string;
<24> i want to find the arithmetic mean and standard deviation of a list of numbers!
<19> jsoft: regex is fine. (and newlines _are_ whitespace)


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

centos yum [Errno -1] header
#oe
sendmail e-mail disapear
#perl
activate eth1 dapper terminal
y2pmsh broken requirement
#css
etch alsa dmix
#linux
pcihcp



Home  |  disclaimer  |  contact  |  submit quotes