--- Log opened Thu Sep 27 00:00:53 2007 |
00:04 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?] |
00:39 | | * ToxicFrog tries to figure out how the hell you layer an OutputStream on top of a TCP socket |
00:40 | <@ToxicFrog> | Oh, wait |
00:40 | <@ToxicFrog> | sock.getOutputStream() |
00:40 | <@ToxicFrog> | That was easy. |
00:47 | <@Vornicus> | "On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage |
00:52 | < ReivZzz> | http://shellrevealed.com/blogs/shellblog/archive/2006/09/26/The-UI-design-minefi eld-_2D00_-er_2E002E002E00_-flower-field_3F003F00_.aspx |
00:55 | | ReivZzz is now known as ReivClass |
01:03 | | * McMartin plays with ocamllex. |
01:03 | <@McMartin> | Because, in all honesty, I'd much rather use a functional language to write source transforms. |
01:08 | <@Vornicus> | Schlockian has a regex for a lexer. |
01:08 | <@Vornicus> | Granted, the regex is made of ;_;, but it's there. |
01:21 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Connection reset by peer] |
01:25 | <@McMartin> | Success! |
01:25 | <@McMartin> | QUERY "main" OPENPAREN CLOSEPAREN VAR OBJECT BANG "java" PERIOD "io" PERIOD "Serializable" "obj" SEMI OBJECT "javax" PERIOD "servlet" PERIOD "http" PERIOD "HttpSession" "session" SEMI MATCHES OPENBRACE "session" PERIOD "setAttribute" OPENPAREN "_" COMMA "obj" COMMA ELLIPSIS CLOSEPAREN SEMI CLOSEBRACE EXECUTES "net" PERIOD "sf" PERIOD "pql" PERIOD "matcher" PERIOD "Util" PERIOD "printStackTrace" OPENPAREN "*" CLOSEPAREN SEMI |
01:31 | | Vornicus [~vorn@64.252.86.ns-4159] has joined #code |
01:32 | | Vornicus is now known as NSGuest-1223 |
01:32 | | NSGuest-1223 is now known as Vornicus |
01:34 | <@McMartin> | So. 76 lines for the type declarations and the lexer spec, 30 lines for the "dump a lexeme" function, and 5 for the driver. |
01:35 | <@McMartin> | Not too bad. |
01:36 | <@McMartin> | So, yeah, hungry now. |
01:36 | | * McMartin heads off to Dinnar |
01:50 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout] |
01:50 | | Vornicus [~vorn@64.252.80.ns-13686] has joined #code |
01:51 | | Vornicus is now known as NSGuest-1224 |
01:51 | | NSGuest-1224 is now known as Vornicus |
02:15 | <@ToxicFrog> | !dice 1d10+10 |
02:15 | <+DiceBot> | [ToxicFrog] rolled 1d10+10: (3+10) = 13. |
02:15 | <+KarmaBot> | [ToxicFrog] rolled 1d10+10: (2+10) = 12. |
03:06 | | MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has quit [Client exited] |
03:43 | | GeekSoldier|bed [~Rob@Nightstar-4800.pools.arcor-ip.net] has quit [Ping Timeout] |
03:44 | | GeekSoldier|bed [~Rob@Nightstar-4800.pools.arcor-ip.net] has joined #code |
04:25 | | GeekSoldier|bed is now known as GeekSoldier|work |
04:41 | | * McMartin confuses th eleeg out of Caml's Type Inference mechanism. |
04:41 | < Vornicus> | cool. |
04:44 | <@McMartin> | I forgot some parentheses, and thus got this error message: |
04:44 | <@McMartin> | File "PqlParser.ml", line 54, characters 10-16: |
04:44 | <@McMartin> | This expression has type PqlLex.pqltoken * (bool * string) * string |
04:45 | <@McMartin> | but is here used with type 'a list |
04:46 | <@McMartin> | (properly resolved, the type is string list) |
05:19 | | Doctor_Nick [~nick@Nightstar-23600.hsd1.fl.comcast.net] has joined #code |
05:20 | < Doctor_Nick> | nano fo lyfe |
06:52 | | Chalcedon is now known as ChalcyOut |
07:02 | | You're now known as TheWatcher |
07:15 | | GeekSoldier|work [~Rob@Nightstar-4800.pools.arcor-ip.net] has quit [Ping Timeout] |
07:36 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code |
07:36 | | mode/#code [+o gnolam] by ChanServ |
07:37 | <@McMartin> | Yargh |
07:37 | <@McMartin> | Man, nothing like reimplementing a design in an elegant language to show you how you should have done it in the first place. |
07:38 | < Vornicus> | heh |
07:38 | < Vornicus> | yeah, I noticed that. |
07:39 | <@McMartin> | In particular, instead of ParsePrimStmt being a horrific tangle of nested ifs, it has two cases: BinaryStmt and UnaryStmt, and the Type Resolver pass can break that out into its seven subtypes. |
07:39 | <@McMartin> | Did you get a chance to flip through that manual? |
07:39 | < Vornicus> | Briefly. |
07:40 | <@McMartin> | AST.java: 1,337 lines. |
07:40 | <@McMartin> | Ast.ml: 36 lines. |
07:40 | < Vornicus> | I didn't see anything too glaring. I haven't really gone through it properly. |
07:40 | <@gnolam> | Obviously, AST.java is l33ter. |
07:40 | <@McMartin> | Yes. |
07:41 | <@McMartin> | Though it also doesn't correctly parse statements like a = (foo) b.bar(...);, though. |
07:41 | <@McMartin> | I believe that at the moment it's reading the (foo) as being a cast on b instead of on a. |
08:17 | | You're now known as TheWatcher[afk] |
08:32 | < Vornicus> | Minor typesetting note: table 1-2 has a widow. |
08:33 | | * McMartin doesn't care about the widows and orphans, since fixing them is beyond docbook's meagre capabilities. |
08:49 | | Vornicus is now known as Vornicus-Latens |
09:48 | | You're now known as TheWatcher |
10:08 | | GeekSoldier|work [~Rob@Nightstar-3524.pools.arcor-ip.net] has joined #code |
10:15 | | You're now known as TheWatcher[afk] |
10:21 | | ChalcyOut is now known as Chalcedon |
10:22 | | Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has joined #code |
10:23 | | mode/#code [+o Forj] by ChanServ |
10:29 | | Chalcedon [~Chalcedon@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone] |
11:00 | | You're now known as TheWatcher |
11:01 | | ReivClass is now known as Reiver |
11:32 | | Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has quit [Connection reset by peer] |
13:02 | | GeekSoldier|work is now known as GeekSoldier |
13:20 | | You're now known as TheWatcher[afk] |
13:24 | | Vornicus-Latens [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout] |
13:30 | | Vornicus-Latens [~vorn@64.252.80.ns-13686] has joined #code |
13:49 | | Reiver is now known as ReivZzz |
14:12 | | MinceR [~mincer@Nightstar-4916.nik.bmf.hu] has joined #code |
14:22 | | Thaqui [~Thaqui@Nightstar-26933.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep] |
14:32 | < MinceR> | hay |
15:05 | | You're now known as TheWatcher |
15:44 | | You're now known as TheWatcher[afk] |
17:03 | | Vornicus-Latens is now known as Vornicus |
17:23 | < Vornicus> | McM: I don't see any problems with it. |
18:33 | | You're now known as TheWatcher |
18:39 | <@McMartin> | Vornicus: Great. Thanks. |
18:46 | <@McMartin> | Now to figure out how to use py2exe >_> |
18:49 | <@McMartin> | Damn. Apparently designing stuff on paper in bed at midnight doesn't lead to flawless designs. Who knew? |
19:02 | < GeekSoldier> | it's better than writing it on the wall using the steam in the shower. |
19:02 | <@McMartin> | That only works for equations, really. |
19:10 | | * McMartin uses a try block as an expression. |
19:26 | | Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has joined #code |
19:26 | | mode/#code [+o Forj] by ChanServ |
19:32 | <@McMartin> | o/~ She never touches keyboard, mouse or screen / Because she programs an abstract machine / (It's very clean) o/~ |
19:43 | | Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone] |
19:58 | | Chalcedon [~Chalcedon@Nightstar-2472.ue.woosh.co.nz] has joined #code |
19:58 | | mode/#code [+o Chalcedon] by ChanServ |
19:59 | | Mischief [~Genesis@Nightstar-7565.hsd1.md.comcast.net] has joined #code |
19:59 | < Mischief> | Hurray! |
20:18 | | GeekSoldier is now known as GeekSoldier|Bed |
20:30 | <@McMartin> | ? |
20:34 | < Doctor_Nick> | HIGH FIVE MISCHIEF |
20:34 | < Doctor_Nick> | *SLAPPAHANDS* |
20:34 | < Mischief> | I'm doing distributive computing for Folding university. |
20:35 | < Doctor_Nick> | you mean, you're starting a new project for folding @ home? |
20:39 | < Mischief> | Yes, I suppose. |
20:39 | < Mischief> | GROMACS core |
21:17 | | Thaqui [~Thaqui@Nightstar-26933.jetstream.xtra.co.nz] has joined #code |
21:17 | | mode/#code [+o Thaqui] by ChanServ |
22:11 | | Chalcedon is now known as ChalcyAFK |
22:25 | | Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has quit [Ping Timeout] |
22:42 | | Eva_Lowell [~Genesis@Nightstar-7565.hsd1.md.comcast.net] has joined #code |
22:44 | | Mischief [~Genesis@Nightstar-7565.hsd1.md.comcast.net] has quit [Ping Timeout] |
22:44 | | Eva_Lowell is now known as Mischief |
22:51 | | ChalcyAFK is now known as Chalcedon |
22:58 | < MinceR> | gn |
23:03 | | AnnoDomini [AnnoDomini@Nightstar-29750.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
23:04 | | Attilla [~The.Attil@194.72.70.ns-11849] has quit [Ping Timeout] |
23:05 | < Mischief> | Computers do not like to be put on their side while running |
23:07 | < MinceR> | my pda doesn't mind that. |
23:08 | | * McMartin gets parse_value working. |
23:09 | | AbuDhabi [AnnoDomini@Nightstar-29363.neoplus.adsl.tpnet.pl] has joined #Code |
23:12 | <@ToxicFrog> | ...you can use try blocks as expressions? |
23:12 | <@ToxicFrog> | What do they evaluate to? |
23:12 | <@McMartin> | Well, this is OCaml. |
23:12 | <@McMartin> | So they evaluate to the value inside the try block, or they evaluate to the exceptional values in the catch sections. |
23:13 | <@ToxicFrog> | Aah |
23:14 | <@McMartin> | Horrific tangles of mutual recursion 4tl, but parsers tend to do that. |
23:21 | | You're now known as TheWatcher[t-2] |
23:27 | <@McMartin> | "if try peek stream 2 = PqlLex.COLON with End_of_file -> false then ..." |
23:27 | | You're now known as TheWatcher[zZzZ] |
23:43 | | Attilla [~The.Attil@194.72.70.ns-11849] has joined #code |
23:47 | | AbuDhabi is now known as AnnoDomini |
23:53 | | Mischief [~Genesis@Nightstar-7565.hsd1.md.comcast.net] has quit [Ping Timeout] |
--- Log closed Fri Sep 28 00:00:59 2007 |