Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 17th, 2008, 12:10 AM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,826
Rep Power: 5 Sane will become famous soon enough
Dreams + Programming = Drogramming?

Last night, I went to bed after 6 straight hours of studying algorithms.

That doesn't sound too healthy, right?

Well, the strangest thing happened. I managed to think algorithmically in my dream. From my experience, dreams are very one dimensional. Everything acts and reacts based on a previous experience. But to make decisions, or create a new thought... I've never had that occur in a dream before to any significant degree of complexity.

But in my dream, I managed to formulate some sort of programming problem, involving cappuchinos of various prices and volumes, where the cheapest combination of cappuchinos had to be purchased to acquire a specific total volume.

It is similar to one of the problems I had been working on that afternoon, but in a completely different context, and without this clever twist of an added cost-factor. I don't know how the hell I thought up such a problem. Or how I even started to formulate an approach to solve it... (I can't recall the specifics, but I do remember I was thinking about it to some degree. Not sure how successfull I was either...)

It seems almost impossible. If you could make yourself think in a deliberate fashion during sleep, would it not be possible to harness that potential to solve other questions? Perhaps do homework? Even things as silly as trying to memorize the alphabet backwards?

This is all very confusing for me, because I have little understanding of how dreams work. Maybe I'm over-stating the significance of a dream like this. Have others had something similar happen to them?
Sane is online now   Reply With Quote
Old Jan 17th, 2008, 1:35 AM   #2
dr.p
Programmer
 
dr.p's Avatar
 
Join Date: Feb 2006
Location: Ohio
Posts: 93
Rep Power: 3 dr.p is on a distinguished road
Re: Dreams + Programming = Drogramming?

That sounds somewhat like lucid dreaming. I'm not sure if there would be benefits to doing mental work, consciously, while sleeping... but I have seen studies on sleep cycles which suggest that our minds process information and experience in unique and vital ways while asleep.
__________________
Neeley.org
dr.p is offline   Reply With Quote
Old Jan 17th, 2008, 1:42 AM   #3
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 751
Rep Power: 3 Jimbo is on a distinguished road
Re: Dreams + Programming = Drogramming?

I had a dream about work related stuff the other day, except for some reason I was handling features and tools that I'm not responsible for...

And yeah, I've had similar problem-solving dreams too
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote
Old Jan 17th, 2008, 2:25 AM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: Dreams + Programming = Drogramming?

I generally dream about whatever I was focused on the previous day, with some random exceptions. Last night was about Super Mario Galaxy.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jan 17th, 2008, 2:57 AM   #5
hollystyles
Omlette du fromage
 
hollystyles's Avatar
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 hollystyles is on a distinguished road
Re: Dreams + Programming = Drogramming?

I often get bogged down with a problem one day, only to sleep on it, come in the following morning, and solve it simply in five minutes. I am often thinking about the problem just before falling asleep but I don't recall ever dreaming specifically about a particular programming problem. But the solution very often hits me shortly after waking up.

I imagine this is where the well known phrase "To sleep on it" comes from.
hollystyles is offline   Reply With Quote
Old Jan 17th, 2008, 6:57 AM   #6
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Re: Dreams + Programming = Drogramming?

I played Mass Effect for 7 hours straight yesterday, and guess what I dreamed about? Nothing! I rarely wake up and remember my dreams and I'm fine with it. My brain works hard enough when I'm awake, it's only fair for it to completely shutdown at night.
OpenLoop is offline   Reply With Quote
Old Jan 17th, 2008, 8:31 AM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: Dreams + Programming = Drogramming?

There's a big difference between not remembering your dreams and not having them.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jan 17th, 2008, 10:11 AM   #8
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,826
Rep Power: 5 Sane will become famous soon enough
Re: Dreams + Programming = Drogramming?

Quote:
Originally Posted by Ooble View Post
There's a big difference between not remembering your dreams and not having them.
It's true. I only seem to remember dreams when I try to continue thinking about them as soon as I wake up. If I don't try, I remember nothing.


To dr.p, would there not be benefits? No longer could sleep be viewed as something unproductive. I'd say sleep is generally a pretty pointless process with functions that are, at most, incidental (such as restoring mind and body, growth, storing long term memory, etc...). But if that idle time could be used to process information and think deliberately... then sleep, in some circumstances, could be even more productive than being awake.

So, some sort of line must be drawn. Where is the line that divides the limit of complexity of thought while asleep, and the average complexity of thought while awake... and what determines the position of that line? Seems fascinating to me.

It also reminds me of the very rare disorder that some people have. It's a disorder that does not require them to sleep, but they may still live a perfectly healthy life. However, they experience hallucinations for an hour or two, and then they're set for the rest of the day.

Sleep is such a waste of brains.
Sane is online now   Reply With Quote
Old Jan 17th, 2008, 11:49 AM   #9
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Re: Dreams + Programming = Drogramming?

Quote:
Originally Posted by Sane View Post
Sleep is such a waste of brains.
I wouldn't go that far. There was an article on /. the other day about dreams. Basically, the theory was that dreams are nothing but virtual reality exercises that prepare us for extreme situations that our life or line of work might put us through one day.

For example, if you're a police officer, you might have a dream about being pinned down and outnumbered and trying to defend yourself. Since your body is in partial paralysis when sleeping, you can't hurt yourself with rapid movement but you'll learn a thing or two about making the right decision in tough situations.
OpenLoop is offline   Reply With Quote
Old Jan 17th, 2008, 1:02 PM   #10
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,826
Rep Power: 5 Sane will become famous soon enough
Re: Dreams + Programming = Drogramming?

Yes, that even supports my argument!

Examples like those seem to be rare circumstances. The average dream is entirely useless. The useful ones you get are luck of the draw. So why can't the brain be more productive and use the time its given to run simulations and "virtual reality exercises" for the full 8 hours? I know the obvious answer is that the brain is incapable of that, but it's intruiging to consider the possibility.
Sane is online now   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming with Java: Tutorial ReggaetonKing Java 7 May 20th, 2008 10:58 AM
Programming without post secondary education Eric the Red Other Programming Languages 6 Mar 7th, 2006 5:56 PM
Does Programming Make You Smarter? Sane Coder's Corner Lounge 43 Oct 2nd, 2005 6:12 AM
MIT's Metaphor For Software Programming Infinite Recursion Other Programming Languages 2 Jun 12th, 2005 6:42 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:27 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC