2 ms·
Something I saw a longtime ago was hashing UUIDs into a RGB value and then colouring the background of the cell (at least when viewing in a DB IDE). That way yo
by Pet_Ant 3y ago
Something I saw a longtime ago was hashing UUIDs into a RGB value and then colouring the background of the cell (at least when viewing in a DB IDE). That way you can quickly at a glance tell if it's worth going over character by character.
- Timpy 3y agoWow I really love that idea. Next time I get stuck on a fix tinkering with my setup I'm going to check this out.
- adverbly 3y agoHoly crap this is brilliant. I'd just change the text color of the uuid itself though - no need to change the background(although you'd need to make sure that the hash function avoided your existing background color to maintain a high enough contrast ratio for readability). I want this as a vscode extension. Or maybe as a terminal plugin or something? Is that possible? Could tmux do it maybe?