@# 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> !+msg the bot
<1> talk to the bot in msg or our trained attack llamas will bite your genitalia off
<0> I still like this one :)
<2> hehe nice
<3> Stormchaser: well, and there is no way to uninclude a file, right? :(
<4> meh looks like php's mysql_pconnect can have locking issues, so going for mysql_connect; thanks anyways
<4> hmm and php internally uses persistent connections anyway apparantly under my circumstances so it's a nonissue, sorry
<2> i love the fact that this server encourages ops to remain deoped... removing egos makes for a much more constructive environment :]
<5> Anyone experimented with using XSLT on PHP objects instead of XML?
<0> Ox0000: You can consider the function as definition. Once defined it can't be 'undefined' or 'changed'.
<3> Stormchaser: same with includes... my problem is that i coded an irc bot where i'd like to dynamically load triggers etc... and if i change a trigger i'd like to reload it... but seems like there's no way to do that
<6> why not?
<7> ok scratch all that other crap i was talking about
<7> i dont need to merge the arrays
<7> i can just copy the values from one array to another, and that will solve the problem
<7> $ins_fields["data"][4]["value"] = $tempstore["data"][4]["value"];



<4> Ox0000: not the cleanest/best way but you could do it using eval (depending on the internal structure of your bot)
<7> this code works for that specific value
<0> Ox0000: There is a pretty bad flaw in your software design.
<3> Sillyman: because I define the triggers in functions like triggers_name in includes. I can load them with include but I cannot unload them which. So I always get a function defined error..
<7> now how do i globalize that function, so that it works for every value, not just [4]
<3> Stormchaser: what flaw?
<6> Ox0000, design error :(
<3> well how could this be solved?
<4> Ox0000: a better way would be to have them as members of a cl*** with a version number in the name
<6> i have and idea but i cant convert them to words :/
<6> but its all in the design
<4> eg cl*** GuideLines_01 { function triggerFoo(){bar;} };
<3> hm ok
<4> replacing GuideLines with something appropriate
<3> ok, i'll see ;)
<4> just keep an array of objects that are of the same type as the latest version
<4> though whenever you reload a plugin, i think that your memory usage will grow (or does php have a garbage collector?)
<3> hmm you're right. this would blow up the bot
<4> meh even if it does have garbage collectorit would have to keep the old version in memory given it was #included
<3> the problem is that i cannot "unload" a cl***
<4> you could read it into a variable and whenever you want to execute the trigger, use eval
<3> hmm sounds better
<8> !+eval
<1> If eval() is the answer, you're almost certainly asking the wrong question. -- Rasmus Lerdorf, BDFL of PHP
<4> heh
<3> Jymmm: thanks, i know that eval is quite dirty, but please, if you know a better approch? ;)
<9> try runkit -> php.net/runkit
<10> hi all
<10> what function can convert this:
<10> \157\162\155\40\143\154\141\163\163\75\42\154\157\147\42\40\141\143\164\151
<0> fred87: For HTS?
<10> to a readable format?
<10> i think it's octal strings
<4> Stormchaser: HTS ?
<10> and if i print it
<3> philip: oh, didn't know this extension. seems like this is what i'm searching for
<4> philip: ooh shiny
<10> it get's the readable format
<3> philip: thanks a lot :D
<10> but how can i convert it withiut print?
<9> :)
<0> fred87: Hack This Site... They have some pretty weird challenges there...
<4> nah, just for something interesting to do
<0> heh... okay.
<11> HTS is kinda weird
<0> itrebal: sure it is... It's constructed of 99.732% of "wannabie hackers"'
<11> rmmhmm
<11> gah, my 1337 h@xz0rz dvd ripping s0ftwarez iz taking a long time
<0> the remain actually know, what are they doing :)
<11> actually my dvd ripping program *is* taking a long time
<4> oooh
<11> i should re-write it.... in php
<0> itrebal: I left them because most of them are too dumb to turn on their computers properly...
<7> muhahahaha
<7> i got it!
<11> Stormchaser: heh, thats amazing
<7> freakin hallelulah
<7> what a pain in my ***



<4> personally i don't like dependency tracking and i love kde, so not for me; though it is quite nice for some people
<0> *cough*kubuntu*cough*
<4> dependencies :P
<4> also, i like installing a package being so similar to "make install" with no extra configuration stuff done
<0> fred87: Dependencies are on slack as well...
<12> does anyone know if $function = phpinfo; $function(); is compatible with PHP5, PHP3? I only have access to PHP 4 right now, & it works...
<4> Stormchaser: not dependency tracking
<4> well, excluding 3rd-party tools
<8> A bento box sounds good right about now
<4> Jymmm: meh i'm jealous
<0> fred87: you can't install only kdewebdevelopment ot kdeutils without installing kdelibs :P
<4> no decent japanese food around here :(
<12> can someone on PHP5 test if this works --> $function = phpinfo; $function(); ?
<11> i'm going to a sushi place tonight actually
<11> bricecube: that will not work, period.
<4> you can; it just won't work :) i personally like typing "installpkg kdewebdev*.tgz" and it installing kdewebdev, nothing else :)
<12> itrebal, works in 4
<4> but i know why other people won't
<4> *wouldn't
<11> bricecube: no, it does not
<0> bricecube: That phpinfo should be in quotes.
<10> anz idea<
<2> the paypal api has gotta be one of the most complicated pieces of cr@p ever
<10> ?
<12> itrebal, I just ran it..
<12> I forgot the quotes ;)
<12> but, w/o quotes it seems to work
<4> Stormchaser: things like k3b are one reason why; most dependency tracking things will install a load of dvd video rippers/media converters etc if you try to install it
<0> fred87: That's the whole point... Why the heck would you install something, that's not going to work because of missing dependencies?
<11> gah $func(); must be an awful coding practice
<11> call_user_func for me
<4> Stormchaser: some things can be pursaded to work without dependencies (and this is excluding the things which should be listed as optional dependencies but often aren't)
<0> fred87: 'mkisofs' comes to mind... That and cdrecord and dvd tools are the only thing, that are installed on ubuntu (and deb as well)
<11> bricecube: you need quotes, but you should use call_user_func
<12> itrebal, it may be ugly... but a way to overload a function (gettext call from smarty-gettext w/ $smarty-gettext-overload) ... ie. if ($smarty-gettext-overload) $smarty-gettext-overload($str); else gettext($str);
<0> o.O
<12> heh
<0> you CANNOT use hypen in variable names.
<4> Stormchaser: the thing that made me start hating dependency tracking was say i install KDE from subversion, then install amarok from package (a binary compatable version), i don't want my subversion install of kde overwritten
<12> Stormchaser, besides that... does that look OK?
<0> subversion? Why the heck don't you compile amarok as well?
<4> and yes, i know you can tell the DB you've installed it manually, but to me that's more h***le than no dependency tracking
<13> you know, i would program a hotornot script, but i'm thinking there has to be one free one out there!
<13> does anyone know of a decent one?
<11> lra_: like ratemygirlfriend.com ?
<11> or ratemypoo.com
<0> lol
<8> itrebal SMF
<2> lra, of course there has to be
<13> yeah
<2> try hotscripts or something
<14> if my server is not saving the value of session variables what do i have to do to fix that
<13> yeah - hotscripts is all paid
<11> Jymmm: eh?
<4> Stormchaser: okie, say on suse i ran yast online update, it would then insist on me either installing kde packs or removing yast's kde support
<2> no its not, they have tons of free stuff
<13> i'm sure though anything i get for free will have holes in it
<8> !+smf
<1> [SMF] Sick Mother ****er
<4> (this is based on suse 9.1, not used it for a while)
<11> haha
<13> i'm weighing up, to either dl and repair, or make own
<13> Monkey_b - all the hotornotscripts are commercial
<11> lra_: make one, cant be that hard
<15> like i was aying...
<2> o
<2> yea its gotta be pretty easy actually
<15> until when is a unix datestamp valid?
<8> tomorrow
<2> like 2030 i think
<4> or suitable for you possibly; if you remove ubuntu's X package, compile xorg 7 from source for XGL support, and don't touch the DB; what happens when you next try to install an xap package
<0> yesterday. It already expired.
<16> question, regarding max_input_time.. if i have a user that has a crappy line and it would take him 3 minutes to upload a file, and i have max_input_time = 60, is he going to be cut off?
<11> 2038


Name:

Comments:

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






Return to #php
or
Go to some related logs:

openntpd localtime
eq2+xine
yast sysconfig fuse
+reports too many keys pressed. +gentoo
#perl
Loading libc6-udeb failed for unknown reasons
Fast Data Access MMU Miss ubuntu
#python
e16 rpm fc5
#freedesktop



Home  |  disclaimer  |  contact  |  submit quotes