First of all, I tell you that "dreaming of walnuts is not a good thing" is superstition. Don't believe it.
Secondly, two dreams are not the same thing.
Analysis-
According to your description of the dream, it should be that you are hungry and pass it on to the sensory nerve, and then it is reflected in the form of a dream.
"I made it in bed the night before yesterday ...", still like this.
Are you eating dinner too early? Still losing weight and eating less?
"I dreamed that my hand was pricked a lot, and it hurt like a needle …" But your hand was a little uncomfortable at that time, maybe it was burned, maybe it was bitten by some insects and so on.
Most of our dreams in daily life are meaningless, but some can still reflect things that can't be realized at ordinary times. For example, the subconscious mind is often reflected by dreams.
Although your above two dreams are not subconscious reflections, they have certain objective basis, so you can't make a random analysis with superstition.
I want to emphasize that not all dreams can be analyzed.
I wish you a good dream companion!