[00:05] Join: Core_old_ joined #corewars [00:05] Part: Core_old_ left #corewars [00:20] MSG: Quit: Lost terminal [01:15] MSG: Ping timeout: 240 seconds [01:15] Join: Caelian|w joined #corewars [02:07] Join: Caelian_ joined #corewars [02:10] MSG: Ping timeout: 240 seconds [08:30] Join: Caelian__ joined #corewars [08:33] MSG: Ping timeout: 240 seconds [09:11] MSG: Remote host closed the connection [09:12] Join: Caelian joined #corewars [09:27] Join: cc_toide joined #corewars [09:29] so.. LZP reads in data, creating an N-depth dictionary/PPM library which reference to some earlier part of data. When N bytes of data are read, they are compared to the library, and if the position given by the library contains a match to current string, a flag is input and the lenght of match. [09:29] Since in both compression and de-compression same prediction is used with same data, there is no desync. [09:29] MSG: Ping timeout: 240 seconds [09:29] Hashes are used to faster comparement between strings and library [09:39] MSG: Remote host closed the connection [09:41] Join: Caelian joined #corewars [11:09] Join: fiveop joined #corewars [11:24] Join: Core_old_ joined #corewars [11:42] Cosmic Horror still survives! [11:56] Nick Change: cc_toide changed nick to cctoide [12:07] anyone ever seen this? http://corewars.nihilists.de/ [12:08] Metcalf probably has [12:09] standard of '88, theres one reason why nobody hasnt bothered with it [12:17] heh, there are entirely too many programming games out there :/ [12:18] makes it hard separating the alive-and-decent ones from random stuff someone decided to start and never got back to [13:38] MSG: Quit: Trillian (http://www.ceruleanstudios.com [14:44] Join: fiveop_ joined #corewars [14:46] MSG: Ping timeout: 240 seconds [15:15] Join: sf_ghoul joined #corewars [15:17] *sigh* [15:18] Hello Mizcu [15:18] Why the big *sigh*? [15:21] i feel sort of bored [15:21] :( [15:22] shame really, i am playing Civ4 with one of the best/weirdest starts i have seen [15:22] and i just opened emule first time this year, and found bunch of stuff i have been already searching for a long time [15:22] Yay I'm on google 1st page for corewar now! [15:22] What's emule? [15:23] and i am supposed to be slightly nipped for the alcohol-boosting of this cola but i am still sober [15:23] an p2p program [15:23] guess ill open a new bottle of the hard stuff [15:24] :) [15:24] guess ill make me a screwdriver with vanilla koskenkorva [15:25] What's that? [15:25] http://en.wikipedia.org/wiki/Koskenkorva [15:25] http://en.wikipedia.org/wiki/Screwdriver_(cocktail) [15:38] (well, that certainly was a silencer) [15:38] Sorry I'm kind of working :) [15:55] MSG: Ping timeout: 240 seconds [17:08] damn, now i feel talkey [17:11] MSG: Ping timeout: 240 seconds [17:14] Join: Caelian|w joined #corewars [17:25] MSG: Ping timeout: 240 seconds [17:27] Join: fiveop joined #corewars [18:03] MSG: Ping timeout: 240 seconds [18:04] Join: Caelian|w joined #corewars [18:35] MSG: Remote host closed the connection [18:37] Join: Caelian|w joined #corewars [20:32] MSG: Quit: Ex-Chat [20:50] Join: Caelian joined #corewars [20:58] MSG: Quit: Ex-Chat [21:24] hmm, theres a poker-match coming from TV, and i just thought, if one could use CM compression-algortihm to decide moves on game [21:25] since poker is all about chain of events brought by cards and player's actions [21:27] well, in poker there is no escape-symbol for switching between models [21:27] Join: Caelian joined #corewars [21:41] Join: Ant_222 joined #corewars [21:44] Hello. [21:45] I got a question about the MOD operation. You are redcoders, so I think you should know. [21:46] Assuming -M < N < 2*M, which is faster (to calculate N mod M): [21:47] This: if (N < 0) {N += M} else if (N >= M) {N -= M} [21:47] i am a redcoder, not a mathematician [21:47] ...Or just: N = N % M [21:48] Well, all redcode emulators should do that. [21:48] Fast [21:48] so you are writing an emulator? [21:49] Not yet, just thinking... [21:51] ...about the fastest way to emulate [21:51] if ( ra_a ) ptb->a = rb_a % ra_a; <- thats from Exhaust_MA [21:52] dont know how, fmars or pymars do it [21:53] Qmars doent even count [21:54] if (ra_a) is equal to if (ra_a != 0) ? [21:54] Anyway: it uses the % operator. [21:55] which I am not sure is faster than just adding/ substracting CORE_SIZE if necessary. [21:55] it has if (!raa || rab) goto die; [21:55] so yes [21:56] (and yes, i left underscores out) [21:58] What do these ra_a and ra_b and rb_a represent? [21:59] a and b modifiers [22:00] Where are the fields? [22:00] hell do i know [22:01] rb_a and ra_a should be fields since they're %-ed... [22:02] check the source yourself, available at metcalf's page [22:03] What's the full emulator's name? [22:03] Exhaust is the simulator, Exhaust_MA is optimized version made by Martin Ankler [22:04] Ok, found it. [22:07] fmars and pycorewars are still faster, if you want speed [22:10] Exhaust does it they I suspected: just adding/substracting CORESIZE when needed. [22:10] they -> the way [22:13] And he never converts to absolute adresses, jumps across by the relative references, always checking if he has got out of the core and (again) adding/substracting the core_size. [22:20] i dont see that as a fault [22:21] (yes, i now there can be a speedup like so, but exhaust is supposed to be easy to understand and implement) [22:22] Maybe this way we get more dereferencings (+ boundary checks)? [22:25] And one more thing: is it faster to access global variables directly or via passing them by reference? [22:27] question out of my leaque [22:29] MSG: Ping timeout: 240 seconds [22:34] Join: Ant_222 joined #corewars [22:34] Bad connetion... [23:03] MSG: Quit: Bye!