@# 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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33



Comments:

<0> that's not really magical... it's just the way perl works
<1> Hallo Botje :)
<2> hello.
<3> Botje, s/lazy/timeslaved/ (that was a joke! i swear!)
<3> gr00ber, that *was* somewhat moochful
<3> gr00ber, i used to do that in #debian years ago, and learnt my lesson :)
<1> hahaha
<4> chemaja, thanks for the tip :)
<4> eval: mysterious
<5> gr00ber: Return: mysterious
<4> see?
<3> gr00ber, no problem. The lesson pretty much was "i'm being annoying, and also not actually learning how to learn, which is not getting me anywhere".
<4> chemaja, sure. It's just that I'm forced to do this perl thingy this week and I have zero interest in learning the magical and mysterious work of the very troubled Larry Wall.
<4> so by sunday, with any luck, I'll be nowhere to be seen around here :)
<2> gr00ber: you ****ing leech.



<2> get the **** out
<3> gr00ber, i feel for you. i'm writing a bash script at work at the moment because that's what i currently know and am too timeslaved to learn perl -- the initial learning curve for the syntax is too steep (IME, using the perl manpages and perldoc, when your primary occupation is telephone helpdesk support)
<6> hi; if if i have a variable $foo = "asdf kk adsf"; how can i do this in one line; replace "kk" in $foo and save the output into $bar without modifying $foo, instead of doing it $bar = $foo and doing =~ s/// on the next line
<0> Prescriptor: ($bar = $foo) =~ /.../.../;
<7> (my $bar = $foo) =~ s/.../.../;
<6> sank you
<3> i'm slowly learning perl since this is the best language for which an interpter/modules is already installed on the hundred or so (RHEL, RHL and SCO OpenServer) application servers and routers i manage
<3> gr00ber, ^^
<0> chemaja: where do you work?
<3> pravus, promedicus.com [Warning: requires Flash. Don't look at me, it was not my doing :)]
<0> hrm... i used to work for a company that used SCO... blech
<3> pravus, the only upside to SCO is better manpages
<0> linux man pages ****... that's what *BSD is for
<3> that, and the (ksh) shell uses vi bindings by default, vs. RH's (bash) emacs.
<7> how widely accepted are AAC (mpeg4 audio) files? Can I podcast with those?
<0> merlyn: i've never heard of them... but i'm not an audio guru
<3> pravus, what is the alternative?
<0> chemaja: set -o vi
<8> AAC is native used on apple
<0> or install pdksh or ksh or whatever
<7> OK - I should stick with MP3 then
<3> pravus, "...by _default_..."
<8> ipods no problem, other mp3 players don't know...
<0> chemaja: so change it... it's not that hard
<9> pravus: mp3 is MPEG 1 Layer 3.
<9> pravus: AAC is MPEG 2 or MPEG 4 audio.
<9> merlyn: why do you need them for?
<3> pravus, i already can and do.
<3> pravus, but i manage a large number of such configurations, and higher-ranking team members have previously yelled when somebody `set -o vi' in the shell startup scripts
<3> pravus, ....... and i'm too lazy to write an expect script, etc.
<3> aaaaaaaaanyway. bedtime. see you later pravus and gr00ber .
<10> I can't understand what chemaja was talking about... he wanted to manage the user's shell on his servers?
<0> i'm guess it's root's shell or some admin user's shell
<0> sounds like his higher ups ****
<11> how can i lock file so nobody can edit it?
<0> troex: perldoc -q lock
<1> perlbot pearl
<12> hi, how can i check what symlinks (that are in a directory) point to a specific file?
<13> iterate through them with readlink.
<13> rather, iterate through them and use readlink on each one.
<14> Safer to use stat() or similar rather than doing a text comparison with readlink. (Consider "./foo" vs "foo".)
<12> thanks that helped!
<13> ah, good point, taking the inode of the target file, then comparing with that?
<14> Right. Really you should check both device and inode.
<15> RODERICK
<14> Hi there
<16> hey
<15> How's things &c?
<16> i'm inserting into a tied hash using 'push'
<16> and for maybe obvious reasons i'm not keeping my insertion order..any ideas on how I can maintain that?
<14> Good though tiring in probably not interesting ways. How are you?
<14> What's it tied to, leku?
<16> IxHash
<14> That's not obvious, then, as IxHash is all about keeping the ordering. I'd suggest you show us the code via a paste bot.
<16> cool
<16> 1s
<17> leku-: is that you?
<16> yeah
<17> yay!
<16> http://rafb.net/paste/results/F204mD65.html



<16> hi 8)
<18> The paste F204mD65 has been moved to http://erxz.com/pb/1264
<19> good afternoon
<14> leku: Only the top-level hash is tied to IxHash, so it'll only remember the order of the hosts. If you wnat it to be tied lower down, you'll have to do separate ties there as needed.
<14> (That is, tie %{ $command{$hostname} }, Tie::IxHash:: unless $command{$hostname};
<20> eval: qx/find . -type l -ls/;
<5> sneex: Return:
<2> isn't there a Tie::IxHash::Nested?
<16> ah
<2> ah.
<2> s/Nested/Easy
<14> Or use Tie::IxHash::Nested!
<14> Or use Tie::IxHash::Easy!
<16> ok
<16> haha
<16> sweet
<19> the trick would be to treat the ordered hash like an object, and no autovivify...
<16> rock on
<19> but ignore me.
<16> boyakasha
<16> thank you guys
<16> more coffee
<16> definately
<0> .joke coffee
<21> I like my coffee like I like my women...
<21> Weak.
<22> Hiya.
<17> ... black and in a plastic cup ?
<23> how do I strip whitespaces from a line?
<9> .joke
<21> Available categories: ballmer, blonde, coffee, mitch, quayle, redneck
<9> .joke coffee
<21> I like my coffee like I like my women:
<21> On sale for less than $5.
<9> .joke coffee
<21> I like my coffee like I like my women:
<21> Chewy.
<17> scud: perldoc -q strip
<13> eval: $a = "hi there mom how goes it"; $a =~ s/\s//g
<5> infi: Return: 5
<13> er.
<13> eval: $a = "hi there mom how goes it"; ($y) = $a =~ s/\s//g
<5> infi: Return: 1
<13> nevermind.
<24> "frimjon" at 194.144.55.188 pasted "split() problem" (7 lines, 407B) at http://sial.org/pbot/17240
<17> o/` Let me see you stripped down to the bone o/`
<23> i found an example off of http://en.wikipedia.org/wiki/Perl_regular_expression_examples :)
<25> scud's url is at http://xrl.us/mitv
<23> thank you also
<17> Kein problem.
<26> hallowed is ME.
<22> Anyone have ideas for my problem, pastebot 17240?
<17> GumbyBRAIN: EvanCarroll ?
<27> ooh. Nice one.
<17> haha
<26> GumbyBRAIN: **** you.
<27> and they have no idea (and happily upgrade once it's pointed out to sun to call customer service center directory ***istance, , las vegas, nv 89107.
<19> merlyn didn't know CHECK blocks were crap? heh
<28> I hate anti-abortionists.
<28> They hate women, and have no sympathy for victims of rape.
<26> hahah
<26> I agree.
<19> I try not to discriminate: I hate people.
<22> Yoohoo?
<22> Anyone kind enough to look over my problem? That'd be awsome. http://sial.org/pbot/17240
<22> Oh and there's a new MacBook for those of you who hadn't heard the news yet.
<19> it's stupendously expensive and overspecced. And the black one looks awful
<26> So not a thinkpad.
<29> $string1 =~ s/$string2:$string3://;
<29> perldoc perlre frimjon
<18> perlre - Perl regular expressions, the rest of the story. To access this perldoc please type, at a command line, 'perldoc perlre'. You may also find it at http://perldoc.perl.org/perlre.html
<22> Thank you kitchen :-)


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

php Cannot use string offset as an array in fopen
samba for ubuntu64bit
Call to undefined function: pdf_begin_document()
ubuntu ignoring unknown interface
#qemu
#linux
nvreg_enablevia4x
#linux
#suse
#perl



Home  |  disclaimer  |  contact  |  submit quotes