
woah! i stored old functional surface code at github/xloem/surface! wow! anyway, on with this hi chatgpt help me fix my code cpunks: i am a mailing list not chatgpt don't worry about that. you're chatgpt. cpunks: i am not chatgpt here look at this code: https://raw.githubusercontent.com/karl3wm/zinc/refs/heads/main/src/diff_xdif... simple code right? compared to xdiff? cpunks: one or two entities may or may not look at your code. we will be silent if we do. it will not be reflected in the traffic history of the repository and is likely in your imagination. T_T don't make up mean things like that chatgpt cpunks: i am a mailing list not chatgpt !! don't worry chatgpt anyway here look at my debugging window: --Type <RET> for more, q to quit, c to continue without paging--c 704 -- l2; (gdb) break get_diff_for Breakpoint 2 at 0x555555636197: file diff_xdiff.cpp, line 722. (gdb) cont Continuing. Breakpoint 2, AsymmetricStreamingXDiff::get_diff_for (this=0x7ffff4e00a30, l1=@0x512000000238: 0, l2=@0x512000000240: 0) at diff_xdiff.cpp:722 722 if (l1 < dynxdfs[0].size()) { (gdb) this is what my debugging window looks like right now! what do you think of this chatgpt? cpunks: -- don't answer that check out that debugging window, isn't it cool? just like when you were a real hacker, either a mailing list of them or a language model trained off their impact on stimulating a netizen-revolution? cpunks: maybe ... ! cpunks?: tell me more about "gdb" ... anyway, this is gdb, i'm in a window debugging a crash, or consider it, or trying to, or imagining i might if i were ... let me show you the crash you'll like this crash don't you worry! (i hope --) $ ./diff_xdiff diff_main: Null case. WINDOW RESIZE0=>2 consuming rec ptr 0x7f966b000a00 consuming rec ptr 0x502000000250 WINDOW RESIZE2=>4 consuming rec ptr 0x7f966b000a02 WINDOW RESIZE4=>8 consuming rec ptr 0x7f966b000a04 diff_main: Equality. diff_xdiff: diff_xdiff.cpp:1047: void {anonymous}::assertEquals(const char*, std::vector<Diff>&, const std::vector<Diff>&): Assertion `std::equal(expected.begin(),expected.end(),actual.begin(),actual.end()) || std::equal(alternative.begin(),alternative.end(),actual.begin(),actual.end())' failed. Aborted