code logs -> 2013 -> Sat, 16 Mar 2013< code.20130315.log - code.20130317.log >
--- Log opened Sat Mar 16 00:00:17 2013
00:19 You're now known as TheWatcher[T-2]
00:21 You're now known as TheWatcher[zZzZ]
00:29
<&ToxicFrog|W`rkn>
Oh hey
00:29 ToxicFrog|W`rkn is now known as ToxicFrog
00:33 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
00:35 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
00:41 Derakon is now known as Derakon[AFK]
00:51
<&ToxicFrog>
Hrm.
00:52
<&ToxicFrog>
The documentation for :string says it line-buffers, but apparently that doesn't mean you actually get traffic linewise
00:52
<&ToxicFrog>
If a single packet contains multiple lines, you get all of them in a single message.
01:17 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [[NS] Quit: bbs]
01:18
<~Vornicus>
That's about what I'd expect.
01:19
<~Vornicus>
Indeed, that's what I'm used to.
01:20 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
01:20 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
01:20 mode/#code [+o Alek] by ChanServ
01:23 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
01:30
<&ToxicFrog>
<3 macros
01:30 SmithKurosaki [smith@Nightstar-1fcfa400.eng.wind.ca] has quit [Client closed the connection]
02:25
<&ToxicFrog>
Oh hey, the clojurebot is broken.
02:25
<&ToxicFrog>
Possibly by me.
02:25
<&ToxicFrog>
<ToxicFrog> ,(macroexpand '(foo ""))
02:25
<&ToxicFrog>
<clojurebot> #<NoClassDefFoundError java.lang.NoClassDefFoundError: Could not initialize class clojure.lang.RT>
02:46
<&ToxicFrog>
It's all so clear to me now
02:46
<&ToxicFrog>
This isn't a small program
02:46
<&ToxicFrog>
It's a small library with a tiny program on top
02:54
<&ToxicFrog>
Hrm. What should I name a set of string->string transforms?
02:54
<&ToxicFrog>
"filter" doesn't seem quite right because it's not filtering, it's transforming
03:17
<~Vornicus>
I always liked "mangle"
03:27 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:32
<&McMartin>
I've always considered "mangle" to specifically mean "lossless transform into a more restrictive encoding"
03:33
<&McMartin>
This includes the operations traditionally called "quoting" or "escaping".
03:35
<&ToxicFrog>
Oh goddamnit
03:36
<&ToxicFrog>
(re-matches re str) returns nil if there are no matches, and a vector of matches if there is a match and multiple captures
03:36
<&ToxicFrog>
But a single string if there are no captures.
03:36
<&McMartin>
</3
03:37
<&ToxicFrog>
Which means that (apply fn (re-matches re str)) dies messily if re specifies no captures.
03:38 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
03:39 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
03:40
<&ToxicFrog>
(apply fn (flatten (vector (re-matches re str)))) works, but is ugly.
03:44
<&McMartin>
Can you macro up a (let [[x# (re-matches re str)]] (if (vector? x) ...) thing?
03:49 Kindamoody[zZz] is now known as Kindamoody
03:51
<&ToxicFrog>
At the moment I'm trying to figure out why my functions are mysteriously turning into strings.
03:51 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has joined #code
03:51 mode/#code [+o Rhamphoryncus] by ChanServ
03:57
<@Alek>
haha
03:58
<&ToxicFrog>
Ok check this out
03:58
<&ToxicFrog>
(let [fn (some #(% line) patterns)]
03:58
<&ToxicFrog>
(println (type fn))
03:58
<&ToxicFrog>
patterns is a vector of functions that return nil or <stuff> depending on the content of line.
03:59
<&ToxicFrog>
That println emits 'java.lang.String'
04:02
<&ToxicFrog>
.......because I misread (doc some)
04:05
<&McMartin>
Heh
04:06
<&ToxicFrog>
Oh man this is the best error
04:06
<&ToxicFrog>
2013-03-16 00:06:08,544 ERROR - (nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil) {:stackTrace #<StackTrac
04:06
<&ToxicFrog>
eElement[] [Ljava.lang.StackTraceElement;@3c90fa05>, :message No implementation of method: :downstream of protocol: #'saturnine.handler.internal/Handler found for class: clojure.lang.LazySeq, :localizedMessage No implementation of method: :downstream of protocol: #'saturnine.handler.internal/Handler found for class: clojure.lang.LazySeq, :class java.lang.IllegalArgumentExce16-Mar-2013 12:06:09 AM org.jboss.netty.channel.socket.nio.Nio
04:06
<&ToxicFrog>
Worker
04:08
<~Vornicus>
That /is/ the best error.
04:09 * Alek STARES.
04:09
<~Vornicus>
I imagine it hooking into a voice generator and just going all klaxonlicious.
04:10
<&McMartin>
You should quote that in #clojure
04:11
<&ToxicFrog>
Way ahead of you
04:11
<&ToxicFrog>
(the root cause was calling (map send-down str) rather than (send-down str)
04:11
<&ToxicFrog>
)
04:12 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
04:14
<&ToxicFrog>
Oh right Vorn
04:15
<&ToxicFrog>
Feel free to grill me with Lua questions when I'm actually awake
04:22 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has joined #code
04:22 mode/#code [+o Rhamphoryncus] by ChanServ
04:22
<~Vornicus>
I will. Right now though it looks like most of this stuff is Pretty Straightforward until I decide I need inheritance and then I need to think at it properly.
04:25
<&ToxicFrog>
Inheritance is Hard in Lua, not because it's actually difficult but because there's like a dozen different ways you can implement it, so you do actually need to think about what kind of inheritance you want.
04:29 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
04:39 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has joined #code
04:39 mode/#code [+o Rhamphoryncus] by ChanServ
04:49 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
04:57 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has joined #code
04:57 mode/#code [+o Rhamphoryncus] by ChanServ
05:10 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
05:15 Pandemic [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Connection reset by peer]
05:15 Pandemic [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
05:15 mode/#code [+o Pandemic] by ChanServ
05:25 OrthiaLap [orthia@Nightstar-03a7221e.vf.net.nz] has joined #code
05:27 Derakon[AFK] is now known as Derakon
05:29 OrthiaLap [orthia@Nightstar-03a7221e.vf.net.nz] has quit [Ping timeout: 121 seconds]
05:55 Derakon is now known as Derakon[AFK]
06:39 syksleep is now known as Syk
08:34 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
08:47 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
08:47 mode/#code [+o himi] by ChanServ
09:22 You're now known as TheWatcher[
09:22 You're now known as TheWatcher
09:56 SmithKurosaki [smith@566022.45CDAE.428C43.2C5415] has joined #code
10:21 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
10:30
<@froztbyte>
http://store.steampowered.com/app/232830/
10:40 SmithKurosaki [smith@566022.45CDAE.428C43.2C5415] has quit [Ping timeout: 121 seconds]
10:41 You're now known as TheWatcher[afk]
10:51 Kindamoody is now known as Kindamoody|afk
12:46 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
14:28
<&ToxicFrog>
Hell yes, modifying my proxy from the REPL while I use it
14:32
<@gnolam>
Next you'll start patching your telephone exchange while you're using it.~
14:33
<@gnolam>
(Erlang: The Movie, for any newcomers to the channel: https://www.youtube.com/watch?v=xrIjfIjssLE )
14:39
<@froztbyte>
haha, and just this morning I found http://wedophones.com/TheBellSystem/pdf/bsp/502-120-202/502-120-202.pdf
14:44
<&ToxicFrog>
I haven't erlanged in ages, this is all clojure
14:53 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
14:55 VirusJTG__ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
14:55 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
14:57 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
15:32 Syk is now known as syksleep
16:05
<&ToxicFrog>
Hrm.
16:05
<&ToxicFrog>
I've accidentally made it impossible to reload my bits.
16:06 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
16:06 mode/#code [+o celticminstrel] by ChanServ
16:06
< syksleep>
that sounds so hilarious without context, and at midnight
16:07
< syksleep>
hence, slep
16:14 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has left #code []
17:21 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [[NS] Quit: ]
17:24 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
17:24 mode/#code [+o Alek] by ChanServ
17:46 iospace is now known as io\blargh
17:46 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [[NS] Quit: o_o]
17:52 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
17:52 mode/#code [+o Alek] by ChanServ
18:16 Kindamoody|afk is now known as Kindamoody
18:51 VirusJTG__ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
18:58 Rhamphoryncus [rhamph@Nightstar-f8b1f87b.abhsia.telus.net] has joined #code
18:58 mode/#code [+o Rhamphoryncus] by ChanServ
19:02 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
19:02 mode/#code [+qo Vornicus Vornicus] by ChanServ
19:33 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
19:37 Courage [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
19:42 Courage [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
19:42 mode/#code [+o Courage] by ChanServ
19:55 Kindamoody is now known as Kindamoody[zZz]
22:01 Derakon[AFK] is now known as Derakon
22:17 You're now known as TheWatcher
23:46 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
23:46 mode/#code [+o celticminstrel] by ChanServ
--- Log closed Sun Mar 17 00:00:32 2013
code logs -> 2013 -> Sat, 16 Mar 2013< code.20130315.log - code.20130317.log >

[ Latest log file ]