#perl
30 October 2007
Total 29 pages. You are browsing page 1/29.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
--- Log opened Tue Oct 30 00:00:07 2007
--- Day changed Tue Oct 30 2007
00:00 <****>/i
00:00 <****> RainDoctor, http://www.vim.org/download.php#pc
00:00 <****> RainDoctor IMO Komodo looks ok
00:00 <****> shaldannon: ah, yes. good. thanks :)
00:01 <****> is it possible to stop and start a child process?
00:02 * shaldannon mutters, "you can drag a horse to water, but a pencil must be lead"
00:03 <****> RainDoctor http://www.activestate.com/_images/untour/screenshots/teamwork.png
00:03 <****> bp31416's url is at http://xrl.us/7ttm
00:03 <****> headaches put me in rare form...
00:03 <****> bp31416, thank you
00:04 <****> is it komodo?
00:04 <****> or vim?
00:04 <****> hehe
00:04 <****> yeah, komodo
00:04 <****> downloading that
00:05 <****> RainDoctor that's Komodo, komodo is an IDE, vim is a good text editor, just like Kate and some emacs
00:05 <****> Komodo Edit is a very nice editor.
00:05 <****> And, it is free.
00:05 <****> with a deadly bite
00:05 <****> I like it, I have been using it a lot.
00:05 <****> So... Any guidance anyone might be able to offer on the subject of SYNOPSIS vs. Example sections vs. entire example/tutorial documentation files..?
00:06 <****> I have some behaviour that I don't think the function's description alone is sufficient for.. I think an example would make it much clearer
00:06 <****> anyone know what a "wide character" print problem might be solved by?
00:06 <****> greasing its hips and tossing in a twinkie?
00:06 <****> im assuming something with 2byte unicode, but i have no clue
00:06 <****> :)
00:07 * shaldannon decides to shut up before he makes too big an ass of himself
00:07 <****> troubled: binmode($fh, ":utf8");
00:07 <****> troubled: perldoc perluniintro
00:07 <****> Caelum: ta :)
00:07 <****> LeoNerd: synopsis should probably point people in the right direction, then a "cookbook" for the tutorial
00:08 <****> SYNOPSIS: John finds that Mary has been unfaithful and plots her murder so it will appear to be accidental death. Due to an unlikely set of twists, Mary actually dies accidentally but because of his planning John is tried, convicted and exectured for premeditated murder. There is alos a dog.
00:08 <****> executed, also
00:08 <****> Yaakov++
00:08 <****> I am the King of France.
00:09 <****> Yaakov: good for you
00:09 <****> It hasn't worked out so well, actually.
00:10 <****> got beheaded on a guillotine?
00:10 <****> last I checked, the last french monarchy was taken to the guillotine :P
00:10 <****> then they got crazy with the whole guillotine thing
00:11 <****> so crazy that they lost their heads
00:11 <****> Caelum: OK... Any suggestion whether that cookbook ought to be in the same file, perhaps in a lowerdown section, or another .pod file..?
00:11 <****> Well, I would appreciate it if you wouldn't stir up that head-hopping thing.
00:11 <****> c
00:11 * shaldannon hands Yaakov a chop()
00:11 <****> GumbyBRAIN, head-hopping
00:11 <****> the whitespace in the same as hopping on perldoc.perl.org/onlinebooks | http://perl-begin.org/tutorials/ | http://learn.perl.org/author/shlomif ?
00:12 <****> chop() doesn't chop heads
00:12 <****> true... it chops tails
00:12 <****> how can i set the timeout of print operations towards a file on the disk?
00:12 * CPAN upload: Tk-Enscript-1.10 by SREZIC
00:12 <****> LeoNerd: it's usually in another pod
00:12 <****> Hrm.. OK.
00:13 <****> oleide: if writing to disk is timing out, bad things are going on.
00:13 <****> LeoNerd: that way it can grow without making your main doc too huge
00:13 <****> I've not done one of those before... How might I arrange it in the CPAN module? What should I call it?
00:13 <****> Mm.. True..
00:13 <****> (and in general, that's not an operation that times out)
00:13 <****> dondelelcaro: to put it this way, my script reports that the file doesnt exist from time to time, so i made a label in my print loop and made it retry 10 times if it failed on a single print.. it works in about 3-6 attempts
00:14 <****> dondelelcaro: heavily loaded nfs disk...
00:14 <****> LeoNerd: DBIC might be an example: http://search.cpan.org/~ash/DBIx-Class-0.08007/
00:14 <****> dondelelcaro: is there a module letting me set the timeout of these operations?
00:14 <****> How can I test if some $variable is the kind of NSCFString=SCALAR(0x1808e88) or SCALAR(0x182af44)
00:14 <****> oleide: the timeout there is an NFS specific setting
00:15 <****> I need to know what type $variable has in order to call a method (or not)
00:15 <****> oleide: so you set it at the OS level, not at the application level
00:15 <****> ruda: reftype from Scalar::Util
00:15 <****> ruda, ref, or reftype
00:15 <****> i hate this machine :|
00:15 <****> dondelelcaro: thanks :)
00:16 <****> caelum, anno-, ok
00:17 <****> Caelum: OK, thanks. I'll take a look see how it does it
00:17 <****> oleide: you can try mounting with hard,intr instead of soft
00:18 <****> 'course, if your NFS server is causing major timeouts, you've got serious problems
00:18 <****> GREAT
00:18 <****> caelum, anno-, "blessed" was enough for my purposes!
00:18 <****> well its only a few millisecs here and there
00:18 <****> thank you
00:19 <****> but its causing a real mess for my scripts that uses file io
00:19 <****> if (not blessed $id) { return 0; };
00:19 <****>UTF8String() =~ /org.rudix/) { return 1; }
00:19 <****> if it's only a few millisecs, then an IO error should never be reported to the scripts
00:19 <****> you have to hit a major timeout, which means a crapload of retransmissions or 60 seconds for an IO error to be kicked back
00:20 <****> urk
00:20 <****> i will wine to the admins
00:20 <****> thanks again
00:22 <****> whine
00:22 <****> its a poor attempt of humor, Chris62vw
00:22 <****> I dunno... If someone gave me wine to look after something, I'd be more inclined to help... :)
00:23 <****> dondelelcaro: funny thing tho, i wrote a testscript just now.. reads about 200 lines and writes to another file in the same folder, i dont get the same problem there.. could it be fork related or something?
00:23 <****> :( i can't configure my apache whit mod_perl
00:23 <****> better hand out the wine after the looking-after
00:23 <****> :)
00:23 <****> Ahh yes.. that might be true.
00:24 <****> What module can I use to find the temporary filename of an uploaded file?
00:24 <****> tobor: it depends on what you're using to handle the file upload
00:25 <****> it's a secret of the uploading program
00:25 <****> how would i debug it if its fork related?
Total 29 pages. You are browsing page 1/29.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
