While this photo looks like a sunset, it was actually a sunrise. I took it in Virginia Beach on April 17, 2017.
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)
I’ve been seeing a therapist for the last several years. With all that I’ve been going through health-wise, it’s been nice to have someone to talk to.
When I got to her office last night there was nobody else there, so we just sat in the lobby and started talking. But after a while some other people came in, so we had to move. When we got up to move I used telekinesis to move some of the chairs and our things. “How .. how .. how are you doing that?,” she stammered.
“Well, I guess I think about the objects, and then I kind of create my own gravity, or maybe something like a tractor beam, and well, then I move them.” Nobody had ever asked me that before, so my answer wasn’t very well thought out.
Anyway, she said I’m doing fine, but she took a couple of pills herself.
(Notes from a dream, March 9, 2017.)
This website is a little one-man operation. If you found this information helpful, I’d appreciate it if you would share it.
The Verge has two stories about Google, Android, and hardware. First, Google sold 3.9 million phones in 2017, increasing their market share from 1.8 to 2.8%. Second, they have a good interview with Rick Osterloh about Google’s hardware plans.
Legend has it that Bodhidharma sat facing a wall for nine years. I’m going to sit facing my faux fireplace on my new cushion (known as a zabuton, which was a Christmas gift this year).
I like most of Dana Stabenow’s work, and while I didn’t particularly like Dead in the Water, I did enjoy some of the quotes in the book, such as, “Always perform the work that has to be done without attachment,” which comes from the Bhagavad Gita, of which there are many translations (such as this one, this one, and this one).
So on page 51 of Apple’s iPhone Terms and Conditions it clearly states, “We may slow down your iPhone to increase the sales of new iPhones.”
(It may say that, who knows. Having just updated iOS, I wouldn’t mind if they get sued over the ridiculous length of that doc.)
If you like ThinkGeek, they’re having an “up to 75% clearance sale” right now (December 27, 2017).
It’s going to be a white Christmas here in the Boulder/Broomfield, Colorado area, ho ho ho.
When elephants see a human, their brain lights up in the same way a human’s brain lights up when they see a puppy.