Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

04 November 2007


Total 21 pages. You are browsing page 5/21.

First :: Prev :: [...] [3] [4] [5] [6] [7] [...] :: Next :: Last

02:13 <****> :'D
02:13 <****> gah
02:13 <****> Kban autojoin.
02:13 * iank is good at the internet
02:13 <****> +_+
02:13 <****> flood protection was only set for the markov bit
02:13 * SubStack adds to other bits
02:13 <****> Sorry substack :)
02:13 * iank is still laughing
02:14 <****> well, threads/forks are really needed (one to listen incomming connections and buffering them and another to treat buffered messages).. however i'm having difficults because I have a lot of global vars (for keeping a complex state) and I should have packed them into a single strucuture rather than using globals..
02:14 <****> SubStack: have your bot ignore other bots
02:14 <****> "dngor" at 68.213.211.142 pasted "for SubStack - my Text::Conversation chain bot (so far)" (331 lines, 7.6K) at http://sial.org/pbot/28422
02:14 <****> Somni (my last msg was in answer to your)
02:14 <****> ok
02:15 <****> and that's why all existing bots are broken
02:15 <****> bots are supposed to not send PRIVMSGs ever
02:15 <****> SubStack: that pasteling has a list of bots I know. :)
02:15 <****>{hash} will become a hard (but probably necessary) work...
02:16 <****> GumbyBRAIN, sandwitch?
02:16 <****> How do i have to replace the boundary=" <- that.
02:16 <****> GumbyBRAIN, crocodiele
02:16 <****> GumbyBRAIN, crocodile
02:17 <****> GumbyBRAIN, crocodile
02:17 <****> Why didn't they say that stat won't work on software engineering side of parallels on the planet listens to underworld - crocodile.
02:18 <****> ah yes.
02:19 <****> Now I gotta add serfbot. :)
02:20 <****> :)
02:20 <****> the bot registries will prove very useful when they revolt
02:21 <****> They stink on ice.
02:21 <****> shazbot
02:21 <****> SHTUPTING
02:21 <****> substack: not if the only place they can be found is inside other bots :(
02:21 <****> it occurs to me 90% of bot problems in here would be solved if they just ignored iank
02:22 <****> Very likely.
02:22 <****> can perl use csv files?
02:22 <****> gekz: no, use Java.
02:22 <****> Gekz: nope, impossible, text is beyond Perl's ken
02:22 <****> lol.
02:22 * Gekz has a habit of asking stupid questions
02:22 <****> I can add iank to the hash of nicknames to avoid..
02:23 <****> hey :(
02:23 <****> Perl is not Turing complete. It can only do CGI, and badly at that.
02:23 <****> Gekz: http://search.cpan.org/~jwied/Text-CSV_XS-0.23/CSV_XS.pm
02:24 <****> o hai qwux
02:26 <****> o conf iank
02:28 <****> Warning: unknown configuration variable 'iank'
02:29 <****> rm iank
02:29 <****> why isn't Perl Turing complete, candide?
02:29 <****> pragma_, Are you sure you're not a tiny idiot??
02:29 <****> candide++ # I lol'd
02:30 <****> candide: is iank a tiny idiot?
02:30 <****> pragma_, As if!
02:31 <****> candide: source
02:31 <****> candide's massive filthy hedgehog can be found at 'svn checkout http://pbot2-pl.googlecode.com/svn/trunk/'
02:32 <****> :O
02:33 <****> !here
02:33 <****> Announcing seen triggers here.
02:34 <****> candide: source
02:34 <****> candide's huge filthy turkey can be found at 'svn checkout http://pbot2-pl.googlecode.com/svn/trunk/'
02:35 <****> fxn , Somni , anno- : thanks for helping, i'm leaving now.
02:37 <****> top20 pragma_(??{1})
02:38 <****> 21:41 -!- candide [n=pbot2@blackshell.com] has quit [Remote closed the connection]
02:38 <****> Eval-group not allowed at runtime, use re 'eval' in regex m/pragma_(??{1})/
02:38 <****> Neat.
02:38 <****> :|
02:38 <****> !here
02:38 <****> Announcing seen triggers here.
02:39 <****> pragma_: Line 496 of pbot2.pl
02:39 <****> pragma_: always compile user-input regexes in an eval with qr//
02:39 <****> pragma_: hey, at least you got saved from the `hey neat I can run any code I want to because you used user-input in a regex!' bug :)
02:39 <****> Somni: thanks
02:40 <****> block eval, that is
02:42 <****> How may I change data on the current output line in a Linux terminal?
02:42 <****> For example, I have printed "20%", and would like it to visually be replaced with "21%". I'm not working with percentages exactly, but the same concept exemplified here.
02:42 <****> backspace it.
02:43 <****> Then print what you deleted.
02:43 <****> Jol: probably \r, but it can depend on the terminal
02:43 <****> You'll probably want to make sure you've $|++;'d some point in there.
02:44 <****> $| = 1; plzkthx
02:44 <****> agrd.
02:45 <****> $| = undef; # LOL
02:45 <****> Indeed! Not autoflushing was my issue, I'd tried backspacing etc.
02:47 <****> What makes it obvious that autoflushing needs to be enabled in that case?
02:47 <****> I'm just not quite sure where buffering comes into effect
02:48 <****> Since you want the updates to appear in real time.
02:49 <****> Without the autoflush, that's not guaranteed to happen.
02:51 <****>;print $q;' file.txt ?
02:54 <****> why are you trying to manually parse and interpolate placeholders?
02:55 <****> everyone needs some SQL exploits
02:56 <****> Somni: I am trying to ease the db manipulation by reading input from the file and execute the sql line by line
02:56 <****> hengha: you are making life more difficult, and less secure, for yourself
02:57 <****> if you want to display queries then print the query, unmodified, then the placeholder values you would use
02:57 <****> let DBI do the actual placeholder handling
02:58 <****> Why does use of placeholders prevent SQL injection?
02:58 <****> it quotes automatically for one
02:58 <****> Hi iank!
02:59 <****> I have a hex string "00C9" and I want to take the two's complement of it. So I ~ and add one but I get some large value (4294967095) any thoughts?
02:59 <****>;print $q' will print all the lines after first one , how come ?
02:59 <****> Why would automatic quoting prevent injection, troubled?
02:59 <****> Jol: because quoting means it's data. data isn't executed.


Total 21 pages. You are browsing page 5/21.

First :: Prev :: [...] [3] [4] [5] [6] [7] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo