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



Comments:

<0> that's very nice.
<1> infi: the Data::Dumper dumps out 16 rows worth of data
<1> infi: so there's a 3rd confirmation that it really is more than 1 row being returned.
<1> yet "while(($stored_sid) = $sth->fetchrow_array) { }" is still executing only once.
<0> dude. it only gets run once because inside the while loop you're returning from the function.
<1> oh :(
<0> s/function/sub/
<1> yea, I guess so
<1> yea
<1> oops
<1> i wrote that sub a while ago without the loop
<2> rutski89: are you sure there's not only one row?
<0> which means you're also leaving a statement handle open (dunno if it gets automatically destroyed when going out of scope, but I'd hope so.)
<1> i guess i forgot about that return when i went and added the loop to it
<1> infi: it does



<1> but good point, i'll close it explicitly
<1> this is why coding in pairs is good :)
<0> what's Ivyware anyway?
<1> you can see each others stupid mistakes because you have a more detached view point on each-others code.
<1> infi: An SAT test prep company by the name of Ivybound hired me to make a billing and management system (for keeping track of all the people they know and appointments they have etc...)
<0> ah, just a custom abstraction interface
<1> yup
<1> I'd hate to clutter up the mason templates with loads of SQL
<3> THE SUDDEN INCREASE IN UFO SIGHTINGS IS MERE COINCIDENCE CONTINUE TO LIVE NORMAL LIVES
<0> hi yaakov!
<4> I MUST LEAVE TO BUY CHEESE
<3> Hello, infi.
<0> Don't forget the tinfoil hat.
<3> Hello, integral.
<3> I AM AN ORDINARY HUMAN MAL FROM THE PLANET YOU CALL EARTH
<3> MALE THAT IS
<3> SEE HOW I MAKE HUMAN ERRORS?
<3> http://www.webpark.ru/images/Alx/1148620632.gif
<4> those crazy russian
<3> I hope he is wearing balisitc pants.
<5> ho****!
<5> that's what my connection problem was!
<5> crappy nameserver!
<5> now this is what leeched wifi should be like..
<5> eval: 1+1
<6> bluebeard_: Return: 2
<3> eval: 1/sqr(1) + 1/sqr(-1)
<6> Yaakov: Error: Undefined subroutine &main::sqr called at (eval 122) line 1.
<3> oops
<7> you did it again?
<3> eval: 1/sqrt(1) + 1/sqrt(-1)
<6> Yaakov: Error: Can't take sqrt of -1 at (eval 122) line 2.
<3> What good is a bot that can't square a negative number?!
<7> imaginary numbers are all flummery anyway
<7> you ever seen one?
<3> eval: 1/sqrt(1**2) + 1/sqrt(-1**2)
<6> Yaakov: Error: Can't take sqrt of -1 at (eval 122) line 2.
<8> you should work with cool numbers, not square ones...
<7> ever been able to count up to an imaginary number?
<3> eval: 1/sqrt((1**2)) + 1/sqrt((-1**2))
<6> Yaakov: Error: Can't take sqrt of -1 at (eval 122) line 2.
<5> I think my perlprogram uses too much dynamic content to be useful as implemented in mason..
<9> You know, all ATI has to do to really win me over is write their driver such that xorg's COMPOSITE and DRI extensions are both supported.
<7> see, ancient humans picked the axioms for us, but that doesn't mean they are any good
<8> Yaakov: ** > -
<7> ok, I answered my own question as typing it.
<7> dang
<5> maybenot..
<3> tybalt89: Yes, yes...
<3> HELLO THAI BALD 72
<7> ok, not 100%
<7> I am doing some OO perl, and I am subcl***ing a cl*** that has a plain old sub CONSTANTY { 'hi!' };
<7> the subcl*** doesn't get that function? I'm getting a bareword arror
<2> jsn: did you stick some ()'s on the end of it?
<2> or an & at the front?
<7> no, but I certainly didn't need to in th eparent cl***
<3> eval -1**2
<3> eval: -1**2
<6> Yaakov: Return: -1
<7> huh?
<7> -1 is now the identity multiplier?



<8> Yaakov: ** > - # pay attention
<10> eval: (-1)**2
<7> :)
<6> resiak: Return: 1
<3> tybalt89: I know.
<8> -1**2 => -(1**2)
<3> Yes.
<3> I got that.
<3> I understood it the first time.
<8> Yaakov: didn't look like it :)
<7> he was just trying to test the plebs
<7> see how foolishly i reacted?
<7> and great mirth was had by all
<7> mirthfulness?
<7> murthiness?
<10> eval: 13**2 - 10** 2
<6> resiak: Return: 69
<3> tybalt89: How often does my behavior map to something that looks like my internal state?
<7> So, I'm calling a "cl***" method of the parent cl***, and I've defined a sub CONSTANTY { 'hello!' } in the child cl***, and I call CONSTANTY() in the "cl***" method. Shouldn't I get, maybe, the "hello!" rather than "hi!" value for CONSTANTY? Is there a way?
<7> s/hello/Childs Sub/g; s/hi!/Parents Sub!/;
<3> OK, shower then breakfast prep!
<9> jsn: So.. you want to call which method?
<7> its a method the child doesn't override, which calls a method that the child does
<7> sub nonoverriden { return overridden }
<9> And the problem is..?
<7> I'm seeing that the parent's version of the overriden method is being called
<9> Without seeing code (and without caring to see code, as I'm going to bed in about 3 minutes), I would venture a guess that you're not calling the method you think you're calling.
<7> Sir, I'm aiming downfield but I'm not hitting the target. Well, son, I don't think you are hitting what you want to be hitting.
<7> Thanks, ew73
<7> good night :)
<9> On the object you're using to call the method, try printing a 'ref()' first, just for kicks.
<9> And, for the record, subcl***es should know who their parents are, parents don't get to know who their children are.
<11> "jsn" at 71.255.150.91 pasted "OOpy question" (30 lines, 462B) at http://sial.org/pbot/17385
<7> Check on the ref idea, of course on the second bit.
<7> The ref is right
<9> You're not using an OO-smart call for CONSTY() -- you're calling CONSTY() in the namespace that it's in.
<7> $self::CONSTY ?
<9> Change Which() to sub Which { my $self = shift; print $self->CONSTY() . " is here\n"; }
<7> $self->CONSTY
<7> okee doke
<7> danke schoen
<9> And I'd note I was right, you weren't calling the method you thought you were calling. ;)
<7> yeah, but, I had said I wasn't hitting the target I was aiming for :)
<0> ew73: you're my idol.
<9> infi: Why?
<0> Because you're so smart and dreamy.
<9> I'm not sure I want the responsibility that comes with being an idol.
<0> heh
<0> why not? Ted Kennedy doesn't mind being everyone's idol!
<7> idols just stand still all day, no problemo!
<9> Sometimes, they have to sing. I don't want that.
<7> those are just _american_ idols
<7> standard idols are made of rock
<0> Practice with merlyn at karaoke
<9> There's a lesbian bar that has karaoke around SE. I can embar*** myself in front of people that I have no chance of ever going to bed with.
<7> sing! sing at home alone. sing yourself hoarse
<7> you'll get better, or at least louder
<0> They definitely make it easier for nervous people/bad singers over here. Everyone gets private rooms for karaoke, instead of having to sing in front of a bar.
<2> ew73: good thinking
<9> Actually, I'm a pretty damn good singer.
<7> oh, sorry, misunderstood
<7> what's embar***ing then?
<9> Can /you/ sing Rocky Horror without giggling?
<0> which song?
<9> Really, any of them.
<0> GumbyBRAIN: Let's do the Time Warp again!
<12> Or i shall not be on base linux too, but again the same time.
<9> "Toucha Toucha" is intersting when sung by a b***.
<3> I HAVE AN ELECTRICALLY POWERED COMPUTER
<13> MINE WORKS BY THE PRINCIPLES OF QUANTUM MECHANICS
<13> HELLO YAAKOV
<13> still infected?
<3> Botje: Almost not.


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#python
kwowt
gentoo rtorrent pb with e-build
lart_expert
#suse
#php
#perl
#ldap
#oe
suse 10 remote desktop connection



Home  |  disclaimer  |  contact  |  submit quotes