Without a doubt, pretty much every single one of my "Eureka" moments has come from one of the following:
1) The shower
2) The toilet
3) A long run
4) Sleeping
5) Heavy drinking (alcohol)

Every single one of those is a result of relaxing and letting my conscious mind drop the problem and let the rest of my brain toss it around.
(number 5 happens a lot less in programming for me - esp since I rarely drink now - but it was big in college when I was working on architecture projects and had been up for some time. the two downsides to #5 are that if you aren't near your project, you aren't likely to remember the Eureka, and also that it might seem like a great idea, but is actually alcohol induced junk - and I suppose the same could be said of other mind altering substances)

There are some odd things afoot now, in the Villa Straylight.

In reply to Re: Eureka! by AssFace
in thread Eureka! by artist

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.