| |
| |
| |
|
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
Comments:
<0> How is the dict? <1> gumbybrain: you're fired! <2> GumbyBRAIN++ <0> The rolling fish gathers no ducks. <1> :OOOOOOOO <2> Bad GumbyBRAIN. <1> omgwtfphilosopher!? <3> why <2> I thought it stop responding because you fired him... But he is still responding. :( <1> Yaakov, please kick Wikipedia-Gast11. <3> why <2> GumbyBRAIN-- <3> why <0> ... Http://www.catalystframework.org. <4> GumbyBRAIN: you moron <0> Chliiy is playing like a moron.
<1> thanks <5> I was already going to do that. <1> :) <1> oh noes <3> why <6> anyone here done any work with XML streams? <1> Yaakov, ban please? <1> :) <5> That's truly lame. <1> Yaakov, affirmative. <4> r40j: what are you doing? <6> DoctorMO: Im trying to parse the dmoz rdf data using XML::Stream <4> 440j: is it any good? <6> it's working up to a point until the XML::Stream module decides to just stop processing at random points <6> because it was stopping randomly i ***umed it was a timeout problem <6> i've set no timeout (which it says will never timeout), I've also set a huge timeout and still it stops <6> the data it's processing is good, i just can't understand why it's crapping out like this <6> DoctorMO: have you done anything like this before, got any ideas? <4> r40j: I've seen XML::Stream kick up a fuss on certain charicters, like it gets confuised about where it is in a tag. but I never could track down the issue. <6> DoctorMO: no it can't be that because I've seen it crap out and on a retry get past that point and crap out later <4> r40j, like it's timed out, I see <6> yeah <6> it's very annoying <6> looking through the module now to see why it might be doing this <7> why is "Foo" everywhere? <7> what does it mean? <8> It means nothing <8> It's just a placeholder <7> but i see it everywhere <9> a metasyntactic variable <9> or something <8> Foo, bar, baz <8> People understand it to mean "this means nothing, you should put something meaningful here eventually" <7> ok i just thought there was some "special history" behind that word <7> and i got curious <10> the jargon file talks a bit about it <8> Well, FUBAR is an old military acronym that means F'd Up Beyond All Repair (or Recognition) <10> http://www.catb.org/jargon/html/F/foo.html <8> http://en.wikipedia.org/wiki/Foobar <7> eheh <7> so the player foobar got its name from that <11> I want to match a domain name, I was thinking it would be something like this \w+\. How do I group that so I can specify a match of that at least 2 times, but also extract the values out of it? <11> eg, (\w+\.){2,} or something <12> ((?:foo){2,}) <12> But that's not going to work very well... <8> jsoft: Domain names usually don't end in a '.' <8> jsoft: Maybe something like: (\w+(?:\.\w+)+) <13> hello <9> hello <8> eval: $_ = "test foo.bar.example.com test example.com test .com"; [ /(\w+(?:\.\w+)+)/g ] <14> revdiablo: Return: ['foo.bar.example.com','example.com'] <11> revdiablo: in this case the domain does end in . as I am parsing named host files. <8> jsoft: Ok, then ((?:\w+\.){2,}) <11> revdiablo: hmm thank you.. <8> Of course you should have more validation than that, that will find anything that looks even remotely like a domain name =) <11> Yeah ive got it sorted :) <11> Just needed to know how to do that multi matchy gizmo thing. <15> ooh, a gizmo. <8> jsoft: Really you could have just done ((\w+\.){2,}) <8> The inner group would have gone into $2
<8> But that would have been a pointless capturing group <16> hi <16> sudo ./pfilt.pl <16> Can't locate Net/RawIP.pm in @INC <8> You need to install Net::RawIP <16> revdiablo how do i do this ? <8> perlbot: life with cpan <17> Information pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/ <16> i'm newbie <8> peeves: Sometimes your operating system will have packages for some perl modules, you might want to look into that first. If that fails, look into CPAN <16> is it plain #cpan -i Net::RawIP ? <16> wow <18> map {} $a, $b; # fun <10> blink? <18> well, i used it with stuff. <18> recursive anon subs are fun, too <19> $a, $b is just a list. whats the big deal? <18> Chris62vw: none. it's just creamy goodness when doing sort{} <19> right, right <19> I haven't been doing much perl. I'm losing it... <10> quick, hack up something! <20> "It's hard enough to have to change your dialect of stupid for every person that calls in"... <16> need to compare structure of two scripts sending soap messages <20> Heh. http://www.afterapple.com/adam-knight/blog/2006/05/applecared-my-life-inside-apple-and-applecare <19> perl -wle'print "Hello #pearl!"' <21> scrottie's url is at http://xrl.us/mgim <18> Chris62vw: daaaammn <18> that's tight, yo. <19> SMOKING ONE LINAR <16> guys maybe you can save me some time. I need to capture outgoing http headers sent by apache <19> tcpdump? :-) <19> maybe you should figure out how to do it from within apache or something <16> tried tcpdump no useful info <19> snort? :-) <16> need to see soap envelopes etc <10> and tcpdump doesn't help with that becauuuuse? <1> Chris :) <16> have httplook, but it's windows only <22> firefox's livehttpheaders extension or ethereal <18> tcpdump is more manly. <16> Botje bacause I don't know how to use it :) <16> jpeg scripts are serverside <10> ah. incompetence. the very best excuse :P <16> yep <22> peeves: it shouldn't matter. <16> lazyness yet :) <22> if you're sending out http headers that aren't received by any client, then you've got other problems. <16> jpeg it's perl script that sends soap request to axis <20> "One fellow has a production server die without a backup server or a backup of his data. Boo hoo. I'll fix the computer, but you didn't do your job and I can't fix that, so I'm sure you'll yell at me for half an hour about "it's a Mac, I shouldn't have to back up" or some nonsense and then slam the phone down. I'll wait." <16> jpeg how FF extension might capture that ? <22> peeves: this isn't clear. it's a cgi or modperl script running in apache that sends a soap request to something on the same machine? <11> if ($tmp =~ /\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/) { <11> does not work as expected... the ip address is at the end of the line. If I put a \w+ at the end of that, it works, but shaves off the last digit of the ip. <11> Any ideas? <23> um <23> i can show you mine. <16> jpeg yes <22> peeves: I would modify the first script to capture the headers then <16> jpeg sorry not to local but to remote service <16> jpeg you wouldn't want to do it <22> or use another client - your local copy of firefox, for instance, or a local script using lwp, to send the same requests and capture the headers. <16> jpeg capture headers with what ? <24> vim7 rocks <24> that was a psa <23> /\s+((?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).*/ < jsoft, try that. <16> that's my initial question <11> |ryan|: nope :) <11> thats bad <23> jsoft: shoe me a sample line. <23> er <23> show <11> www IN A 203.97.52.242 <22> peeves: HTTP::Response
Return to
#perl or Go to some related
logs:
#debian smileeeM #math cc1plus dapper #oe #gaim #kde kde dvd rip* mysql PHP libraries not installed #centos
|
|