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



Comments:

<0> what the hell does leaking scalars mean in perl?
<1> hmmmm
<1> dunno
<1> i pretty much just ***ociate perl leaks with circular refs
<2> tag_: maybe pastebin your code? or create a small testcase?
<1> which are scalars...
<3> whoever: feel free to check it out
<3> cpan POE::Component::Pool::Thread
<4> doesn't perl do a super duper mark-and-sweep memory garbage collection when the program ends?
<2> tag_: no time to
<3> Also available here: http://www.blisted.org/browser/trunk/POE-Component-Pool-Thread
<3> In theory, the leak would be somewhere around here... http://www.blisted.org/browser/trunk/POE-Component-Pool-Thread/Thread.pm#L234
<0> GumbyBRAIN: olestra causes anal leakage of scalars
<5> Lots of people who could is way more fun when i try staring at these kinds of leakage.
<4> a leak here, a leak there, pretty soon you are talking about some real memory
<0> eval: $a = \$a;



<6> simcop2387: \$VAR1
<0> heh
<4> kill buubot with memory leaks
<4> there's an interesting thought
<0> eval: $a = \$a; $b=\$$a; $a=\$b;
<6> simcop2387: \\$VAR1
<0> eval: $a = \$a; $b=\$$a; $a=\$$b;
<6> simcop2387: \$VAR1
<0> hrm
<7> You don't need memory leaks to kill buubot, just a bad jseval.
<0> how the hell do you create a circular reference that leaks in perl?
<0> jseval: ***
<6> simcop2387: Error: Error: ReferenceError: *** is not defined at line 0: (null)
<4> eval: my $a; my $b; $a = \$b; $b = \$a;
<6> Teratogen: \\$VAR1
<7> jseval: "foo".match(/(?<=f)oo/)
<6> Aankhen``: Error: Error: SyntaxError: invalid quantifier ? at line 0: "foo".match(/(?<=f)oo/)
<8> eval: { DESTROY { print "collected" } my $a = bless {}; $a->{butt} = \(my $b = bless { butt => \$a }) } sleep 2
<6> wolverian: 2
<7> I can't remember what it broke on.
<7> If I do, I shall be sure to inform you.
<8> well, anyway. those aren't collected until global destruction
<8> (and I need to use better variable names)
<0> eval: $a->{butt} = \(my $b = bless { butt => \$a }); $a
<6> simcop2387: {'butt' => \bless( {'butt' => \$VAR1}, 'main' )}
<3> anyway
<3> you see my thread_entry_point
<3> help me find the leak
<0> GumbyBRAIN: olestra
<5> olestra causes anal leakage of scalars.
<8> simcop2387, the bless is just to see the collection
<0> tag_: i don't entirely understand it, or how to find something like that, i guess a leaked scalar with threads would be caused by a shared one referencing a non shared one?
<7> GumbyBRAIN: ZOMG Dragonlance!
<5> Hindsight is sometimes used to have a list of scores, say, and you lose some of the countries that are like zomg and flip it over with. Florence king is messed up in two different ones, both with sticky keys.
<0> tag_: causing the non shared one to not be collected properly
<1> **** me
<1> Your personal rate of return: -4.34%
<1> wtf is the point?
<9> sili: i'll let you loan me some money with a -4.00% interest rate... good investment opportunity ;)
<1> i wish i didn't get so much junk mail... what a waste of paper
<10> GumbyBRAIN, verizon ****s
<5> What ****s is the module iptables::ipv4 since it is not but rather weirdchar . E . Weirdchar . T is beyond me.
<10> GumbyBRAIN, THUNDERCATS....GO!!!!!
<5> I'll go ask dan klein.
<11> GumbyBRAIN: don't ask him!
<5> Dec, when configuring cpan, it asks you for poco-irc's requirements so i could get him to ask him.
<12> hm, in a webapp i want to define a button with a fixed Value but flexible name (following a certain naming convention). since that will end up in a hash with the name being the key and the value being the value i wonder how i could best check for the flexible hash-key.
<11> I'm lost.
<13> So am I
<14> How can I daemonize a perl script?
<13> Also at "flexible hash-key", :?
<14> hmm, Net::Server::Daemonize seems easy
<15> rutski89: Proc::Daemon
<14> zamolxes: awesome, ty
<14> hmm... no where can i get a list of all stocks symbols traded on the NASDAQ
<16> hi all
<16> Good morning
<14> morning
<13> GumbyBRAIN: Stop talking.



<5> From talking to the final newline in the same whether you can share your ignore list keeps growing.
<0> GumbyBRAIN: SHUT THE HELL UP I CAN'T THINK!
<5> am i the base of your face. What'cha going to hell.
<0> GumbyBRAIN: you are now GumbyBRAIN Thompson, when i say "Hello Mr. Thompson" you say "hello"
<5> You are now in the gumbybrain ?
<17> merlyn: I handed out a UUOC Award in another channel just now
<0> UUOC?
<18> useless use of cat
<18> cat ... | grep or cat ... | sed for example
<0> i've done that without thinking before
<17> simcop2387: merlyn used to hand out UUOC awards once or twice a week in the newsgroup comp.unix.shell
<0> GumbyBRAIN: Hello Mr. Thompson
<5> If you are now gumbybrain thompson, when i say "hello mr. Thompson.
<18> grep and sed are perfectly capable of handling filenames as arguments
<0> jink: so is the shell! sed < file
<0> cat has few non-"useless" uses actually
<13> eval: $foo = { bar => sub { 1+$_[0]; } }; $foo->{bar}(5);
<6> eggzeck: 6
<0> i've done cat | less before actually....
<18> but that doesn't work for grep -H or sed -i
<0> weird
<18> the < i mean
<0> neither would cat then!
<18> sometimes you need the filenames, and stdin doesn't suffice
<0> definately
<19> GumbyBRAIN: sometimes it's hard to be a woman
<5> But it's in the sun; for the plague that is reblessed as a woman?
<0> BinGOs: i don't want to know about your tran***ual tendancies
<0> not in #perl anyway
<19> Good morning: idlers, freaks and n00bs of #perl !
<19> oh and simcop2387 >:)
<0> who idles the most in #perl anyway?
<20> i idle as long as I am able to stay connected
<21> me too
<0> kib: you just jinxed it
<19> Someone who has joined this channel but never ever spoken.
<0> naqit: same with you
<0> BinGOs: i bet one or two exist
<20> simcop2387: thnkas....goot to know I can do something right
<19> Flibble17247 for instance.
<0> heh
<21> i would have a question
<21> but no sure if you can help me
<21> *not
<0> perlbot ask
<22> Ask forth your question to the all-knowing channel and we shall bestow upon you the answer of correctitude.
<19> Try.
<0> perlbot n00b
<0> hmm which one is that...
<21> ok
<0> perlbot question
<21> i am working on console
<0> damn which one is the one with kn00bie
<21> and i want to print out cursor sign
<21> *signs
<21> to move the cursor over the screen
<0> you mean blinking _'s?
<21> yes
<21> i dont want to use curses
<0> perl itself can't (easily) do that, Curses should help considerably with that
<0> ha
<21> yeah its ****
<2> check how curses does it
<0> naqit: basically you'll have to learn the command codes to the terminal and output them yourself then AFAIK thats the only way to do it
<21> when i getch a cursor sign and then print it after that
<21> it functions
<21> you mean that escape sequences=
<21> ?
<13> eval: $foo = { sort => sub { sort { $a <=> $b } @_ } }; [$foo->{sort}(45,876,54,3)];
<6> eggzeck: [3,45,54,876]
<21> maybe it is easyier in C
<21> then i coul do a system()
<2> why would you use system() ?


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

home_maildir
#linux
debian Error inserting powernow_k8
#debian
everybuddy ubuntu install
win32 codec* suse rpm
Debian downgrade perl-base
etch device /dev/dvd dvd1
debian module hid not found
#debian



Home  |  disclaimer  |  contact  |  submit quotes