[00:17] DJN $0, <-1 what would you guys call this, a moving imp gate maybe? :D [00:18] its a djn-train [00:18] i find it a pretty interesting instruction, my evolver came up with it yesterday :) [00:18] any ideas as to other uses for it? [00:19] you can replace pretty much every jmp instruction with it to get a free attack [00:21] Join: sh0ne joined #corewars [00:22] Hello. Happy New Year everyone! [00:41] MSG: Read error: Operation timed out [00:53] Hi sh0ne, thanks :-) [00:57] Join: flyduck joined #corewars [04:00] MSG: Quit: Leaving [05:37] MSG: Quit: ChatZilla 0.9.84 [Iceweasel 3.0.4/2008112309] [05:50] MSG: Ping timeout: 240 seconds [05:53] Join: Metcalf joined #corewars [06:19] Woah! [06:19] No way! [06:19] I haven't been following the newsgroup too closely due to freetime limitations, but I've got lots to mull over! [06:20] oh, I thought we were just exclaiming [06:20] Sorry to disappoint [07:25] anyone fairly familiar with MySQL? [07:25] I've been trying to get help in it's irc channel without success [08:27] MSG: Ping timeout: 240 seconds [08:54] Join: fish joined #corewars [10:02] Join: fiveop joined #corewars [10:04] Join: sh0ne joined #corewars [10:04] hi [12:09] MSG: Quit: z/ [16:52] Join: flyduck joined #corewars [17:01] hrm. [17:03] Mannerisk, I am very familiar with MySQL [17:03] what do you need to know? [17:04] or what problem are you having] [17:05] hi all [17:05] Hi flyduck [17:05] hows it going AndrewBC ? [17:05] going okay [17:05] you? [17:08] pretty good [17:12] any new developments? :) [17:12] nothing astounding, I've been mostly gearing up my pc to be able to work through SICP, in what little free time I've had lately [17:17] how about you? How's your evolver coming along? [17:22] it's going well, the initial version seems to work for what it is, today i'll be making some major improvements to it : ) [17:23] incorporating a 'start' location bit-field in the chromosome and adjusting the fitness function to be able to test against multiple warriors are first to do [17:25] right now all it evolves is either an IMP or a DJN train, mainly because of how im limited in what it tests against, so those will help.. [17:28] huzzah :) [17:29] I haven't done much with functions in sql, so I'm getting syntax errors [17:29] http://pastebin.com/m42a8ead3 [17:33] what's the error you get? [17:36] ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5 [17:37] after the set beginning line [17:37] I can put this in from the regular prompt, right? [17:41] if you do put that in at the mysql prompt, you have to temporarily change what mysql sees as a delimiter, so that you can pass the entire thing in. [17:42] because of the BEGIN and END containing internal statements that use ; as a delimiter [17:42] I'm not sure if that's the problem that you're seeing though. [17:43] (cryptic error message is not helpful) [17:44] hey, that mostly worked! [17:44] :) [17:44] I have to head to work soon, so I must go. Good luck though! Hope you get it working [17:45] thanks [17:45] here's a reference of what I was talking about, just in case it's needed [17:45] http://dev.mysql.com/doc/refman/6.0/en/stored-programs-defining.html [17:49] I never would have guessed [18:34] Join: NorthStar joined #corewars [20:14] MSG: Quit: humhum [20:15] this just evolved [20:16] SPL.BA#48,$-23 | SPL.AB>81,$64 | MOV.I>49,>125 [20:16] i think thats my first instance of 2 instructions interacting : ) [20:45] what are you using for an evolver? [20:49] my own creation : ) [20:50] i wrote it in perl [20:50] SPL.B #115 , *-19 | MOV.I $-24 , {-5 | DJN.AB $-121 , #-62 and this beats the first one, hehe [20:57] what are you using for a mars? [20:57] I really hope you're not pulling things off disk every time :) [20:57] otherwise you'll be spending most of your time waiting on disk IO :) [20:57] im using exhaust :) [20:58] i am having to write each warrior to a file every time before i test its fitness D: [20:59] i didnt know if theres a mars that lets you specify the warrior in the command line :o [20:59] yeah.. [20:59] that's ugly :) [20:59] I wrote perl bindings eventually for exhaust.. [20:59] also i seem to have evolved a warrior that behaves differently in exhaust than in pmars? :o [20:59] you did? :D [20:59] heh [21:00] I don't have them anymore tho.. [21:00] I do have bindings for python, scheme and lisp tho. [21:00] whats a binding consist of.. .hows that work? [21:00] I stopped using perl a long while ago. [21:00] just calling the C functions from perl land [21:00] it uses the exhaust source ? [21:00] ahh ok [21:00] yup [21:00] i could do that down the line i guess :D [21:01] it'll speed things up quite a bit. [21:01] right now i have several improvements to make, my evolver is still pretty wimpy atm [21:01] you'll find that file io and disk latency sucks up most of your evolver time. [21:01] makes sense [21:01] so you'll want to store your warriors in memory.. [21:02] not allocating your core every round saves some time too. [21:02] depending on your OS and the memory allocation [21:11] (i actually run my evolver from ramdisk - even though the warriors are stored in-memory, dumping 500 warriors at a time to disk is kinda waste when 0.001 percent of warriors are worth the trouble) [21:18] MSG: Quit: Leaving [21:33] MSG: Ping timeout: 240 seconds [21:35] I just found a letter from 1997 which I put aside to reply to [21:35] I guess it's a bit late now [21:35] Join: fiveop joined #corewars [21:35] MSG: Client Quit