I am starting a new big project for an important company. My boss provided me a code base of not so functional code and said "Just be careful with this, it is used to manage sensitive information."
After this, I began to review the code and its the the biggest, most complex code base I have seen in my Life, so I decided to get to work. But pretty soon I hit a brick wall and ran out of ideas.
The only solution I saw was to cut the specific part of the code that was giving me trouble while giving as little information as possible and post it on a webpage to ask some experts. It actually worked pretty well, soon enough I got a working solution and was able to continue with the project.
The problem is that I forgot to remove the code and the question from the web page. A couple of months latter, my boss finds out and starts screaming about copyright infringement and how I may get arrested for this.
I am really stressed about this, I did a lot to take all traces of the code off the net.
My Boss is still mad about it, but I really did this to impress him, and to show him that I was able to live up to his expectations. He was the first to believe in me after I got out of college.
In a case like this what should I do smooth over the situation?