| |
| |
| |
|
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
Comments:
<0> [function... <0> ] <0> perldoc perlreftut <1> perlreftut - Perl references short introduction. To access this perldoc please type, at a command line, 'perldoc perlreftut'. You may also find it at http://perldoc.perl.org/perlreftut.html <0> that explains all <2> devonst17_: You p*** it as part of the constructor or call join.. <3> buu: How? Syntax? <4> I am using Module::Reload to reload a module when I change it. So I run Module::Reload->check every second. I turned the debugs on and it saw I updated the file, but the programs output didnt change like it should have. I just updated a print statement it was running though every second, and it didnt start printing different. <4> What could I be doing wrong ? <3> buu: Ah, nevermind <3> I got it <3> Thanks <0> gumbybrain: can PoCo::Server::HTTP stream multiple files at once? <5> We've just got an error, you need to take peace from the shelf to the server. When the notes server in atlanta bombed they couldn't actually talk to them, and the merchants of the files. <0> Bingos: can PoCo::Server::HTTP stream multiple files on multiple connections <0> at once?
<6> simcop2387-zauru: should be able to <6> simcop2387-zauru: iirc, POE has it's own select that is non-blocking so you can have multiple connections running at once <0> cool <0> ill have to learn how to use that POE child module to spawn everything <0> pravus how would you like to watch tv from my house over the internet <6> simcop2387-zauru: that would kick *** <7> I just started laughing and going 'ho ho ha ha' when I made this comment regarding what a sub returns: ref to HoHoAoHoAoH <7> good thing I have a private office <8> buu: what about mode switching? <8> I tried $self->mode("+o", "devonst17"); <8> but no worky <0> pravus im setting it to stream to my zaurus 320x240@10fps at 200kilobits/sec <9> gute nacht <6> VERBOTEN <9> ;) <0> mpeg2 <0> pravus: what do you think of this url scheme, each "directory" shows the shows that match that critera and info on them <6> that sounds cool <0> http://server/recordings/<channel>/<year <6> i guess if you remember your channels <6> you could also make a page that lists what's on <6> with links to the streams <0> pravus that exists aleady with mythweb <6> oh... are you going to be using mythweb with this? <0> no this is intended for streaming content to mobile devices if you went to /recordings/ you see a list of them all to choose from or you can narrow it down through the urls ill probably allow wild cards too but that comes later <0> when you go to http://server/recordings/channel/year/month/day/time/stream.vid?profile... <with links on the main page> itd stream the video suited for your device (selected by the profile <0> ) <0> did i take too long to type that? <10> ugh <0> whatd you break now <11> I scratched my keyboard by banging my head on it.. I think I'm growing horns or something.... <10> can anyone offer a suggestion on how to track down a "*** glibc detected *** double free or corruption (out) <10> : 0x0a4afb00 ***" error on a perl cgi script? <0> dforge update perl and/or mod_perl <10> simcop: It's the current version of RHEL provided perl. <10> and mod_perl <12> I like CPANPLUS... once it works <0> dforgeh dunno then <10> It's custom code. <0> perl shouldnt do that regardless of your code <13> how can i check whether a variable is an arrayref? <0> perldoc -f ref <1> ref. To access this perldoc please type, at a command line, 'perldoc -f ref'. You may also find it at http://perldoc.perl.org/functions/ref.html <13> simcop2387-zauru, i looked, but i don't see what im looking for <13> nm <13> i was loking at the wrong doc. thanks :) <0> heh <0> i was about to ask if you if you can read :) <14> perl vs php: perl: if(s/X/Y/g){} PHP: if($x == preg_replace('X', 'Y', $x)){} <14> Mm .. make that != in the PHP <15> good evening everyone, lovely day isn't it? <16> yup <16> i wrote a quizbot that integrates with mysql <15> quizbots piss me off, so as midgets, you're not a midgets now are you? <16> nope <15> awesome <16> ill make sure to keep it away from you though <17> anyone suggestions on a simple way to have a perl 'daemon' script constantly follow a live logfile? <12> POE::Wheel::FollowTail <12> File::Tail <12> etc
<18> well, I just figured out I'm pregnant <18> whoops, wrong window <12> Chris62vw - again! <18> yeah :-( he said they were birth control pills... <18> oh man, that reminds me of the episode of Married with Children where Peggy is taking birth control pills and she is trying to get pregnant <19> Question: Is there a good way to detect the underlying OS from within Perl itself <18> and Al finds out and sabotages a test to make it look like she got pregnant after all, and she freaks out! <20> $^O? <19> I need to run a different command when I'm running on Windows vs. UNIX <18> NCommander, yeah, there's some variables that offer some insight... <18> like that one <20> perldoc perlvar <1> perlvar - Perl predefined variables. To access this perldoc please type, at a command line, 'perldoc perlvar'. You may also find it at http://perldoc.perl.org/perlvar.html <19> Thanks :-) <17> dec: thx, those look pretty promising <0> Chris62vw i love the episode where peg, kelly, and marcy all have pms at the same time while they're all on vacation at a cabin, peg goes "its too hot in here", marcy goes "no its too cold" and kelly is all like "its hot and cold in here" <18> simcop2387-zauru, hehehe I remember that one <0> its one of my favorites <18> and the one where Kelly is in the casino throwing craps and she keeps hitting her number over and over <18> until, I think, Al places a bet <0> yea <16> how do I put a ^C in a string? <6> is it \cC ? <7> yes <21> is there any way to p*** an argument to a thread without using shared variables? <7> a socket... ;) <0> ryan why dont you want to use one? <2> Chris62vw: YOU LOSE. <22> I have a cpp library (.a) -- can i integrate it with perl code? <23> you mean, link it to Perl code? <22> amnesiac, yea! <24> hi, could this line be optimized? : 03:39 < etorix> **** <24> 03:39 < etorix> i suspect everyone <24> oops <24> heh <23> I dunno if you can use cpp at all... C yes <22> amnesiac, hrmmm <2> keherman: Unfortunately. <24> I actually meant this line: echo -ne "one-2.three\none-10.three\none-11.three\none-1.three\n" | perl -e 'chomp (@c = <STDIN>); @d = sort { ($e = $a) =~ s/^.*-([0-9]+).*$/$1/; ($f = $b) =~ s/^.*-([0-9]+).*$/$1/; $e <=> $f } (@c); print "@d\n"' <22> buu, lol <2> locsmif: Yes, we can optimizes that to: < etorix> ****, I suspect everyone <24> I'm trying to sort on the number in the filename, just to solve a problem someone posed <2> eval: $_="one-2.three\none-10.three\none-11.three\none-1.three\n"; @c=split/\n/,$_; join " ", sort @c <25> buu: Return: one-1.three one-10.three one-11.three one-2.three <2> eval: $_="one-2.three\none-10.three\none-11.three\none-1.three\n"; @c=split/\n/,$_; join " ", sort { $a <=> $b } @c <25> buu: Return: one-2.three one-10.three one-11.three one-1.three <2> Oh well. <26> echo -ne "one-2.three\none-10.three\none-11.three\none-1.three\n" | perl -e 'print map$_->[0],sort{$a->[1]<=>$b->[1]}map[$_,/\d+/g],<>' <26> locsmif: subject to output variations... <24> tybalt89, omfg, I'm not worthy! ty.. <26> echo -ne "one-2.three\none-10.three\none-11.three\none-1.three\n" | perl -e '@a[/(\d+)/].=$_ for<>;print@a' <2> Better <2> Too bad it fails hideously on duplicates. <26> buu: oh yeah? try it <24> tybalt89, I don't understand what @a[..] is, I only know $a[..] <24> the rest I get <24> You are indexing using the integer from the regex match <26> locsmif: I needed list context for /(\d+)/ <26> locsmif: It's a slice with a single index :) <24> tybalt89, aah :) <26> @a[..] evals .. in list context, $a[..] evals .. in scalar context :) <24> heh, complex <24> because there is also an additive ***ignment (.=) <22> amnesiac, Inline::CPP <26> "context" - don't golf perl without it :) <24> tybalt89, sure <24> I think it's one of the more mystical things for a beginner though <24> It doesn't need to be, perhaps, but it is <26> I think it's easy to explain if done right. <24> yup <2> tybalt89: Well, ok, let me rephrase. It works, but wrongly =]
Return to
#perl or Go to some related
logs:
firefox jss suse #ldap install centos without CD psyco memoize #perl #bash fluxbox windowPlacement SUSU ZMD not running #sdl rdesktop MsRcIncident
|
|