[04:07] MSG: Ping timeout: 252 seconds [04:08] Join: Caelian|w joined #corewars [05:48] MSG: Ping timeout: 252 seconds [05:49] Join: Caelian|w joined #corewars [06:21] Join: Caelian joined #corewars [15:09] Join: Core_new_ joined #corewars [15:12] Part: Core_new_ left #corewars [15:59] Join: Metcalf joined #corewars [15:59] Hi :-) [16:00] h [16:01] Hi Mizcu [16:02] I've got a quick fix for the multi-line equate bug, but it looks ugly :-( [16:02] Has anyone heard from bvowk [16:03] nope [16:03] I'll email him then [16:35] * Metcalf waves [16:35] MSG: Quit: mov.i #1,1 [17:37] Join: fiveop joined #corewars [18:25] MSG: Remote host closed the connection [20:04] Join: Metcalf joined #corewars [20:04] Hi :-) [20:04] hi [20:04] how are you? [20:04] Hi Fiveop [20:04] Fine thanks, are you? [20:05] (Hum ... I seem to have adopted asking this question everyone I 'meet', from the people here ...) [20:05] fine [20:05] Good :-) [20:05] currently sending out emails to various professors about phd applications [20:06] That doesn't sound like a student's typical Saturday night activity :-( [20:06] oh I enjoy it [20:06] :-) [20:07] would you mind looking over my text? (even so I already sent it two three people :P) [20:07] Okay [20:18] I've been busy this week (while on holiday) writing Redcode [20:19] Using the i/o instructions bvowk has hacked into exmars [20:22] hm [20:22] printd mov.a *stack, {stack [20:22] div.a #10, *stack [20:22] jmz.a done, }stack [20:22] mov #2-return, jmp printd, {stack [20:22] mod.a #10, *stack [20:22] done add.a #48, *stack [20:22] sts.a }stack, 0 [20:23] jmp return [20:23] That's the best I routine I can come up with to output numbers [20:24] An iterative routine can be done with the same number of instructions, but it's slower :-( [20:26] where are the i/o instructions? [20:27] sts is for output, lds for input [20:27] store (s?) [20:27] yes, sts = store stream [20:29] ok [20:32] pointer dat hello, 0 [20:32] write sts.a *pointer, 0 [20:32] jmz.b done, *pointer [20:32] sts.b }pointer, 0 [20:32] jmn.a write, *pointer [20:32] done jmp 0 [20:32] hello dat 72, 101 [20:32] dat 108, 108 [20:32] dat 111, 44 [20:32] dat 32, 87 [20:32] dat 111, 114 [20:32] dat 108, 100 [20:32] dat 33, 10 [20:32] dat 0, 0 [20:32] end write [20:33] is that a hello world? [20:33] Yes :-) [20:33] hum [20:33] 44? [20:34] ,? [20:34] It could be done a couple of lines smaller [20:34] Yes, 44=, [20:34] hmhm [20:34] couple of lines? [20:35] pointer into the b field of one of the sts instructions? [20:35] Yes, if the length of the string was fixed. [20:35] Currently it looks for a zero as an end marker [20:36] changing to: [20:36] sts.a *pointer, 0 [20:36] sts.b }pointer, 0 [20:36] djn -2, #7 [20:37] would save 2 lines [20:37] but if youd use a snippet as a "print function" then the djn would be pretty sucky solution [20:37] and then one falls back to zero-terminated strings [20:38] (or N-terminated) [20:38] Yes, it's zero-terminated for flexibility. [20:39] The other option is to store the length as the beginning of the string [20:39] youd still have to separately give the lenght to function [20:39] unless you want a separate lenght-calculator [20:39] (Mizcu "someone has to speak the obvious" Mizcu) [20:40] That would be a pain. Zero-terminated is easy :-) [20:40] Join: Fizmo joined #corewars [20:40] Hi Christian [20:40] hi hi [20:40] how r u? [20:40] Fine thanks, are you? [20:40] also fine, thanks [20:40] :-) [20:40] bye [20:40] and hi :) [20:40] MSG: Quit: humhum [20:40] * Metcalf waves to fiveop [20:41] I just returned from my pool league game [20:41] How'd it go? [20:41] got the first win of the season today :-P [20:41] :-) [20:41] but I play first time in germany third league [20:42] the highest amateur league [20:42] so I play mainly against former professionals [20:44] well, I'm actually focus more on other things than on corewar :-S [20:44] The comma was in the first "hello, world" program. [20:44] comma? [20:45] Yes, "hello, world" not "hello world" [20:48] :-P [20:49] I've been doing some standard programming in redcode [20:49] hey cool [20:50] I just read the r.g.c [20:50] * Metcalf goes to check [20:50] one of the beginners programmed a silk-dwarf :-P [20:50] first time I saw somebody doing that too [20:50] glad to see [20:51] :-) [20:51] dont bother with the Nol's HSA-like question, i already had discussion with him some days ago, as logreaders probably have already noticed [20:51] hehehe, let me put it inside a qscan :-P [20:52] Fluffy also published his age 600+ nano warrior which has been Koth this week [20:56] heh, no-one noticed me publishing the "project" some time ago [20:57] ohh? [20:57] seems I missed a lot [20:58] project? [20:59] yay, I start doing something for corewar :-p [21:00] i thought it out for most of the summer, only to discover later that both Inversed and i figured out the construct at around same time [21:00] just curious how well sponger do inside a qscanner [21:00] difference is, that i never got it to do any thing, while inversed got to 'nop momentarily [21:00] really? [21:00] http://koti.mbnet.fi/mizcu/temp.red [21:01] I remember now :-) [21:01] ohh, nice [21:02] looks somehow familar to me [21:02] :-P [21:03] at least the d-clear ;-) [21:04] it would be really nice to modify it into chancing the attack-mode during run, but the attempt would probably become either something clunky or uncontrolled [21:06] Are you planning a new puzzle Mizcu? [21:06] Unfortunately i have been lacking motivation and ideas =/ [21:06] Something us mere mortals can solve ;-) [21:07] and i still have the relocation of webpage ahead on month or two [21:07] Oh? [21:07] Please let me know the new address when you move so I can update links [21:08] of course [21:13] How about something simple? Sorting, primes and Fibonacci have been done before. [21:13] (i really liked the Neo's spiral-with-one-bomb..) [21:14] Yes, I liked that one too :-) [21:14] defeating a vampire 100% without mov? [21:14] *blink* [21:15] well, i like the scenario of specializing against a vampire without being a CLP [21:16] ok, who threw something in my head? [21:16] :-) [21:16] i am blathering uselessly [21:17] replace/CLP/bomb-dodger [21:17] How about a routine to do something with a matrix? [21:17] ugh, i am not much in matrix-maths myself [21:18] Lukasz did implement a three-dimentional matrix in CW, during the pea-brain challenge? [21:19] the Neo's P-switch challenge [21:21] Join: divad joined #corewars [21:21] Hi Divad [21:21] MSG: Client Quit [21:22] How about something like the queens on a chessboard problem? [21:23] dont know the problem, i have a a feeling the the name is enough description [21:23] Yes :-) [21:23] Or generating magic squares [21:23] now here's a quickie: implement XOR [21:24] :-) [21:24] That's a good idea [21:24] Score should be based on code size / speed [21:25] If you going to make a puzzle, I will definitely provide a solution [21:26] i think i should put together some simpler puzzles as a section of its own, in a non-competitive way [21:26] heck, the section is already non-competitive, but as one that has couple solutions and hints ready [21:29] * Metcalf waves a bottle of pear cider in an attempt to summon bvowk [21:36] MSG: Quit: mov.i #1,1 [21:36] Join: Metcalf joined #corewars [21:40] time to go [21:40] * Metcalf waves [21:40] bye [21:40] MSG: Client Quit [21:59] MSG: Quit: ChatZilla 0.9.78.1 [Firefox 2.0.0.8/2007100816] [22:20] Join: fiveop joined #corewars [23:05] MSG: Quit: humhum