Posts with code snippets in various (programming) languages.
  • Coding, part deux

    About the code I posted earlier. I'm back home, and I checked out my compiler. It's a MinGW build of the GCC, driver version 2.95.2 release 19991024, executing gcc 2.95.2-20001116. Any comments would be helpful. The code crashes on large files, by the way, with the following:

    MERG2 caused an invalid page fault in
    module KERNEL32.DLL at 0177:bff8abea.
    Registers:
    EAX=00000000 CS=0177 EIP=bff8abea EFLGS=00000246
    EBX=8163d758 SS=017f ESP=0253fc50 EBP=0253fe38
    ECX=0265000c DS=017f ESI=026606d0 FS=4c3f
    EDX=02650c90 ES=017f EDI=bff8abd1 GS=0000
    Bytes at CS:EIP:
    a1 08 9d fc bf 50 e8 c3 95 fe ff ff 76 04 e8 35 
    Stack dump:
    78037030 78005842 026606d0 00000000 78000000 780057e6 
    780018e3 78000000 8163d758 bff7ddcd 78000000 00000000 
    00000001 00000000 78000000 8163d758
    

  • CSS Override

    Hehehe. If you've noticed (or not), I've overriden the <FONT> tags that the LiveJournal server puts out. Of course, I have no idea if my hack works on other browsers (it works in IE5.5/Win), but I hope it does. Phew.

    So, this thing looks moderately good. If only I could remove the damned <FONT> tags...

  • Finally, I've downloaded the LJ Win32 client. Now for the source code...

    Actually, I feel like tweaking and hacking. I've also downloaded MinGW (at least the distribution files I would need) so I can go on hack.

    And by the way, today's my birthday. :P