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



Comments:

<0> just -- blump -- ..
<1> caffinated: you don't, I do, it's easier to debug if you know what session your dealing with
<2> GregVernon: you don't, at all. all sessions go in to $_SESSION (as ^Artnez just mentioned)
<3> GregVernon: no, because you need to match nested areas. 1 of 2 things would happen if you did it any other way ... either you would match the first [quote] and the first [/quote] (it would disregard the nesting and match the first one) or you would match the first [quote] and the last [/quote]
<1> right....
<3> how do you name a session?
<3> i was under the impression there's only 1 session per user access
<3> with a unique id attached to it
<4> is the ZActiveRecord stuff not implemented yet in the Zend Framework?
<0> ^Artnez: I thought too
<2> you can set it with session_name(), but it's stupid.
<0> i dont get it
<3> yea, but whats the point of setting a name if there's only one
<0> where's my bug? one thing it just remembers and forgets then and the other one it doesn't even remember
<2> hence the 'stupid' part
<3> cjaymes: can't tell ya, however i will say that the whole "Zend Framework" thing is just a counter to the Ruby On Rails success



<5> http://rafb.net/paste/results/mpKAXQ94.html
<4> ^Artnez, sure, but it was need
<4> ed
<2> a weak counter, since the reason it's successful is because of ruby, and the way it works.
<3> i wrote my won framework and I add to it all the time. When I wanted something that compressed and decompressed TAR files, i did the research and wrote it myself. but thats just personal opinion.. some people dont want to mess with that :D
<3> either way, there are MUCH better frameworks than Zend out anyway
<0> WTF??
<0> it does remember but not echo it :/
<0> Array ( [m] => 25 [h] => 22 )
<0> echo $_SESSION["m"]."|";
<6> caffinated: The way I view it is, people try to copy Rails. Rails is merely an implementation of the MVC/AR patterns. PHP frameworks see all this hype, and they don't read any specs, but merely copy the way Rails does things.
<0> just one |
<6> And as many may have noticed, Ruby != PHP, thus you get horrible failure.
<4> ^Artnez, I understand the own framework thing, but I want to plan on someone else maintaining my code
<2> kuja: right. but php is incapable of copying it, because the underlying architecture is not there in an elegant way.
<6> Exactly
<6> I say stick with what PHP *can do*
<0> why? WHY?
<4> ^Artnez, if I write my own, it's just harder to do that; Zend has the community status that they can produce something that will pull together all the framework projects
<6> Instead of trying to immitate something it will never catch up with in a million years.
<0> it doesnt remember it when reloading
<0> **** :(
<2> name: are you calling session_start() at the top of every page you use your session data in?
<3> cjaymes: that wasnt my point.. it may be harder, but you dont learn **** in the process. for instance, if you know how to handle MySQL with PHP, you canjust write your own Database abstraction cl***. You wouldnt go out searching for a framework that has it all in one place.
<3> On the flipside, people will say "hey i want ajax.. i wonder what i can download"
<3> yet they have no clue what the limitations are, what its really good for... all they know is that some website did it right -- thus you spawn thousands of mini-apps that developers like myself have to debug & pull their hair out later with
<0> caffinated: it's only one page ATM
<0> caffinated: i'll do more
<2> name: pastebin your code
<0> caffinated: but i just want it to remember the data
<0> caffinated: whole?
<2> yes.
<0> or the part?
<4> ^Artnez, I'm just worried that in addition to mini-apps we get lots of half-frameworks
<0> http://phpfi.com/105620
<4> ^Artnez, instead of one great framework that everyone has ownership of
<0> it's a clan-match organization system
<1> name: I think the problem may be, if your refreshing, your getting a new session every time
<0> GregVernon: i dont?
<3> cjaymes: you're right.. but take into account that if you have a simple website with simple needs, using something like Smarty is just a waste of file space
<0> GregVernon: why do the p***words stay in?
<1> dude, idk
<7> How can I send a text/html content-type header without it sending a charset value?
<4> ^Artnez, I've actually been working on a framework for a couple of months now; because I don't have the luxury of any other people being able to look at my code, I make architecture mistakes
<0> GregVernon: idk?
<0> caffinated: do you get my code, it's not well formated ;)
<4> ^Artnez, so I have to go back & rewrite to fix those mistakes & introduce more problems while I'm doing that
<3> cjaymes: I went through 4 versions of mine before I got it to where I think it's perfect for any project that comes at me.
<8> name: IDK == I Don't Know
<2> name: wow, you need to indent stuff better
<2> sec, i'm going to throw this in an editor and clean it up
<4> ^Artnez, why don't you distribute it then?
<3> cjaymes: it's not easy, but thats the world we live in. You want something that works at 100% efficiency, write yourself and put an extreme amount of thought into it. That, I think, is what seperates the men from the boys.
<0> caffinated: yep :)
<0> caffinated: it's that crappy, why does it reset some variables?
<3> cjaymes: simple, no time :) between sitting around here and doing normal 'human stuff' i'm always working on a new project
<4> ^Artnez, my boss is a woman, so I'm pretty much neutered right now :)
<4> ^Artnez, she has no clue about software development, just knows we need something fixed now; I don't feel like maintaing 5 different projects on our website, so hence the framework
<3> cjaymes: i hear you dude. when 'they' want something done, they'll call every day with the 'is it done' business
<3> explaining that this stuff takes time is futile



<4> ^Artnez, yepper; well, it's too bad Zend isn't finished yet; I think I'm going to have to finish rolling my own
<1> Jymmm: dude, whats your problem
<4> just to complete the project
<3> ha
<0> then I'll intend ;(
<4> "Dude, what does mine say?"
<8> GregVernon It shows such disrespect and ignorance on the user's part.
<9> man I hope this debian install doesnt have to piss me off.
<4> Jymmm, if your usage is like, 5 years ago
<4> Jymmm, that is so 1995
<8> cjaymes: 5 years or 5 minutes ago, same thing.
<1> cjaymes: or, if you happen to be over the age of 48
<3> cjaymes: i think that everything is a learning process with this type of stuff. people always judge for wanting to do everything myself -- but now, about half of those people are saying how cool it is that i work from home
<4> DogWater, #debian; doesn't ****
<0> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!
<0> }****!
<0> quanta CRASHED!
<0> NO
<1> ??
<4> ^Artnez, now I'm definitely rolling my own ;)
<0> sry
<1> ho
<0> i did that whole formating staff
<0> and it crashed
<0> damn K*
<4> you mean `cd / ; rm -rf *` ?
<9> Oh, I know i'm actually a system administrator by profession and a piss poor software developer. I'm just saying i have to install 12 linux distributions on the same machine to make a golden-image so that we can quickly deploy new machines of each distro and it seems the software we use to do this hates debian every time I try it.
<0> if i once get i gun, I'll save one bullet for the quanta devels ;P
<10> 'rm -rf /'
<10> =P
<8> cjaymes: dont do that please, casue you know some dumb*** is gonna try it.
<10> hehe sorry from me too
<4> true
<10> don't do those statements, it'll delete your root tree, people!
<10> (Which is bad)
<4> I did that once, just for fun
<3> anyone ever listen to the AOL prank call?
<9> unlink('yoursoul');
<1> man, I wish I knew that... 30seconds ago :/
<1> ;)
<9> I do it all the time because I can restore a system in < 30 seconds.
<9> Rsync > you.
<4> it was fine until it started deleting .so that rm used
<4> I think, long time ago
<10> yay rsync
<11> gah! my ram needs to clear out!
<9> pull the power cord
<10> I can't wait for my new computer =D
<8> itrebal: give it a ewe to play with
<3> this guy calls up a woman claiming to be AOL support. he goes through the usual funny **** to get her into believing he really is who he is then tells her to go to Start -> Run -> CMD in windows. Then tells her to type: /cd C: and then del *.*
<11> Jymmm: all of a sudden Xine started eating RAM
<4> itrebal, killall xine
<9> Man i dont think i wanna try and image these Dells.. do I?
<11> cjaymes: its all closed
<9> Its freakin saturday
<10> My new computer is an AMD X2 4400+
<10> 2GB RAM
<3> then he says "what is it saying now"... she says .. "it says its deleting a bunch of things" ... he says .. "How is it feel to have your entire computer get ****ed?" .. she says .. "What? you ***--.." he says .. "invigorating isn't *chuckle*"
<12> itrebal, specs?
<9> Em`Zee: I think my boss ordered me a Intel Mac Laptop
<2> name: ok, rule #1, if you're going to get people to debug your code, I expect formatting. that was just gross. it should look more like this: http://phpfi.com/105625
<9> itrebal: I have 30 Dell 2850s sitting behind me (2x 3.2GHz xeon, 4gb 6x 250GB sata (raid5))
<9> itrebal: boxed up
<11> punkstar: depending on how much money i have at the time, 3.7ghz xeon, or 2 3ghz xeons, and as much ram as i can stuff in it
<8> DogWater: oh like it's SSSSSOOOOOOOOOOOOO hard to yank the hdd's out of dells and image them
<12> ha, whats its purpose?
<12> main task?
<11> punkstar: <insert_main_task_here>
<12> haha
<4> `sudo rm -R /usr/share/php/Zend*` :)
<0> caffinated: i did


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#fedora
#python
#math
iptables --state ESTABLISHED,RELATED -j ACCEPT
yast online update pakages
sasl(-13) no secret in database
etcat versions
#math
scp garbage at end of line; -o
linux libmad-devel wikipedia



Home  |  disclaimer  |  contact  |  submit quotes