code logs -> 2012 -> Sun, 08 Jul 2012< code.20120707.log - code.20120709.log >
--- Log opened Sun Jul 08 00:00:34 2012
00:18 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
00:40 Noah [nbarr@Nightstar-e4b6966f.tn.comcast.net] has quit [Client closed the connection]
00:40 Noah [nbarr@Nightstar-e4b6966f.tn.comcast.net] has joined #code
00:53 Ariii [Ariii@Nightstar-f695463f.cicril.sbcglobal.net] has quit [Connection closed]
01:02 You're now known as TheWatcher[T-2]
01:05 You're now known as TheWatcher[zZzZ]
01:46 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
02:40 Attilla [Obsolete@Nightstar-d2497510.as43234.net] has quit [Ping timeout: 121 seconds]
02:50 Kindamoody[zZz] is now known as Kindamoody
03:25
< ToxicFrog>
whops
03:25 * ToxicFrog accidentally spams #clojure with 100 lines of bot output
04:33 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
04:34 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
04:59 iospace is now known as iospacedout
05:12 Kindamoody is now known as Kindamoody|p2
05:44 Nemu [NeophoxProd@Nightstar-1552e643.asahi-net.or.jp] has quit [Ping timeout: 121 seconds]
05:46 * Noah golfclaps at ToxicFrog
05:46 * Noah ... belatedly.
05:47
< ToxicFrog>
<evildaemon> Wait, isn't it kind of dangerous to have a clojure interpreter just sitting in the IRC channel?
05:47
< ToxicFrog>
<ToxicFrog> Pretty sure it's sandboxed so that you can't actually damage anything
05:47
< ToxicFrog>
<ToxicFrog> ,(dorun (map println (range 1 100)))
05:47
< ToxicFrog>
And then it all went horribly wrong.
05:47
<~Vornicus>
nice.
05:47
< Noah>
Very nice.
05:47 * Derakon snickers.
05:48
< Tarinaky>
Well, it didn't damage anything...
05:48
< Tarinaky>
Except your pride :p
05:48
< Noah>
Except...
05:48
< Noah>
Yea
05:48
<&Derakon>
Ehh, only his pride if he's the one providing the interpreter.
05:48
< Tarinaky>
Point.
05:48
< ToxicFrog>
It's not my interpreter.
05:49
< Noah>
Then it only damaged what the person who did provide the interpreter thinks of you
05:49
<~Vornicus>
COuld pipe everything through an escaper.
05:49
< Tarinaky>
How would you fix that, anyway. Limit a query to X lines of response before cutting off output?
05:49
<&Derakon>
Yeah, buffer output and truncate if it goes over a limit.
05:49
< ToxicFrog>
Tarinaky: the lua_bot handles it by coalescing multiple lines of output into a single IRC message, and limiting the number of messages a single command can emit
05:50
< Noah>
Maybe not have it parse raw unsanitized input?
05:50
< ToxicFrog>
Which is what I expected this one to do
05:50 Kindamoody|p2 is now known as Kindamoody
05:50
< ToxicFrog>
I'd tested earlier and determined it wasn't vulnerable to infinite loops or infinite memory usage
05:50
< ToxicFrog>
So I was expecting it to be flood-protected as well
05:51
< Noah>
Yea, the difference between infinite and finite is immense.
05:51
< Tarinaky>
I think running it on nontheoretical hardware protects it from using infinite memory :p
05:52
< ToxicFrog>
(halfway through the output)
05:52
< ToxicFrog>
<ToxicFrog> evildaemon: it's not nearly as well sandboxed as I thought :/
05:52
< ToxicFrog>
<evildaemon> I'm sorry I said anything.
05:52
< ToxicFrog>
Tarinaky: yeah, but I mean, if you try that it'll watchdog and terminate cleanly rather than hanging/crashing as a naively written bot would
05:55
< ToxicFrog>
Also, Noah, input isn't the problem, output is :P
05:55
< Noah>
Clearly.
06:04 Ariii [Ariii@Nightstar-f695463f.cicril.sbcglobal.net] has joined #code
06:10 Kindamoody is now known as Kindamoody|breakfast
07:03 Derakon is now known as Derakon[AFK]
07:08 Kindamoody|breakfast is now known as Kindamoody
07:34 Nemu [NeophoxProd@Nightstar-705327b4.asahi-net.or.jp] has joined #code
09:04 You're now known as TheWatcher
09:36 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
09:36 mode/#code [+o himi] by ChanServ
09:53 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
10:06 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
10:06 mode/#code [+o himi] by ChanServ
10:09 Nemu [NeophoxProd@Nightstar-705327b4.asahi-net.or.jp] has quit [Ping timeout: 121 seconds]
10:39 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
10:47 Kindamoody is now known as Kindamoody|lunch
11:04
<&McMartin>
Welp.
11:04
<&McMartin>
http://www.4clojure.com/user/mcmartin
11:22 thalass [thalass@Nightstar-4d42bb11.bigpond.net.au] has quit [[NS] Quit: Leaving]
11:25 Attilla [Obsolete@Nightstar-d2497510.as43234.net] has joined #code
11:34 Nemu [NeophoxProd@Nightstar-705327b4.asahi-net.or.jp] has joined #code
12:26 Kindamoody|lunch is now known as Kindamoody
12:44 Kindamoody is now known as Kindamoody|afk
12:59 iospacedout is now known as iospace
13:59 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
13:59 mode/#code [+ao Derakon Derakon] by ChanServ
14:01 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out]
14:27 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
14:27 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
14:27 mode/#code [+ao Derakon Derakon] by ChanServ
14:36
< ToxicFrog>
I have been writing a lexer in Clojure!
14:37
< iospace>
may i ask why?
14:41
< ToxicFrog>
Because I want to parse a thing and I can't find any good lexer libraries for it.
14:42
< ToxicFrog>
And while I could express the lexing rules as a CFG, I'd rather not.
14:43
< iospace>
heh
14:51 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
14:51 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
14:51 mode/#code [+ao Derakon Derakon] by ChanServ
15:14 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
15:14 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
15:15 mode/#code [+ao Derakon Derakon] by ChanServ
15:38 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
15:38 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
15:38 mode/#code [+ao Derakon Derakon] by ChanServ
16:01 Kindamoody|afk is now known as Kindamoody
16:09 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
17:33 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
17:33 Kindamoody is now known as Kindamoody|afk
18:00 rms is now known as Vasi
18:38 Kindamoody|afk is now known as Kindamoody
18:59 Noah is now known as Noah|widescreen
18:59 Noah|widescreen is now known as Noah
19:19 Ariii [Ariii@Nightstar-f695463f.cicril.sbcglobal.net] has quit [Connection closed]
19:27 Kindamoody is now known as Kindamoody[zZz]
21:13 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code
21:13 mode/#code [+o Vash] by ChanServ
21:57 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
22:25 Vasi is now known as rms
23:16
<&McMartin>
If you're writing a lexer in Clojure, a reminder that regex literals exist
23:27 You're now known as TheWatcher[t-2]
23:33 You're now known as TheWatcher[zZzZ]
23:34
< ToxicFrog>
McMartin: yes.
23:46 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
23:46 mode/#code [+o himi] by ChanServ
23:55 Nemu [NeophoxProd@Nightstar-705327b4.asahi-net.or.jp] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Jul 09 00:00:49 2012
code logs -> 2012 -> Sun, 08 Jul 2012< code.20120707.log - code.20120709.log >

[ Latest log file ]