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



Comments:

<0> It was the msnbot actually.
<1> mmlj4: Ouch, teehee.
<2> robots.txt!
<3> PerlJam: robots.txt
<0> yahoo and google are currently spidering my site and *they* are wreaking havoc.
<1> robots.txt
<0> s:2nd/are/aren't/
<1> mmlj4: Good luck!
<4> eh? coordinated spidering?
<2> a useful perl6 feature!
<0> It's just msnbot that's causing difficultly
<0> (well was anyway)
<4> and I thought yahoo used google for searching ..
<5> Yaakov: you gonna be at yapc this year?



<5> going to yapc?
<1> mmlj4: There is an 80% probablity.
<6> They did for a little while, then Overture bought them or they bought it
<0> Khisanth: Apparently they are all on the same schedule as msnbot, yahoo, and google all seem to hit my site at the same time.
<5> ENOPURL?
<1> Here, sure.
<6> http://www.search-this.com/search_engine_decoder.asp shows the relationships between search engines (requires Flash)
<2> You're no longer in Kansas, or this isn't your grandfather's #perl.
<7> Yaakov: I've had the strange experience of people guessing my age to be much younger than it is
<7> as someone who always looked /older/, I'm trying to appreciate it ;)
<8> how do i sleep like for a half or a quarter second ?
<7> (this is a recent thing)
<9> People always think I'm like 60 (unless they see me).
<2> ProN00b: blink?
<10> hey integral!
<6> ProN00b: usleep in Time::Hires
<2> CIASENMA!
<4> ProN00b: select
<8> humm
<4> ew73: you are really 80?
<8> i think time::hires sounds good
<9> Khisanth: No. :(
<2> I hate this room: it promotes putting stuff on the bed
<4> that just means you're a mess
<11> pulling stuff on the bed....
<12> integral: That's a good thing if "stuff" is defined as significant other.
<2> it's major axis is orthogonal to the only adjoining wall!
<2> PerlStalker: :-(
<13> Awhhh.
<11> PerlStalker: or better, an insignificant other!
<4> your "room" has only one wall?
<11> haakakakhahakkakakawaaaaaw
<14> Do you live in a Klein bottle?
<2> Khisanth: only one with a bed!
<13> Yay!
<12> integral: You could try moving the bed.
<2> PerlStalker: Only if I can tolerate a bookcase standing alone in the center of the room
<12> Put another book case behind it to keep it company
<4> integral: hang the book case on the wall :)
<15> is it really necesay to flock if your opening to write anyway?
<11> are <input> tags only valid in <form>?
<15> afaik
<2> jdv79: something else may be opening to write.
<12> sili: Generally, yes.
<11> word.
<2> jdv79: plus you can't open to write with open since that truncates BEFORE the lock!
<16> how can i make this happen from a shell prompt: QUX="QUX"; echo FOO | perl -pe "s/FOO/$QUX ${BAR}/" => QUX ${BAR}
<15> isn't writing implcitly exclusive
<2> jdv79: of course not.
<2> see perlopentut for some correct flock examples
<16> i've tried backslashing everyting i can think of in ${BAR} with no luck
<2> Tekhne: use ' not ""
<15> i don't want examples as much as the explanation of what's going on behind open
<2> Tekhne: then add a backslash before the $
<16> integral: i need $QUX to be expanded
<0> Tekhne: use single quotes and p*** the value of QUX rather than interpolating it
<16> integral: i've tried that
<15> i thought writes were exclusive for some reason
<2> jdv79: open calls open...
<16> PerlJam: ok. i can do that. i was just thinking there was some way of doing with just backslashing
<15> thanks



<2> Tekhne: just pull it out of %ENV if it's really an env var
<2> jdv79: so it's largely got the same semantics as the posix open in the end
<2> jdv79: it's just sugared more than sysopen
<10> Khisanth, how are the interviews going?
<16> integral: well, i'm helping a friend. and $QUX is a value in a bash shell script. perl gets called inside the shell script.
<15> ok
<16> so not really env var
<2> the >, < have the same semantics as the shell, so < is O_RDONLY, but > is O_WRONLY (?) | O_TRUNCATE
<2> Tekhne: it's not exported? p*** it as a cmdline arg is best then (or export it!)
<16> integral: yea. ok.
<15> so in short opening a file for writing will not fail if something else is writing at the same time?
<2> jdv79: nope.
<15> thanks
<2> locking is separate to opening things.
<0> jdv79: hence flock()
<15> yeah, for some reason i thought that was a C thing or something:)
<15> i basically don't know what i'm talking about most of the time;)
<11> i couldn't agree more
<15> sili, do any work on S::B?
<11> pfft i wish
<16> PerlJam: hmm. so what would the command line look like? perl -pe wants to open the first argument as a file.
<15> ditto on the S::A::B
<11> we fail :(
<15> literally no time
<15> for now
<2> Tekhne: shift it off early in a BEGIN block!
<15> its not dead yet
<11> i know the feeling. i'm been swamped with paid work and the business
<11> and the woman
<11> dang her.
<16> integral: perfect. thanks!
<15> dead weight man - shed it!
<15> :)
<11> word
<15> whoa - 10 mins til the worklessness!
<11> lucky bastard
<11> i got 2:40
<11> left
<10> 1hr for me!
<6> Is there any system to turn some sort of fairly simple resource file into a Perl/Tk interface which you then plug the program logic in separately?
<16> thanks PerlJam and integral
<2> like glade does for gtk I guess
<6> yeah
<17> apache2 tries to download .pl files instead of executing them, anyone knows what's wrong in my config on ubuntu linux ?
<2> You haven't got .pl configured to run the cgi handler.
<2> hint: AddHandler or ScriptAlias.
<18> question: i wanna use xslt, which module do i need to install?
<9> There's a couple, libXSL I think is the Good one if I recall.
<18> libxsl
<2> yeah, XML::LibXSLT is the best one
<18> ok thx
<19> What's a good portable way to rename a file?
<9> telekenesis.
<20> pdbogen: what about: perldoc -f rename ?
<21> The perldoc for rename - is at http://perldoc.perl.org/functions/rename.html
<19> Ani-_ : I DON'T BELIEVE YOU. (thanks.)
<22> Hi im having a problem, code : warn Dumper(${$obj}{$i}{'type'}); my $tmp = eval(${$obj}{$i}{'type'});..... output : $VAR1 = 'obj'; Can't use string ("obj") as a HASH ref while "strict refs", any ideas ? im going insane on this :S
<14> Maybe you meant $obj->{$i}{type}...
<22> that gives me the same message
<22> :S
<20> Maybe you want to check what $obj really is? Is it a string? Is it a hash reference?
<20> And why the hell are you using eval on that line? It's completly pointless.
<22> its a hash reference
<22> Ani-_: cause ive tried everything.
<20> In fact, you are going to EXECUTE the code stored in {'type'}. Are you SURE you want to do that?
<22> erm no
<23> hi, how can i search for an exact pattern? with =~ /x/; it will match all x'es in the string, but i want that it matches exactly?
<20> eval: my $i = 3; my $obj = { $i => { type => "5 + 5" } }; my $tmp = eval(${$obj}{$i}{'type'});$tmp;
<24> Ani-_: Return: 10
<20> eval: my $i = 3; my $obj = { $i => { type => "5 + 5" } }; my $tmp = ${$obj}{$i}{'type'}; $tmp;
<24> Ani-_: Return: 5 + 5
<20> eval: my $i = 3; my $obj = { $i => { type => "5 + 5" } }; my $tmp = $obj->{$i}{'type'}; $tmp;
<24> Ani-_: Return: 5 + 5


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

debian sarge HiMEM kernel
#php
cpu Exception AND 00000000000004
perlcoc
centos heartbeat2
difference btw redhat and fedora
#linux
yast linker chek
#suse
#fedora



Home  |  disclaimer  |  contact  |  submit quotes