@# 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> I dunno
<0> looking at that script I posted
<1> niraj: unfortunately...it doesn't work... i have
<1> $string = "variable = mamut | asd = drnceni";
<0> it seems fairly non-logical to me
<1> niraj: sorry...my mystake
<2> macronyx: $str instead of $string? ;)
<1> niraj: I know...
<0> TML: I dunno man, it seems like all the programming I have learned (which I admit is only a few years) it doesn't seem sequentialy logical to me
<0> thats all
<3> TML: http://pastebin.com/542905
<1> can I use sth like $matches['variable'] then?
<3> TML: So the only thing returned from the function, in either case, is the variable name of array I tried to return. (http://pastebin.com/542905)
<4> slid3r: Allow me to demonstrate
<0> please sir
<0> (brb beer pee)



<4> slid3r: Here's the same code as PHP: http://pastebin.com/542909
<4> Oops, forgot a $
<4> http://pastebin.com/542911
<4> Hmm...and a ;. But that should be close enough that you get the point.
<4> The code is nearly exactly the same in PHP as it is in Python.
<4> BadBreath: return ar;
<4> BadBreath: That's not an array
<5> It's too simple :)
<0> looking
<4> BadBreath: That's an undefined constant that PHP tries to guess for you and turns into a string
<4> BadBreath: Variables have a $ in front of them in PHP
<5> TML: ##php people don't like simple! They want complex answers!
<4> BadBreath: The odd thing is that you clearly understood that at the BEGINNING of the function, but seem to have forgotten it by the time you got to the END
<2> macronyx: no.. you'll have to have a for loop and go through $matches[1][$counter] until you find the var you're looking for, and then the value will be at $matches[2][$counter]
<0> forgive the two line past please ... $ranges = range(97, 122);
<0> $ranges = array_merge($ranges, range(48, 57));
<4> BadBreath: And don't use list(), use foreach() instead. It'll make you happier.
<4> slid3r: Yes?
<0> oh ok srry
<0> I am a tard
<0> look I said I wast that smart
<3> TML: thanks... it's just one of those things hiding under my nose... not the ones some people eat, but just the ones I couldn't see for some reason
<4> slid3r: Now, if you find the PHP significantly easier to read than the python version, I challenge you to explain why.
<0> I admit there are things I don't understand
<4> And we're not talking about being able to figure out what the code is doing. Obviously, knowing the PHP library of functions, it's going to be easier for you to understand than the python version, given that you don't appear to be familiar with the python libraries.
<4> It's a question of which is easier to "read".
<4> IMNSHO, it's a toss-up. Six on one hand, a half dozen on the other.
<3> TML: The tutorials for PHP tend to be way better than for Python.... Python tutorials make you sit there and type hundreds of little expressions for weeks before you actually make anything useful.. That was actually the main thing that caused me to give up trying to learn python.
<0> TML: exactly
<4> slid3r: "exactly" what?
<0> I am not familiar with the python libs
<6> how can i exec a sudo command?
<0> please
<4> slid3r: That has nothing to do with readability of code
<4> slid3r: And you're not going to get any sympathy from me. I'm a high-school dropout who self-taught himself to be a programmer using whatever free books I could get my hands on from public libraries and such while working two full-time jobs (as a Trackhoe Operator and Gas-station Clerk)
<4> What I knew about computers wouldn't have filled a thimble.
<0> well
<0> ok, can we please do the PM thing?
<4> It's not a question of what you know, it's a question of how badly you want to learn.
<0> I can fully agree with that
<5> Motivation, mentality, capability.
<0> I actualy would like your opinion on some of the sloppy code I have written/am trying to learn ... pm?
<7> lakbu: try exec ( 'sudo -S cmdhere < p***wordhere' );
<4> slid3r: I'm generally of the opinion that it should be done here in the channel so everyone can benefit.
<4> What is the motivation for taking it to PM?
<0> embar***ment on my part more than anything
<8> TML: for future reference... phpDBForm fits what i need
<5> slid3r: Don't worry, 90% of PHP coders ****, but learn from TML, wise :)
<9> heh
<10> yeah
<5> **** at PHP, I mean.
<8> CMS for a CMS indeed
<0> kuja, what I am worried about is that YOU love to piint it out
<0> point*
<10> and 90% of the code the other 10% of php coders write ****s also
<11> lol
<0> which you have doen to me at least half a dozen times
<5> slid3r: =(
<5> slid3r: I'm nice! </not>



<0> zactly
<11> kuja: You're bitch, my bitch <3
<5> :(
<5> <3 anyways :D
<0> I will say as I said to TML ...
<4> slid3r: Did you mistake me for a kind, gentle person? I'm more cruel, tactless, and impatient than any other three members of ##PHP combined, save Pollita
<4> Who is my dark and hungry goddess
<11> haha
<5> Pollita is the evil bitch queen. <3
<0> 4 line paste ...
<0> [00:04] <0> what you need to please realize
<0> [00:04] <0> is I am a locksmith
<0> [00:04] <0> and I ALMOST finished my degree
<0> [00:04] <0> but didnt
<5> slid3r: Bye
<11> Hell hath no fury like Pollita scorn
<0> bye
<4> slid3r: We don't care what you've finished. I'm *less* inclined to hire someone with a degree.
<5> doh! Guess not :(
<0> look all I am trying to do is a hobby/project
<12> Locksmith Degree ?!
<4> Given, of course, that there are hard-working, bright, and energetic non-degree'd people applying.
<0> is there no room for those that are not elite?
<0> Jymmm, late 90's CS degree
<4> slid3r: There is only room for those who WANT to be elite. If you have the will, we'll help you with the means.
<0> I think I have asked valid questions, ones I have tried to research and test b4 I asked
<4> !tell slid3r about aolbonics
<5> When will someone hire me...
<5> Oh right, by the time I post a damn resume.
<12> slid3r: How long have you been a locksmith for?
<5> </doh>
<11> kuja: When you charge $5 for ****y-****y
<4> Dangermouse: <:I
<5> Dangermouse: $40/hr! No less, but always more!
<11> lol
<0> ok well apperantly I canot talk in abbreviation without the spamming
<0> whatever
<5> My ****y-****y skills are inrivaled.
<5> unrivaled, even
<11> haha
<12> kuja shush you
<12> slid3r: How long have you been a locksmith for?
<5> slid3r: No, apparently you cannot read the topic.
<5> slid3r: It is completely different.
<5> Did I mention that 90% of the people who step in here never read the topic?
<11> What topic
<0> I have been a locksmith for over four years
<5> s/0/9.8/
<0> you know what fellas
<12> slid3r: focusing on anything in particular?
<0> there is no need to talk trash to me
<5> Dangermouse: Topic for ##php is: Dangermouse is a whore || Stable: PHP 8.1
<0> I have done nothing
<11> kuja: 8.1, is that it?
<5> Dangermouse: Yeah... =(
<11> slid3r: Dude, this is IRC
<5> Dangermouse: Unstable: 8.2RC
<12> kuja dAndy enough.
<12> kuja Dangermouse enough.
<0> Jymmm .. I am admitedly weak in safe opening ... but I exceed in residential and auto
<11> kuja: And hosts are *still* on php4 right? :)
<12> slid3r: lockouts mostly?
<0> I have no training or resource for safes
<0> wish I did
<0> no not lockouts by a long shot
<0> well
<11> slid3r: So you steal cars and break into houses? :P
<4> Dangermouse: php4 or die
<0> lockouts cover the entry level of what I do sure
<11> heh
<0> thats our easy money
<12> slid3r you work for yourself or a shop?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

binary representationquick division
ubuntu acer 8200
make: ***[libphp5.la]Error 1 cannot fine lltdl
#linuxhelp
#math
#gentoo
mysqldsafe
#kde
gentoo emerge xterm
#centos



Home  |  disclaimer  |  contact  |  submit quotes