| |
| |
| |
|
Page: 1 2 3
Comments:
<0> HELLO EVERYONE <0> I AM A TRASH COMPACTOR <1> whats a trash compactor? <2> @ eggtcl: <2> [23:58:03] <0> help <2> [23:58:07] <0> i am a trash compactop <2> [23:58:08] <0> i am a trash compactor <2> [23:58:37] <@BL4DE> im a cum dumpster <2> [23:58:53] <@BL4DE> this didnt get any of us very far :> <2> [23:59:12] <0> :O <2> [23:59:28] <0> could someone insert his cudgel in me <2> [23:59:33] <0> i know that you have a huge cudgel in your pants <1> what does that have to do with trash? <3> [20:44:50] <n-newbie> CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! CHILD RAPE!!!! <3> [20:44:54] <n-newbie> i love child rape!!!!!!!! <3> [20:44:55] <n-newbie> i love child rape!!!!!!!!
<3> i knew i knew him <4> whats the point in that type of spam? <2> what's the point in any spam? <3> see peoples reaction <3> money is normally the point <1> mh <4> yoe, there is a point in the type of spam that advertises websites <1> is there a nonblocking mysqltcl implementation? <1> or something with callbacks? <3> there's a point in everything, not everyone can understand it tho <2> well, irc-advertisement isn't that good, no one follows the links anyway. <4> Gotisch, if someone could point me in the right direction i'll make fbsql non-blocking <1> fbsql? <4> yeah <4> but i dont know how to make it non-blocking <2> make a tclSql-package, which uses asynchronous sockets to the mysql-db, lol ;) <1> i dont know what fbsql is <1> ye <1> with a callback in tcl <4> yoe, but how does that make it non-blocking? <1> mysqlquery $query callbackproc additionalarg1 additionalarg2 <1> mysqlquery should return at once <2> async = non blocking? <1> and then callbackproc should be called when result is returned by mysql-db <3> yoe, no means it doesnt wait till a command is complete <4> yeah <4> Tcl_SetResult(interp, "[FTPTCL] Error: Failed to connect. Are IP/Host and port correct?", TCL_STATIC); <4> return TCL_OK; <5> [GRiMMY]: #1521 (130 clicks) Tcl: TCL_OK <4> return TCL_ERROR; <3> well, it is nonblocking, but not what's meant with it :) <5> [GRiMMY]: #1522 (127 clicks) Tcl: TCL_ERROR <2> BL4DE, that's pretty much non-blocking to me, it doesn't "halt" the script and wait in ages to continue.. <4> you need to return somethin <1> you shouldnt return tcl_ok if you got an error <4> lol <3> well, for example with a socket its so fast to perform the commadns it doesnt matter its blocking <4> thats taken from different sections Gotisch <2> depends on the server it connects to? <3> but u can avoid to check if a socket is useful <4> but what my point is <4> whether the c code is async or not <4> doesnt matter <3> ye ofc :) <4> the tcl will still wait for the return value <1> ye <1> thats why you need callbacks! <1> like bgexec <4> Gotisch <4> whats one of them <1> one of who? <4> a callback <1> i dont get it <1> when doing the query <1> you should be able to <1> supply a proc thats called when the query returns <1> with additional arguments <4> hmmm <1> mysqlquery $thequery nameofcallbackproc <additionalargs> <1> so <1> mysqlquery "SELECT * FROM TEST" testcall $var1 $var2 $var3
<4> oh so it already has it? =P <1> would call <1> no <4> oh right ok <1> thats how i want it to be :P <4> lemme get a link to the bgexec source <1> testcall $queryresult $var1 $var2 $var3 <1> basically <4> yeah <4> lemme get a link to the bgexec source lol <2> what's that mtv-gala named where bands like KoRn plays tribute songs to Metallica (while their sitting in the audience)? <4> ok bgexec code is too complicate for my C skills <2> MTV Icon: Metallica ;) <4> aha! <4> http://www.tcl.tk/man/tcl8.4/TclLib/contents.htm <1> bgexec is written in tcl <4> Gotisch <4> you know C? <1> a bit <4> good enough to mod mysqltcl? <1> i doubt it <4> lol <4> Tcl_EvalEx is an extended version of Tcl_Eval that takes additional arguments numBytes and flags. For the efficiency reason given above, Tcl_EvalEx is generally preferred over Tcl_Eval. <4> Tcl_VarEval takes any number of string arguments of any length, concatenates them into a single string, then calls Tcl_Eval to execute that string as a Tcl command. It returns the result of the command and also modifies interp->result in the same way as Tcl_Eval. The last argument to Tcl_VarEval must be NULL to indicate the end of arguments. Tcl_VarEval is now deprecated. <4> just need to use that <1> really? <1> thats easy <1> my first hello world module could do that <4> lol <4> i doubt it <4> it isnt that easy <1> it wasnt hard at all <1> i think i still have the source somewhere <4> using Tcl_EvalEx? <1> ye <4> hmm ok <1> it was a wrapper <1> you did <1> now <1> and it did evaluate clock seconds <4> oh lol <1> it was for speed testing <4> its harder when it comes to modifying the entire mysqltcl to use Tcl_EvalEx <1> this was lot slower then clock seconds of course <4> i got too little skills to do it i think <1> after that i got the time in c <1> and that was ~ same speed as clock seconds <4> i could modify the fbsql code <4> that wouldnt be that hard <1> i still dont know what fbsql is <4> lol <4> http://www.fastbase.co.nz/fbsql/index.html <4> my prefered tcl mysql interface <1> http://wiki.tcl.tk/12704 <1> can resolve fastbase.co.nz <1> does it have autoescaping of vars in query? <4> dunno <4> tkwait ? <4> i think it may already be non-blocking <4> it has some fbwait procedure <4> trying to figure out what it is <1> non-blocking is useless without callback feature <4> i'm trying to figure out what fbwait is <4> it works in the same way as tkwait <4> if that means anything <6> .tcl string length ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/ <5> poci: #1653 (20028 clicks) Tcl: 64 <6> .tcl expr 256-65 <5> poci: #1654 (616 clicks) Tcl: 191 <6> .tcl string repeat <5> poci: #1655 (38469 clicks) Tcl error: can't use non-numeric string as operand of "*" <6> .tcl string repeat a 3 <5> poci: #1656 (251 clicks) Tcl: aaa <6> .tcl string repeat "\0" 191
Return to
#tcl or Go to some related
logs:
#computers #windows #beginner 7-Sided Cube eromaxx #gentoo #windowsxp #politics #firebird #hardware
|
|