@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> if one want to bind a proc for every 5'th min do I need to fill out every * like: bind time - "05 10 15 20 25" proc
<1> prkle: topic
<0> which part of it?
<1> "Please direct eggdrop questions to #EggTcl"
<0> didn't know bind time was "direct eggdrop*"
<1> it is
<0> cool
<2> arg
<2> i cant get the fbsql to connect to the mysql database
<2> !
<2> anyone who's using fbsql and mysql?
<3> i used it
<3> switched to mysqltcl though
<2> trying that now
<2> same error
<2> seems they're not able to communicate



<2> or something
<3> what error :)
<2> ::mysql::connect/db server: Can't connect to MySQL server on 'localhost' (10061)
<3> that error seems pretty damn obvious to me ;)
<2> Error 2003 (Can't connect to MySQL server on 'localhost' (10061))
<2> that's the FBSQL error
<2> and by that you're gonna say that the mysqld is not running, are you?
<3> im gonna say it doesnt listen on localhost
<2> even tried my ip
<2> 127.0.0.1
<3> tried telnet ?
<2> were trying it now
<2> what's the default port on mysql?
<3> mysql 3306/tcp # MySQL
<3> mysql 3306/udp
<2> htmmm
<3> im smart eh ?
<2> still can't get it to run
<2> but sure, you're smart
<3> when using local host, dont set any ip
<2> im inside using the command line application now
<2> i havent
<3> its cnnecting through a local socket
<2> #"&/#%76
<2> piece of ****
<3> :)
<2> hrm
<2> dunno how to connect to this ****
<3> make it listen
<2> tried 'localhost', my local ip, my actual ip, 127.0.0.1, my hostname, my computer name
<2> piece of **** wont't accept it
<2> its too late to be doing this now anyways
<2> thanks for the help, though
<3> :)
<3> im looking for my config file
<2> remember im running win
<3> where the heck does mysql throw that one :)
<2> etc
<2> i really should get into freebsd **** soon
<2> right now im trying to understand normalization standards for databases, which is quite frankly throwing me off
<3> good god im using an empty config file
<2> ;>
<2> good thing i had you looking into that, then
<3> been running smooth for a good year now :)
<3> [01:54:16] <+hest> right now im trying to understand normalization standards for databases, which is quite frankly throwing me off <- my db is working, that's alot of work u know ;)
<3> the understanding that part
<3> im not making sense anymore
<2> no, you're not ;>
<0> lreplace seem having problem with storing words including [ ] \ {} , it adds a "\" infront of it..
<0> any idea how to escape this?
<1> make sure you're operating on a proper list
<1> oh misread that, the escape character is added because lreplace is for lists
<1> if you p*** a regular string, it's converted to a list before the item is replaced
<1> ; set string {[ foo ] bar}
<4> neoxed: #874 (298 clicks) Tcl: [ foo ] bar
<1> ; set list [split $string]
<4> neoxed: #875 (368 clicks) Tcl: {[} foo \] bar
<1> ; set list [lreplace $list end end]
<4> neoxed: #876 (418 clicks) Tcl: {[} foo \]
<1> ; join $list
<4> neoxed: #877 (346 clicks) Tcl: [ foo ]



<5> Can someone help me out? http://pastebin.com/630462 <- Check my problem!
<1> everything is wrong with that
<5> :(
<5> Can you help me?
<1> I have no idea what what strftime does, but it's probably something part of egg****
<5> :(
<1> if it just returns the date in human readable format (a string) you can't use compare the result as if its a number
<1> "[strftime %H%M]" <= "[string map {{:} {}} $second]"
<1> and you're using the "isin" operator in correctly
<1> it's "in" and "ni", in Tcl 8.5
<1> the element comes before the operator and the list comes after the operator
<5> can you fix it?
<5> rewrite it?
<1> you can
<5> I can't even rename a file to .tcl
<5> ;)
<1> doesn't mean you can't learn
<5> i'm trying to learn PHP
<5> 1 thing a time
<6> i got a string (2005)
<6> whats the ebst way to trim the brackets?
<7> ;string map {( "" ) ""} "(2005)"
<4> _janis-: #987 (730 clicks) Tcl: 2005
<6> ah thx
<8> mh
<8> ;scanf
<4> Gotisch: #990 (5640 clicks) Tcl error: invalid command name "scanf"
<8> ;scan
<4> Gotisch: #991 (687 clicks) Tcl error: wrong # args: should be "scan string format ?varName varName ...?"
<8> ;scan (2005) (%4$i) thing; puts $thing
<4> Gotisch: #992 (705 clicks) Tcl error: can't read "i": no such variable
<8> ;scan (2005) {(%4$i)[ thing; puts $thing
<8> ;scan (2005) {(%4$i)} thing; puts $thing
<8> ;]
<8> ;}
<8> come one
<8> -e
<8> ; scan (2005) {(%i)} thing; return $thing
<4> Gotisch: #995 (412 clicks) Tcl: 2005
<6> ;string trim "a / b / c" /
<4> grant: #996 (625 clicks) Tcl: a / b / c
<6> ;string trim "!!abc def!!" !
<4> grant: #997 (651 clicks) Tcl: abc def
<6> hmm
<2> trim takes from either side
<2> if you want to remove them, then use either string map or regsub
<5> Need help! http://pastebin.com/630462 <- check out my probel
<5> Need help! http://pastebin.com/630462 <- Check out my problem!!!
<3> if {"[strftime %H%M]" <= "[string map {{:} {}} $second]" || "[strftime %H%M]" >= "[string map {{:} {}} $first]" && !isin "[strftime %A]" [strftime %A]} {
<3> isin ?
<3> that if doesnt make much sense :)
<5> so i should remove !isin ?
<3> why did you add it in the first place ?
<5> i didn't
<5> it's a finsihed script from egghelp.org tcl archive
<5> that don't work
<3> then bitch the guy who wrote it
<5> i did
<5> :P
<5> okey i'ltt try without !isin
<5> and see then
<3> i doubt anything will work in that script
<5> you want write a new one for me? (a)
<5> syntax error in expression ""[strftime %H%M]" <= "[string map {{:} {}} $second]" || "[st...": extra tokens at end of expression
<5> i got that wrong when i removed !isin
<3> that script is very poorly written, and u wont learn anything, and u didnt read topic, everything is wrong here u know ;)
<5> topic?
<5> there is no topic
<5> 'm not trying to learn somehting
<5> and at last i just want help to get that script working
<3> no, but this is a learning chan, so sux ;)
<5> so nothings wrong ;)
<5> okey learn me how to fix that script? :p


Name:

Comments:

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






Return to #tcl
or
Go to some related logs:

#linux-noob
#heroin
#beginner
#microsoft
#politics
rhino 3d 4 beta
#winxp
#heroin
#windows
#netbsd



Home  |  disclaimer  |  contact  |  submit quotes