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



Comments:

<0> Would D::D suffice?
<1> yay vonnegut
<2> Cctoide: no, I'd stick with Storable
<2> Cctoide: D::D really isn't that suitable for serialization
<3> greetings
<4> That said, do you have any ideas for a really scary reality TV show?
<4> "C students from Yale." It would stand your hair on end.
<4> hahahhaha
<5> how can i have the perl debugger repeat the last 2 commands?
<6> jidar: "a day in the life of #perl"
<3> if I have a list of nodes qw/node1 node2 node3/ is there a quick way to adress the value of $tree->{node1}{node2}{node3} withouth implementing an advancing loop?
<4> Botje: tis why I read #perl so often
<3> something like a slice I guess...
<6> |RABBIT|: slices are horizontal ..
<7> Down teh rabbit hole we gooooooooooooooo...
<8> |RABBIT|: recursion



<9> these need to go today 2 laptops, both made by good manufacturers. price is 500$ each for them and include shipping, case and wireless router. message me if interested on aim at ogd443 or msn at mcsltd2@hotmail.com
<10> hey is there a way to push a value into an array at position x?
<1> geezer stares
<6> $ref = $ref->{$_} for @nodes
<7> thetide FFS
<7> He's still spamming that?
<6> thetide: **** off, spammer.
<7> It must be a scam.
<8> sean_micken|work: see splice
<8> perldoc -f splice
<11> The perldoc for splice - is at http://perldoc.perl.org/functions/splice.html
<6> lilo: please get that ****er banned. we all know he's hawking stolen merchandise
<3> Botje: that's neat
<3> I was doing a full blown for with named vars and ****
<3> thanks
<12> Botje: pm someone on /stats p
<7> WEEEEEEEEEEEE! out goes thetide.
<6> integral: lilo is closer
<6> or i could poke dmwaters, but he's no longer among us
<12> *she*
<6> on the internet, everybody ***umes you're male. :P
<6> still, apologies where apologies are due. it's late and i'm tired
<1> ITS A HE
<2> What's the saying? "IRC, where men are men, women are men, and little girls are feds"
<13> hehe
<10> friedo: so if i wanted to push an element into an array and make the array grow, i'd have to use 2 splices?
<1> push @ls, $elem
<1> NO SPLICES TO PUSH
<10> sili: i want to push $elem into position $x of @ls, though.
<1> that's not a push.
<1> it's a splice.
<10> i dunno how to do that without replacing the value at position $x already.
<10> i want the array to grow.
<1> perldoc -f splice
<14> splice @ls, $x, 0, $elem;
<11> The perldoc for splice - is at http://perldoc.perl.org/functions/splice.html
<2> sean_micken|work: and no. splice @a, $pos, 0, $val
<10> hobbs: tybalt89: wouldn't that be the same as $a[$pos] = $val; ?
<10> that's not what i want.
<2> sean_micken|work: no
<1> sean_micken|work: that's an ***ignment.
<14> sean_micken|work: no
<2> sean_micken|work: that would be splice @a, $pos, 1, $val
<1> go read -f splice
<2> sean_micken|work: one says "replace 1 item at $pos with ($val)", the other says "replace 0 items at $pos with ($val)"
<14> perlbot: tias
<15> Try It And See: the best way to learn if something works.
<10> excellent.
<10> thank you sili, hobbs, and tybalt89 :)
<1> you guys let him get away without rtfm
<1> blasphemy!
<16> does anyone have a pointer to a good explanation of how to install a given perl module
<16> in particular I want to install Parallel:MPI
<1> perlbot: life with cpan
<15> Information pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/
<1> man cpan
<1> cpan -i Mod
<17> don't read perldoc cpan. that's crap. read perldoc CPAN. seriously.
<11> The perldoc for cpan - is at http://perldoc.perl.org/cpan.html
<18> bah. i have the unfortunate need to create an indeterminate number of vars on the fly (no more then 1000). anyone ahve a slick way of doing that?
<19> shift8: use an array?



<2> shift8: you do not!
<17> shift8: an array or a hash or some more complicated data structure.
<2> shift8: besides which, it doesn't actually take any doing.
<2> shift8: but anything you can do in the symbol table you can do less evilly with a hash
<20> man
<20> try generating Tk menus automatically
<20> it's not fun
<21> Elly: Do it with AUTOLOAD! :)
<21> That's fun, evil AND slow!
<22> perl is a pretty nice language
<22> lot of things it does makes it easy to use
<18> hobbs: i need threads:share an indeterminant number of hash refs with Data::Traverse.
<22> just using sub functions
<2> shift8: okay, so?
<18> they need to be non-anonymous
<2> do not. you missed the point there :)
<18> hobbs: i'm all ears :)
<17> shift: you can create each of them as non-anonymous, and then ***ign them to a hash
<2> shift8: it's not that you can
<2> shift8: nevermind ;)
<18> b_jonas: datastruct is the result of an XMLL::Simple parse...
<18> hobbs: did i miss something??
<2> I think so. But I dunno for sure. I'm pretty sure you can make it work without giving everything names in the symbol table though
<18> share won't take a ref.
<16> sili: I tried that life with CPAN link you sent to use cpan command and it says it doesn't know what Parallel:MPI is
<1> what is the error messsage
<1> and what command did you give
<1> Parallel:MPI is a valid package name.
<16> i Parallel:MPI
<1> is not****
<2> jetsaredim: it's more likely to know what Parallel::MPI is :)
<1> no.
<14> missing :
<23> Hi tybalt :D
<14> hi Daveman
<16> hobbs: how do I know if it installed correctly?
<1> "it works"
<24> how come: perl -MFile::Find -le 'find sub{print -e $File::Find::name}, "." ' # lists "1" only for directories?
<2> jetsaredim: did it tell you something went wrong?
<16> hobbs: I figured that out - I was thinking i was install
<16> hobbs: in any case, how do I go about troubleshooting compile errors?
<2> through application of common sense and possibly pastebots
<16> hobbs: it got plenty of incompatible type errors
<16> I suppose I'll just contact the package owner
<25> is it correct that if(-d $foo) {print "$foo\n";} always prints $foo if $foo is a directory?
<24> oh it does chdir...
<26> integral: i've set the keepalive time to 30 (secs) and for the tcp client connection in my perl script ive set timeout => 30 -> after 30 seconds the connection is still not closed because of the timeout, i don't understand it anymore, wtf is wrong?
<12> have you used tcpdump?
<27> what does as function return if no return value was specified?
<6> ryan`: undef, generally
<26> nope integral
<12> mmm, idempotent semirings with an exponent
<12> blehhhhh: why not?
<26> integral: why should i use a sniffer for that ?
<17> ryan`: the return value of the last statement. not undef generally.
<27> ah
<27> thanks
<17> it returns undef or an empt list if you give a return; statement without arguments
<12> blehhhhh: how else are you going to debug what's actually happening on the wire?
<26> integral: you told me to write to the sock and wait for a feedback.. but this doesnt work
<12> *shrug* you shouldn't keep coming back for help from me then.
<12> you know I'm talking rubbish now, obviously
<26> ok :(
<12> ugh, someone's turning a mixture of spinors and regular algebras into automata :-/
<12> *push-down automata
<12> did you know that you can intepret tensors as trivalent graphs?
<28> Now complain
<12> lines represent deltas (where you just rearrange and identify indices), and nodes represent epsilons
<12> so a circle for instance is the dimension of the space, since it represents delta_{ii}
<28> integral, I think you'd benefit from crayons up your nose.
<28> Might dumb you down enough so humans can understand you.
<6> we're going to need a bigger crayon


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

WARNING: Error inserting videodev Operation not permitted
tomize freenode
bazooka asg
#css
#perl
/dev/ht0: Input/output error
mem boot 2.4.27 kernel sarge
#python
debian + libsata
ubuntu xvidix



Home  |  disclaimer  |  contact  |  submit quotes