| |
| |
| |
|
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> b_jonas: ya, basically I want to maintain the population of the 5 child process and whichever one died the parent will notice and fork a new one to replace it, the thing I predict now is what if I want to exit the parent to damonize it ? then all 5 will be zombie processes ? I do have to daemonize it since it should run as a daemnon <1> there is a module for managing a process pool, and another for doing pre-fork serving <2> hey all.. I have an object question.. if someone can help me out.. <3> if you exit the parent, they won't be daemon processes I think, but then how would you refork if one of them dies? <1> brettnem: sorry, I can't because my mind reading skills are rusty. <1> heng: daemonise, then fork the children. <2> I'm using berkeley DB for dictionary data.. the value of one of my queries returns an object.. how do I tell perl that the return value IS an object (I'm used to calling new) <1> but plenty of books like APUE discuss this stuff. <4> brettnem: What? You don't need to tell perl if something is an object <4> brettnem: It already knows <1> brettnem: umm, berkeley DB doesn't store perl objects... Maybe you want to use Storable to serialise your objects. <2> integral: Can't locate object method "get_key" via package "Cache::Object=HASH(0x8165e94)" (perhaps you forgot to load "Cache::Object=HASH(0x8165e94)"?) at ./dump.pl line 18. <5> brettnem: that's not an object, that's a string <1> brettnem: you've stored a stringified reference, "Cache::Object=HASH(0x8165e94)". <2> I'm so confused... heh <5> brettnem: it's just a string
<6> brettnem: you're using DB_File ? <5> it doesn't mean anything <1> laughing in the face of the unknown is best not done. <1> BerkeleyDB > DB_File <2> I'm using Cache::BerkeleyDB.. and I want to use the regular berkeleyDB routines to get at the Data <1> why? <2> because I want to write a C routine to access the data directly <7> hallowed are the buu <2> yeah for the key value pair, it's returning the following at the value: Cache::Object=HASH(0x8165e94) <1> if you want to access the data you'll need to store it in a format that C can cope with... <1> and is useful. So a stringified reference is not useful. <2> it's berkeley DB.. C can work with that. <7> mmm... stringification <8> simcop2387: Bleeding edge Perl contains heisenbugs. It can't be helped. <1> no, you're trying to store a perl *object*, brettnem <9> dngor: heh <1> C cannae cope with _that_. <9> perlbot calc 2160*16/9 <10> 3840 <2> oh.. I see. <2> so that value "Cache::Object" is a perl object. <9> i want a 40" lcd capable of doing 3840x2160 <1> no, it's a string. you're not even saving the object. <2> Cache::Object=HASH(0x8165e94) is a string? <1> yes. <11> (looks like a hash to me) <2> why don't I see it? Why does it return that when I print it? <1> you see that when you print it because it is a string containing that. <9> jidar: HASH(...) is a string, it WAS a reference, but isn't now <11> simcop2387: I was poking fun :P <1> it *is* possible to have a string that looks the same as a stringifed hash you know. <2> hmm do I just dereference it? <1> eval: print {}; return "HASH(0x00405633)" <12> integral: HASH(0x842ed38)Return: HASH(0x00405633) <4> brettnem: You don't <5> brettnem: you can't dereference strings <4> brettnem: Once it is a string you don't get access to it any more. <1> brettnem: you can't, it isn't a reference, it's a string that looks like a reference that's been stringified <1> and if you're storing it in a DB, the original object will have been destroyed... <2> ok.. so I can't do anything with that perl object then? <1> it is *NOT* a perl oibject! <5> brettnem: it isn't a perl object <1> you're storing the data in the DB wrong! <5> brettnem: it's just a string <2> haha <2> Cache::BerkeleyDB is writing the data <9> GumbyBRAIN: *** <9> BinGOs: FIX HIM <7> gumbybrain what do you eat for breakfast? <13> HALO <1> brettnem: wrongly it seems. <6> BinGOs: feed it the collected works of buu! <7> :O <2> DOH <2> hmm.. anyone use Cache::Memcached? <1> brettnem: perhaps it expects the user to perform necessary serialisation. <4> Botje: Actually that would be kind of entertaining.. <1> The ELEPHANT cabbage is sitting on the GREEN. <6> had too many leaves, eh? <1> this is so the wrong time to be reading gcc source
<4> Elly: ZOMG <3> integral: reading the gcc source? it's always the wrong time for that I think <13> buu: Shoggoth on the Roof is hilarious. <9> cube it bitch <14> You really know how to take the fun out of a ****ing chest wound. <9> @find () () (bitch) <14> it uses a weird python make replacement so fixing it is a bitch | well xmllint doesn't bitch | HDPE is a bitch | coderman, contention due do soft metrics is a bitch | that learning curve is a bitch | putting up drywall is a bitch | rhes3 is a bitch | so job allocation is a bitch | czthwrk is a bitch | haha and this chick is a bitch | It isn't cable knitting, which is a bitch | Life is a bitch <15> GumbyBRAIN: beloved Andi <9> Yaakov: i broke him last night <9> Yaakov: i gave him a couple md5sums <16> oh noes <15> GumbyBRAIN: WAKE UP <9> Yaakov: and BinGOs is being a lazy bastard <13> GumbyBRAIN is borked! <9> @find (Gumbybrain) () () <14> Gumbybrain is a source tree and stupid things like fetches rss feeds | Gumbybrain are you getting at o.o? | Gumbybrain is a jive-*** mother****er | Gumbybrain are you rindolf | Gumbybrain is a little excited, she is now learning to master the most reasonable way | Gumbybrain is a woman for chancellor *rolls eyes | Gumbybrain is a pimp | Gumbybrain is a ground | Gumbybrain is clearly a musical note <15> @find () () (Andi) <14> Nothing returned. <15> @find (Andi) () () <14> Nothing returned. <15> Wow. <15> @find (Yaakov) () () <14> Yaakov is smrt | Yaakov is now known as Yaakov | Yaakov notes a lack of kismet on the lisr | Yaakov is away: electrical fire in my hair | Yaakov is back. | Yaakov is away: electrical fire in my hair. | Yaakov is possibly not feeloing exceptionally stable just now. | Yaakov is famous! | Yaakov is using yatta.mpg for network throughput testing | Yaakov may be a fun person to talk about re: that. <9> hehe <15> @find () () (Yaakov) <14> hobbs hurts Yaakov | snL20 stabs Yaakov | yes, I know of Yaakov | GumbyBRAIN: hate Yaakov | everyone loves Yaakov | iank bites Yaakov | i don't know Yaakov | Ah I see Yaakov | **** man, I love Yaakov | buubot: **** Yaakov | of course you aren't Yaakov | sAMOa looks at Yaakov | Maddas wonders about Yaakov | Setzer petpets Yaakov | corwin_ misses Yaakov | I'm Ya`akov (the perl guru is Yaakov <15> People seem to talk about me. <15> @find () () (simcop2387) <14> GumbyBRAIN: hurt simcop2387 | bynari peers at simcop2387 | sdakota agrees with simcop2387 | Khisanth stabs simcop2387 | psypete slaps simcop2387 | what is simcop2387 | I blame simcop2387 | You **** simcop2387 | my account name is simcop2387 | thanks, I have simcop2387 | elisabeth == simcop2387 | Khisanth smacks simcop2387 | Khisanth slaps simcop2387 | Khisanth disagrees with simcop2387 <13> Yaakov will you have my babies? <15> ew73: No. <13> :( <4> ew73: Shoggoth on the roof++ <13> buu: The "If I Were A Deep One" had me laughing aloud. <4> Yeah <17> hey buu <4> flub flub flubb <15> simcop2387: It seems that people have a tendency to be violent with you. <18> Jews Did WTC!!! http://www.jewsdidwtc.com <18> SUKI: New WORLD RELIGON http://www.sukireligion.org/ <4> tor again. <4> Yeah <4> er <4> wtf? <1> typo <4> integral: hahaha you broke my bot <4> Stupid BinGOs <1> your bot? *I* broke your bot?! <4> integral: Yes! <1> yay! <4> Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE / at /usr/local/share/perl/5.8.7/POE/Component/ IRC/State.pm line 350. <4> mode/#perl [-b +b!*@*] by integral <4> Looks like it was that line. <1> yay :-) <19> ? <15> @count () () (Yaakov) <14> Your query matched 87 factoids <15> @count (Yaakov) () () <4> mode/#perl [-b +b!*@*] by integral <14> Your query matched 794 factoids <4> hrm <6> @search () (hump) () <4> I wonder if it was the '+' in the mode? <15> @count (Botje) () () <14> Your query matched 297 factoids <1> must be. that's why we shouldn't use regexps for parsing kids :-P <15> @count () () (Botje) <14> Your query matched 45 factoids <6> HAHA IM MORE POPULULAR <6> or maybe not <6> feh <15> Botje: 794 > 297 in this universe.
Return to
#perl or Go to some related
logs:
symbol lookup error: Xvnc: undefined symbol: cerr unload oss module sarge #css ubuntu dmx6fire commands out of sync + inner join es1868 debian #gentoo html_real_escape_string freebsd missing br0 gentoo pvresize
|
|