I was once able to fix a bug in my dream, which actually worked out in real life - although, I needed to jump up to my laptop and hack in the solution, as the dream was fading away
Although can’t really recommend dreaming of work…
Heh, for years I used to keep a notebook on my girlfriend’s bedside table. I can’t count the number of times I’d wake up (or finish) and have a solution to a problem pop into my head and have to write out the solution/pseudo code before it was gone forever.
“Why can’t the journal be on your table?”
“Coz. My table has my wrestling trophies on it.”
One time when I was in college, I was in chemistry class. It was a class I had a lot of trouble with but this time I was actually able to follow along with the professor and take good notes. Then I woke up, I was in chemistry class, but I had slept through half the lecture.