I'm surprised that there are no ML tools for automatic log highlighting. Logs often have repetitive patterns that lend themselves to distinct colours.
Do any such tools exist?
Experimenting with syntax highlighting for difftastic.
I'm trying hard to stay within the limited terminal colours. It works everywhere and requires no detection of terminal capabilities or theme.
It's a very limited palette though. Using bold for keywords saves a colour.
Wilfred Hughes
Shared words: highlighting, no, colours
Score: 53.1
It's not easy to display a log file nicely in a browser. The file might be huge. Users expect to be able to link to lines. It might have colour or control codes.
I've been pretty impressed with the GitHub actions UI, compared with other CI tools.
Most of the code I write is in a garbage collected language.
I'm often surprised how much extra performance I can get when I can control allocations. I saved ~10% runtime in difftastic by moving to a zero-allocation colour library (owo_colours)!