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



Comments:

<0> mauke: gah, yes, you're right. I forgot again.
<1> HA HA
<0> It took me ages to full comprehend what the manpage meant when it said it modified template
<0> *sigh*
<0> This is why I avoid C.
<2> integral: it just means that it modifies the 'XXXXXX' part, no?
<0> yes, and thus, you get your filename.
<0> Just 24hours ago, I wrote code which did this. *sigh*
<2> heh
<3> integral: because C can't return interesting values
<2> hobbs: C returns 0... what else do you need?
<0> hobbs: yeah, but a stack memory allocator is a great deal easier to manage sometimes
<3> 1!
<2> bah... 1 is overrated
<0> although pool based, without GC, just releasing whole pools explictly, is actually pretty damn good
<4> I have a question about system()... I'm trying to automate the installation of several programs. I can run ./configure just fine, but when I try to run make with system(), it doesn't run it, and then just continues with the rest of the script.



<2> perl -e '($m,$y)=(localtime)[4,5];$y+=1899+(($m=($m-1)%12+1)%12?1:0);printf "%02d-%04d\n",$m,$y;' # finale!
<4> I have a feeling that I am just not thinking far enough outside of the box.
<5> Biff`: use make, not perl.
<5> If you need perl to do something, call it with make.
<4> I'm not sure I follow.. there are 5 separate programs I want to install, with their own configure scripts and make files.
<5> Use make to run the whole thing, create a Makefile.
<4> ok. I'll go read up on that. Thanks.
<6> make clean, not war
<7> make love;
<5> Don't know how to make love.
<6> No rule to make target, stop;
<3> No rule to make target 'love'. Stop.
<6> oi
<6> we're ****ing nerds
<5> No, YOU are.
<5> YOU ARE A NERD AND A GEEK.
<7> Yaakov is a hunk
<6> AND YOU SIR, ARE A SWEDE
<6> heh...site loads a helluva lot faster since I killed eggdrop
<0> TURNIP.
<6> Whats a good advertising company to go through, decent cpm, no pop ups/pop unders/annoying ****
<5> Swede?
<8> how do I calculate 3^4 ?
<5> 3**(4
<5> 3**4
<8> thanks
<9> you can do that now? oh wow, I was doing 3*3*3*3, and then I thought I was all cool when I made a function to do it for me! it even let me pick the power!
<9> ....just kidding
<3> zshzn: no fractional powers though, unless you get it from Math::Complex ;)
<10> eval: .5**.5
<11> mauke: Return: 0.707106781186548
<12> you can do fractional powers of postivte number
<12> it's fractional of negative that needs complex
<9> thats a positive example hobbs gave
<12> (even before it was the llama course)
<3> mauke: hrm. Misremembered then. I swear it didn't work last time I tried :)
<10> eval .5^.5
<10> eval: .5^.5
<11> mauke: Return: 0
<10> hmm, works
<12> ^ is xor
<13> eval: .5**.5
<11> Ani-_: Return: 0.707106781186548
<14> "honkzilla" at 209.62.230.253 pasted "Crypt::DH test hangs" (9 lines, 488B) at http://sial.org/pbot/16531
<12> eval: .6^.5
<11> merlyn: Return: 0
<12> it's doing int(.6) xor int(.5)
<15> Can someone suggest a course of action to troubleshoot a hang in the tests while building Crypt::DH?
<10> eval: "p R " ^ " E L"
<11> mauke: Return: Perl
<1> TENTACLES.
<13> honkzilla, which one?
<15> http://sial.org/pbot/16531
<15> Looks like test 19 is hanging...
<8> any idea how do I get a random number from an array ?
<8> something like, get a random index
<6> a random element, you mean?
<10> ion_bidon: perldoc -q "random element"
<16> ion: perldoc -f rand
<17> The perldoc for rand - is at http://perldoc.perl.org/functions/rand.html



<8> $arr[rand(10)]
<10> SURPRISE!
<12> my $one = $arr[rand @arr]
<3> ion_bidon: $arr[rand @arr], better :)
<12> arr arr arr
<1> $ar[rand@ar]
<8> thanks
<6> isn't perl grand
<12> $l[rand@l] :)
<15> Ani-_: perl v5.8.7 on both ubuntu and CentOS 4.2 are having this problem.
<3> no, it's just rand.
<12> not just rand.
<12> want to scale it by size of array
<1> "Who has the might as master of ry'lei to drive humanity insane!"
<3> merlyn: you're taking me way out of context :)
<10> Context: < Shadda> isn't perl grand
<1> merlyn: $[[rand$]]
<1> I bet that one doesn't compile =[
<1> eval: $[[rand$]]
<11> buu: Error: syntax error at (eval 126) line 1, near "$[["
<1> eval: $][rand$[]
<11> buu: Return:
<1> eval: $][rand$]]
<11> buu: Return:
<3> buu: I've run into that one before. You get @] but not @[ somehow :)
<12> @{"["}
<12> @{"]"}
<12> that should work
<12> since punc vars are forced into main:: anyway
<12> punc'ed!
<18> buu
<6> you've been tomahawked. That's my new show. tomahawked.
<1> Well, yeah, but that's not as entertaining.
<10> eval: use strict; "merlyn"->[42]
<11> mauke: Error: Global symbol "@merlyn" requires explicit package name at (eval 126) line 1.
<18> I want something cool to code
<10> eval: use strict; our @merlyn ; "merlyn"->[42]
<11> mauke: Variable "@merlyn" is not imported at (eval 126) line 1. Error: Global symbol "@merlyn" requires explicit package name at (eval 126) line 1.
<1> Elly: Make me a arbitrary event viewer that works as an irc client.
<13> honkzilla, do you have /dev/urandom? :/
<15> Ani-_: aye
<1> Hrm. Is there a set of characters an email address may not contain?
<1> Ignoring the "comment" and "proper name" fields.
<15> Ani-_: think it's blocking due to lack of available randomness?
<12> buu - RFC822
<1> merlyn: Bleh.
<19> hey all.. I'm trying to call a Net::SSH::Perl from a cgi script and I keep getting a perl core dump.. any ideas?
<18> buu: 'arbitrary event viewer'?
<1> Elly: Yes!
<12> why bleh - you want the right answer, go read rfc822
<15> Ani-_: nvm. urandom doesn't block, apparently.
<12> the set is very small
<18> ?
<1> merlyn: I don't want the right answer, I want a lazy answer =[
<19> I don't even know what to do with a perl core dump
<12> actually, then the set is empty.
<13> honkzilla, and it works? :/ Can you run: perl -wle 'open $fh, "<", "/dev/urandom" or die;$x=sysread $fh, $y, 5;print "$x, " . length $y;' # ?
<12> because any char may appear in an email address as long as it's escaped properly
<1> Elly: It'd look vaugely like irssi or some such, you add a "data source" which generates events. The client reads and stores the events and then presents them to the user in configurable windows
<1> merlyn: ****.
<12> except maybe \0
<12> for example, "foo,bar"@stonehenge.com is a legal email address
<7> but I WANT a null email address!
<1> Figures.
<12> as is fred&barney@stonehenge.com
<7> :'(
<12> that one even has a bouncer. :)
<15> Ani-_: 5, 5
<19> so anyone know why I'd be getting a perl Core dump with Net::SSH?
<1> brettnem: Hell no.
<12> so asking "what can't appear in an email address", the answer is "nothing but NUL"
<3> brettnem: dunno, start by inspecting the core dump :)
<18> buu: hmm
<18> It'd be fun on linux


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#fluxbox
#osdev
install Net::Ident os x
#perl
vgetty debian
Makefile shopt: Command not found -bashrc
pplive prosieben
Cannot assign requested address tor ubuntu
#nvidia
nxclient cut paste



Home  |  disclaimer  |  contact  |  submit quotes