Is dreaming in code a real thing? Is it viable to leverage altered states of consciousness to become a more productive programmer?
>>108021308Not for me, but solving shit during bed time and not being able to sleep until it's done only to wake up next morning having forgotten how you solved it pretty much is.
Dreaming in code sounds cool but at most people dream of code.
I generated a simple melody in a dream that I could hum once I woke up. I even came up with a pun in the very same dream.I however couldn't dream of generating code in my sleep. Pardon the pun.
I once solved a college assignment while sleeping. Granted, it was only MATLAB for computational physics, but it werked
>>108021308I once dreamed I was like a judge in a programming contest, I had to come up with a coding challenge, I still remember it. It was about a keygen with a 64 element buffer. I know it's weird. But in the dream I also became the one that had to code it. So I was thinking to use AI but I also wondered how to solve it witout AI and I could once I woke up.
>>108021308>Is dreaming in code a real thingHappened to me a few time, it's not that things were made out of code it's more that there was just the code and it would be edited by my thoughts, i did find a solution to a problem once or twice this way but not only it does not happen often, it generally is just garbage.>lsdAmazing stuff, i'd not say i have any productivity when the effects are strong though the comedown is amazing for doing anything, including programming.
drugs are a meme because they only slightly increase your cognitive abilities and only if you're already doing a lot wrong to begin withthe basedence behind all types of learning is pretty simple: your brain builds pathways when you're asleep, so maximize the amount of REM sleep you get through the day by doing constant polyphasic napping. your brain builds connections via mentual visualization in rest, so take frequent breaks in between studying and let your mind wander. there's diminishing returns on practicing something big for a long time, so break it down to its bare components and practice each one a minute at a time being very deliberate about the specific aspect you want to improve, and outsource your ideas of when you'll need to relearn something to spaced repetition systems like anki.for anki specifically I'd recommend targetting only about 40%-60% recall on resources you can google, for things that should be automatic like being able to write a dfs or list major data structure primitives you should target 90%+ and just do it reaaaaally slowly so your brain has time to sink it in, the more you screw up on automatics early on the more likely you are to continue to screw it up way into the future, for months or years even
I can barely even string together a sentence on psychedelics, let alone one line of code.On the contrary, it's the perfect drug for people who are too productive for their own good. It temporarily lowers your IQ to room temperature levels and lets you enjoy simple things.
sometimes i will see code visually in my dreams that better solves a problem i was trying to/accomplished during the day. i usually take an obese person dose of melatonin, this may have an effect. this happens more often when i am learning a new language for some reason.
I dunno because text doesn't work properly in dreams (Like, if you read a book in your dream, look at a page, look away, then look back at the same page, the text will be different). You might get an idea on how to solve something though.
>>108021308>Is dreaming in code a real thing?no. formation of abstract ideas? 100% real.> Is it viable to leverage altered states of consciousness to become a more productive programmer?yes. but i only realized how this helped me years after taking them. i wouldn't dream of taking them to "be a better programmer". it helped me learn and appreciate a lot of things before i ever touched a compiler. acid truly is an amazing drug that will change your perception of reality for the better.
>>108021308In 1865, German chemist Friedrich August Kekulé published a paper in which he described benzene as consisting of a ring of six carbon atoms, each bonded to a hydrogen atom. The story goes that Kekulé dreamt of a snake biting its tail, which inspired him to conceive of the structure. Chemist Dmitri Mendeleev, after working for days trying to complete his periodic table, dreamt one night that the elements fell into place, and upon waking he was able to complete it. While Mendeleev himself didn't record the dream, his close friend Alexandr Inos Strant communicated this discovery 50 to 60 years later, after finding it in the state archives.In 1936, Otto Loewi, a doctor, received the Nobel Prize for discovering acetylcholine, an important neurotransmitter, after dreaming of an experiment involving a frog's heart. In his dream, Loewi worked out the details of an experiment that proved synaptic transmission occurs through biochemical, rather than electrical, means. He immediately went to his lab and performed the experiment he had dreamt, which led to his discovery.This guy on youtube spoke with sense about leveraging the unconscious mind, but this is actually a non autistic skill, rather a more holistic approach: https://www.youtube.com/watch?v=1f6N2UrCK6o
>>108021308>Is dreaming in code a real thing?I think it is. This kind of creative process while sleeping happens often and is decently known. There are some clear cut cases in music that I know of, the most well known being probably the "Devil's Trill Sonata". There was another band that I was into that tried their hands at this "composing while sleeping" thing and I seriously believe them because the resulting music was just so fucking weird (https://www.youtube.com/watch?v=DYY4VBdj9y4&t=368s), and at a time I was really into music, I managed to dream some shitty melodies and harmonies, even lyrics, that I could transcribe when I wake.When it came to programming it wasn't as cool or straightforward as visualizing a functional block of code that magically fixed whatever problem I'm having and trying to reconstruct it after waking up, much like you would compose a melody. It was a little weirder. The few times it did happen to me happened after a day of working on some college assignment and eventually calling quits when I came across a problem I couldn't solve. One time I dreamed I had finally found a solution to a problem, code and everything and when I woke up, I couldn't remember the solution per se, but when I sat down to code again, I managed to put together in a few minutes a solution to the problem that had stumped me for most of the previous day. It's very strange. Something similar happened while going through some problems in that CLRS book.
>>108027037Funny, because OP contains an image of a substance made of benzene.
>>108021308it's very easy to start dreaming of things you do every day. it just happens naturally when you obsess over something and do it every day. I've dreamed of code and of video games many times. the only problem is that you quickly forget all your dreams unless you write them down immediately when you wake up.
>>108021308When I did my physics bachelors, I would sometimes dream that I was studying or would wake up having more of an intuitive grasp on a subject I was studying for days prior. Shit would just click for me after dreaming about it. Very odd. Never have I dreamt in code, only had dreams where studying was a part of the dream and from that my understanding improved.
>>108029449There's little correlation between my dreams and my activities and desires. The girl I think about when I fap is never the girl that winds up giving me a wet dream.I can't into lucid dreaming either. I wake up as soon as I become self-aware.
>>108021308Once in a dream I saw the following snippetif (const std::exception &e) { /* ... */}Since it's not syntactically valid I'll assume that dream-code is just junk, like the output of a Markov chain.
if (const std::exception &e) { /* ... */}
>>108021308How do you know you're "dreaming" and it isn't just what the LLM does? How do you even know that you "know"? Isn't that just what an LLM does? How do even you think "do"? Doesn't an LLM just "does"?
>>108030402Lay down that weed.
>>108030402you're the kind of anon that could walk into a room full of women and you could hear sounds of vaginas drying up so rapidly you'd be forgiven if it reminded you of someone walking on beach sand.