sleep

Traveling to an old cathedral for training (a lucid dream)

Dream notes from June 27, 2017: As I feel asleep I was ripped out of my sleep body by some sort of lucid dream tractor beam, then pulled backwards through space. Eventually I came to um ... “somewhere” ... and when I turned my head to see where I was, I found I was being pulled towards a very large, old cathedral. The tractor beam continued to pull me butt-first, right through the closed front doors of the cathedral. Why open a door when you can go through it?

Inside, the tractor beam dropped me off at a spot near some stairs. Somehow I knew what I was supposed to do — this wasn’t punishment, it was a good thing — and I went with a group of other people up the stairs. I saw a few familiar faces and either said “Hey, how have you been?” to them, or nodded to acknowledge others who were farther away.

Walking up the stairs, a woman started talking to me. Most of it was in English, and then some words were in another language. I tried to tell her that the Universal Translator apparently wasn’t translating what she was saying, but to no avail. I remember that two words she said were, “sonó toma,” which Google translates in Spanish as “sleep takes.”

We all filed into a room where I saw a few more familiar faces. We sat in chairs like we were in college again, or more like we were attending a seminar. I thought that was funny, “A seminar for sleep travelers.” I hoped the speaker would be good. Or maybe it would be a series of TED talks for lucid dreamers. Those thoughts made me wonder who organized the event.

I won’t share the rest of what happened, but hopefully I’ll see you at the cathedral one day. :)

“In a world full of people, only some want to fly, isn’t that crazy?” ~ Seal

Laying in bed until whenever

After a long work day yesterday I decided to sleep in today until whenever. After I almost got enough rest I found myself sleeping in my bed in the house I grew up in. The bed was against an outer bedroom wall, where I had it when I was a young teenager. (I would later move it to an inner wall.) Then a former friend came in the room and told me I was being lazy and I should get up and yada yada yada. I beamed her right out of there.

Then a young, healthy version of Zeus came in and stood next to the bed. I thought about asking him if he had to go out, but he jumped up on the bed and laid down next to me. That sure wasn’t going to make me want to get out of bed.

Why is my MacBook warm when the lid is closed (in sleep mode)?

Table of Contents1 - Troubleshooting2 - My solution3 - Possible problem: Energy Saver settings4 - Possible problem: Bluetooth settings5 - More information6 - Summary

When I woke up last night it was a little windy outside, so I decided to unplug my MacBook Pro because the power tends to flicker here. When I picked up the MacBook I noticed that it was very warm, even though the lid was closed and it was in sleep mode. This morning I decided to dig into the “Why is my MacBook hot even though the lid is closed and it’s in sleep mode” question.

A Scala method to run any block of code slowly

The book, Advanced Scala with Cats, has a nice little function you can use to run a block of code “slowly”:

def slowly[A](body: => A) = try body finally Thread.sleep(100)

I’d never seen a try/finally block written like that (without a catch clause), so it was something new for the brain.

In the book they run a factorial method slowly, like this:

slowly(factorial(n - 1).map(_ * n))

FWIW, you can modify slowly to pass in the length of time to sleep, like this:

def slowly[A](body: => A, sleepTime: Long) = try body finally Thread.sleep(sleepTime)
Another mindfulness meditation health analysis alvin January 7, 2018 - 6:30pm

fivethirtyeight.com offers a take on whether mindfulness meditation is helpful. The image shown comes from a journal named JAMA Internal Medicine.

“Maintain full awareness during dream as well as in waking life” alvin October 27, 2017 - 9:15am

“Eventually we develop a continuity of awareness that allows us to maintain full awareness during dream as well as in waking life.”

~ from the book, The Tibetan Yogas Of Dream And Sleep

Visitors in bed

After finishing a yoga session at the cabin in Talkeetna, I decided to lay down in bed for the savasana part. So I’m laying there, relaxing, minding my own business, when someone sits on the bed next to me. I quickly open my eyes, but *nobody is there*. I jump out of the bed as fast as I’ve done anything in my life, then sleep on the couch for the next week.

A couple of years later I’m laying on my left side in bed at a friend’s house, waiting to fall asleep, when one of her dogs jumps on the bed, down behind my legs. The dog scratches on the bed, circles in one direction, stops, then circles in the other direction before finally plopping down against my legs. I think, “How nice, one of the dogs has chosen to lay down next to me.” Trying not to disturb them, I slowly lift my head, look down at my legs to see which one it is, and *there’s nobody there*.

(Boo)