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



Comments:

<0> Actually I think he does have ops =[
<0> God knows why
<1> buu: Hey, bod could take over my entire computer if he wanted
<0> Wha?
<0> How, why, huh?
<1> andrew@twisted:~$ apt-cache show perl | grep ^Maint
<1> Maintainer: Brendan O'Dea <bod@debian.org>
<0> ah
<2> buu: I've been kicking about this channel for quite a while... I suspect that I had ops before you ever joined
<0> bod: Yeah, but you show up like once a month
<2> that would be due to my day job/life
<3> paladin or bod, the regexp now matches it but it is not matching the right thing, for example in the string "\$reverse(hi))" it matches hi) instead of just hi
<0> Pssh. Life.
<0> NSA: Did you ever mention what exactly you were trying to accomplish?
<4> NSA: regex aren't good at matching nested things.. you'd be better off using some kind of parser..
<3> to match stuff in the form of $foo(bar) where bar can be any text with any )'s escaped by \



<1> NSA: you didn't actually mention how you "fixed" it :)
<1> NSA: if you made the obvious fix to what you pasted earlier, it couldn't possibly match what you're saying
<3> i moved the * over 1 so it matches one of those characters instead of the \)
<0> NSA: Can you escape back slashes?
<3> yes
<0> Oh goody.
<1> buu: yes, he's got it handled apparently right-ish
<0> Really?
<3> but i am not sure if it works
<1> NSA: paste the corrected pattern
<3> /\$([a-z]+)\((([^\\\)]|\\\\|\\\))*)\)/
<2> /\$(\w+)\(([^\)\\]*(?:\\.[^\)\\]*)*)\)/
<1> NSA: that doesn't look like you moved a * over, it looks like you added some stuff
<3> i added some stuff and moved it over
<1> NSA: well then stop lying :)
<3> but i tried tyours and it still matches hi) instead of just hi in "\$reverse(hi))"
<1> NSA: it looks like you now have extra parens for no reason at all
<1> NSA: but give bod's pattern a spin, he's good :)
<3> i did
<3> same problem that mine had
<0> Heh, I'm aguing with Zhivago in ##C. I must be bored.
<1> NSA: still _not possible_, so what are you basing this on?
<3> or wait, maybe i did something stupid again
<3> hold on
<3> i am sorry once again. i was being stupid. it was working
<3> i just didn't realize it
<0> hehe
<0> I love ##C
<0> It's the only place that goes off topic faster than #perl
<2> what's with the proliferation of ##foo channels?
<0> ****ing lilo
<0> About 3 or 4 months ago freenode/lilo p***ed a resolution/law/ruling/whatever that channels that weren't an official project had to use two pound signs
<0> So, for example, unless youw ere the official linux groupo, you have to be an about channel
<0> ## means about
<2> err.. #perl isn't really official
<0> Yeah, but we ****ing refused to move
<5> no one said it is
<2> right on
<5> but larry was in #perl6 :)
<0> In practice this is absolutely useless because every group added an extra pound sign and redirected the original name
<0> I don't think there's any channel on freenode where # is different from ##
<1> sure there are.
<0> Really?
<5> #hobbs and ##hobbs
<0> oh well, ok
<1> off the top of my head, ##debian and ##ubuntu are both thoroughly deserted. If you have a # channel you theoretically shouldn't be blocking out the ##-space
<2> hrm
<0> hobbs: Well, I meant where they had a populated ##channel already
<0> Or something. You get my point.
<1> not really, no ;)
<2> presumably because that channel is... errr... not representative of the country??
<6> wow, are you guys bored or what?
<0> Yes.
<1> I should apply for #usa on behalf of the country
<1> I'm as representative as anyone :)
<7> what does it take to be the 'official' channel of a FOSS project anyway?
<0> bod: Presumably because it's not official. Or something.
<0> Kulrak: Some kind of documentation I think
<1> Kulrak: someone at Freenode calling you up and agreeing that you're all official-like :)
<7> documentation.. as in a web page saying you're official?



<0> Primary groups are those which have a formal or informal claim on the names ***ociated with their groups or projects. They can reserve primary channels on the network. The following such groups and projects maintain official relationships with freenode and PDPC. Each is listed along with the top level domain(s) under which its affiliated users may be cloaked. Cloaks are special "virtual hostnames" which appear on a user's freenode session to ind
<8> my %words=(a=>1,a1=>1,b=>1); my @notwords=delete @words{grep{!/^\w*$/}keys%words};
<8> wht doesn't that DWIM?
<0> Peer-Directed Projects Center attempts to verify information submitted on group contact forms and tries to minimize name conflicts, giving priority to trademark owners and peer-directed project groups. Due to the informal nature of community interactions, uncertainties may exist regarding the ownership of some names.
<0> And so on.
<0> linuxnohow: Er, what do you mean?
<0> eval: my %words=(a=>1,a1=>1,b=>1); my @notwords=delete @words{grep{!/^\w*$/}keys%words}; \@notwords
<9> buu: Return: $VAR1 = [];
<7> sounds like somebody is in love with beauracracy for it's own sake
<8> @notwords=('a1');
<1> linuxnohow: irrelevant, but couldn't you replace !/^\w*$/ with /\W/ ?
<8> probably
<0> Er, \w* matches a1 mate
<0> eval: my %words=(a=>1,a1=>1,b=>1); my @notwords=delete @words{ grep{!/^[a-zA-Z]$/} keys%words}; \@notwords
<9> buu: Return: $VAR1 = [1];
<0> eval: my %words=(a=>1,a1=>1,b=>1); my @notwords=delete @words{ grep{!/^[a-zA-Z]$/} keys%words}; \%words
<9> buu: Return: $VAR1 = {'a' => 1,'b' => 1};
<0> Er, or something
<8> Er, cool thanks!
<8> one problem though.. @notwords == (1);
<1> ... yeah
<1> what's the problem exactly?
<8> perldoc seems to think that @notwords would be ('a1') in this case
<1> no it doesn't
<1> you get the values
<1> If you're just using the hash as a set and not doing anything useful with the values then do:
<1> @notwords = grep { ... } keys %words; delete @words{@notwords}
<10> Wow, I haven't been using perl for a while... How is P6 going?
<1> Eroick: ask #perl6
<8> hobbs good call
<6> the bsg finale was entertaining
<11> %a = (%b, %c); will merge hashes b and c, with c having dominance right?
<1> yeah. think of it in terms of the list flattening behavior of hashes, 'cause that's what it is
<0> Yay!
<0> My ratmenu is ***y and hax0rized.
<12> fark.com: "Bush not to run for third term in 2008. In other news, duh."
<13> buu, you done with it?
<14> ratmenu?
<15> How would a make something that when I give it "4-1-05" and it gives me "04-01-05"?
<4> Whtiger: perldoc -f split perldoc -f sprintf
<16> The perldoc for split - is at http://perldoc.perl.org/functions/split.html
<15> Okay, thanks. I think sprintf was what i was looking for.
<1> Whtiger: no, split and sprintf are what you were looking for
<1> :)
<15> well I knew split already =p
<15> well thanks =D
<14> Revolver++
<14> awesome movie :D
<17> isn't select supposed to block if you call it without a timeout?
<18> hai
<18> ph34r m3
<18> stefan, services collided with your nick
<19> perl /dev/urandom
<18> lol
<20> Supaplex: um. I think that just sold my soul in return for three large chickens and a toaster.
<1> iank: a good deal... if you like toasted chicken
<18> why the toaster?
<20> skiddieleet: hobbs got it dead on
<18> I was going for that millions of jews and a clown thing
<20> Yes, but saying 'nobody cares about the chickens' makes no sense here =P
<18> lol
<18> that's why it owns :D
<20> -_-
<1> iank: meet skiddieleet, he's our new resident idiot/mental patient since yesterday
<19> chomp($oneNastyChicken);
<18> I love you all
<20> You're one of those people who says 'In Soviet Russa, noun verbs YOU!' every chance you get, aren't you? =P
<18> I will now, thanks
<18> I'd never heard that
<20> hobbs: I have the displeasure of knowing him already ;]
<18> we're butt buddies
<20> kidding, we still love you skiddie


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

shift
centos yum g++
etch xvinfo no adapters
Global symbol requires explicit package name nagios perl
#debian
etch skip eth1394
#python
rar 7up unpack
#awk
atxp1 driver



Home  |  disclaimer  |  contact  |  submit quotes