Long time mild/livable tinnitus holder. I just got used to it, even when I'm programming. And well aware that that sound will probably be the last sound I'll hear in this life.
What worked for me when programming or thinking intensively is getting used to headphones and background music always running, thus once trained to think clearly with noise then the job becomes more bearable.