00:05 (quit) kvda: Quit: x___x 00:07 (quit) ozzloy: Changing host 00:07 (join) ozzloy 00:13 (join) Mathieu 00:17 (quit) jrslepak: Quit: This computer has gone to sleep 01:05 (quit) jonrafkind: Ping timeout: 276 seconds 01:07 (join) realitygrill 01:12 (join) dsantiago 01:15 (join) jeapostrophe 01:21 (quit) jeapostrophe: Ping timeout: 260 seconds 01:26 (nick) LeNsTR|off -> LeNsTR 01:31 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/lh3dGQ 01:31 RacketCommitBot: [racket/master] fixed scheme_wrong_type call (wrong index) - Ryan Culpepper 01:31 RacketCommitBot: [racket/master] syntax/parse: added template metafunctions - Ryan Culpepper 01:34 (join) mithos28 01:53 (join) whh 02:06 (quit) realitygrill: Quit: realitygrill 02:51 (part) rsimoes2 02:57 (quit) EmmanuelOga: Ping timeout: 244 seconds 03:02 (quit) Mathieu: Ping timeout: 260 seconds 03:22 (join) asumu_ 03:22 (quit) asumu: Write error: Connection reset by peer 03:30 (join) GeneralMaximus 03:39 (join) dspt_ 03:40 (quit) dspt: Write error: Broken pipe 03:46 (nick) LeNsTR -> LeNsTR|off 03:51 (quit) GeneralMaximus: Quit: Leaving 03:56 (join) Shvillr_ 03:56 (quit) Shviller: Disconnected by services 03:57 (join) Shviller 03:57 (quit) Shviller: Disconnected by services 03:57 (quit) Shvillr: Ping timeout: 240 seconds 03:58 (join) Shviller 03:59 (quit) Shviller: Disconnected by services 03:59 (nick) Shvillr_ -> Shviller 03:59 (join) Shvillr 04:04 (join) dzhus 04:54 (quit) mithos28: Quit: mithos28 05:05 (join) masm 05:36 (quit) whh: Quit: 离开 05:36 (quit) ianjneu: Remote host closed the connection 05:37 (quit) masm: Quit: Leaving. 05:55 (nick) chaozzbubi -> ChaozZBubi 06:01 (join) MayDaniel 06:02 (join) bluezenix 06:12 (join) kudkudyak 06:12 (quit) kudkudyak: Client Quit 06:12 (join) kudkudyak 06:24 (join) mceier 06:38 (quit) bluezenix: Quit: Leaving. 07:02 (nick) LeNsTR|off -> LeNsTR 07:20 (join) dblack_ 07:20 (quit) dblack: Read error: Connection reset by peer 07:20 (nick) dblack_ -> dblack 07:24 (join) [1]angusiguess 07:27 (quit) angusiguess: Ping timeout: 260 seconds 07:27 (nick) [1]angusiguess -> angusiguess 07:37 (nick) ChaozZBubi -> chaozzbubi 07:37 (join) asdfhjkl 07:45 (join) masm 07:47 (join) tfb 07:48 (nick) chaozzbubi -> ChaozZBubi 08:02 (quit) dblack: Read error: Connection reset by peer 08:38 (quit) angusiguess: Read error: Connection reset by peer 08:39 (join) angusiguess 08:55 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/uzfH0w 08:55 RacketCommitBot: [racket/master] Synch German string constants with latest. - Mike Sperber 09:03 (nick) LeNsTR -> LeNsTR|off 09:08 (join) anRch 09:10 (join) gciolli 09:29 (quit) gciolli: Quit: Leaving. 09:41 (join) jrslepak 09:49 (quit) Fulax: Quit: This computer is going to sleep 09:54 (join) jeapostrophe 10:10 (quit) MayDaniel: Read error: Connection reset by peer 10:16 (quit) anRch: Quit: anRch 10:31 (join) SeanTAllen 10:31 (join) SeanTAllen_ 10:32 (quit) SeanTAllen_: Client Quit 10:44 (quit) jeapostrophe: Ping timeout: 248 seconds 10:46 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/aCtojQ 10:46 RacketCommitBot: [racket/master] remove unused local - Matthew Flatt 10:46 RacketCommitBot: [racket/master] win32: fix canvas% control border drawing - Matthew Flatt 10:55 (join) bluezenix 11:00 (join) realitygrill 11:03 (join) dblack 11:04 (quit) ChanServ: shutting down 11:07 (join) ChanServ 11:28 (quit) bluezenix: Quit: Leaving. 11:29 (join) Sicp 11:38 (join) yoklov 11:43 (join) gciolli 11:45 (join) jonrafkind 11:47 (join) samth_ 11:57 (quit) Sicp: Remote host closed the connection 11:57 (join) Sicp 11:57 (quit) Sicp: Changing host 11:57 (join) Sicp 12:04 (quit) dblack: Quit: dblack 12:07 (join) GeneralMaximus 12:09 (quit) gciolli: Ping timeout: 265 seconds 12:17 (quit) veer: Quit: Leaving 12:35 (join) jjcomer 12:36 (join) sicp_ 12:36 (quit) Sicp: Disconnected by services 12:37 (nick) sicp_ -> Sicp 12:37 (quit) Sicp: Changing host 12:37 (join) Sicp 13:04 (join) mithos28 13:12 (quit) jonrafkind: *.net *.split 13:12 (quit) SeanTAllen: *.net *.split 13:12 (quit) danking: *.net *.split 13:13 (join) jonrafkind 13:13 (join) SeanTAllen 13:13 (join) danking 13:18 (join) gciolli 13:19 (quit) jonrafkind: Ping timeout: 240 seconds 13:22 (quit) GeneralMaximus: Quit: Leaving 13:23 (join) sicp_ 13:24 (part) sicp_ 13:24 (quit) Sicp: Ping timeout: 244 seconds 13:34 (quit) gciolli: Ping timeout: 252 seconds 13:34 (quit) LeNsTR|off: Ping timeout: 240 seconds 13:34 (join) [1]angusiguess 13:34 (join) Sicp 13:35 Sicp: (fprintf out "PRIVMSG ~a :\001ACTION stabs ~a\001" channelName nickName) 13:35 Sicp: that line never closes the \001 tag 13:35 Sicp: I get a broken ACTION being pasted to the channel 13:35 Sicp: ACTION stabs nickname 13:35 Sicp: as opposed to: 13:35 Sicp stabs nickname 13:36 (quit) angusiguess: Ping timeout: 240 seconds 13:36 (nick) [1]angusiguess -> angusiguess 13:36 Sicp stabs racket 13:37 (join) Fulax 13:37 (quit) Fulax: Changing host 13:37 (join) Fulax 13:37 (join) LeNsTR|off 13:47 (join) dblack 13:50 chandler: Sicp: Looks right to me, but maybe my client is interpreting it as having been implicitly closed. 13:51 Sicp: it IS doing what you're saying, there's no maybe about it 13:55 (join) sicp_ 13:55 (quit) Sicp: Disconnected by services 13:55 (part) sicp_ 14:03 (join) Sicp 14:03 Sicp: soooo.. 14:14 Sicp: does this (string-append nickName "\001") produce "nickname\001"? 14:22 Sicp: it doesn't 14:23 mithos28: rudybot eval: (string-append "nickname" "\001") 14:23 mithos28: rudybot: eval (string-append "nickname" "\001") 14:23 rudybot: mithos28: your sandbox is ready 14:23 rudybot: mithos28: ; Value: "nickname\u0001" 14:24 Sicp: rudybot eval: (define string1 "hello") 14:24 Sicp: oh, not everyone can invoke it 14:24 mithos28: you need the : after rudybot 14:24 mithos28: not eval 14:24 mithos28: like my second line 14:24 Sicp: rudybot: eval (define string1 "hello") 14:24 rudybot: Sicp: your sandbox is ready 14:24 rudybot: Sicp: Done. 14:24 Sicp: rudybot: eval (define string2 "world") 14:24 rudybot: Sicp: Done. 14:24 Sicp: rudybot: eval (string-append string1 string2) 14:24 rudybot: Sicp: ; Value: "helloworld" 14:25 Sicp: rudybot: eval (string-append string1 "hi") 14:25 rudybot: Sicp: ; Value: "hellohi" 14:25 Sicp: it doesn't work in the program.. 14:25 Sicp: how can this be 14:25 mithos28: are you using "\001" in the program? 14:25 Sicp: yes inside a string 14:25 Sicp: (define endTag "\001") 14:25 Sicp: (string-append nickName endTag) 14:26 mithos28: rudybot: eval "\001" 14:26 rudybot: mithos28: ; Value: "\u0001" 14:26 Sicp: that's just what I need, yes.. 14:26 mithos28: rudybot: eval (equal? "\001" "\u0001") 14:26 rudybot: mithos28: ; Value: #t 14:26 mithos28: What is the problem, it just outputs it differently 14:27 mithos28: because "\001" is a non printing character 14:27 mithos28: why do you want that character as the end tag? 14:27 Sicp: because I want to have the irc-bot do an Action, like "/me" 14:28 Sicp: and the end tag is not reached when doing fprintf (fprintf out "PRIVMSG ~a :\001ACTION stabs ~a\001~%" channelName nickName) 14:28 mithos28: but why \001 14:29 Sicp: it's what this page says, http://www.irchelp.org/irchelp/rfc/ctcpspec.html 14:29 Sicp: it works when I run it in the REPL for the bot to say it 14:29 Sicp: it works just fine 14:29 Sicp: eh, fuck it 14:29 Sicp: I've been at this for more than an hour 14:29 (join) AlbireoX 14:29 mithos28: how are you sending it to the IRC channel 14:30 Sicp: PRIVMSG channel : etc... 14:30 Sicp: just like you see up there 14:30 mithos28: with the fprintf? 14:30 Sicp: bceause I want to use the channelName and nickName in the placeholders 14:30 mithos28: rudybot: eval (fprintf "\001") 14:30 rudybot: mithos28: error: fprintf: expects at least 2 arguments, given 1: "\u0001" 14:30 mithos28: rudybot: eval (printf "\001") 14:30 Sicp: meaning that wherever the bot is, and whoever invokes it, it will reply with etc.. 14:30 rudybot: mithos28: ; stdout: "\u0001" 14:31 Sicp: it prints it in the first run, mithos28 14:31 Sicp: ACTION stabs askjdhad <-- 14:31 Sicp: but the end tag isn't printing 14:31 mithos28: can you put your code up on a code paste site 14:31 mithos28: like gist.github.com 14:33 mithos28: do you need the \001 at the end of your string aswell? 14:33 Sicp: of course, for the Action to ..end 14:33 Sicp: to be wrapped in an action 14:33 Sicp: http://pastebin.com/aKa80knj 14:33 Sicp: this is ONE variation that I've tried, mithos28, another one is the one you saw up there when you said that it looked ok 14:35 mithos28: does a command finish with a newline or a \001 14:35 Sicp: well therein lies the problem 14:36 rapacity: the command is supposed to finish with "\001~%" he might be grabbing a new-line along with the (.*) at the end though 14:36 Sicp: you see, when I finish it with ~a~%\001, it reads the new line, doesn't read the \001 until the next time that command is invoked, and then I get Unknown command \001PRIVMSG 14:37 mithos28: are you reading line by line? 14:37 Sicp: if I do ~a\001~%, it also doesn't read the \001 but does respond to the command the next iteration but gives me an error on the REPL, no such command as \001 14:37 Sicp: y.....yea 14:37 rapacity: you might have a newline in your nickName variable 14:37 Sicp: I think 14:38 Sicp: [(regexp ":.+?!.+? PRIVMSG (.+?) :!stab (.*)" (list _ channelName nickName)) 14:38 Sicp: that's how I grabbed the nickname 14:38 (join) MayDaniel 14:38 Sicp: it's after ":!stab" 14:38 mithos28: what are you matching against? 14:38 Sicp: the message that's being read from the server.. 14:39 mithos28: how are you reading it? 14:39 Sicp: (define message (read-line in)) 14:39 Sicp: ;the messages received from the Server will be treated as follows 14:39 Sicp: (match message etc...... 14:40 mithos28: that should strip out the newline 14:40 Sicp: haha 14:40 Sicp: I've GOT it! 14:40 mithos28: good, what was the problem 14:41 Sicp: the fucking REGEX! 14:41 Sicp: !stab (.*) <-- 14:41 Sicp: it needs a non-greedy ? 14:41 Sicp: to contain itself to the nickname only 14:41 Sicp: cause as rapacity said, it might be grabbing a new line 14:41 Sicp: which it was 14:41 Sicp: it doesn't work as of YET, but it does do the action 14:42 Sicp: I get "* Wiz323 stabs " now 14:42 mithos28: thats weird as read-line should not return a newline 14:42 (quit) asdfhjkl: Quit: Leaving 14:43 Sicp: (fprintf out "PRIVMSG ~a :\001ACTION stabs ~a~%" channelName (eval (string-append nickName endTag))) 14:43 Sicp: this is wrong, yea? 14:44 Sicp: because (string-append nickName endTag) DOES what I want, but doesn't...pass it as a value 14:44 mithos28: the eval should be a no-op 14:44 Sicp: I need to do (define nickname (string-append nickName endTag) 14:44 Sicp: or something 14:44 mithos28: rudybot: eval (eval (string-append "nick" "\001")) 14:44 rudybot: mithos28: ; Value: "nick\u0001" 14:44 Sicp: ah ok 14:45 Sicp: wherever it is, it should be a no-op 14:45 Sicp: ok 14:45 Sicp: but what about the inner ones? 14:45 Sicp: -s 14:45 Sicp: it is WITH op 14:45 mithos28: ? 14:45 mithos28: I'm a little lost as to what you are saying 14:45 (part) jjcomer: "ERC Version 5.3 (IRC client for Emacs)" 14:46 Sicp: yea I apparently don't know what you meant by no-op 14:46 Sicp: operands/ 14:46 Sicp: ? 14:46 mithos28: no operation 14:46 mithos28: the eval call is the identity function 14:46 mithos28: rudybot: eval (equal? (eval (string-append "nick" "\001")) (string-append "nick" "\001")) 14:46 rudybot: mithos28: ; Value: #t 14:47 (join) EmmanuelOga 14:49 (quit) dblack: Quit: dblack 14:51 Sicp: this http://pastebin.com/kgmwvcQ7 now produces this "* Wiz323 stabs " 14:52 mithos28: right because the .*? grabs nothing 14:52 Sicp: why wouldn't it? 14:52 mithos28: because it is non greedy, so grabs the least that it can 14:53 rapacity: non-greedy zero or more chars, nothing after it -> zero chars 14:53 Sicp: and so if it grabs nothing, \001 is being appended newly to nothing then added to nickName2 and then puts it in the placeholder of nickName2 in the fprintf? 14:53 mithos28: should be 14:53 Sicp: ah, now it grabs just "a" out of asdasjhd 14:53 Sicp: :D 14:53 Sicp: I consider this done 14:54 Sicp: just regex ignorance that caused this 14:54 mithos28: rudybot: eval (format "~a" "\001") 14:54 rudybot: mithos28: ; Value: "\u0001" 14:54 mithos28: ok, so it is working now? 14:54 Sicp: no, I put a .+ 14:54 Sicp: I need to look at the regex notes 14:55 Sicp: one or more is .+ 14:55 mithos28: you don't want the ? 14:55 Sicp: I have to go for now, it's urgent 14:55 Sicp: thanks for the help 14:55 mithos28: no problem 14:55 (quit) Sicp: Quit: Leaving 15:29 (nick) asumu_ -> asumu 15:52 (join) ticking 15:53 (join) bluezenix 16:02 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/LsfRfQ 16:02 RacketCommitBot: [racket/master] Improve `get-libs' error message. - Sam Tobin-Hochstadt 16:08 (join) jeapostrophe 16:24 (quit) dzhus: Remote host closed the connection 16:47 (nick) LeNsTR|off -> LeNsTR 16:53 (nick) LeNsTR -> LeNsTR|off 16:56 (quit) jeapostrophe: Ping timeout: 245 seconds 17:02 (quit) tfb: Quit: sleeping 17:06 (quit) ticking: Quit: Leaving... 17:09 (join) jeapostrophe 17:13 (quit) jeapostrophe: Ping timeout: 260 seconds 17:55 (quit) MayDaniel: Read error: Connection reset by peer 18:00 (join) Sicp 18:00 (quit) Sicp: Changing host 18:00 (join) Sicp 18:00 (quit) realitygrill: Quit: realitygrill 18:00 (join) ticking 18:05 (join) anRch 18:21 (quit) mceier: Quit: leaving 18:28 (quit) bluezenix: Quit: Leaving. 18:43 (quit) Sicp: Remote host closed the connection 18:43 (join) Sicp 19:06 (join) jeapostrophe 19:12 (quit) eli: Ping timeout: 252 seconds 19:13 (join) jonrafkind 19:14 (quit) jeapostrophe: Ping timeout: 260 seconds 19:14 (quit) flying_rhino: 19:19 (quit) anRch: Quit: anRch 19:19 (quit) jonrafkind: Ping timeout: 240 seconds 19:26 (join) jeapostrophe 19:31 (quit) jeapostrophe: Ping timeout: 260 seconds 19:32 (join) jonrafkind 19:42 (join) jeapostrophe 19:48 (nick) dspt_ -> dspt 19:49 (join) eli 20:02 (join) ararara 20:04 (quit) jeapostrophe: Ping timeout: 240 seconds 20:08 Sicp: DrRacket is strange 20:09 Sicp: now I can see the online-help arrows while the option for it is disabled 20:09 Sicp: it should be there at all times actually, because it doesn't have anything to do with anything online, it just maps the occurrences 20:10 Sicp: it was just triggered by going to Edit and other Tabs 20:19 (quit) dsantiago: Ping timeout: 245 seconds 20:23 (nick) ChaozZBubi -> chaozzbubi 20:29 (quit) samth_: Ping timeout: 244 seconds 20:51 (quit) masm: Quit: Leaving. 21:04 (join) tfb 21:18 (join) Wiz323 21:18 Wiz323: OHAI!! 21:19 asumu: Sicp: are you using a nightly build? I saw that behavior with a build from git recently. 21:20 Sicp: I'm on arch, I got it from extra 21:20 Sicp: I've submitted a bug about a crash whenever I want to access Preferences 21:20 Sicp: added to which, there's this strange behavior 21:21 (part) Wiz323 21:32 (quit) Sicp: Quit: Leaving 21:34 (join) Sicp 21:34 (quit) Sicp: Changing host 21:34 (join) Sicp 21:37 (quit) Sicp: Client Quit 22:41 (join) dsantiago 23:03 (quit) AlbireoX: Quit: Leaving 23:11 (quit) karswell_: Write error: Connection reset by peer 23:11 (join) karswell__ 23:11 (quit) kudkudyak: Ping timeout: 435 seconds 23:11 (join) kudkudyak 23:16 (quit) jaimef: Ping timeout: 276 seconds 23:16 (quit) cky: Ping timeout: 276 seconds 23:16 (join) cky 23:17 (join) jaimef 23:22 (join) dblack 23:23 (quit) EmmanuelOga: Ping timeout: 244 seconds 23:23 (quit) SeanTAllen: Ping timeout: 240 seconds 23:26 (quit) dblack: Client Quit 23:27 (join) SeanTAllen 23:34 (quit) ticking: Read error: Connection reset by peer 23:34 (quit) tfb: *.net *.split 23:34 (quit) jrslepak: *.net *.split 23:36 (join) EmmanuelOga 23:40 (join) tfb 23:40 (join) jrslepak