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



Comments:

<0> no.
<1> Botje: OK.
<1> :-(
<0> some exams allow it, but only in the actual exercises part
<1> Most of the EE exams were open material. But no computers. Only calculators.
<1> But I think you could bring a TI or HP-49 baby.
<1> Is there HP-50 yet?
<0> don't know
<2> 49g+
<0> I might get one of the RPN calcs, just for the hell of it
<2> 49g+++
<2> Botje: Get a 49g+
<1> Botje: RPN... %-)
<1> Some people are fluent with them.
<1> I think some Economics people still use them.
<2> I love my 49g+.



<1> Yaakov: it has an RPN mode, right?
<2> By default.
<1> Well, I got Perl and Matlab and Maxima for that.
<2> Which is what I use.
<1> My calculator is a standard Casio one. I think it was the highest priced in its price range.
<0> I discovered the dc binary recently
<1> Botje: dc is Evil. I keep typing dc instead of "cd".
<0> dc is cool;
<1> Botje: yeah, I'm just kidding.
<1> Botje: I like perl -e myself.
<1> LeoNerd: here?
<3> can someone tell me if it's possible to place a scalar inside regex string replacement somehow?
<3> or other predefined text
<0> ehh
<0> what?
<4> Botjes :)
<1> base: that's a FAQ, jack.
<1> base: use interpolation for that.
<3> I cant find it
<1> base: and possible \Q and \E.
<5> still works great. i've only had to change the batteries maybe twice in 19 years.
<3> interpolation?
<1> base: yes.
<4> use base qw(:ALL);
<1> eval: my$s="Hello"; print "$s base!"
<4> huhu
<6> rindolf: Hello base! 1
<2> I have several HP calculators.
<1> My trivial Perl program works in first run.
<3> I wish to do this without including yet another pm, it should be simple regex correct?
<1> base: yes.
<3> s/stuff/$mydata/g
<1> base: it's in the core perl language.
<1> base: yep.
<3> how do i do that , i cannot find while reading how
<3> sorry
<1> base: did you read a tutorial?
<1> perlbot: tutorial
<7> http://perlmonks.org/index.pl?node=Tutorials | http://perl.com/cs/user/query/q/6?id_topic=74 | http://learn.perl.org/ | http://books.perl.org/onlinebooks | http://perl-begin.berlios.de/tutorials/ | http://learn.perl.org/library/beginning_perl/
<3> yes, meany turorial
<1> base: OK.
<3> i am very good with perl
<1> base: interesting.
<3> this is a regex problem only
<1> base: yes, but it's very basic.
<1> Let me try to eval it.
<5> Yaakov: I don't think HP even makes calculators anymore. I don't know what I'll do if mine ever bites the dust. :(
<1> eval: my $string = "foo Hello foo Drain foo super"; my $repl = "Bar"; $string =~ s/foo/$repl/g; print $string;
<6> rindolf: Bar Hello Bar Drain Bar super 1
<2> waltman: I just bought an HP 49g+
<1> base: voila ^^^
<2> waltman: They do make them.
<5> hmm
<5> otoh, my 11c does pretty much everything i need a calculator to do
<5> Yaakov: does the 49g+ have an = key?
<1> Yaakov: have you stayed in touch with Nola?
<4> moo
<8> Yaakov: I thought they weren't doing anything _new_, but there are rumblings about the HP50G
<3> oh ok, i didn't know i could do regular escape inside regex for a scalar
<3> that is iall



<2> I have a 25 (no c), a 41CV, a 28s, a 32s and the 49g+
<1> Yaakov: I don't think I saw her here or on AIM since YAPC::NA
<1> base: escape.
<3> i thought I had to do something special regex ninja
<1> ?
<1> base: like eval ""?
<1> base: OK, now you do.
<2> waltman: No, it has an ENTER.
<3> thanks though
<2> rindolf: Yes, I speak to Nola often.
<5> yay
<1> Yaakov: OK.
<1> Yaakov: on AIM?
<2> She is on IRC.
<1> Yaakov: really?
<2> Yes, though she is not on AIM just now, nor IRC.
<2> It is usually on her commute.
<1> Yaakov: OK.
<3> rindolf, why is it that eval: must wrap my request?
<2> waltman: It is a m***ively parallel calculation array.
<1> Yaakov: you are at home usually, right?
<3> it makes no sense and should be changed, but thank you for your andwer
<2> rindolf: Home or the office.
<3> answer*
<1> Yaakov: you have an office?
<5> aha!
<2> rindolf: Yes.
<1> Yaakov: OK.
<1> Yaakov: too much distractions at home?
<1> tybalt89: no, not yet. Been busy with a different site.
<2> I work for a university.
<1> Yaakov: I see.
<1> Yaakov: I thought you were a consultant or a contractor.
<2> tybalt89: It begins...
<2> rindolf: I was a writer, teacher and consultant for many years.
<1> tybalt89: http://web-cpan.berlios.de/Fullperl/
<1> Yaakov: I see.
<1> Yaakov: didn't you say you charged $200/hr or so?
<9> Yaakov had to do something in those centuries predating universities.
<1> zshzn: heh.
<1> zshzn: the Romans had universities.
<10> Hey all
<2> rindolf: The most I ever billed was 225.00, 165.00 was my normal rate.
<1> zshzn: they studied multiplication and division in them.
<1> Yaakov: I see.
<1> Yaakov: it's still a lot.
<10> Whats the most efficient way to remove a trailing white space from a string? (Is there something like chomp that will kill newline characters AND any extra spaces at the end of a string?)
<9> Yaakov: for what kind of work?
<1> Yaakov: someone I know charges $40/hr for PHP work. Most people charge $20/hr
<0> robd: $foo =~ s/\s+$//
<1> Yaakov: he's quite a calibre.
<11> robd: just s/^\s*//; s/\s*$//;
<2> zshzn: A sort of technical management consulting, and marketing consulting.
<1> sparkman: he asked for *trailing* whitespace.
<12> robd: if you know there's whitespace there, how about chop?
<11> oh
<11> heh
<10> HEx: Well I'm not sure if they exist and if so how many...
<10> hex: I'd rather not have a loop checking chop's output to see if it was a non-space char
<13> rindolf: Just got back
<12> robd: regex then
<1> LeoNerd: hi.
<1> LeoNerd: it's pretty late in .uk.
<1> LeoNerd: did you go to bars or stuff?
<1> pubs even.
<13> Yeah... was a music concert in Kew gardens, went with some work-types
<1> LeoNerd: nice.
<1> LeoNerd: I need to get a life.
<13> They can be quite useful, but they do have a crazy amount of dependencies..
<1> LeoNerd: anyway, I'd like to blog about Error.pm and stuff - "Weekend of (Perl) Code."
<1> LeoNerd: yes.
<13> And sometimes they can be a bit unstable - I think they're still beta-testing


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

installing dosemu on amd64
ice1724 ubuntu
#web
#ubuntu
#debian
ebuild cx_Oracle gentoo
dyngen: Unsupported ELF class
#perl
google calendar update interval
mjpeg choppy



Home  |  disclaimer  |  contact  |  submit quotes