| |
| |
| |
|
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
Comments:
<0> freeone3000: ty <1> ...No problem? <2> perl is fun sometimes <2> have you ever seen the obfuscated perl contests? <2> they're amazing....like 300 lines of code that looks like someone slammed their head against the keyboard a good 50 times that just prints "hello" or something... <3> lol <3> talking to yourself reikon <4> 42 times. <4> There's tradition to be respected. <2> whoa... <2> the xchat thing just happened again <2> hold on.. <5> the xchat thing? <2> yeah he tried to send me a file again <2> yeah my xchat is being screwy for some reason <2> and sourceforge is down...
<2> mmmkay. <6> no effin way <6> :-o <3> maintenance <2> yeah <2> "We're Sorry. <2> The SourceForge.net Website is currently down for maintenance. We will be back shortly" <3> works now <2> thanks hyphen4 <2> got the newest version....guess i'm stuck <7> you'd think SF would have mirrors :) <8> They do <8> They all go into maint at the same time, though. :) <7> TML: that's not mirroring, that's distributed load ;) <9> the whole private scope thing in php5 is wigged out <10> oh? <9> itrebal: i keep running into situations where an inherited cl*** trying to access a private variable doesn't give a warning at all about the variable being private <9> itrebal: i would expect that to be a fatal error <8> dools: That's because the inherited cl*** inherits the private variable. <9> TML: but private means that $this->private_var should fail, protected means that it should be accessible by inherited cl***es <8> dools: Except that in PHP, extending a cl*** extends all scopes. So $this->private_var is the child cl***' $private_var, so it SHOULDN'T error. <11> where can i learn about fetching mysql entries with php VIA javascript (IE, as we select something in a form, fetching something in a database via php without refreshing the page)? <12> primer`: We call that either XmlHttpRequest or AJAX if you want to use buzzworks. Check out #ajax or #javascript. <9> TML: it shouldn't mean that unless private_var has been explicitly declared in the cl*** declaration of the inherited cl*** <11> elazar: thanks <1> You'll have to refresh something. You just stick the refresh in an iframe or something.. <12> primer`: NP. <12> s/buzzworks/buzzwords :P <12> freeone3000: You're behind the times dude. <8> dools: The PHP development team disagrees with you. <13> sigh <9> TML: yeah, Java and C++ disagree with them <8> dools: Well, PHP is decidedly NOT Java or C++ <9> TML: you reckon? they got their PHP5 object model straight from Java <8> dools: No, they didn't...but thanks for playing. <1> Cept for the everything. <14> It's so fun when TML is around :) <9> TML: when i read the description of the changes to the object model pre PHP5 release, i said to myself "hmm, this sounds familiar", and that was because it is exactly the same way Java handles objects. the whole p***ing a handle around instead of requiring & for objects. Java originated that <8> dools: Yes, it looks like Java in places, but I was there when it was designed, and I've gone over the implemenation in thorough detail, and it's NOT Java. <8> dools: It's something PHP has been discussing since before most of the world was aware there was a Java <8> It just took a long time to get it implemented. <12> Odd fact: The initial release of PHP came the month after the initial release of Java. :P <15> I originated MP3 players long before other people even thought of them. I just never built one. <9> TML: i know it's not _written_ in Java, but is a Java concept. anyway, the point i'm making is that if you have a private member function, and you try to call it from an inherited cl***, then it fails. the same should happen for variables. it makes sense, any other way is error prone and counter intuitive <14> Heh, dools is deaf. <8> dools: File a bug, I can pretty much promise you it will be closed as bogus within a wekk. <8> s/wekk/week/ <8> dools: It's hardly a "Java concept" given that most "Java concepts" are stolen from Smalltalk. <9> TML: yeah, that happens quite a bit <8> dools: That's because we're convinced our way is right, and to hell with anyone who disagrees. <1> Ha. You don't need anything but structs and enums. <14> I would rather stick with Smalltalk, but apparently Smalltalk is dead :P <9> TML: that's the spirit!! <15> PHP > Java anyway <8> kuja: Says who? Use squeak. <14> TML: Yeah, that's a Smalltalk implementation right? <8> Yes <8> GNU <14> Yep, I thought I heard it somewhere. <16> ^Migs^: Yes, <?php echo ('PHP' > 'Java')?'PHP':'Java'; ?> ;)
<9> ^Migs^: PHP > Java? that's like saying apple > 4 ... completely different languages <12> "It doesn't matter what you practice, as long as it makes you strong." --Bruce Lee <17> anyone know why GD is making my transparency on my PNG black? (I am resizing the PNG and trying to use it as a watermark) <15> your analogy is like saying "I sure do like pasta, but planetary objects are weird." Completely irrelevant and non sequitural <15> they're both programming languages. There's your similarity. <14> Elazar: The programming world follows this: "Use the right tool for the job" <14> Oftentimes, Java is a much better tool than PHP. <15> PHP is more fun to program in <12> kuja: No arguments there. Languages have their place. <14> I hardly find PHP to be fun, but okay. <18> kuja: Well, this is IRC, so it's more of a 'insist that your tool is the right one and then insult your opponents mother'. <14> PHP's place is in the web, nowhere else. <14> FlamingCows: Mmm :) <15> I run some PHP scripts as cron jobs <12> So do I, actually. <18> I write all my shell scripts in LISP. <15> I use LOGO <18> LOGO is an awesome 'language'! <15> definitely <19> haha <18> Who doesn't love turtles? <14> Me <15> especially triangular turtles <20> I have a turtle on my car's license plate <19> Especially when they're drawing things! <19> They're so useful too! <9> ^Migs^: haha there's my similarity? so you going to say that PHP is better than COBOL and then implement banking software in php <12> What's LOGO? <9> ? <14> I don't like turtles and the color purple. <18> kuja: Awkward... <19> Elazar: It's an old teaching language where your statements controlled a triangular turtle that drew things. <14> FlamingCows: I'm eliminating logo and php :) <19> It was designed to teach young children the fundamental ideas of programming. <18> http://ewikipedia.org/wiki/Logo_programming_language <15> you could even put music in it <18> Er. <18> http://wikipedia.org/wiki/Logo_programming_language <19> Extra e! <19> lol <8> bbtech: Are you trying to use alpha transparency? <17> no <8> bbtech: Are you sure? <18> "The first implementation was written in LISP on a PDP-1." <18> Why does that not surprise me? <17> TML: no...but I don't think I am <8> bbtech: So you have one particular color, and everywhere that color appears, you want transparent instead of the color? <15> wow, I don't remember making graphics like that one on the wiki <15> I learned LOGO in the 3rd grade. LOGO and BASIC. <8> bbtech: There are two types of transparency: binary, and alpha. Binary trans. is either 100% clear or 100% solid. Alpha transparency is what is tradtionally used for watermarks. <17> TML: yes, I want transparency instead of black...as I am using imagecopymerge to place a transparent png ontop of another image. <14> I remember taking a LOGO cl*** in elementary school. And I took a VB cl*** in middle school :P <15> I never learned VB <14> Me too <16> LOGO was my first experience with programming <15> my schools didn't really teach any programming languages <8> bbtech: You need alpha transparency. That means you have to use truecolor images in both source and target. <17> TML: how do I tell what I'm using? <15> unfortunately enough <8> bbtech: *shrug* Most people just know. <17> I'm using...ImageCreateTrueColor <16> they brought in an actual mechanical turtle which you could program and set it going, too :D <15> I made BASIC programs on my old Apple IIGS <15> it'd be so cool if my parents still have my old floppy disks somewhere <8> bbtech: binary trans. is "anywhere the color <foo> appears, make it 100% transparent to the underlying canvas." <8> bbtech: You're not getting true color images on one side or the other. <15> and I could find an Apple IIGS to run them on. I actually made a very sophisticated text-based city conquest game once, I remember <15> actually, I could probably reprogram that in a couple days, now that I think abuot it <8> bbtech: Do you understand what I mean by 100% transparent? <18> I was doing TI-BASIC on a graphing calculator in 3rd grade. They tried to teach us LOGO in 6th grade, moving to TrueBASIC in 7th. <21> 0% opaque
Return to
#php or Go to some related
logs:
#linux ubuntu es1688 ubuntu raid ttbsignup cafuego beagle thunderbird heanol #debian xine ms wmv 9 win32 wmv3 debian ext2resize backports #perl
|
|