in reply to Re: Coloring IRC logs nicely
in thread Coloring IRC logs nicely
I hoped for a mix between those two solutions, but I think that's not possible: To build the interference graph, one has to know all future nicks. Your solution trades "perfection" for speed.
Maybe I can use some heuristics:
I read the first 100 (or so) lines. Based on the number of different nicks seen, I select the size of the pool. If many people (more than colors available) /JOIN after I set the size of the pool, that's "bad luck".
Thanks Jaad and davido, I think I'll use your solutions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Coloring IRC logs nicely
by davido (Cardinal) on Aug 19, 2004 at 17:59 UTC | |
|
Re^3: Coloring IRC logs nicely
by icerunner (Beadle) on Aug 20, 2004 at 08:33 UTC | |
by iblech (Friar) on Aug 20, 2004 at 15:15 UTC |